Imaging method and device, computer equipment and storage medium
By providing an interface between the preview box and the imaging parameter adjustment control after the camera is connected to the device, the problem of inconvenience in operation of the existing camera is solved, convenient parameter adjustment and multiple styles of preview are achieved, and user experience is improved.
Patent Information
- Application Number
- CN202410233220.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-29
- Publication Date
- 2025-08-29
AI Technical Summary
The interaction methods of existing cameras are limited to physical buttons and knobs, which are inconvenient to operate and poor user experience, and cannot provide friendly interaction methods and efficient preview effects.
After the camera is connected to the device, an interface containing a preview box and an imaging parameter adjustment control is presented, allowing users to adjust the camera's imaging parameters in real time on the device, and providing style selection controls for post-adjustment, achieving convenient parameter settings and multiple style previews.
It improves the convenience of camera operation and user experience, and users can easily adjust camera parameters and preview images on the device, achieving quick switching and intuitive selection of various styles.
Smart Images

Figure CN120568162A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of photography technology, and in particular to imaging methods, devices, computer equipment, and storage media. Background Art
[0002] A camera is a device that uses optical imaging principles to form images and record them on film. It is an optical instrument used for photography. Modern life is full of convenient camera devices for recording images. These devices typically focus on providing high-quality photo capture. However, due to internal space limitations and cost requirements, these cameras lack the preview window and user-friendly interface features found in smartphones. Specifically, these cameras' interaction methods are typically limited to physical buttons and knobs, and they rely on viewfinders or small displays for framing and playback.
[0003] In the related art, users can usually only adjust shooting parameters based on the physical buttons and knobs provided by the camera and preview the picture based on the viewfinder provided by the camera itself, which is inconvenient to operate and the user experience is poor. Summary of the Invention
[0004] To overcome the problems existing in the related art, the present disclosure provides an imaging method, apparatus, computer device and storage medium.
[0005] A first aspect of the present disclosure provides an imaging method, the method comprising:
[0006] In response to connecting to the camera, presenting a first interface and displaying the original image captured by the camera in a preview box of the first interface, the first interface including the preview box and imaging parameter adjustment controls;
[0007] In response to receiving an instruction carrying at least one imaging parameter, controlling the camera to capture the original image based on the at least one imaging parameter, wherein the at least one imaging parameter is a preset parameter corresponding to the imaging parameter adjustment control or a parameter specified by the user based on the imaging parameter adjustment control.
[0008] Optionally, the first interface further includes at least one style selection control, each style selection control having corresponding post-production parameters;
[0009] The method further comprises:
[0010] In response to a style selection control in the at least one style selection control being selected, a style image corresponding to the selected style selection control is displayed in the preview frame, wherein the style image is an image obtained by adjusting the original image according to the post-production parameters corresponding to the style selection control.
[0011] Optionally, the style selection control is further used to display a corresponding style image.
[0012] Optionally, the first interface further includes a restore control;
[0013] The method further comprises:
[0014] In response to receiving a restore instruction input by the user based on the restore control, the original image captured by the camera is displayed in the preview box of the first interface.
[0015] Optionally, presenting the first interface in response to connecting with the camera includes:
[0016] In a case where a camera is connected to the device executing the method, in response to reaching a preview opportunity, presenting a first interface;
[0017] The preview timing includes at least one of the following:
[0018] The camera is activated;
[0019] The position of the device moves according to a preset trajectory;
[0020] The posture of the device changes according to a preset trajectory.
[0021] Optionally, the method further includes:
[0022] In response to receiving the capture instruction, determining the original image at the current moment as a captured image, presenting a second interface, and displaying the captured image in a preview box of the second interface, the second interface including the preview box and a print control;
[0023] In response to receiving a confirmation instruction input by the user based on the print control to confirm printing, a print instruction is sent to the camera to enable the camera to print the image displayed in the preview box.
[0024] Optionally, the second interface further includes at least one style selection control, each style selection control having corresponding post-production parameters;
[0025] The method further comprises:
[0026] In response to a style selection control in the at least one style selection control being selected, a style image corresponding to the selected style selection control is displayed in the preview frame, wherein the style image is an image obtained by adjusting the captured image according to the post-production parameters corresponding to the style selection control.
[0027] Optionally, the style selection control is further used to display a corresponding style image.
[0028] A second aspect of the present disclosure provides an imaging device, the device comprising:
[0029] A first interface module, configured to present a first interface in response to connection with a camera, and display an original image captured by the camera in a preview box of the first interface, wherein the first interface includes the preview box and imaging parameter adjustment controls;
[0030] An imaging parameter adjustment module is used to control the camera to capture the original image based on the at least one imaging parameter in response to receiving an instruction carrying at least one imaging parameter, wherein the at least one imaging parameter is a preset parameter corresponding to the imaging parameter adjustment control or a parameter specified by the user based on the imaging parameter adjustment control.
[0031] Optionally, the first interface further includes at least one style selection control, each style selection control having corresponding post-production parameters;
[0032] The device further comprises:
[0033] The style selection module is configured to, in response to a style selection control in the at least one style selection control being selected, display a style image corresponding to the selected style selection control in the preview frame, wherein the style image is an image obtained by adjusting the original image according to the post-production parameters corresponding to the style selection control.
[0034] Optionally, the style selection control is further used to display a corresponding style image.
[0035] Optionally, the first interface further includes a restore control;
[0036] The device further comprises:
[0037] The restoration module is configured to display the original image captured by the camera in the preview box of the first interface in response to receiving a restoration instruction input by the user based on the restoration control.
[0038] Optionally, the first interface module is used to, when presenting the first interface in response to the connection with the camera,:
[0039] In a case where a camera is connected to the device executing the method, in response to reaching a preview opportunity, presenting a first interface;
[0040] The preview timing includes at least one of the following:
[0041] The camera is activated;
[0042] The position of the device moves according to a preset trajectory;
[0043] The posture of the device changes according to a preset trajectory.
[0044] Optionally, the device further includes:
[0045] a shooting module, configured to, in response to receiving a shooting instruction, determine the original image at the current moment as a shot image, present a second interface, and display the shot image in a preview box of the second interface, the second interface including the preview box and a print control;
[0046] The printing module is configured to, in response to receiving a confirmation instruction inputted by the user to confirm printing based on the print control, send a printing instruction to the camera so that the camera prints the image displayed in the preview box.
[0047] Optionally, the second interface further includes at least one style selection control, each style selection control having corresponding post-production parameters;
[0048] The device further comprises:
[0049] A style selection module is configured to, in response to a style selection control in the at least one style selection control being selected, display a style image corresponding to the selected style selection control in the preview frame, wherein the style image is an image obtained by adjusting the captured image according to the post-production parameters corresponding to the style selection control.
[0050] Optionally, the style selection control is further used to display a corresponding style image.
[0051] A third aspect of the present disclosure provides a computer program product, comprising a computer program / instruction, which implements the method described in the first aspect when executed by a processor.
[0052] A fourth aspect of the present disclosure provides a computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method described in the first aspect when executing the program.
[0053] A fifth aspect of the present disclosure provides a computer-readable storage medium having a computer program stored thereon, which implements the method described in the first aspect when the program is executed by a processor.
[0054] The technical solutions provided by the embodiments of the present disclosure may have the following beneficial effects:
[0055] In an embodiment of the present disclosure, in response to being connected to a camera, the device presents a first interface including a preview box and an imaging parameter adjustment control, and displays the original image captured by the camera in the preview box of the first interface; in response to receiving an instruction carrying at least one imaging parameter, the device controls the camera to capture the original image based on the at least one imaging parameter, wherein the at least one imaging parameter is a preset parameter corresponding to the imaging parameter adjustment control or a parameter specified by the user based on the imaging parameter adjustment control. Based on this, the linkage between the camera and the device can be achieved, and the user can conveniently preview the original image captured by the camera in the preview box displayed on the device, and adjust the camera's imaging parameters in real time based on the imaging parameter adjustment control. The user's adjustment of camera parameters and preview of the picture are not limited to the physical buttons, knobs and viewfinder provided by the camera, which is convenient to operate and improves the user experience.
[0056] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0057] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0058] Figure 1 FIG. 4 is a flow chart of an imaging method according to some exemplary embodiments.
[0059] Figure 2 is a flow chart illustrating another imaging method according to some exemplary embodiments.
[0060] Figure 3 is a schematic diagram of a first interface shown in some exemplary embodiments.
[0061] Figure 4 FIG. 4 is a flow chart of yet another imaging method according to some exemplary embodiments.
[0062] Figure 5 is a schematic diagram of a second interface shown in some exemplary embodiments.
[0063] Figure 6 FIG. 4 is a block diagram of an imaging device according to some exemplary embodiments.
[0064] Figure 7 is a block diagram of another imaging device shown in some exemplary embodiments.
[0065] Figure 8 FIG. 4 is a hardware structure diagram of a computer device shown in some exemplary embodiments. DETAILED DESCRIPTION
[0066] Exemplary embodiments will be described in detail herein, with examples illustrated in the accompanying drawings. In the following description, when referring to the drawings, identical numerals in different figures represent identical or similar elements, unless otherwise indicated. The embodiments described in the following exemplary embodiments are not intended to represent all possible embodiments consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
[0067] The terms used in this disclosure are for the purpose of describing specific embodiments only and are not intended to limit the disclosure. As used in this disclosure and the appended claims, the singular forms "a," "an," "the," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and / or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
[0068] It should be understood that although the terms first, second, third, etc. may be used in this disclosure to describe various information, such information should not be limited to these terms. These terms are only used to distinguish information of the same type from each other. For example, without departing from the scope of this disclosure, first information may also be referred to as second information, and similarly, second information may also be referred to as first information. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining."
[0069] A camera is a device that uses optical imaging principles to form images and record them on film. It is an optical instrument used for photography. Modern life is full of convenient camera devices for recording images. These devices typically focus on providing high-quality photo capture. However, due to internal space limitations and cost requirements, these cameras lack the preview window and user-friendly interface features found in smartphones. Specifically, these cameras' interaction methods are typically limited to physical buttons and knobs, and they rely on viewfinders or small displays for framing and playback.
[0070] In related technologies, users can usually only adjust shooting parameters based on the physical buttons and knobs provided by the camera and preview the picture based on the viewfinder provided by the camera itself. The operation is inconvenient, the preview effect is poor, and the user experience is poor.
[0071] In view of this, the present disclosure provides an imaging method, apparatus, computer device, and storage medium. The concepts involved in the present disclosure are explained below.
[0072] The device may be an electronic device with display and data transmission functions, such as a mobile phone, a tablet computer, etc. Preferably, it may be a folding screen device, which refers to an electronic device with a foldable screen (usually a flexible screen), such as a folding screen mobile phone, a folding screen tablet computer, etc. Such electronic devices usually have a bending area and a first side and a second side (or more sides) separated by the bending area. The camera is an electronic device with image acquisition and data transmission functions. Preferably, it may be an instant imaging camera (Instant Camera, also known as a one-time imaging camera, Polaroid, Polaroid, etc., is a camera that can instantly and quickly take pictures after shooting, which usually includes an imaging module for acquiring images and a printing module for printing out photos). It is worth noting that the "camera" and "device for executing the method (hereinafter referred to as the device)" involved in the present disclosure are separate terminals (or located in a separate terminal), and the "camera" does not refer to the application program in the "device for executing the method".
[0073] Imaging parameters, often called pre-processing parameters, are parameters that the camera relies on during the imaging process. They are typically related to the camera's hardware status, such as sensitivity (commonly known as "ISO") and the lens' optical focal length. These parameters generally affect the camera's imaging process itself. Post-processing parameters, on the other hand, are parameters that adjust the original image captured by the camera. They are typically related to post-processing algorithms, such as contrast, saturation, and tone curves.
[0074] Next, the embodiments of the present disclosure are described in detail.
[0075] The first aspect of the present disclosure provides an imaging method. Figure 1 , which includes the following steps:
[0076] Step S101, in response to being connected to a camera, presenting a first interface, and displaying the original image captured by the camera in a preview box of the first interface, the first interface including the preview box and imaging parameter adjustment controls.
[0077] The connection between the camera and the device executing the method may be a wired connection (e.g., based on a universal serial bus) or a wireless connection (e.g., based on Bluetooth, a wireless local area network, etc.). The preview frame may display the original image in the form of actively acquiring and displaying the original image captured by the camera in real time according to a preset frame rate, or it may be a passive display of the original image received from the camera. The response to connecting to the camera may be "response to establishing a connection with the camera," or it may be that when the device is connected to the camera, the first interface is presented in response to reaching the preview timing. Details regarding this will be elaborated in detail later.
[0078] Step S102: In response to receiving an instruction carrying at least one imaging parameter, controlling the camera to capture the original image based on the at least one imaging parameter, wherein the at least one imaging parameter is a preset parameter corresponding to the imaging parameter adjustment control or a parameter specified by the user based on the imaging parameter adjustment control.
[0079] The user can input at least one imaging parameter based on the imaging parameter adjustment control (for example, dragging the sensitivity slider or the focal length slider). When the device receives this instruction, it can send at least one preset parameter indicated by the instruction to the camera. In addition, the user can also input user instructions indicating other camera-related parameters based on the imaging parameter adjustment control or other controls (for example, turning the flash off and on). The device can also send these parameters to the camera to enable the user to fully control the camera based on the device. At the same time, when the user does not specify the imaging parameters, the device can send the preset imaging parameters or imaging parameters obtained based on summarizing the user's habits (for example, the imaging parameters set by the user for the same camera last time, or the average or mode of the imaging parameters set by the user when using the camera a preset number of times (for example, 5 times) in the past. These parameters can be regarded as the preset parameters corresponding to the imaging parameter adjustment control. At the same time, the user can also choose to present the preset parameters to the user when the user has not specified the parameters, such as adjusting the slider to a preset position or entering and displaying the preset parameters in a text box) to the camera and display the original image generated by the camera based on these parameters in the preview box.
[0080] In an embodiment of the present disclosure, in response to being connected to a camera, the device presents a first interface including a preview box and an imaging parameter adjustment control, and displays the original image captured by the camera in the preview box of the first interface; in response to receiving an instruction carrying at least one imaging parameter, the device controls the camera to capture the original image based on the at least one imaging parameter, wherein the at least one imaging parameter is a preset parameter corresponding to the imaging parameter adjustment control or a parameter specified by the user based on the imaging parameter adjustment control. Based on this, the linkage between the camera and the device can be achieved, and the user can conveniently preview the original image captured by the camera in the preview box displayed on the device, and adjust the camera's imaging parameters in real time based on the imaging parameter adjustment control. The user's adjustment of camera parameters and preview of the picture are not limited to the physical buttons, knobs and viewfinder provided by the camera, which is convenient to operate and improves the user experience.
[0081] In some embodiments of the present disclosure, the first interface further includes at least one style selection control, and each style selection control has corresponding post-processing parameters.
[0082] See Figure 2 , the method further comprises:
[0083] Step S201: In response to a style selection control in the at least one style selection control being selected, a style image corresponding to the selected style selection control is displayed in the preview frame, wherein the style image is an image obtained by adjusting the original image according to the post-production parameters corresponding to the style selection control.
[0084] Here, "selected" means that the device receives a style selection instruction input by the user based on the at least one style selection control (or based on other methods such as voice recognition), and the style selection instruction indicates the selected style selection control. The (at least one) post-processing parameter corresponding to the style selection control can be a preset value, or a parameter value summarized based on the user's usage habits (for example, the post-processing parameter set by the user for the same camera last time, or the average or mode of the post-processing parameters set by the user when using the camera a preset number of times (for example, 5 times) in the past). It can also be a user-defined parameter value (for example, presenting a style modification control and setting the at least one post-processing parameter indicated by the style modification instruction input by the user based on the style modification control to the post-processing parameter corresponding to the style selection control corresponding to the style modification instruction), or it can be a recommended parameter downloaded by the device from the server (for example, the currently popular color adjustment method).
[0085] Based on this, several style selection controls can be provided to users, allowing them to quickly adjust the post-production parameters of the camera imaging based on simple operations, further improving the user experience while lowering the user threshold for post-production parameter adjustment. That is, non-professionals can also quickly set their favorite style based on the style selection controls.
[0086] In the above embodiment, preferably, the style selection control is further used to display a corresponding style image, that is, each style selection control in the at least one style selection control is further used to display a style image corresponding to each style selection control.
[0087] Based on this, users can quickly preview various post-production styles of the original images captured by the camera before the camera is taken, allowing users to have an intuitive perception of different post-production styles and making users more purposeful when choosing a style, further improving the user experience.
[0088] In some embodiments of the present disclosure, the first interface further includes a restore control, and the method further includes displaying the original image captured by the camera in a preview box of the first interface in response to receiving a restore instruction input by the user based on the restore control.
[0089] The restoration control can be a control that is parallel to the style selection control in the above embodiment, but its corresponding post-processing parameters are empty (i.e., no adjustments are made to the original image), or it can be a control that is displayed separately. Preferably, the restoration control can also be used to present the content of the original image (so that the user can also see the content of the original image when previewing other styles of images, so that the user can compare different styles). Based on this, when the user previews other styles of the original image, the image in the preview box can be switched to the original image at any time, enriching the interface's operational level and further improving the user experience.
[0090] The following combination Figure 3 The schematic diagram of an exemplary first interface shown is used to further introduce the first interface provided in at least one of the above embodiments.
[0091] Figure 3 The first interface shown is based on a foldable screen device that folds up and down (the same applies to other foldable screen devices). In which, when the user holds the device vertically on the ground, the relatively upper folding side can be called the first side, and the other side can be called the second side. Figure 3 In the scenario shown, the user is using a camera to take a photo of a car. A preview frame can be displayed on the first side of the folding screen, and a style selection control and an imaging parameter adjustment control can be displayed on the second side of the folding screen. The restoration control can be displayed in parallel with the style selection control in the same form (in fact, Figure 3 In the style selection controls shown, the control corresponding to "Original Style" is a restoration control, while the controls corresponding to "Style 1," "Style 2," and "Style 3" are style selection controls. When the user inputs imaging parameters based on the imaging parameter adjustment controls, the original image captured by the camera will change, and the first interface can display the original image in the restoration control and the preview box. The original image is then post-processed based on the post-processing parameters corresponding to the controls corresponding to "Style 1," "Style 2," and "Style 3," and the processed style images are displayed in their respective corresponding controls. When the user clicks the "Style 1" control, the device displays the style image corresponding to Style 1 in the preview box, allowing the user to preview it more clearly and comprehensively (preferably, the preview box can occupy most of the first side in size to provide the user with a preview function that is as concise, intuitive, and clear as possible). When the user clicks the "Original Style" control, the device can display the original image in the preview box. The above embodiment provides a complete and concise interactive solution, allowing users to quickly and conveniently preview images captured by the camera and various style images based on the device, thereby improving the user experience.
[0092] In some embodiments of the present disclosure, presenting the first interface in response to connecting with the camera includes:
[0093] In a case where a camera is connected to the device executing the method, in response to reaching a preview opportunity, presenting a first interface;
[0094] The preview timing includes at least one of the following:
[0095] The camera is activated;
[0096] The position of the device moves according to a preset trajectory;
[0097] The posture of the device changes according to a preset trajectory.
[0098] Among them, based on considerations such as power consumption and hardware life, the connection between the camera and the device and the activation of the camera's own imaging module can be performed at different times, and "the camera is activated" can be when the user presses the wake-up button or power button on the camera (so that the camera wakes up from the off state or sleep state to the on state, and the camera's imaging module is turned on). In addition, the device can also sense the change in the device's posture or position based on the built-in gyroscope, positioning module or digital Hall element, and when the similarity between the change in posture or position and the preset trajectory is greater than a similarity threshold (for example, when the user shakes the device, the frequency and amplitude of the shake are greater than a preset threshold, or when the user hovers the device, the position and posture changes of the device within a time threshold are less than a preset threshold), it is determined that the preview time has been reached. Based on this, the timing of presenting the first interface can have more consideration dimensions, so that the device's presentation of the first interface and the interaction of parameters with the camera can better meet the user's subjective expectations, avoiding unnecessary consumption of the camera or device's power and hardware life when the user is not operating the camera or device.
[0099] In some embodiments of the present disclosure, see Figure 4 , the method further comprises:
[0100] Step S401, in response to receiving a shooting instruction, determining the original image at the current moment as a shot image, presenting a second interface, and displaying the shot image in a preview box of the second interface, the second interface including the preview box and a print control.
[0101] The capture command may be issued by the user based on the camera (for example, the user presses the shutter button provided by the camera, in which case the camera may send the capture command to the device), or may be issued based on other controls or operating logic provided by the device (for example, the user clicks the preview box or clicks the capture button provided on the first interface). The second interface may be a new interface presented by the device, or may be obtained by the device freezing the content displayed by the controls on the first interface (that is, changing the display logic of the controls in the first interface from displaying the original image to displaying the captured image).
[0102] Step S402 : in response to receiving a confirmation instruction inputted by the user to confirm printing based on the print control, issuing a print instruction to the camera so that the camera prints the image displayed in the preview box.
[0103] The camera's printing function may be a built-in function of the camera (e.g., the camera is an instant imaging camera) or may be implemented by an external module connected to the camera. When the device sends a print command to the camera, the camera may print or store the image displayed in the preview box.
[0104] Based on this, this method provides users with a complete and concise shooting-printing operation process on the device, so that the camera's imaging module, printing module and device can be functionally connected, improving the ease of use of the method.
[0105] In some embodiments of the present disclosure, the second interface further includes at least one style selection control, each style selection control having corresponding post parameters;
[0106] The method further comprises:
[0107] In response to a style selection control in the at least one style selection control being selected, a style image corresponding to the selected style selection control is displayed in the preview frame, wherein the style image is an image obtained by adjusting the captured image according to the post-production parameters corresponding to the style selection control.
[0108] The post-processing parameters corresponding to the style selection control may be preset values, or parameter values summarized based on the user's usage habits (such as the post-processing parameters set by the user for the same camera last time, or the average value or mode of the post-processing parameters set by the user when using the camera a preset number of times (such as 5 times) in the past), or may be user-defined parameter values (such as presenting a style modification control, and setting the post-processing parameters indicated by the style modification instruction input by the user based on the style modification control to the post-processing parameters corresponding to the style selection control corresponding to the style modification instruction), or may be recommended parameters downloaded by the device from the server (such as the currently popular color adjustment method).
[0109] Preferably, the style selection control is also used to display a corresponding style image.
[0110] For relevant details and beneficial effects of the style selection control, please refer to the aforementioned embodiments. In this embodiment, the style image is an image obtained by adjusting (correcting) the captured image according to the post-production parameters corresponding to the style selection control. Based on this, the user can quickly preview a variety of post-production styles of the captured image after shooting, so that the user has an intuitive perception of different post-production styles, and makes the user more goal-oriented when choosing a style, further enhancing the user experience.
[0111] In addition, the second interface can also include a restore control, displayed alongside or separately from the style selection control, for displaying the captured image without any post-processing. When the user enters a restore command using this restore control, the device can restore the image displayed in the preview box to the captured image. This allows the user to switch the preview box to the captured image at any time while previewing a different style of the original image, enriching the interface's operational hierarchy and further enhancing the user experience.
[0112] In some embodiments of the present disclosure, the method further includes:
[0113] In response to receiving a confirmation instruction input by the user based on the print control indicating confirmation of printing or indication of non-printing, the first interface is displayed, and the original image captured by the camera is displayed in the preview box of the first interface.
[0114] In other words, when the user instructs to print the image, the device can send a print instruction to the camera and redisplay the first interface so that the user can continue to preview and shoot the original image. When the user instructs not to print the image, it can be considered that the user wishes to abandon the captured image obtained by this shooting. At this time, the device can redisplay the first interface so that the user can continue to preview and shoot the original image. The above embodiment completes the connection process in the reuse process of the method, allowing the user to conveniently reshoot after deciding whether to print or not to print the current captured image, further improving the user experience.
[0115] Next, combine Figure 5 The schematic diagram of an exemplary second interface shown further introduces the second interface shown in at least one of the above embodiments.
[0116] Figure 5 The second interface shown is based on the presentation of a foldable screen device that folds up and down (the same applies to other foldable screen devices). In which, when the user holds the device vertically on the ground, the relatively upper folding side can be called the first side, and the other side can be called the second side. Figure 5 In the scenario shown, the user is using a camera to take a photo of a car. A preview box can be displayed on the first side of the folding screen, and a style selection control and a print control can be displayed on the second side of the folding screen. The restore control can be displayed in parallel with the style selection control based on the same form (in fact, Figure 5In the style selection controls shown, the control corresponding to "Original Style" is a restore control, while the controls corresponding to "Style 1," "Style 2," and "Style 3" are style selection controls. When the user issues a shooting command, the second interface can display the captured image in the restore control and preview box, then perform post-processing on the captured image based on the post-processing parameters corresponding to the controls corresponding to "Style 1," "Style 2," and "Style 3," and display the processed style images in their respective corresponding controls. When the user clicks the "Style 1" control, the device displays the style image corresponding to Style 1 in the preview box, allowing the user to preview it more clearly and comprehensively. When the user clicks the "Original Style" control, the device can display the original image in the preview box (preferably, the preview box can occupy most of the first side in size to provide the user with a preview function that is as concise, intuitive, and clear as possible). When the user is satisfied with the content in the current preview box, they can click to confirm printing. At this time, the device can send a print command to the camera, causing the camera to print the image in the current preview box to obtain a physical image, and the device can then switch the second interface to the first interface. The above embodiment provides a complete and concise interactive solution, allowing users to quickly and conveniently preview captured images and images of various styles based on the device, and confirm whether to print the current image, further improving the user experience.
[0117] Next, combine Figure 6 The application scenario shown summarizes at least one of the above embodiments. Figure 6 In the illustrated scenario, the camera is an instant imaging camera, and the device executing the method is a mobile phone. In the related art, due to considerations such as cost, convenience, and technical implementation difficulty, instant imaging cameras are usually only equipped with a small image preview box and fewer parameter setting buttons, and their parameter setting process is also relatively complicated. After the user takes a photo with an instant imaging camera, the instant imaging camera usually prints the captured image immediately. However, when the user wishes to add a post-processing filter or other post-processing effect to the captured image, the instant imaging camera cannot meet the user's needs (which is not only limited by the interaction logic, but also by the hardware capabilities of the instant imaging camera), and may also cause waste of printed paper. In summary, even though mobile devices such as mobile phones have become essential items that users carry with them, users cannot experience the same interactive experience as mobile phones when taking photos with instant imaging cameras, nor can they experience the same shooting effects as instant imaging cameras when taking photos with mobile phones.
[0118] In the method provided by the present disclosure, a user can connect an instant imaging camera to a mobile phone. Preferably, the mobile phone can obtain the imaging parameters supported by the instant imaging camera currently connected to the mobile phone, and display the imaging parameters supported by the camera in the imaging parameter adjustment control. In addition, the mobile phone can also obtain other parameters supported by the instant imaging camera (such as the image acquisition size and number of pixels of the camera) to better display the original image of the camera. Next, the instant imaging camera can send the original image captured by the imaging module to the mobile phone, and the mobile phone can send the imaging parameter adjustment instruction indicating at least one imaging parameter issued by the user based on the imaging parameter adjustment control to the instant imaging camera, so that the imaging module captures the image based on the imaging parameters indicated by the imaging parameter adjustment instruction. After the user issues a shooting instruction, the user can adjust the captured image based on the second interface. Preferably, the mobile phone can also obtain the number of printable images currently remaining in the instant imaging camera (for example, obtain the number of printing papers currently remaining in the instant imaging camera) so as to display it to the user so that the user can plan the printed content based on the number of printable images. When the user issues a print command, the mobile phone can send the image displayed in the preview box, or the image obtained by adjusting the captured image based on the post-processing parameters currently specified by the user, to the instant imaging camera, so that the printing module can print the image. During the above process, the mobile phone can also further beautify or adjust the image based on the pre-trained deep learning model and then send it to the printing module for printing. In addition, when the instant imaging camera has a post-processing adjustment function, the mobile phone can also only send the post-processing parameters currently specified by the user to the instant imaging camera, so that the instant imaging camera automatically prints out the image based on the post-processing parameters and the recorded captured image. This disclosure does not impose any restrictions on this.
[0119] The specific details and related beneficial effects in the above examples can be found in the aforementioned embodiments and will not be repeated here.
[0120] Corresponding to the aforementioned method embodiments, the present disclosure also provides embodiments of a device and a terminal to which the device is applied.
[0121] The second aspect of the present disclosure provides an imaging device. Figure 7 , the device comprises:
[0122] A first interface module 701 is configured to present a first interface in response to connection with a camera, and to display the original image captured by the camera in a preview box of the first interface, wherein the first interface includes the preview box and imaging parameter adjustment controls;
[0123] The imaging parameter adjustment module 702 is used to control the camera to capture the original image based on the at least one imaging parameter in response to receiving an instruction carrying at least one imaging parameter, wherein the at least one imaging parameter is a preset parameter corresponding to the imaging parameter adjustment control or a parameter specified by the user based on the imaging parameter adjustment control.
[0124] Optionally, the first interface further includes at least one style selection control, each style selection control having corresponding post-production parameters;
[0125] The device further comprises:
[0126] The style selection module is configured to, in response to a style selection control in the at least one style selection control being selected, display a style image corresponding to the selected style selection control in the preview frame, wherein the style image is an image obtained by adjusting the original image according to the post-production parameters corresponding to the style selection control.
[0127] Optionally, the style selection control is further used to display a corresponding style image.
[0128] Optionally, the first interface further includes a restore control;
[0129] The device further comprises:
[0130] The restoration module is configured to display the original image captured by the camera in the preview box of the first interface in response to receiving a restoration instruction input by the user based on the restoration control.
[0131] Optionally, the first interface module is used to, when presenting the first interface in response to the connection with the camera,:
[0132] In a case where a camera is connected to the device executing the method, in response to reaching a preview opportunity, presenting a first interface;
[0133] The preview timing includes at least one of the following:
[0134] The camera is activated;
[0135] The position of the device moves according to a preset trajectory;
[0136] The posture of the device changes according to a preset trajectory.
[0137] Optionally, the device further includes:
[0138] a shooting module, configured to, in response to receiving a shooting instruction, determine the original image at the current moment as a shot image, present a second interface, and display the shot image in a preview box of the second interface, the second interface including the preview box and a print control;
[0139] The printing module is configured to, in response to receiving a confirmation instruction inputted by the user to confirm printing based on the print control, send a printing instruction to the camera so that the camera prints the image displayed in the preview box.
[0140] Optionally, the second interface further includes at least one style selection control, each style selection control having corresponding post-production parameters;
[0141] The device further comprises:
[0142] A style selection module is configured to, in response to a style selection control in the at least one style selection control being selected, display a style image corresponding to the selected style selection control in the preview frame, wherein the style image is an image obtained by adjusting the captured image according to the post-production parameters corresponding to the style selection control.
[0143] Optionally, the style selection control is further used to display a corresponding style image.
[0144] The implementation process of the functions and effects of each module in the above-mentioned device is specifically described in the implementation process of the corresponding steps in the above-mentioned method, and will not be repeated here.
[0145] A third aspect of the present disclosure provides a computer program product, comprising a computer program / instruction, which implements the method described in the first aspect when executed by a processor.
[0146] For the device embodiments and computer program product embodiments, since they basically correspond to the method embodiments, the relevant parts can be referred to the partial description of the method embodiments. In addition, the device embodiments described above are merely illustrative, wherein the modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules, that is, they may be located in one place, or they may be distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the disclosed solution. Those of ordinary skill in the art can understand and implement it without paying any creative work.
[0147] In a fourth aspect, the embodiment of the imaging device provided by the present disclosure can be applied to computer equipment. Figure 8 , which exemplarily shows a hardware schematic diagram of a computer device. For example, device 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
[0148] Device 800 may include one or more of the following components: a processing component 801 , a memory 802 , a power component 803 , a multimedia component 804 , an audio component 805 , an input / output (I / O) interface 806 , a sensor component 807 , and a communication component 808 .
[0149] The processing component 801 generally controls the overall operation of the device 800, such as operations associated with display, phone calls, data communications, camera operation, and recording operations. The processing component 801 may include one or more processors 809 to execute instructions to perform all or part of the steps of the above-described method. In addition, the processing component 801 may include one or more modules to facilitate interaction between the processing component 801 and other components. For example, the processing component 801 may include a multimedia module to facilitate interaction between the multimedia component 804 and the processing component 801.
[0150] The memory 802 is configured to store various types of data to support operations on the device 800. Examples of such data include instructions for any application or method operating on the device 800, contact data, phone book data, messages, pictures, videos, etc. The memory 802 can be implemented by any type of volatile or non-volatile storage device, or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk, or optical disk.
[0151] The power component 803 provides power to the various components of the device 800. The power component 803 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the device 800.
[0152] The multimedia component 804 includes a screen that provides an output interface between the device 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen can be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, sliding, and gestures on the touch panel. The touch sensor can not only sense the boundaries of the touch or sliding action, but also detect the duration and pressure associated with the touch or sliding operation. In some embodiments, the multimedia component 804 includes a front camera and / or a rear camera. When the device 800 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera can receive external multimedia data. Each front camera and rear camera can be a fixed optical lens system or have a focal length and optical zoom capability.
[0153] The audio component 805 is configured to output and / or input audio signals. For example, the audio component 805 includes a microphone (MIC), which is configured to receive external audio signals when the device 800 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal can be further stored in the memory 802 or transmitted via the communication component 808. In some embodiments, the audio component 805 also includes a speaker for outputting audio signals.
[0154] The I / O interface 806 provides an interface between the processing component 801 and peripheral interface modules, such as a keyboard, a click wheel, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.
[0155] The sensor assembly 807 includes one or more sensors for providing various aspects of status assessment for the device 800. For example, the sensor assembly 807 can detect the open / closed state of the device 800, the relative positioning of components, such as the display and keypad of the device 800. The sensor assembly 807 can also detect changes in the position of the device 800 or a component of the device 800, the presence or absence of user contact with the device 800, the orientation or acceleration / deceleration of the device 800, and temperature changes of the device 800. The sensor assembly 807 can also include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 807 can also include a light sensor, such as a CMOS or CCD image sensor, for use in camera applications. In some embodiments, the sensor assembly 807 can also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0156] The communication component 808 is configured to facilitate wired or wireless communication between the device 800 and other devices. The device 800 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, 4G or 5G or a combination thereof. In an exemplary embodiment, the communication component 808 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 808 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0157] In an exemplary embodiment, the device 800 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the imaging method of the computer device described above.
[0158] In a fifth aspect, the present disclosure, in exemplary embodiments, further provides a non-transitory computer-readable storage medium including instructions, such as a memory 802 including instructions. The instructions can be executed by a processor 809 of a device 800 to perform the imaging method of the computer device described above. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, or the like.
[0159] The foregoing description describes specific embodiments of the present disclosure. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims can be performed in an order different from that described in the embodiments and still achieve the desired results. Furthermore, the processes depicted in the accompanying drawings do not necessarily require the specific order shown or the sequential order to achieve the desired results. In certain embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0160] Other embodiments of the present disclosure will readily occur to those skilled in the art after considering the specification and practicing the inventions claimed herein. This disclosure is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art not claimed herein. The description and examples are to be considered as exemplary only, with the true scope and spirit of the present disclosure being indicated by the following claims.
[0161] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes can be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
[0162] The above description is only a preferred embodiment of the present disclosure and is not intended to limit the present disclosure. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present disclosure should be included in the scope of protection of the present disclosure.
Claims
1. An imaging method, characterized in that: The method comprises: In response to connecting to the camera, presenting a first interface and displaying the original image captured by the camera in a preview box of the first interface, the first interface including the preview box and imaging parameter adjustment controls; In response to receiving an instruction carrying at least one imaging parameter, controlling the camera to capture the original image based on the at least one imaging parameter, wherein the at least one imaging parameter is a preset parameter corresponding to the imaging parameter adjustment control or a parameter specified by the user based on the imaging parameter adjustment control.
2. The imaging method according to claim 1, wherein The first interface further includes at least one style selection control, each style selection control having corresponding post parameters; The method further comprises: In response to a style selection control in the at least one style selection control being selected, a style image corresponding to the selected style selection control is displayed in the preview frame, wherein the style image is an image obtained by adjusting the original image according to the post-production parameters corresponding to the style selection control.
3. The imaging method according to claim 2, wherein: The style selection control is also used to display the corresponding style image.
4. The imaging method according to claim 2, wherein: The first interface also includes a restore control; The method further comprises: In response to receiving a restore instruction input by the user based on the restore control, the original image captured by the camera is displayed in the preview box of the first interface.
5. The imaging method according to claim 1, wherein The presenting of the first interface in response to the connection with the camera includes: In a case where a camera is connected to the device executing the method, in response to reaching a preview opportunity, presenting a first interface; The preview timing includes at least one of the following: The camera is activated; The position of the device moves according to a preset trajectory; The posture of the device changes according to a preset trajectory.
6. The imaging method according to claim 1, wherein: The method further comprises: In response to receiving the capture instruction, determining the original image at the current moment as a captured image, presenting a second interface, and displaying the captured image in a preview box of the second interface, the second interface including the preview box and a print control; In response to receiving a confirmation instruction input by the user based on the print control to confirm printing, a print instruction is sent to the camera to enable the camera to print the image displayed in the preview box.
7. The imaging method according to claim 6, characterized in that The second interface further includes at least one style selection control, each style selection control having corresponding post parameters; The method further comprises: In response to a style selection control in the at least one style selection control being selected, a style image corresponding to the selected style selection control is displayed in the preview frame, wherein the style image is an image obtained by adjusting the captured image according to the post-production parameters corresponding to the style selection control.
8. The imaging method according to claim 7, wherein: The style selection control is also used to display the corresponding style image.
9. The imaging method according to any one of claims 6 to 8, characterized in that: The camera is an instant imaging camera; And / or, the method further comprises: In response to receiving a confirmation instruction input by the user based on the print control indicating confirmation of printing or indication of non-printing, the first interface is displayed, and the original image captured by the camera is displayed in the preview box of the first interface.
10. The imaging method according to any one of claims 1 to 8, characterized in that: The method is applied to a folding screen device, wherein the first preview control is located on a first side of the folding screen device, and the imaging parameter adjustment control is located on a second side of the folding screen device.
11. An imaging device, characterized in that: The device comprises: A first interface module, configured to present a first interface in response to connection with a camera, and display an original image captured by the camera in a preview box of the first interface, wherein the first interface includes the preview box and imaging parameter adjustment controls; An imaging parameter adjustment module is used to control the camera to capture the original image based on the at least one imaging parameter in response to receiving an instruction carrying at least one imaging parameter, wherein the at least one imaging parameter is a preset parameter corresponding to the imaging parameter adjustment control or a parameter specified by the user based on the imaging parameter adjustment control.
12. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instructions are executed by a processor, the method according to any one of claims 1 to 10 is implemented.
13. A computer device, characterized in that: The method comprises a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the method according to any one of claims 1 to 10 is implemented.
14. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 10 is implemented.