Snapshot method, terminal device and storage medium
By capturing image frames in real time in the camera's photo mode and supporting manual and automatic capture, it solves the problem of difficulty in capturing wonderful moments in a timely manner in dynamic scenes, improving the user's shooting experience and photo quality.
Patent Information
- Application Number
- CN202310216792.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-27
- Publication Date
- 2024-08-27
AI Technical Summary
When shooting dynamic scenes, it is difficult for users to capture the wonderful moments of moving targets in time, resulting in a poor shooting experience.
Provide a capture method that displays the photo preview interface in the camera's photo mode, captures image frames in real time, and turns on or off the capture function according to user operations. It supports manual and automatic capture. The automatic capture function is determined by detecting scene changes and image scoring. Shoot at the optimal frame.
It enables you to quickly capture photos of the best moments in dynamic scenes, improves the user's shooting experience, and ensures that the best shooting moments can be recorded even when the response is delayed.
Smart Images

Figure CN118555477A
Abstract
Description
Technical Field
[0001] The present application relates to the field of image processing, and in particular to a capture method, a terminal device and a storage medium. Background Art
[0002] In daily life, when users use mobile phones and other electronic devices to take photos, they click the capture button to complete the photo shooting. When encountering dynamic scenes, for example, the target in the preview screen is moving, and the user wants to capture the wonderful moment of the target's movement, but when the user's eyes see the wonderful moment and then click the capture button to make the camera shoot, due to the target being in motion and the user's reaction delay and action delay, the mobile phone cannot accurately capture the wonderful moment of the object's movement, and the user experience is low. Summary of the invention
[0003] In view of this, the present application provides a capture method, a terminal device and a storage medium, which are used to solve the problem that the camera cannot timely record the wonderful moments of the movement when encountering a moving target, thereby improving the user's photo-taking experience.
[0004] Some embodiments of the present application provide a capture method, a terminal device and a storage medium. The present application is introduced from multiple aspects below, and the embodiments and beneficial effects of the following aspects can be referenced to each other.
[0005] In a first aspect, the present application provides a snapshot method, the method comprising: in a camera mode, displaying a photo preview interface, displaying a first icon in the photo preview interface, and the first icon is in a closed state; in response to a user's operation of a shooting button at a first moment, saving a first image frame captured at the first moment to a gallery; in response to the user's operation of the first icon, turning on a first function, and switching the first icon from a closed state to an open state; displaying a second image frame captured in real time at a second moment in the photo preview interface; in response to the user's operation of the shooting button at a third moment, saving the second image frame to the gallery, wherein the second moment is earlier than the third moment.
[0006] In an embodiment of the present application, the first function may be referred to as a snapshot function, and the first icon is an icon indicating the state of the first function and turning the first function on or off. The shooting button is a shooting icon, and may also be referred to as a shutter. When the first function is turned off, the terminal device saves the image frame (i.e., picture) captured at the moment when the user operates the shooting button to the gallery. When the first function is turned on, in response to the user's operation of the shooting button, the terminal device may save the image frame before the operation to the gallery, thereby completing manual snapshot.
[0007] Through the snapshot method provided in the embodiment of the present application, when the first icon in the photo preview interface is turned off, the electronic device can save the corresponding image frame in real time in response to the user's photo operation; when the first icon is turned on, the electronic device can capture a frame of image before (or after) the operation in response to the user's photo operation, so that the user can quickly turn on the snapshot function in dynamic scenes and turn off the snapshot function in non-dynamic scenes to obtain better photo effects, so as to adapt to different shooting scenes.
[0008] In some embodiments, the method further includes: in response to a user operating the capture button at a fourth moment, saving a third image frame to the gallery, wherein a fifth moment at which the third image frame is captured is later than the fourth moment.
[0009] Through the capture method provided in the embodiment of the present application, the terminal device can determine the optimal frame from the pictures of a period of time before and after the operation of the shooting icon. Therefore, through the scheme of the present application, no matter whether the reaction time when taking pictures is delayed or advanced, the optimal frame in the shooting process can be captured, the best moment can be recorded, and user needs can be met to the greatest extent.
[0010] In some embodiments, the first setting item of the camera is an off state.
[0011] In the embodiment of the present application, the first setting item may be a setting item for turning on the automatic snapshot function, that is, an automatic snapshot switch item. When the first setting item is in the off state, the automatic snapshot function is turned off, and only manual snapshot is supported.
[0012] In some embodiments, when the first setting item of the camera is in the on state, when a transition is detected in the real-time image frame displayed on the photo preview interface, a fourth image frame is automatically saved to the gallery, wherein the moment of capturing the fourth image frame is earlier than the moment of the transition.
[0013] In the embodiment of the present application, when the first setting item of the camera is in the on state, the automatic capture function is turned on. At this time, the terminal device can support automatic capture and manual capture at the same time.
[0014] When the terminal device captures image frames, it can identify the scene captured by the camera based on the captured image frames. When it is determined that the shooting scene has changed, that is, a transition has occurred, such as from scene 1 to scene 2, the terminal device generates a photo based on the image frame with the highest comprehensive score in scene 1, stores the photo in the gallery, and completes automatic capture.
[0015] Through the snapshot method provided in the embodiment of the present application, the terminal device can support manual snapshot, and support automatic snapshot and manual snapshot at the same time, which meets the user's snapshot needs and improves the user's photo-taking experience. In addition, the photo finally output by the terminal device is the frame with the highest comprehensive score in the entire scene, that is, the best frame in the entire scene. Therefore, there is no need for the user to manually click the shooting icon, which overcomes the problem of delayed response, can record the best moment, that is, the wonderful moment, and improve the user's photo-taking experience.
[0016] In some embodiments, the second image frame is an image with the highest comprehensive score among a plurality of image frames in a first time period before the third moment and a plurality of image frames in a second time period after the third moment; and / or,
[0017] The third image frame is an image with the highest comprehensive score among a plurality of image frames in a first time period before the fourth moment and a plurality of image frames in a second time period after the fourth moment;
[0018] The comprehensive score includes image quality score, portrait score and action score.
[0019] For example, the terminal device may pre-set weighting coefficients corresponding to the image quality score, the portrait score, and the action score, respectively. The terminal device performs weighted averaging of the image quality score, the portrait score, and the action score of a frame of image according to the pre-set weighting coefficients to obtain a comprehensive score of the frame of image. In the embodiment of the present application, the terminal device may also determine the comprehensive score in other ways, which is not limited thereto.
[0020] In some embodiments, the length of the first time period is 1 second, and the length of the second time period is 0.5 seconds.
[0021] In some embodiments, the photo preview interface also includes: a fourth icon, and the method also includes: when the fourth icon is in an on state and the first icon is in a off state, in response to a user's operation on the first icon, the first icon is switched from a off state to an on state, and the first function is turned on, the fourth icon is switched from an on state to a off state, and the second function is turned off; in response to a user's operation on the first icon, the first icon is switched from an on state to a off state, and the first function is turned off, the fourth icon is switched from a off state to an on state, and the second function is turned on.
[0022] In some embodiments, the photo preview interface also includes: a fourth icon, and the method also includes: when the first icon is in an on state and the fourth icon is in a off state, in response to a user's operation on the fourth icon, the fourth icon is switched from a off state to an on state, and the second function is turned on, and the first icon is switched from an on state to a off state, and the first function is turned off; in response to a user's operation on the fourth icon, the fourth icon is switched from an on state to a off state, and the second function is turned off, and the first icon is switched from a off state to an on state, and the first function is turned on.
[0023] In the embodiment of the present application, the fourth icon may be an icon of the AI photography function. The terminal device may memorize the user's choice, such as the user's choice to turn on the second function before turning on the first function, and the user's choice to turn on the first function before turning on the second function, and based on the memorized user's choice, quickly and automatically turn on the corresponding photography function, thereby improving the efficiency of switching the photography function.
[0024] In some embodiments, the method further includes: the photo preview interface further includes: a fifth icon, before the first function is turned on, the fifth icon is in a first state, the first state is any one of flash on, flash off, flash automatic, or flash always on. The method further includes: in response to a user's operation on the first icon, switching the first icon from an off state to an on state, turning on the first function, displaying the fifth icon as an inoperable state, and disabling the flash.
[0025] In some embodiments, the method further includes: in response to a user operation on the first icon, switching the first icon from an on state to an off state, turning off the first function, and restoring the fifth icon to the first state.
[0026] In the embodiment of the present application, the flash and the first function are mutually exclusive, and turning on the flash will seriously affect the photo quality of the first function. When the first function is turned on, the terminal device can display the fifth icon of the flash as an inoperable state to disable the flash and prevent the user from turning on the flash by mistake.
[0027] In some embodiments, the method further includes: when the first icon is in an on state, if the shooting scene of the camera changes from a first ambient light brightness to a second ambient light brightness, and the first ambient light brightness is greater than the second ambient light brightness, then turning off the first function and switching the first icon from an on state to an off state.
[0028] In some embodiments, the method also includes: when the ambient light brightness of the shooting scene of the camera is less than a third ambient light brightness and the first icon is in a closed state, in response to a user's operation on the first icon, turning on the first function, and switching the first icon from an closed state to an open state, a pop-up box displays sixth information, and the sixth information is used to prompt that it is not suitable to turn on the first function under the current shooting scene.
[0029] In the embodiment of the present application, the scenes of the second ambient light brightness and the third ambient light brightness are scenes that are not suitable for the snapshot function, such as night scenes, dark light environments, high dynamic scenes, etc., that is, scenes where the ambient brightness is less than or equal to the preset brightness threshold. The scene of the first ambient light brightness is a scene suitable for the snapshot function, that is, a scene where the ambient brightness is greater than the preset brightness threshold, which can also be called a normal light environment.
[0030] When the first function is turned on, if the scene photographed by the terminal device changes from the first ambient light brightness to the second ambient light brightness, the first function is automatically turned off and other photo functions, such as the AI photography function, are turned on. In addition, after the first function is automatically turned off, the terminal device can display a fifth message in a pop-up box, and the fifth message is used to prompt that the first function has been automatically turned off. When the first function is turned on, if the terminal device is in a scene that is not suitable for the snapshot function for a long time, in order to improve the photo quality, the terminal device can output prompt information, such as the sixth message, so that the user can operate the terminal device to turn off the first function.
[0031] The fifth information is displayed for a certain period of time (such as 5 seconds) and then disappears. In the process dimension, within a life cycle after the camera is turned on, each time a scene is switched, such as a scene that is suitable for the snapshot function changes to a scene that is not suitable for the snapshot function, the fifth information is displayed.
[0032] The display rule of the sixth information may be: when the current scene is not suitable for snapshot, the sixth information does not disappear until the scene displayed in the preview window is suitable for snapshot. The display rule of the sixth information may also be implemented in the following two ways:
[0033] Method 1: For scene recognition, the sixth information is displayed less than a preset number of times, such as 5 times. After the sixth information is displayed 5 times, no more prompts are given to avoid repeated reminders affecting the user experience. Here, in the process dimension, within a life cycle after the camera is turned on, the terminal device can display the sixth information for a specified duration at a specified interval, and the sixth information can be displayed up to 5 times.
[0034] Method 2: For scenes that are not suitable for snapshots, the sixth information is permanently displayed without a limit on the number of times, that is, the sixth information is displayed each time the scene is switched to a scene that is not suitable for snapshots. This can improve the shooting effect.
[0035] In some embodiments, the method further includes: when automatically saving the fourth image frame to the gallery, displaying a thumbnail of the fourth image frame in a gallery preview window on the photo preview interface, and the gallery preview window carries a first symbol.
[0036] In an embodiment of the present application, the terminal device stores the generated photo in the gallery, and at the same time, displays a thumbnail of the photo in the gallery preview window. For photos captured automatically, such as the fourth image frame mentioned above, when the thumbnail of the fourth image frame is displayed in the gallery preview window, the gallery preview window carries a first symbol (also referred to as a designated symbol); for photos captured manually, such as the second image frame and the third image frame mentioned above, or photos captured by other means, such as the first image frame mentioned above, when the thumbnail of the first image frame, the second image frame or the third image frame is displayed in the gallery preview window, the gallery preview window does not carry the first symbol. The first symbol not only serves the purpose of reminding the user that the camera is currently in the process of automatic capture, but also facilitates the user to understand the status of the camera and improves the user's privacy and security.
[0037] In some embodiments, the method further includes: in response to a user operation on a gallery preview window on the photo preview interface, displaying a first image interface, wherein the first image interface includes the fourth image frame and a third icon.
[0038] In an embodiment of the present application, in response to a user's operation on the gallery preview window, the terminal device can jump from the photo preview interface to the first image interface (i.e., the picture display interface). For photos captured automatically, such as the fourth image frame mentioned above, when the fourth image frame is displayed on the picture display interface, a third icon will also be displayed on the picture display interface to prompt that the photo is a photo captured automatically; for photos captured manually, such as the second image frame and the third image frame mentioned above, or photos captured by other means, such as the first image frame mentioned above, when the first image frame, the second image frame, or the third image frame is displayed on the picture display interface, the third icon is not displayed on the picture display interface. The third icon is used to distinguish the photos captured automatically from other photos, so that users can process the photos correctly.
[0039] In some embodiments, the method further includes: displaying a third card on the first image interface in response to a user operation on the third icon.
[0040] In the embodiment of the present application, the third card can be used to introduce the automatic snapshot function. After the third card is displayed, if the user does not operate, the third card will not disappear; when the user clicks on a blank space, the third card disappears.
[0041] In some embodiments, the method further includes: when the first icon is in the on state, if the shooting scene of the camera is a macro scene, turning on the third function; in response to the user's operation of the shooting icon at the sixth moment, saving the fifth image frame captured at the sixth moment to the gallery.
[0042] In the embodiment of the present application, both the snapshot function and the AI photography function can support the recognition of macro scenes. Macro photography can be achieved in the current photo mode with the snapshot function or the AI photography function turned on, without the user having to manually switch the photo mode. When the snapshot function and the AI photography function are turned on, the terminal device can activate the macro capability, but the icon of the macro function is not displayed to simplify the photo preview interface.
[0043] In some embodiments, when the first function is turned on and the first setting item of the camera is in the on state, the execution priority of the function of manually saving image frames is higher than the execution priority of the function of automatically saving image frames, and the execution of the function of automatically saving image frames is stopped during the execution of the function of manually saving image frames.
[0044] In the embodiment of the present application, the function of manually saving image frames is the manual capture function, and the function of automatically saving image frames is the automatic capture function.
[0045] In some embodiments, the method further includes: when the first icon is in a closed state and the camera is turned on for the first time, displaying a first card on the photo preview interface, wherein the first card is used to introduce a snapshot function (ie, the first function).
[0046] In an embodiment of the present application, the display rules of the first card may be: in the process dimension, the first card is only prompted once within a life cycle after the camera is opened; if the user does not perform any operation, the first card will not disappear, that is, the terminal device will not close the first card; if the user performs an operation, such as clicking on a blank space, exiting the camera or switching the camera mode, etc., the first card disappears.
[0047] When the camera is turned on for the first time, the first icon is off, that is, the snapshot function is off. The terminal device displays the first card on the photo preview interface to introduce the snapshot function, prompt the user how to use the snapshot function, and enhance the user's photo experience. In addition, the first card is only displayed when the camera is used for the first time to avoid repeated reminders that affect the user's experience.
[0048] In some embodiments, the method further includes: after the first card is closed, if the first icon is in a closed state, displaying a first bubble, wherein the first bubble is used to prompt to turn on the snapshot function.
[0049] In an embodiment of the present application, after the first card is closed, if the terminal device does not turn on the snapshot function, that is, the first icon remains in the closed state, the terminal device displays a first bubble for prompting to turn on the snapshot function, thereby improving the quality of the taken photos.
[0050] In some embodiments, the method also includes: in response to a user's operation of turning on the camera, displaying a photo preview interface in the camera's photo mode when the snapshot function has not been turned on; if the camera's shooting scene is a scene suitable for the snapshot function, displaying a first bubble on the photo preview interface, the first bubble being used to prompt the user to turn on the snapshot function.
[0051] In an embodiment of the present application, the display rules of the first bubble may be: in the process dimension, the first bubble is prompted only once within a life cycle after the camera is turned on; under the premise that the user does not clean up the cache of the terminal device, if the user has never clicked on the icon of the snapshot function and the terminal device has never turned on the snapshot function, there is no limit on the number of times the first bubble is prompted to prompt the user to use the snapshot function and improve the quality of the photos taken; if the user has clicked on the icon of the snapshot function and the terminal device has turned on the snapshot function, the first bubble will no longer be displayed to reduce the impact on the user's use of the camera.
[0052] After the first bubble is displayed, if the user does not perform any operation, the first bubble will disappear after being displayed for a certain period of time (such as 5 seconds), that is, the terminal device closes the first bubble; if the user performs an operation, the first bubble disappears immediately.
[0053] In an embodiment of the present application, in order to further avoid repeated prompts and adversely affect the user's use of the camera, the terminal device displays the first bubble on the photo preview interface only when it detects that the time since the last use of the camera has reached a specified time, such as the next day, and the shooting scene is a scene suitable for the snapshot function; if the time since the last use of the camera is less than the specified time, the first bubble will not be displayed.
[0054] In some embodiments, the method further includes: when the first icon is in an on state, displaying a second icon in the photo preview interface; in response to a user's operation on the second icon, displaying a second card on the photo preview interface, wherein the second card is used to introduce the snapshot function.
[0055] In the embodiment of the present application, the style of the second icon can be an icon with the letter "i" in a circle, or an icon with the letter "!" in a rectangle, or other styles, which are not limited. When the terminal device turns on the snapshot function, the second icon is displayed in the photo preview interface, and when the snapshot function is turned off, the second icon is not displayed in the photo preview interface.
[0056] When the snapshot function is turned on, the terminal device displays a second card for introducing the snapshot function in response to the user's operation on the second icon, so that the user can understand the snapshot function at any time, accurately turn on the snapshot function, and thus improve the quality of photos. After the second card is displayed, if the user does not operate, the second card will not disappear. If the user performs an operation, such as clicking a blank space, the first bubble disappears immediately.
[0057] In some embodiments, the method also includes: in response to the user's operation on the first icon, after the snapshot function is turned on, a pop-up box displays first information, and the first information is used to prompt that the snapshot function is turned on; in response to the user's operation on the first icon, after the snapshot function is turned off, a pop-up box displays second information, and the second information is used to prompt that the snapshot function is turned off.
[0058] In the embodiment of the present application, the terminal device displays prompt information of the camera function status, such as the first information and the second information, based on the opening and closing of the camera function (such as the snapshot function mentioned above), so that the user can understand the camera status. The first information and the second information disappear after being displayed for a certain period of time (such as 2 seconds).
[0059] In some embodiments, the method also includes: when the first icon is in the closed state, in response to the user's operation on the first icon, after a specified interval, a pop-up box displays third information, and the third information is used to prompt whether to turn on the automatic capture function; in response to the user confirming the operation of turning on the automatic capture function, the automatic capture function is turned on, and the first icon is switched from the closed state to the open state.
[0060] In the embodiment of the present application, after the user purchases a new terminal device or upgrades the system version, if the user has not performed any setting operations on the camera, the automatic capture function is turned off by default, which ensures the privacy security of the user.
[0061] When the snapshot function is turned off, in response to the user's operation on the first icon, the terminal device turns on the snapshot function, and after a specified time interval (such as 2 seconds), displays a third message for prompting whether to turn on the automatic snapshot function. Based on the third message, the user confirms to turn on the automatic snapshot function, and in response to the user's confirmed operation, the terminal device turns on the automatic snapshot function; otherwise, the terminal device keeps the automatic snapshot function turned off.
[0062] In the embodiment of the present application, the automatic snapshot function is introduced and turned on for the user through the third information, and the terminal device can quickly turn on the automatic snapshot function and improve the quality of the photo. In addition, in the embodiment of the present application, the third information can be displayed only when the snapshot function is turned on for the second time. If the terminal device has turned on the automatic snapshot function before the snapshot function is turned on for the second time, the third information will no longer be displayed when the snapshot function is turned on for the second time and in the subsequent process; if the terminal device has not turned on the automatic snapshot function before the snapshot function is turned on for the second time, the third information will be displayed when the snapshot function is turned on for the second time, and the third information will no longer be displayed in the subsequent process to avoid repeated reminders affecting the user experience.
[0063] In some embodiments, the method further includes: in response to the user confirming the operation of turning on the automatic snapshot function, after turning on the automatic snapshot function, a pop-up box displays fourth information, and the fourth information is used to prompt that the automatic snapshot function has been turned on.
[0064] In the embodiment of the present application, the terminal device displays prompt information of the camera function status based on the opening and closing of the camera function (such as the automatic snapshot function), such as the fourth information, so that the user can understand the camera status. The fourth information disappears after being displayed for a certain period of time (such as 2 seconds).
[0065] In some embodiments, after storing the fourth image frame in the gallery, the method further includes: displaying a second bubble on the photo preview interface, where the second bubble is used to prompt viewing of the fourth image frame automatically captured.
[0066] In an embodiment of the present application, the display rules of the second bubble may be: in the process dimension, the second bubble is prompted only once within a life cycle after the camera is turned on, and the second bubble is displayed after the first automatically captured photo is taken. In the subsequent process, the second bubble is no longer displayed to reduce the impact on the user's use of the camera.
[0067] After the second bubble is displayed, if the user does not perform any operation, the second bubble will disappear after being displayed for a certain period of time (such as 5 seconds), that is, the terminal device closes the second bubble; if the user performs any operation, the second bubble will disappear immediately.
[0068] In some embodiments, in the gallery, the automatically captured photos carry a third icon, which facilitates the distinction between the automatically captured photos and other photos.
[0069] In a second aspect, the present application provides a capture device, which includes a unit for executing the method in the first aspect. The device may correspond to executing the method described in the first aspect. For the relevant description of the unit in the device, please refer to the description of the first aspect, which will not be repeated here for the sake of brevity.
[0070] The method described in the first aspect above can be implemented by hardware, or by hardware executing corresponding software. The hardware or software includes one or more modules or units corresponding to the above functions. For example, an image acquisition module or unit, a processing module or unit, etc.
[0071] In a third aspect, the present application provides a terminal device, including:
[0072] a memory for storing instructions to be executed by one or more processors of the device, and
[0073] The processor is used to execute the instruction so that the terminal device executes any one of the methods provided in the first aspect above.
[0074] In a fourth aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program. When the computer program is executed by a terminal device, the terminal device executes any one of the methods provided in the first aspect above. BRIEF DESCRIPTION OF THE DRAWINGS
[0075] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0076] Figure 1a A schematic diagram of the structure of a terminal device provided in an embodiment of the present application;
[0077] Figure 1b A schematic diagram of the architecture of the software system provided in the embodiment of the present application;
[0078] Figure 2 A schematic diagram of a solution for overcoming the problem of delayed response when capturing an image in the related art;
[0079] Figure 3a-3e A schematic diagram of an interface for setting the automatic snapshot function provided in an embodiment of the present application;
[0080] Figure 4-1 A schematic diagram of a process of manually capturing when the automatic capturing function provided in an embodiment of the present application is turned off;
[0081] Figure 4-2 A schematic diagram of an implementation of manual capture and automatic capture provided in an embodiment of the present application;
[0082] Figure 4-3 A schematic diagram of a process of manual capture and automatic capture when the automatic capture function provided in an embodiment of the present application is turned on;
[0083] Figure 5A-Figure 5B A schematic diagram of the interface of scenario 1 provided in an embodiment of the present application;
[0084] Figure 6 A schematic diagram of a card 41 and a message box 42 provided in an embodiment of the present application;
[0085] Figure 7 A schematic diagram of the interface of scenario 2 provided in an embodiment of the present application;
[0086] Figure 8 A schematic diagram of a pop-up window 45 provided in an embodiment of the present application;
[0087] Fig. 9 A schematic diagram of the interface of scenario 3 provided in an embodiment of the present application;
[0088] Fig.10 A schematic diagram of the interface of scene 41 provided in an embodiment of the present application;
[0089] Fig.11 A schematic diagram of an interface of a scene 42 provided in an embodiment of the present application;
[0090] Fig.12 A schematic diagram of the interface of scenario 5 provided in an embodiment of the present application;
[0091] Fig.13 A schematic diagram of the interface of scenario 6 provided in an embodiment of the present application;
[0092] Fig.14 A schematic diagram of the interface of scenario 7 provided in an embodiment of the present application;
[0093] Fig.15 A schematic diagram of the interface of scenario 8 provided in an embodiment of the present application;
[0094] Fig.16 A schematic diagram of the interface of scenario 9 provided in an embodiment of the present application;
[0095] Fig.17 A schematic diagram of a pop-up window introducing the snapshot function provided in an embodiment of the present application;
[0096] Fig.18 A schematic diagram of an interface for enabling the automatic snapshot function provided in an embodiment of the present application;
[0097] Fig.19 Another structural schematic diagram of a terminal device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0098] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.
[0099] In order to facilitate the clear description of the technical solutions of the embodiments of the present application, in the embodiments of the present application, the words "first" and "second" are used to distinguish the same items or similar items with substantially the same functions and effects. For example, the first instruction and the second instruction are to distinguish different user instructions, and their order is not limited. Those skilled in the art can understand that the words "first" and "second" do not limit the quantity and execution order, and the words "first" and "second" do not necessarily limit them to be different.
[0100] It should be noted that, in this application, words such as "exemplarily" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplarily" or "for example" in this application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplarily" or "for example" is intended to present related concepts in a specific way.
[0101] In order to better understand the embodiments of the present application, the structure of the terminal device in the embodiments of the present application is introduced below. In the embodiments of the present application, the terminal device can also be referred to as an electronic device.
[0102] refer to Figure 1a , Figure 1a A schematic diagram showing the structure of a terminal device according to an embodiment of the present application is shown. Figure 1a The terminal device shown may include a processor 110, an external memory interface 120, an internal memory 121, a Universal Serial Bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a Subscriber Identity Module (SIM) card interface 195, etc. Among them, the sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, and a bone conduction sensor 180M, etc.
[0103] It is to be understood that the structure illustrated in the embodiments of the present application does not constitute a specific limitation on the terminal device. In other embodiments of the present application, the terminal device may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0104] The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem, a graphics processor (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.
[0105] The processor 110 can generate an operation control signal according to the instruction operation code and the timing signal to complete the control of fetching and executing instructions.
[0106] The processor 110 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory, thereby avoiding repeated access, reducing the waiting time of the processor 110, and thus improving the efficiency of the system.
[0107] In some embodiments, the processor 110 may include one or more interfaces. The interface may include an Inter-Integrated Circuit (I2C) interface, an Inter-Integrated Circuit Sound (I2S) interface, a Pulse Code Modulation (PCM) interface, a Universal Asynchronous Receiver / Transmitter (UART) interface, a Mobile Industry Processor Interface (MIPI), a General-Purpose Input / Output (GPIO) interface, and a Subscriber Identity Module (SIM) interface.
[0108] The I2C interface is a bidirectional synchronous serial bus, including a serial data line (SDA) and a serial clock line (SCL). In some embodiments, the processor 110 may include multiple sets of I2C interfaces. The processor 110 may be coupled to the touch sensor 180K, the charger, the flash, the camera 193, etc. through different I2C interfaces. For example, the processor 110 may be coupled to the touch sensor 180K through the I2C interface, so that the processor 110 communicates with the touch sensor 180K through the I2C interface to realize the touch function of the terminal device.
[0109] The I2S interface can be used for audio communication. In some embodiments, the processor 110 can include multiple groups of I2S interfaces. The processor 110 can be coupled to the audio module 170 via the I2S interface to achieve communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 can transmit an audio signal to the wireless communication module 160 via the I2S interface to achieve the function of answering a call through a Bluetooth headset.
[0110] The PCM interface can also be used for audio communication, sampling, quantizing and encoding analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 can be coupled via the PCM interface. The audio module 170 can transmit the acquired downlink audio stream data and uplink audio stream data to the terminal device wirelessly connected to the terminal device via the wireless communication module 160.
[0111] In some embodiments, the audio module 170 can also transmit audio signals to the wireless communication module 160 through the PCM interface to implement the function of answering calls through a Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.
[0112] The UART interface is a universal serial data bus for asynchronous communication. The bus can be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, the UART interface is generally used to connect the processor 110 and the wireless communication module 160. For example, the processor 110 communicates with the Bluetooth module in the wireless communication module 160 through the UART interface to implement the Bluetooth function. In some embodiments, the audio module 170 can transmit an audio signal to the wireless communication module 160 through the UART interface, so as to implement the function of obtaining the downstream audio stream data through the terminal device connected by Bluetooth.
[0113] The MIPI interface can be used to connect the processor 110 with peripheral devices such as the display screen 194 and the camera 193. The MIPI interface includes a camera serial interface (CSI) and a display serial interface (DSI). In some embodiments, the processor 110 and the camera 193 communicate via the CSI interface to realize the shooting function of the terminal device. The processor 110 and the display screen 194 communicate via the DSI interface to realize the display function of the terminal device.
[0114] It is understandable that the interface connection relationship between the modules illustrated in the embodiment of the present application is only a schematic illustration and does not constitute a structural limitation on the terminal device. In other embodiments of the present application, the terminal device may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.
[0115] The wireless communication function of the terminal device can be implemented through antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modem processor and baseband processor.
[0116] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in the terminal device can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of the antennas. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.
[0117] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G, etc., applied to terminal devices. In some embodiments, the mobile communication module 150 can be used to transmit call data between two terminal devices. For example, when acting as a called device, the downlink audio stream data from the calling device can be obtained, and the uplink audio stream data can be transmitted to the calling device.
[0118] The wireless communication module 160 can provide wireless communication solutions for application in terminal devices, including Wireless Local Area Networks (WLAN) (such as Wireless Fidelity (Wi-Fi) network), Bluetooth (BT), Global Navigation Satellite System (GNSS), Frequency Modulation (FM), Near Field Communication (NFC), and infrared technology (IR).
[0119] In some embodiments, the antenna 1 of the terminal device is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the terminal device can communicate with the network and other devices through wireless communication technology. In one embodiment of the present application, the terminal device can achieve local area network connection with another terminal device through the wireless communication module 160. Wireless communication technology may include Global System for Mobile Communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Time-Division-Synchronous Code Division Multiple Access (TD-SCDMA), Long Term Evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology, etc. GNSS may include the Global Positioning System (GPS), the Global Navigation Satellite System (GLONASS), the Beidou Navigation Satellite System (BDS), the Quasi-Zenith Satellite System (QZSS), and / or the Satellite Based Augmentation System (SBAS), etc.
[0120] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), MiniLED, MicroLED, Micro-OLED, and a quantum dot light-emitting diode (QLED). In some embodiments, the terminal device may include 1 or N display screens 194, where N is a positive integer greater than 1.
[0121] The external memory interface 120 can be used to connect an external memory card, such as a Micro Secure Digital Memory (SD) card, to expand the storage capacity of the terminal device. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, files such as music, videos, and recording files are stored in the external memory card. In some embodiments, the terminal device may include 1 or N external memory interfaces 120, where N is a positive integer greater than 1.
[0122] The internal memory 121 can be used to store computer executable program codes, and the executable program codes include instructions. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, and at least one application required for a function (such as a sound playback function, an image playback function, and a recording function, etc.). The data storage area may store data created during the use of the terminal device (such as uplink audio data, downlink audio data, and a phone book, etc.). In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash memory (Universal Flash Storage, UFS), etc. The processor 110 executes various functional applications and data processing of the terminal device by running instructions stored in the internal memory 121 and / or instructions stored in a memory provided in the processor 110.
[0123] The terminal device can implement push message processing functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone interface 170D, and the application processor, etc. For example, the target message and the category of the target message pushed by the push server are received; when it is determined that the category of the target message is a category to be displayed immediately, the target message is displayed; when it is determined that the category of the target message is not a category to be displayed immediately, the target message is displayed when the target message meets the display condition.
[0124] The audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio signals into digital audio signal input. The audio module 170 can also be used to encode and decode audio signals. In some embodiments, the audio module 170 can be arranged in the processor 110, or some functional modules of the audio module 170 can be arranged in the processor 110.
[0125] The receiver 170B, also called a "handset", is used to convert audio electrical signals into sound signals. When the terminal device receives a call or voice message, the voice transmitted by the calling device can be heard through the receiver 170B.
[0126] Microphone 170C, also called "microphone" or "microphone", is used to convert sound signals into audio electrical signals. When making a call or sending a voice message, the user can speak by approaching the microphone 170C with his mouth, and the sound signal is input into the microphone 170C to collect the uplink audio stream data.
[0127] The pressure sensor 180A is used to sense the pressure signal and convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A can be disposed in the display screen 194. In some embodiments, when the user clicks and presses the answer key on the display screen 194, a manual call answering function can be realized, and when the user clicks and presses the hang-up key on the display screen 194, a manual call hang-up function can be realized.
[0128] The touch sensor 180K is also called a "touch control device". The touch sensor 180K can be arranged in the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, also called a "touch control screen". The touch sensor 180K is used to detect touch operations acting on or near it. The touch sensor 180K can pass the detected touch operation to the application processor to determine the type of touch event, and can provide visual output related to the touch operation through the display screen 194. In other embodiments, the touch sensor 180K can also be arranged on the surface of the terminal device, which is different from the position of the display screen 194.
[0129] The key 190 includes a power key, a volume key, etc. The key 190 may be a mechanical key or a touch key. The terminal device may receive key input and generate key signal input related to user settings and function control of the terminal device.
[0130] Motor 191 can generate vibration prompts. Motor 191 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback. For example, after receiving an incoming call signal, motor 191 generates vibrations to prompt the user that there is a call to be answered.
[0131] The SIM card interface 195 is used to connect the SIM card. The SIM card can be contacted and separated from the terminal device by inserting it into the SIM card interface 195 or pulling it out from the SIM card interface 195. The terminal device can support 1 or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 195 can support Nano SIM cards, Micro SIM cards, and SIM cards, etc. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of the multiple cards can be the same or different. The SIM card interface 195 can also be compatible with different types of SIM cards. The SIM card interface 195 can also be compatible with external memory cards. The terminal device interacts with the network through the SIM card to realize functions such as calls and data communications. In some embodiments, the terminal device uses an eSIM, i.e., an embedded SIM card. The eSIM card can be embedded in the terminal device and cannot be separated from the terminal device. In some embodiments, the terminal device may include 1 or N SIM card interfaces 195, where N is a positive integer greater than 1.
[0132] The following is a diagram of the software structure of the terminal device.
[0133] The software system of the terminal device can adopt a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. The embodiment of the present application takes the Android system of the layered architecture as an example to exemplify the software structure of the terminal device.
[0134] like Figure 1b As shown, Figure 1b A software structure block diagram of the terminal device provided in an embodiment of the present application.
[0135] The layered architecture divides the software into several layers, each with clear roles and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom, namely, the application layer, the application framework layer, the Android runtime (Android Runtime) and the system library, and the kernel layer.
[0136] The application layer can include a series of application packages. Figure 1bAs shown, the application package may include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message, etc.
[0137] The application framework layer provides an application programming interface (API) and a programming framework for the applications in the application layer. The application framework layer includes some predefined functions. Figure 1b As shown, the application framework layer may include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, and an algorithm framework, etc.
[0138] The window manager is used to manage window programs. The window manager can obtain the display screen size, determine whether there is a status bar, fix the screen, capture the screen, etc.
[0139] Content providers are used to store and retrieve data and make it accessible to applications. The data may include videos, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.
[0140] The view system includes visual controls, such as controls for displaying text and controls for displaying images. The view system can be used to build the display interface of an application. The display interface can be composed of one or more views. For example, the display interface including a text notification icon can include a view for displaying text and a view for displaying images.
[0141] The phone manager is used to provide communication functions for terminal devices, such as the management of call status (including answering, hanging up, etc.).
[0142] The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.
[0143] The notification manager enables applications to display notification information in the status bar. It can be used to convey notification-type messages and can disappear automatically after a short stay without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc. The notification manager can also be a notification that appears in the system top status bar in the form of a chart or scroll bar text, such as notifications of applications running in the background, or a notification that appears on the screen in the form of a dialog window. For example, a text message is displayed in the status bar, a prompt sound is emitted, an electronic device vibrates, an indicator light flashes, etc.
[0144] The algorithm framework includes a framework of related algorithms for implementing the capture method of the embodiment of the present application, such as an algorithm for calculating the motion amplitude of the target object in the preview image obtained by the electronic device, an algorithm for determining whether the motion amplitude of the target object in the preview image meets preset conditions, and an algorithm for controlling the electronic device to complete automatic capture of the target object when the motion amplitude of the target object meets the preset conditions.
[0145] Android Runtime includes core libraries and virtual machines. Android runtime is responsible for scheduling and management of the Android system.
[0146] The core library consists of two parts: one is the function that the Java language needs to call, and the other is the Android core library. The application layer and the application framework layer run in the virtual machine. The virtual machine executes the Java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform object life cycle management, stack management, thread management, security and exception management, and garbage collection.
[0147] The system library may include multiple functional modules, such as surface manager, media library, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), etc.
[0148] The surface manager is used to manage the display subsystem and provide the fusion of 2D and 3D layers for multiple applications.
[0149] The media library supports playback and recording of a variety of commonly used audio and video formats, as well as static image files, etc. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
[0150] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, synthesis and layer processing, etc.
[0151] A 2D graphics engine is a drawing engine for 2D drawings.
[0152] The kernel layer is the layer between hardware and software. The kernel layer contains at least display driver, camera driver, audio driver, sensor driver, etc.
[0153] The following is an example of the workflow of the terminal device software and hardware, combined with the photo-taking scenario.
[0154] When the touch sensor 180K receives a touch operation, the corresponding hardware interrupt is sent to the kernel layer. The kernel layer processes the touch operation into raw input events (including touch coordinates, timestamp of the touch operation and other information). The raw input events are stored in the kernel layer. The application framework layer obtains the raw input event from the kernel layer and identifies the control corresponding to the input event. Taking the touch operation as a touch single-click operation, and the control corresponding to the single-click operation as an example, the camera application calls the interface of the application framework layer, starts the camera application, and then starts the camera driver by calling the kernel layer, and captures static images or videos through the camera 193. The technical solution provided in the embodiment of the present application mainly improves the algorithm framework of the application framework layer, which is used to implement the relevant algorithms of the capture method.
[0155] Mobile phones and other electronic devices have the function of taking photos and videos. When a user wants to "capture" a wonderful moment of a target's movement through a mobile phone, the user clicks the shooting button on the mobile phone to trigger the phone to take a photo. However, due to the reaction lag when "snapping", the mobile phone cannot accurately capture the wonderful moment of the object's movement, and the photo the user finally takes may not be the ideal photo at a certain moment. Among them, the reaction lag may be a reaction lag caused by human factors (such as reaction delay and action delay), or it may be a reaction lag caused by the mobile phone (such as camera reaction delay). The above-mentioned shooting button is the shutter button.
[0156] At present, one possible way to obtain photos of wonderful moments is that the user will choose to shoot a video first, and then save a frame of image from the video as a photo by taking a screenshot. In this case, the operation of the user to obtain the above-mentioned photo is cumbersome, which affects the user experience. On the other hand, the picture quality of the photo obtained by the image frame captured from the video is low, which also reduces the user experience.
[0157] In the related art, in order to solve the problem of missing wonderful moments due to delayed response when capturing, corresponding solutions are proposed, such as Figure 2 As shown, when the user clicks the shooting button (denoted as T1), the photo is triggered, and the mobile phone collects an image frame at a certain moment before T1 (denoted as T2), and uses the image frame as the captured photo. For example, the difference between T2 and T1 is a preset value, such as 50 milliseconds (ms). In this way, the mobile phone selects a frame 50ms forward to obtain the image frame just before the photo is taken, and physically achieves "0" delay to avoid the problem of delayed response. However, the photos captured in this way may not be clear, or the face angle may not be good, or the facial expression may not be ideal, so it may not be an ideal photo at a certain moment and cannot meet user needs.
[0158] The photographing method in the related art cannot accurately capture the picture that the user wants to capture, or the operation is inconvenient, such as needing to switch to the video shooting function, shoot the video, and then take a screenshot.
[0159] In order to solve the above technical problems, an embodiment of the present application provides a photo preview interface and a photo taking method of a camera in a terminal device. In the embodiment of the present application, a control for turning on or off the snapshot function is set on the photo preview interface of the camera in the terminal device.
[0160] In one possible implementation, when the control of the snapshot function of the photo preview interface is turned off, the terminal device detects the user's photo operation 1. In response to the photo operation 1, the terminal device can capture a frame of image during the photo operation 1 and save it as the photo result.
[0161] In another possible implementation, the terminal device turns on the snapshot function in response to the user clicking the control of the snapshot function, and the control of the snapshot function is turned on (for example, highlighted). When the control of the snapshot function is turned on, if the control of the automatic snapshot function in the setting interface of the camera application of the terminal device is turned off, the terminal device detects the user's photo operation 2, and in response to the photo operation 2, the terminal device can save a frame of the picture from a period of time before the photo operation 2 to a period of time after the photo operation 2 as the result of the photo, that is, manual snapshot. When the terminal device does not detect the user's photo operation 2, the terminal device will not automatically save the picture, that is, it will not automatically capture.
[0162] In another possible implementation, when the control of the snapshot function of the photo preview interface is turned on, if the automatic snapshot control in the setting interface of the camera application of the terminal device is turned on, the terminal device detects the user's photo operation 2, and in response to the photo operation 2, the terminal device can save a frame of picture from a period of time before the photo operation 2 to a period of time after the photo operation 2 as the result of the photo. The terminal device can also automatically analyze the previewed picture, and when the preset conditions are met, save a frame of picture as the result of the photo, that is, automatically capture. Among them, the preset conditions may include: the preview stream has a transition, and a frame of picture between this transition and the last transition is saved as the result of the automatic capture. The comprehensive score of the frame of picture is high, and the factors referenced by the comprehensive score include: clarity, target action, etc. The embodiment of the present application does not make specific limitations on this.
[0163] In the embodiment of the present application, the snapshot function is a shooting function supported by the camera, and the snapshot function supports an intelligent high-speed shutter, which can quickly capture wonderful moments when capturing scenes such as people smiling, jumping, running, and cats and dogs. Wonderful moments may include but are not limited to the moment when the subject of the scene performs a specified action in scenes such as people smiling, jumping, running, and cats and dogs. For example, in a scene where a person smiles, the specified action is that the corner of the person's mouth reaches the highest point, and accordingly, the wonderful moment is the moment when the corner of the person's mouth reaches the highest point; in a scene where a person jumps, the specified action is that the person jumps to the highest point, and accordingly, the wonderful moment is the moment when the person jumps to the highest point; in a cat scene, the specified action is that the cat's front legs land on the ground and move back and lift up, and accordingly, the wonderful moment is the moment when the cat's front legs land on the ground and move back and lift up. In different scenes, the specified action may also include other actions, which are not limited to this.
[0164] In the snapshot method provided in the embodiment of the present application, a control for turning on or off the snapshot function is set on the photo preview interface of the terminal device. A switch item for the automatic snapshot function can be set in the camera setting interface of the terminal device. In response to the user's operation on the switch item of the automatic snapshot function, the terminal device turns on or off the automatic snapshot function. In the embodiment of the present application, when the automatic snapshot function is turned on, if the snapshot function is turned off, the automatic snapshot function will be automatically disabled; if the snapshot function is turned on again, the automatic snapshot function will be automatically undisabled, that is, the automatic snapshot function is enabled. Alternatively, when the automatic snapshot function is turned off, if the snapshot function is turned off, and then the snapshot function is turned on again, the automatic snapshot function remains turned off.
[0165] like Figure 3a The interface of the camera application is shown, which can be a photo preview interface, including: preview window 17, snapshot function icon 11, AI photography function icon 12, live shooting mode icon 13, flash icon 14, filter shooting mode icon 15, focal length 16, gallery preview window 18, shooting icon (shutter) 19, front and rear lens switching icon 110, setting icon 111, etc. Among them, the snapshot function icon 11 is the control of the above-mentioned snapshot function.
[0166] In some embodiments, a "smart photo" setting item is arranged in the camera setting interface of the terminal device, and the next level setting item of smart photo may include a control of the automatic snapshot function. Figure 3a As shown, in response to the user clicking the setting control 111, the terminal device displays Figure 3b The camera setting interface shown in the figure includes setting item 1, namely, the "smart photo" setting item; in the "smart photo" setting interface, an "auto-snap" switch item (namely, the control of the auto-snap function as described above) is arranged, such as Figure 3cThe switch item 6 of the smart photo setting interface is shown. The control of the automatic capture function is the switch item of the automatic capture function. The name and function description of the switch item of the automatic capture function can be set according to actual needs. For example, the switch item of the automatic capture function can also be named "Eagle Eye Automatic Capture" switch item, such as Figure 3d Switch item 6 of the smart photo setting interface shown in FIG. Figure 3c As an example, in the embodiment of the present application, the user clicks Figure 3b In the camera setting interface shown in FIG. 1 , the terminal device opens the “Smart Photo” setting item 1 in response to the user clicking the setting item 1. Figure 3c The smart photo setting interface shown.
[0167] User clicks Figure 3c In the "auto-snap" switch item 6 in the smart photo setting interface shown, the terminal device turns on or off the auto-snap function in response to the user clicking on the switch item 6. For example, the "auto-snap" switch item 6 is in an off state, and when the user clicks on the "auto-snap" switch item 6, the terminal device turns on the auto-snap function; the "auto-snap" switch item 6 is in an on state, and when the user clicks on the "auto-snap" switch item 6, the terminal device turns off the auto-snap function. In the embodiment of the present application, the state of the "auto-snap" switch item 6 is not affected by the snap function, for example, the state of the "auto-snap" switch item 6 is in an on state, and when the terminal device does not detect that the user operates the "auto-snap" switch item 6, the terminal device turns on or off the snap function, and the "auto-snap" switch item 6 remains in an on state; the state of the "auto-snap" switch item 6 is in an off state, and when the terminal device does not detect that the user operates the "auto-snap" switch item 6, the terminal device turns on or off the snap function, and the "auto-snap" switch item 6 remains in an off state.
[0168] In the embodiment of the present application, the setting items are associated with subordinate interfaces, such as Figure 3b In the "Smart Photo" setting item 1, the Smart Photo setting interface is associated with the setting item 1, and the symbol ">" indicates that the lower interface is associated. In the camera setting interface and the smart photo setting interface, in addition to the "Smart Photo" setting item and the "Auto Snap" switch item, one or more setting items and one or more switch items can also be arranged, such as Figure 3b and Figure 3c "Photo ratio", "Video resolution", "Video frame rate", "Voice control photo" and other settings, as well as "High-efficiency video format", "HDR10", "AI movie tone", "Intelligent high dynamic recording", "Gesture photo", "Smile capture" and other switch items. Figure 3b For example, the switch items in the open state can be found in Figure 3bSwitch 2 and switch 4 in the OFF state can be found in Figure 3b The switch item 3 and the switch item 5 in the on state and the switch item in the off state may also be represented in other forms, which are not limited thereto.
[0169] In order to accurately set the parameters of each setting item and the switch items to be turned on or off, each setting interface can display the parameters of each setting item and the function introduction of each switch item. Figure 3b As shown, in the camera settings interface, the parameter of the "Photo Ratio" setting item is shown to be 4:3, that is, the aspect ratio of the photo is 4:3. In the camera settings interface, the function introduction of the "High-efficiency Video Format" switch item is also shown, that is, "can save about 35% of space, you may not be able to play videos in this format on other devices" and so on.
[0170] In addition, to avoid misoperation, after a switch item is turned on, the terminal device can set the switch item that is mutually exclusive with the turned-on switch item to be disabled. Figure 3b As shown, the “AI Movie Tone” switch item 4 and the “Intelligent High Dynamic Recording” switch item 5 are mutually exclusive. After turning on switch item 4, the terminal device grays out switch item 5 to disable switch item 5. Figure 3c As shown, the "Smile Snapshot" switch item and the "Gesture Photographing" switch item are mutually exclusive. After turning on the "Smile Snapshot" switch item, the terminal device grays out the "Gesture Photographing" switch item to disable the "Gesture Photographing" switch item.
[0171] To facilitate understanding of the capture method provided in the embodiments of the present application, the capture method in the scenarios where the automatic capture function is turned on and the automatic capture function is turned off are described below.
[0172] In an embodiment of the present application, in the photo preview interface, camera mode icons such as photo, portrait, night scene, video, and movie supported by the camera can be displayed. In different camera modes, icons such as the shooting capabilities and parameters supported by different camera modes are displayed, as well as scene preview windows, gallery preview windows, etc.
[0173] like Figure 3a and Figure 3e The photo preview interface shown in the figure displays the snapshot function icon 11, AI photography function icon 12, live shooting mode icon 13, flash icon 14, filter shooting mode icon 15, focal length 16, preview window 17, gallery preview window 18, shooting icon 19, front and rear lens switching icon 110, setting icon 111 and introduction icon 112 in the "photo" camera mode. For the enabled photo function, its icon is turned on (such as highlighted), such as Figure 3a Icon 12 and Figure 3eIcon 11 in the figure, for the closed photo function, its icon is closed, such as Figure 3a Icon 11 and Figure 3e Icon 12 in the figure. The display forms of opening and closing of different icons can be the same or different, and there is no limitation on this.
[0174] (1) In a scenario where the snapshot function is on and the automatic snapshot function is off, the snapshot process is as follows: Figure 4-1 shown.
[0175] The snapshot function is enabled when the user clicks Figure 3a The terminal device responds to the user clicking the icon 11 in Figure 3a The operation of icon 11 in the figure is to open the snapshot function, such as Figure 3e As shown, icon 11 is highlighted to indicate that the snapshot function is turned on. When the snapshot function is turned on, the user can click icon 19, and the terminal device can save a frame of image between a first preset time point before the click operation and a second preset time point after the click operation in response to the user's operation of clicking icon 19.
[0176] The automatic capture function can be turned off. Figure 3c The "auto-snap" switch item 6 is in the off state. When the terminal device does not detect the user's operation of clicking the icon 19, the terminal device will not automatically save the picture, that is, it will not automatically snap a picture.
[0177] The specific process of the photographing method in the embodiment of the present application includes:
[0178] Step S11, the terminal device displays the camera's photo preview interface ( Figure 3e The interface shown in the figure) is displayed, and one or more frames of images within a first preset time length before the current time are captured and cached through the camera, and the one or more frames of images are images that meet the preset standards within the first preset time length.
[0179] In the embodiment of the present application, the first preset time length can be set according to actual needs. For example, the first preset time length can be 0.5 seconds, 1 second, 1.5 seconds, etc.
[0180] The user can open the camera of the terminal device by clicking the camera icon on the terminal device desktop or by inputting a voice command to open the camera application to the terminal device. The terminal device can display Figure 3a At this time, the snapshot function is turned off, and the terminal device captures the picture in real time, and obtains the following Figure 4-2The image frame stream shown in (1) here, the terminal device does not cache the captured pictures. When the snapshot function is turned off, when the terminal device captures picture 0, the user clicks the shooting icon 19, and the terminal device saves and outputs picture 0 as the final generated photo in response to the user clicking the shooting icon 19.
[0181] After the terminal device opens the camera, the user clicks Figure 3a The terminal device responds to the user clicking the icon 11 in Figure 3a The operation of icon 11 in the figure is to open the snapshot function and display Figure 3e The terminal device captures images in real time and stores the local best moment (LBM) and the most recent specified number of frames in the cache queue within the first preset time before the current time. The local best frame is the frame with the highest comprehensive score in a sub-time period.
[0182] For example, the first preset time length is 1 second, the terminal device can collect 30 frames of pictures within 1 second, the sub-time period length is 1 / 3 second, and the specified number is 10. Figure 4-2 For explanation. When the snapshot function is turned on and the automatic snapshot function is turned off, the terminal device can cache the first LBM (i.e., picture -22), the second LBM (i.e., picture -13), and the most recent 10 frames of pictures (i.e., picture -9 to picture 0), where the first LBM is the LBM from the 1st second to the 2 / 3rd second before the current time, the second LBM is the LBM from the 2 / 3rd second to the 1 / 3rd second before the current time, and the most recent 10 frames of pictures are the pictures from the 1 / 3rd second before the current time to the current moment. The current time (i.e., this moment) is the time of the picture captured in real time by the terminal device.
[0183] As time goes by, the latest 10 frames of images are continuously input into the cache queue, so that the storage content of the cache queue is updated. According to the first-in-first-out rule, the first LBM stored in the cache queue is discarded, the second LBM stored in the cache queue is updated to the first LBM, and the LBM in the last 10 frames of images stored (i.e., the third LBM, such as Figure 4-2 Picture -7) is updated to the second LBM.
[0184] In the embodiment of the present application, in order to save storage space, when storing the above LBM, the terminal device may only store the LBM. In order to improve the quality of the generated photos, the terminal device may also store the LBM and the continuous multiple frames of pictures after the LBM. For example Figure 4-2In the example, the first LBM is picture -22, the second LBM is picture -13, and the cache queue stores picture -22 and three frames of pictures -21, -20 and -19 after picture -22, and stores picture -13 and three frames of pictures -12, -11 and -10 after picture -13. The number of the above-mentioned continuous multi-frame pictures can be 1, 2, 3 or 4, etc., which is set according to actual needs.
[0185] Step S12: the terminal device receives an operation in which the user clicks on a shooting icon in a photo preview interface.
[0186] See also Figure 3e As shown, the user clicks on the shooting icon 19 in the photo preview interface, and the terminal device responds to the user's click operation and executes step S13 to obtain manually captured photos.
[0187] Step S13, in response to the user's operation in step S12, the terminal device continues to capture pictures, and generates and saves the captured photos based on the cached pictures and the pictures captured within a second preset time period after the current time.
[0188] The second preset time length may be 0.5 seconds, 1 second, 1.5 seconds, etc. The current time indicates the time when the user clicks the capture icon.
[0189] Still Figure 4-2 For example, the first preset time length is 1 second, the second preset time length is 0.5 seconds, and when the terminal device captures picture 0, the user clicks the shooting icon 19, and the snapshot function is turned on and the automatic snapshot function is turned off. Figure 4-2 (2), in response to the user clicking the shooting icon 19, the terminal device can Figure 4-2 The pictures cached within 1 second before the current time are shown, and the target LBM within 1 second before the current time is determined, such as Figure 4-2 In the case (2), the target LBM determined according to the first LBM, the second LBM and the third LBM is the -22th frame; within 0.5 seconds after the current time, the terminal device captures each frame of the picture (such as picture 1 to picture 15), compares the frame of the picture with the target LBM, and determines a new target LBM; after 0.5 seconds after the current time, the terminal device can determine the final target LBM within 1 second before the current time (i.e., the moment of capturing picture 0) to 0.5 seconds after the current time, i.e., the optimal frame, such as Figure 4-2 In case (2), the optimal frame is determined to be frame -22. The terminal device can save the optimal frame as a captured photo, such as FIG. Figure 4-2 (2) directly outputs the -22th frame. You can also fuse the optimal frame and the continuous multiple frames after the optimal frame to get the captured photo, such as Figure 4-2In (2), the optimal frame is determined to be picture -22, and pictures -22, -21, -20, and -19 are fused to obtain fused picture 1, which is then output and saved.
[0190] In some embodiments, if the time interval between the user clicking the shooting icon 19 this time and the last time the user clicked the shooting icon 19 is greater than or equal to a third preset time length, and the third preset time length is the sum of the first preset time length and the second preset time length, the terminal device can save the photo according to the above steps S11 to S13.
[0191] In some embodiments, if the time interval between the user clicking the shooting icon 19 this time and the last time the user clicked the shooting icon 19 is less than the third preset time length, but the time interval is greater than the second preset time length, then the terminal device can generate and save the captured photos based on one or more frames of pictures in the time period since the last capture before the current time, and the pictures captured within the second preset time length after the current time.
[0192] In some embodiments, if the time interval between the user clicking the shooting icon 19 this time and the last time the user clicked the shooting icon 19 is less than the second preset time, the terminal device can use the target LBM determined before the current time as the last captured photo and save it. In addition, the terminal device can generate and save the photo captured this time based on the picture captured within the second preset time after the current time. For example, the first preset time can be 1 second, the second preset time is 0.5 seconds, and the user clicks the shooting icon 19 at times t1 and t2, respectively, and the interval between t1 and t2 is less than 0.5 seconds. The terminal device can determine the target LBM within the time from t1-1 seconds to t2 as the photo captured at time t1; it can compare the pictures captured after t2 frame by frame, and determine the optimal frame within 0.5 seconds after t2 as the photo captured at time t2.
[0193] In the embodiment of the present application, the scoring rule of the picture can be set according to actual needs. For example, the scoring rule can be: obtain a first score of the clarity of the picture, a second score of the action performed by the scene subject in the picture relative to the specified action, and weighted sum the first score and the second score to obtain the score of the picture; the scoring rule can also be: obtain a first score of the clarity of the picture, a second score of the action performed by the scene subject in the picture relative to the specified action, and a third score of the size of the scene subject in the picture, and weighted sum the first score and the second score to obtain the score of the picture.
[0194] In an embodiment of the present application, the terminal device caches one or more frames of images within a first preset time period before the user clicks the capture icon. After the user clicks the capture icon, the target LBM within the first preset time period is determined based on the cached one or more frames of images, and the images within a second preset time period after the capture icon is clicked are compared frame by frame with the target LBM to obtain a new target LBM, and a photo of the moment the user wishes to capture is generated based on the new LBM. Since the generation of the photo refers to the pictures between the user clicking the capture icon and the pictures after the user clicks the capture icon, even if there is a reaction lag, the terminal device can accurately capture the moment of the object's movement and generate a high-quality photo.
[0195] (2) When the snapshot function and the automatic snapshot function are enabled, the snapshot process is as follows: Figure 4-3 shown.
[0196] Among them, the automatic capture control can be turned on as follows Figure 3c The "auto-snap" switch item 6 is in the on state. When the terminal device does not detect the user clicking the icon 19, the terminal device will automatically save the picture, that is, it will automatically snap the picture. The specific process of the photo taking method of the embodiment of the present application includes:
[0197] Step S21, the terminal device displays the camera's photo preview interface ( Figure 3e The interface shown in the figure) is displayed, a picture is captured by a camera, and frame by frame comparison is performed to determine an LBM in the current scene, and the LBM is stored; and one or more frames of pictures within a first preset time length before the current time are captured and cached by the camera, and the one or more frames of pictures are pictures that meet the preset standards within the first preset time length.
[0198] In the embodiment of the present application, in order to improve the quality of the photo, when caching the LBM, the terminal device can cache multiple consecutive frames of pictures after the LBM. For example, Figure 4-2 In (3), the cache queue stores an LBM in a scene captured automatically, namely, picture -60, and three consecutive frames of pictures after picture -60, namely, pictures -59, -58, and -57. In addition, the cache queue also stores multiple frames of pictures for manual capture.
[0199] Step S22, when the terminal device detects that a scene change (ie, transition) occurs, a photo is generated according to the LBM in the current scene, that is, a photo that is automatically captured.
[0200] The terminal device can use a relevant scene detection algorithm to detect the scene of the image frame, and compare the scene of this detection with the scene of the previous detection. If the scene has changed, it is determined that a scene conversion has occurred. If the scene has not changed, it is determined that no scene conversion has occurred. The terminal device can perform scene retrieval frame by frame, or periodically perform scene detection on the acquired image frames, which is not limited in the embodiments of the present application. The method for determining the scene change can be that the terminal device compares whether one or more targets obtained by two detections have changed, which is not specifically limited in the embodiments of the present application.
[0201] Step S23: the terminal device receives an operation in which the user clicks on a shooting icon in the photo preview interface.
[0202] Step S24, in response to the user's operation in step S23, the terminal device continues to capture pictures, and generates and saves the captured photos based on the cached pictures within the first preset time length and the pictures captured within the second preset time length after the current time.
[0203] In the embodiment of the present application, in the scenario where the snapshot function is turned on and the automatic snapshot function is turned on, the terminal device supports the automatic snapshot as in the above steps S21-S22, and also supports manual snapshot. That is, in the automatic snapshot process, the terminal device can generate manually captured photos in response to the user clicking the shooting icon 19 in the photo preview interface. For example, Figure 4-2 As shown in (3), in the scenario where the capture function is turned on and the automatic capture function is turned on, the terminal device captures the image frame stream, uses the automatic capture method to store the LBM in the cache queue, and uses the manual capture method to store multiple frames of images within the 1 second time window before the current time in the cache queue, so that the terminal device can support automatic capture and manual capture at the same time. If the user does not click the capture icon, the terminal device can fuse the LBM in a scene stored in the cache queue and the subsequent multiple frames, such as the fused images -60, -59, -58, and -57, to obtain the fused image 2, and output and keep the fused image 2. If the user clicks the capture icon, the terminal device can respond to the user's operation of clicking the capture icon by fusing the optimal frame within 1 second before clicking the capture icon and 0.5 seconds after clicking the capture icon in the cache queue and the subsequent multiple frames, such as the fused images -22, -21, -20, and -19, to obtain the fused image 1, and output and keep the fused image 1.
[0204] In some embodiments, in the scenario where the snapshot function is turned on and the automatic snapshot function is turned on, the order of execution of automatic snapshot and manual snapshot is not limited, and is determined according to actual usage requirements, and is not limited in the embodiments of the present application. For example, the terminal device may first execute automatic snapshot and then execute manual snapshot. For another example, the terminal device may first execute manual snapshot and then execute automatic snapshot.
[0205] In the embodiment of the present application, the execution priority of manual capture and automatic capture can also be set in the terminal device. For example, in the scenario where manual capture is triggered, the execution priority of manual capture is higher than the execution priority of automatic capture, that is, manual capture is executed first. In addition, automatic capture is prohibited during the execution of manual capture, and automatic capture is resumed after manual capture is completed. In this way, the execution of automatic capture will not affect or interfere with manual capture.
[0206] In the embodiment of the present application, when the terminal device performs automatic capture, it caches one or more frames of pictures in the entire scene; and generates photos based on the cached pictures. The terminal device generates automatically captured photos, and can automatically identify the wonderful moments of the scene without the user manually clicking the shooting icon, and capture the scene to obtain photos, thereby accurately capturing the wonderful moments of the scene and timely recording the wonderful moments of the movement. In addition, when the automatic capture function is turned on, the terminal device supports users to manually capture photos, further meeting the user's capture needs and improving the user's photo-taking experience.
[0207] In the scenario where the snapshot function is turned on, the automatic snapshot function is turned on or off, the terminal device captures pictures and generates photos. In order to improve the quality of the photos, improve user privacy and security, and improve user experience, the terminal device can output corresponding prompt information based on the user's operation and the switching of scenes. The following describes in detail the snapshot method provided in the embodiment of the present application and the prompt information output during the snapshot process through specific scenarios.
[0208] Scenario 1: Guiding users to use the snapshot function for the first time.
[0209] 1) The terminal device displays the desktop, such as Figure 5A In response to the user clicking the camera icon on the desktop, the terminal device opens the camera; the terminal device displays the camera's photo preview interface.
[0210] In the embodiment of the present application, the use of the camera in the terminal device is divided into first use and non-first use. In the embodiment of the present application, if any of the following conditions is met, it can be called the first use of the camera:
[0211] a. A user buys a new terminal device, which is equipped with a camera. The camera includes the snapshot function of the embodiment of the present application. In this case, the user clicks to open the camera for the first time;
[0212] b. The user upgrades the system version, and the new system version includes the snapshot function of the embodiment of the present application. The user clicks to open the camera for the first time.
[0213] When the user opens the camera for the first time or not, the photo preview interface is different. This will be explained in detail later and will not be elaborated here.
[0214] 2) When you use the camera for the first time, the photo preview interface is as follows Figure 5A As shown in (b), a card 41 is displayed on the photo preview interface, and the card 41 displays a description of the snapshot function. In the embodiment of the present application, the card 41 may include a default photo and text describing the snapshot function, such as Figure 5A In the card 41 shown in (b), the text describing the snapshot function is "Turn on "wonderful snapshot" and shoot scenes such as people smiling, jumping, running, cats, dogs, etc. The intelligent high-speed shutter helps you capture the moment." The text describing the snapshot function in the card 41 can also be other content, such as Figure 6 The card 41 shown in (a) includes "Wonderful Snapshot: Supports intelligent high-speed shutter, helping you quickly capture the moment when capturing cats, dogs or people smiling, jumping, running and other actions", and Figure 6 The card 41 shown in (b) includes "Turn on 'Eagle Eye Wonderful Snapshot', when shooting scenes such as people smiling, jumping, running, and cats and dogs, the intelligent high-speed shutter helps you quickly capture the moment", etc., which is not limited. In addition, the card 41 can point to the icon 11 of the snapshot function, so that the user can know the icon of the snapshot function and accurately turn on the snapshot function.
[0215] In the embodiment of the present application, in the process dimension, card 41 is only prompted once in a life cycle after the camera is turned on. If the user does not perform any operation, the card 41 will not disappear; if the user performs an operation, such as clicking a blank space, exiting the camera, or switching camera modes, the card 41 will disappear. Card 41 is only displayed when the camera is used for the first time to avoid repeated reminders that affect the user experience.
[0216] Figure 5A In the interface shown in (b), the terminal device turns on the AI photography function and displays the focal lengths supported by the AI photography function, such as Figure 5A The maximum supported telephoto is 10X as shown in (b). After the AI photography function is turned on, the flash is turned off, but the flash is available, that is, in response to the user clicking the flash icon, the terminal device can turn on the flash.
[0217] 3) Respond to user clicks Figure 5A In the photo preview interface shown in (b), the icon 11 of the snapshot function is displayed, the card 41 disappears, the terminal device turns on the snapshot function, the icon 11 of the snapshot function is turned on (such as highlighted), the icon 12 of the AI photography function is turned off, and the terminal device can display a toast prompt box in the preview window, such as Figure 5AAs shown in (c), a message prompt box 42 including "'Wonderful Snapshot' is turned on" is included. At this time, the terminal device can intelligently identify the scene subject and capture the picture, such as Figure 5A The running figure shown in (c).
[0218] In the embodiment of the present application, the message prompt box 42 may disappear after being displayed for a specified time (e.g., 3 seconds), or the message prompt box 42 may disappear after the user performs an operation. This is not limited. In addition, the description information included in the message prompt box 42 may also be adjusted according to actual needs, such as Figure 6 As shown in (c), the message prompt box 42 may include description information such as "Eagle Eye Wonderful Snapshot is turned on".
[0219] The snapshot function and the flash are mutually exclusive. When the snapshot function is turned on, the flash is turned off and the flash icon is grayed out, disabling the flash function. At the same time, the focal length is switched to the focal length supported by the snapshot function, such as Figure 5A The one shown in (c) supports up to 5X telephoto.
[0220] In order to remind the user that the terminal device is taking a snapshot, after the terminal device turns on the snapshot function, a halo is displayed outside the shooting icon, and the halo has a dynamic effect of color change.
[0221] 4) The terminal device has the automatic snapshot function turned off by default. The scene in the photo preview interface is a motion scene, and the state of the subject in the scene is constantly changing, such as Figure 5A The status change of the character shown in (c) is Figure 5A In response to the user manually clicking Figure 5A The operation of the shooting icon in the photo preview interface shown in (d) above, when the terminal device intelligently recognizes the wonderful moment to be photographed, it captures this wonderful moment and generates a photo. For the specific process, please refer to the above process of manually clicking the shooting icon to manually capture the photo. Figure 4-1 After generating the photo, the terminal device displays a thumbnail of the photo in the gallery preview window 18 on the photo preview interface, such as Figure 5A As shown in (e), the time when the gallery preview window displays the thumbnail of the photo is delayed by a second preset time relative to the time when the user clicks the capture icon.
[0222] In the embodiment of the present application, in response to the user clicking the shooting icon in the photo preview interface, the picture saved by the terminal device may be earlier than the moment when the user clicks the shooting icon, such as Figure 5A As shown in (c), (d), and (e), the picture saved by the terminal device may also be later than the moment when the user clicks the shooting icon. Figure 5B As shown in (a), (b), (c) and (d). Figure 5BAs shown in (b) of FIG. 1 , when the snapshot function is turned on, the user clicks the shooting icon 19 to trigger the shooting of a photo. Figure 5B As shown in (d) in 5B, in response to the user operation, the terminal device "captures" the wonderful moment, provides the user with a photo of the wonderful moment, and displays a thumbnail of the photo, such as the thumbnail of the photo at the moment shown in (c) in 5B. It should be noted that the terminal device selects a frame of picture after the shooting moment according to the frame selection strategy provided in the embodiment of the present application to generate a photo.
[0223] In the embodiment of the present application, the automatic capture function is turned off by default, which means that after the user purchases a new terminal device or upgrades the system version, the automatic capture function is turned off by default if the user has not performed any setting operation on the camera.
[0224] 5) If the terminal device displays Figure 5A After the photo preview interface shown in (b) is displayed, the user does not click the snapshot function icon 11. After the card 41 disappears for a fourth preset time, the terminal device displays the following Figure 5A The bubble 43 shown in (f) in the figure prompts the user to turn on the snapshot function. Figure 5A The bubble 43 shown in (f) prompts the user to turn on the snapshot function, and the bubble 43 points to the icon 11 of the snapshot function and includes text description content such as "Click to turn on the "Great Snap" mode". In the embodiment of the present application, the descriptive information included in the bubble 43 can also be adjusted according to actual needs. As long as it plays the role of prompting the user to turn on the snapshot function, the bubble 43 can include descriptive information such as "Click to turn on Hawkeye's Great Snap".
[0225] After the terminal device displays bubble 43, if the user does not perform any operation, the bubble disappears after the fifth preset time. The fourth preset time and the fifth preset time can be set according to actual needs. The fourth preset time and the fifth preset time can be the same or different. For example, the fourth preset time and the fifth preset time are both 5 seconds (s). In the embodiment of the present application, the user is prompted to turn on the snapshot function through simple text so that the user can take high-quality photos and improve the user experience.
[0226] 6) The scene in the photo preview interface is a motion scene, and the state of the subject in the scene is constantly changing, such as Figure 5A The status change of the character shown in (f) is Figure 5A In response to the user clicking Figure 5A In the operation of the shooting icon 19 in the photo preview interface shown in (g), the terminal device captures a frame of the picture when the user clicks the shooting icon as a captured photo and saves the photo. After generating the photo, the terminal device displays a thumbnail of the photo in the gallery preview window 18 on the photo preview interface, such as Figure 5AAs shown in (h), the time difference between the time when the gallery preview window displays the photo thumbnail and the time when the user clicks the capture icon can be ignored, and it can be considered that the time when the user clicks the capture icon is the time when the gallery preview window displays the photo thumbnail.
[0227] Scenario 2: Guiding users to use the automatic snapshot function for the first time.
[0228] 1) If the user turns on the snapshot function when using the camera for the first time, and the message prompt box 42 disappears, the terminal device displays the following Figure 7 The interface shown in (a).
[0229] 2) In response to user clicks Figure 7 The snapshot function icon 11 in the interface shown in (a) is manually turned off, and the terminal device displays Figure 7 At this time, the icon 12 of the AI photography function is turned on (such as highlighted), the icon 11 of the snapshot function is turned off, and the terminal device can display a toast prompt box in the preview window, such as Figure 7 As shown in (b), a message prompt box 44 of "'Great Snapshot' is turned off" is included to prompt the user that the snapshot function has been manually turned off.
[0230] In the embodiment of the present application, the message prompt box 44 may disappear after being displayed for a specified time (such as 3 seconds), and the message prompt box 44 may also disappear after the user performs an operation. This is not limited. The description information included in the message prompt box 44 may also be adjusted according to actual needs. For example, the message prompt box 44 may include description information such as "Eagle Eye Wonderful Snapshot is closed".
[0231] 3) In response to the user clicking the snapshot function icon for the second time, that is, in response to the user clicking Figure 7 The snapshot function icon 11 in the photo preview interface shown in (b) is shown in the figure. The terminal device turns on the snapshot function again and displays Figure 7 In the interface shown in (c), the icon 11 of the snapshot function is turned on, the icon 12 of the AI photography function is turned off, and the terminal device can display a toast prompt box, i.e., a message prompt box 42, in the preview window. At this time, the terminal device can intelligently identify the scene subject and capture the picture, such as Figure 7 The running figure shown in (c). Figure 7 (c) and the above Figure 5A The interface is the same as that shown in (c), please refer to Figure 5A Part (c) describes the interface.
[0232] 4) The terminal device starts the snapshot function for the second time. After 2 seconds, the terminal device displays Figure 7In the interface shown in (d), a pop-up window 45 is displayed in the photo preview interface to prompt the user whether to turn on the automatic snapshot function. The pop-up window 45 includes a default photo, text describing the automatic snapshot function, and function options. Figure 7 The pop-up window 45 shown in (d) includes: "Do you want to turn on the "auto-snap" function? Automatically take photos when intelligently identifying wonderful moments such as people smiling, jumping, running, cats, dogs, etc. After turning it on, you can turn it off in "Settings" > "Smart Photo"" and other text describing the automatic snapshot function, as well as options such as "Don't prompt again", "Cancel", and "Turn on". In the embodiment of the present application, the text describing the automatic snapshot function can also be other text content, such as Figure 8 The pop-up window 45 shown includes: "Do you want to turn on "Eagle Eye Auto Snap"? Automatically take photos when intelligently identifying wonderful moments such as people smiling, jumping, running, and cats and dogs. After turning it on, you can turn it off in "Settings" > "Smart Photo"." There is no limitation on this.
[0233] After the user clicks "on" in the pop-up window 45, the automatic capture function switch item of the "smart photo" setting item in the terminal device is turned on synchronously, and the terminal device can use automatic capture to generate photos to assist the manual capture function; that is, in the camera's photo preview interface, the terminal device supports users to manually click the shooting icon to capture, and at the same time, the terminal device can also automatically identify "wonderful" moments and complete automatic capture. After the user clicks "cancel" in the pop-up window 45, the terminal device does not turn on automatic capture, that is, the user needs to click the shooting icon, and the terminal device responds to the user's operation of clicking the shooting icon to capture. If the user does not click the shooting icon, the terminal device does not automatically capture and save the photo.
[0234] In the embodiment of the present application, in the terminal device, the arrangement of the "smart photo taking" setting item and the "automatic snapshot" switch item is as follows: Figure 3b and Figure 3c When the user sets the automatic snapshot function to be turned on, both automatic and manual snapshots are supported; when the user sets the automatic snapshot function to be turned off, only manual snapshots are supported when the snapshot function is turned on.
[0235] In addition, if the user sets the automatic snapshot function to be turned on in the "Smart Photo" setting item after using the camera for the first time, the terminal device will no longer display the automatic snapshot function icon 11 when manually clicking the snapshot function icon for the second time or thereafter. Figure 7 (d) pop-up window 45; if the user does not set the automatic snapshot function in the "Smart Photo" setting item after using the camera for the first time, the terminal device will display the snapshot function icon 11 after manually clicking it for the second time. Figure 7 The pop-up window 45 shown in (d) will not be displayed in the following process Figure 7In addition, in the process dimension, the pop-up window 45 is only prompted once in a life cycle after the camera is opened to improve the user experience.
[0236] In addition, if the user selects the option "Do not prompt again" in the pop-up window 45, the terminal device will no longer prompt the user to turn on the snapshot function, such as the subsequent bubble 43 will no longer prompt.
[0237] 5) In response to the user clicking the "on" option in the pop-up window 45, the terminal device turns on the automatic snapshot function, and the terminal device can display a toast prompt box in the preview window to prompt that the automatic snapshot function has been turned on, such as Figure 7 The message prompt box 46 shown in (e) includes "Automatic capture is turned on". The description information included in the message prompt box 46 can also be adjusted according to actual needs. For example, the message prompt box 46 can include description information such as "Eagle Eye automatic capture is turned on".
[0238] 6) After the terminal device turns on the automatic snapshot function, the user does not need to click the shutter. The terminal device can intelligently identify the subject of the scene, capture the picture, and generate the photo. For the specific process, please refer to the above Figure 4-3 After a photo is automatically captured, a thumbnail of the photo and a designated symbol are displayed in the gallery preview window. The designated symbol indicates that the photo displayed in the gallery preview window 18 is a photo automatically captured, such as Figure 7 In (f), the designated symbol is a small circle 47 on the gallery preview window. When automatically capturing, the time when the gallery preview window 18 displays the photo thumbnail is delayed relative to the instant indicated by the captured photo, such as Figure 7 In (f), when the gallery preview window displays photo thumbnails, the main scene displayed in the preview window no longer exists.
[0239] In order to guide the user to use the camera correctly and preview photos, after the first photo is automatically captured, the terminal device can display a bubble 48 on the photo preview interface to prompt the user to view the automatically captured photo. Figure 7 The bubble 48 shown in (f) in the figure points to the gallery preview window and includes a description text of "click to view automatically captured photos". The description information included in the bubble 48 can also be adjusted according to actual needs. For example, the bubble 48 can include description information such as "view automatically captured photos".
[0240] After the terminal device displays the bubble 48, if the user does not perform any operation, the bubble disappears after the sixth preset time. The sixth preset time can be set according to actual needs, for example, the sixth preset time can be 5 seconds. After the bubble 48 disappears, the terminal device continues to automatically capture and generate photos.
[0241] In the process dimension, the bubble 48 prompts only once in a life cycle after the camera is turned on. The total number of prompts of the bubble 48 is less than or equal to the specified number, such as 1 time, 3 times, etc.
[0242] In order to remind the user that the terminal device is taking a snapshot, after the terminal device turns on the snapshot function, a halo is displayed outside the shooting icon, and the halo has a dynamic effect of color change.
[0243] In scenario 3, the terminal recognizes the scene and intelligently prompts you to turn on the snapshot function.
[0244] 1) If the user does not enable the snapshot function when using the camera for the first time, the AI photography function will be used by default. Fig. 9 In the photo preview interface shown in (a), the icon 12 of the AI photography function is turned on, and the icon 11 of the snapshot function is turned off. Fig. 9 The scene shown in (a) is a static scene, which is not suitable for the snapshot function.
[0245] 2) Later, for example, the next day, when the user uses the camera again to shoot a scene suitable for the snapshot function, if the time since the last use of the camera reaches the specified time, for example, the next day, the terminal device recognizes that Fig. 9 After the motion scene suitable for the snapshot function is shown in (b), a bubble 43 is displayed to prompt the user to turn on the snapshot function, such as Fig. 9 As shown in (c).
[0246] In the embodiment of the present application, the bubble 43 prompt rule can be: in the process dimension, only one prompt is given within a life cycle after the camera is turned on; under the premise that the user does not clean up the terminal device cache, if the user has never clicked the icon of the snapshot function and the terminal device has never turned on the snapshot function, there is no limit on the number of bubble 43 prompts, so as to prompt the user to use the snapshot function and improve the quality of the photos taken; if the user has clicked the icon of the snapshot function and the terminal device has turned on the snapshot function, bubble 43 will no longer be output to reduce the impact on the user's use of the camera. The recommended interval of bubble 43 can be calculated by day or hour, and bubble prompts will no longer be output within the recommended interval to reduce the impact on the user's use of the camera.
[0247] 3) User clicks Fig. 9 In the photo preview interface shown in (c), the terminal device switches to turn on the snapshot function, the snapshot function icon 11 is turned on, and the AI photography function icon 12 is turned off. Figure 7 As shown in (c), the terminal device can display a toast prompt box in the preview window, such as Figure 7 As shown in (c), a message prompt box 42 including ““Wonderful Snapshot” is turned on” is included.
[0248] The terminal device can intelligently identify the subject of the scene and capture pictures. If the terminal device has the automatic capture function turned on, the terminal device will support both automatic and manual capture; if the terminal device has not the automatic capture function turned on, the terminal device will only support manual capture.
[0249] Scenario 4: The terminal device remembers the user’s operations.
[0250] In one possible implementation, if before the user turns on the snapshot function, the terminal device turns on the AI photography function according to the user's previous operation, as described above Figure 5A As shown in (b), the icon 12 corresponding to the AI photography function is turned on, and the AI photography function is in the turned-on state. Since the user manually clicks to turn on the snapshot function, the AI photography function is turned off, and the icon 12 corresponding to the AI photography function is turned off, that is, the AI photography function is in the turned-off state; the terminal device will remember the user's operation, and when the user turns off the snapshot function, the terminal device automatically turns on the AI photography function, that is, the icon corresponding to the AI photography function in the photo preview interface displayed by the terminal device is automatically turned on, and the AI photography function is automatically turned on. On the contrary, if the AI photography function of the terminal device is turned off before the user turns on the snapshot function, the icon 12 corresponding to the AI photography function is turned off, that is, the AI photography function is in the turned-off state, and when the user turns off the snapshot function, the AI photography function of the terminal device is still turned off.
[0251] In another possible implementation, if before the user turns on the AI photography function, the terminal device turns on the snapshot function according to the user's previous operation, as described above Figure 5A As shown in (c), the icon 11 corresponding to the snapshot function is turned on, and the snapshot function is in the on state. Since the user manually clicks to turn on the AI photography function, the snapshot function is turned off, and the icon 11 corresponding to the snapshot function is turned off, that is, the snapshot function is in the off state; the terminal device will remember the user's operation, and when the user turns off the AI photography function, the terminal device automatically turns on the snapshot function, that is, the icon corresponding to the snapshot function in the photo preview interface displayed by the terminal device is automatically turned on, and the snapshot function is automatically turned on. Conversely, if the snapshot function of the terminal device is turned off before the user turns on the AI photography function, the icon 11 corresponding to the snapshot function is turned off, and the snapshot function is in the off state, when the user turns off the AI photography function, the snapshot function of the terminal device is still turned off.
[0252] Based on the above description, scene 4 can be further divided into scene 41 and scene 42.
[0253] Scene 41: The terminal device remembers the user's operation and automatically turns on the AI photography function.
[0254] 1) The camera's photo preview interface is as follows Fig.10As shown in (a), the AI photography function is turned on and the snapshot function is turned off. Fig.10 The terminal device turns on the snapshot function by operating the icon 11 of the snapshot function in the photo preview interface shown in (a). Fig.10 The photo preview interface shown in (b).
[0255] 2) If Fig.10 As shown in (b), the terminal device turns on the snapshot function and turns off the AI photography function, and the terminal device can display a toast prompt box in the preview window to prompt that the snapshot function is turned on, such as Fig.10 The message prompt box 42 shown in (b) in the figure. After the snapshot function is turned on, the icon 11 of the snapshot function is turned on, and the icon 12 of the AI photography function is turned off.
[0256] Here, before the snapshot function is turned on, the AI photography function is turned on. When the user manually clicks the snapshot function icon to turn on the snapshot function, the snapshot function and the AI photography function are mutually exclusive, resulting in the AI photography function being turned off. At this time, the terminal device remembers the user's choice, that is, remembers the user's choice of the status of the AI photography function.
[0257] 3) When the user changes the shooting scene and the changed scene is suitable for AI photography function, such as Fig.10 The scene shown in (b) is transformed into Fig.10 In the scenario shown in (c), the user manually clicks Fig.10 In the interface shown in (c), the icon 11 of the snapshot function is shown, and the terminal device responds to the user's operation and turns off the snapshot function.
[0258] 4) After the terminal device turns off the snapshot function, it remembers the user's previous selection and automatically turns on the AI photography function, that is, turns on the AI photography function, uses the AI photography function to intelligently identify scenes, and displays a toast prompt box in the preview window to prompt that the snapshot function has been turned off, such as Fig.10 The message prompt box 44 shown in (d) includes "'Wonderful Snapshot' is closed".
[0259] Fig.10 In (d), after the AI photography function is turned on, the icon of the AI photography function is turned on, and the icon 11 of the snapshot function is turned off. Fig.10 For the scene shown in (d), the corresponding AI scene identifier 410 is displayed on the preview window, such as Fig.10 As shown in (e) in the figure, after the snapshot function is turned off, the icon 11 of the snapshot function is turned off, and the icon 12 of the AI photography function is turned on.
[0260] Here, the user manually turns off the snapshot function, so the terminal device will not remember the user's choice, that is, it will not remember the user's choice of the state of the snapshot function. In this case, when the user manually turns off the AI photography function, the terminal device will not automatically turn on the snapshot function.
[0261] In scene 42, the terminal device memorizes the user's operation and automatically turns on the snapshot function.
[0262] 1) The camera's photo preview interface is as follows Fig.11 As shown in (a), the AI photography function is turned on and the snapshot function is turned off. Fig.11 The terminal device turns on the snapshot function by operating the icon 11 of the snapshot function in the photo preview interface shown in (a). Fig.11 The photo preview interface shown in (b).
[0263] 2) If Fig.11 As shown in (b), the terminal device turns on the snapshot function and turns off the AI photography function, and the terminal device can display a toast prompt box in the preview window to prompt that the snapshot function is turned on, such as Fig.11 The message prompt box 42 shown in (b) in the figure. After the snapshot function is turned on, the icon 11 of the snapshot function is turned on, and the icon 12 of the AI photography function is turned off.
[0264] Here, before the snapshot function is turned on, the AI photography function is turned on. When the user manually clicks the snapshot function icon to turn on the snapshot function, the snapshot function and the AI photography function are mutually exclusive, resulting in the AI photography function being turned off. At this time, the terminal device remembers the user's choice, that is, remembers the user's choice of the status of the AI photography function.
[0265] 3) When the user changes the shooting scene and the changed scene is suitable for AI photography function, such as Fig.11 The scene shown in (b) is transformed into Fig.11 In the scenario shown in (c), the user manually clicks the icon 12 of the AI photography function to turn on the AI photography function.
[0266] Here, before turning on the AI photography function, the snapshot function is turned on. When the user manually clicks the icon of the AI photography function and turns on the AI photography function, the snapshot function and the AI photography function are mutually exclusive, resulting in the snapshot function being turned off. At this time, the terminal device remembers the user's choice, that is, it remembers the user's choice of the status of the snapshot function.
[0267] 4) Based on Fig.11In the click operation shown in (c), the terminal device turns on the AI photography function and turns off the snapshot function, so that the AI photography function can be used to intelligently identify scenes and display the corresponding AI scene logo. When the snapshot function is turned off, the snapshot function icon is turned off and the AI photography function icon is turned on. Fig.11 As shown in (d).
[0268] In the embodiment of the present application, after the terminal device manually turns on the AI photography function, a toast prompt box can be displayed in the preview window, such as Fig.11 As shown in (d), a message prompt box 411 including "AI Photography is turned on". At the same time, the terminal device recognizes Fig.11 The scene shown in (d) above displays the corresponding AI scene logo on the preview window. The description information included in the message prompt box 411 can also be adjusted according to actual needs. For example, the message prompt box 411 can include description information such as "AI photography function is turned on".
[0269] 5) When the user wants to take a photo using the snapshot function, the user can manually click Fig.11 The icon of the AI photography function in the interface shown in (d) above, in response to the user's operation, the terminal device memorizes the user's previous selection, automatically turns on the snapshot function, and turns off the AI photography function, such as Fig.11 As shown in (e).
[0270] Here, the user manually turns off the AI photography function, so the terminal device does not remember the user's selection of the state of the AI photography function. In this case, when the user manually turns off the snapshot function, the AI photography function will not be automatically turned on.
[0271] In the embodiment of the present application, after the terminal device turns off the AI photography function, a toast prompt box can be displayed in the preview window, such as Fig.11 As shown in (e), a message prompt box 412 including ““AI photography” is turned off” is included. The description information included in the message prompt box 412 can also be adjusted according to actual needs. For example, the message prompt box 412 can include description information such as “AI photography function is turned off”.
[0272] Scenario 5: The terminal device recognizes the macro scene and activates the AI macro function.
[0273] 1) The camera's photo preview interface is as follows Fig.12 As shown in (a), the AI photography function is turned off and the snapshot function is turned on. The terminal device uses the snapshot function to capture and generate photos. Fig.12 In (a), the icon 11 of the snapshot function is turned on, and the icon 12 of the AI photography function is turned off.
[0274] 2) When the user changes the shooting scene, and the terminal device intelligently recognizes that the scene is a macro scene, such as Fig.12 The motion scene shown in (a) is switched to Fig.12 In the macro scene shown in (b), the terminal device activates the AI macro function without the user having to manually switch the photo mode.
[0275] In the embodiment of the present application, both the snapshot function and the AI photography function can support the recognition of macro scenes. Macro photography can be achieved in the current photo mode with the snapshot function or the AI photography function turned on, without the user having to manually switch the photo mode. When the snapshot function and the AI photography function are turned on, the terminal device can activate the macro capability, but the icon of the macro function is not displayed to simplify the photo preview interface.
[0276] 3) User clicks Fig.12 The shooting icon 19 in the interface shown in (b) is used to complete the photo shooting. After the photo is generated, the terminal device displays a thumbnail of the photo in the gallery preview window 18, such as Fig.12 As shown in (c).
[0277] For photos taken after the AI Macro function is activated, the time difference between the time when the gallery preview window displays the photo thumbnail and the time when the user clicks the shooting icon can be ignored. It can be considered that the time when the user clicks the shooting icon is the time when the gallery preview window displays the photo thumbnail. In addition, photos taken after the AI Macro function is activated do not belong to photos obtained using the snapshot function and will not carry the designated symbol 47.
[0278] 4) When the user changes the shooting scene again, and the scene after the change is suitable for the snapshot function, such as Fig.12 The macro scene shown in (c) is switched to Fig.12 In the motion scene shown in (d), the terminal device continues to use the snapshot function to capture images manually or automatically to generate photos.
[0279] Scene 6: The terminal device views the captured photos.
[0280] 1) The camera's photo preview interface is as follows Fig.13 As shown in (a), the AI photography function is turned off and the snapshot function is turned on. If the terminal device turns on the automatic snapshot function, the terminal device uses the snapshot function to automatically capture pictures and save them.
[0281] 2) When the automatic snapshot function is turned on, the terminal device uses the camera to automatically capture pictures. When the photo is generated, the photo is saved to the album and a thumbnail of the photo is displayed in the gallery preview window 18 on the photo preview interface, such as Fig.13As shown in (b), a designated symbol 47 is displayed on the gallery preview window 18, and the designated symbol 47 indicates that the photo displayed in the gallery preview window is a photo captured automatically.
[0282] 3) User clicks Fig.13 In the preview window of the gallery shown in (b), you can view the large image preview, that is, in response to the user clicking Fig.13 (b) shows the operation of the gallery preview window. The terminal device is in Fig.13 The picture display interface shown in (c) shows the photos in the gallery preview window. For photos captured automatically, the picture display interface displays an "auto-capture" icon, such as Fig.13 The icon 413 shown in (c) indicates that the photo displayed on the photo display interface is a photo captured automatically.
[0283] When the snapshot function is turned on and the automatic snapshot function is turned on, or when the snapshot function is turned on and the automatic snapshot function is turned off, the terminal device uses the camera to manually snapshot, captures pictures, and generates photos. The terminal device displays a thumbnail of the photo in the gallery preview window 18, but does not display the designated symbol 47 on the gallery preview window. Accordingly, when the photo is displayed on the picture display interface, the icon 413 is not displayed.
[0284] 4) User clicks Fig.13 The "auto-snap" icon 413 shown in (c) above can be used to view a pop-up window introducing the auto-snap capability, that is, in response to the user clicking on the Fig.13 The terminal device displays an icon 413 as shown in (c), and a pop-up window 414 introducing the automatic snapshot function is displayed, such as Fig.13 As shown in (d), the pop-up window 414 includes text content such as "Automatic capture. When the camera turns on "Automatic capture", it will automatically take pictures when it intelligently recognizes the moments of people smiling, jumping, running, and cats and dogs, etc." The pop-up window 414 may also include a default photo. The default photo can refer to the default photos in the above pop-up windows 41 and 45. The descriptive information included in the pop-up window 414 may also be adjusted according to actual needs. For example, the pop-up window 414 may include descriptive information such as "Eagle Eye automatic capture. When the camera turns on "Eagle Eye automatic capture", it will automatically take pictures when it intelligently recognizes the moments of people smiling, jumping, running, and cats and dogs, etc."
[0285] In the embodiment of the present application, when the user clicks on a blank space, the pop-up window 414 disappears.
[0286] When the snapshot function is turned on, the user manually clicks the shutter, and the terminal device responds to the user's operation and saves the picture without displaying icon 413 in the album.
[0287] In scenario 7, the terminal device displays a prompt indicating that the scene is not suitable for capturing.
[0288] 1) When the terminal device exits the camera or turns off the camera, the terminal device memorizes the camera status, such as AI photography function turned on and snapshot function turned off. The terminal device retains the memory of the camera status for a specified period of time, such as 15 minutes. Within the specified period of time, in response to the user clicking the camera icon on the desktop of the terminal device, the terminal device turns on the camera again. At this time, the terminal device maintains the camera status when the camera was exited or turned off last time, that is, AI photography function turned on and snapshot function turned off, such as Fig.14 (a) shows the photo preview interface for scenes that are not suitable for snapshots, such as night scenes, low-light environments, and high-dynamic conditions.
[0289] After a specified period of time, the terminal device clears the memory of the camera status. In response to the user clicking the camera icon on the desktop of the terminal device, the terminal device turns on the camera again. At this time, the terminal device adopts the default camera status, such as the status when the camera is turned on for the first time in the above scenario 1, that is, the AI photography function is turned on and the snapshot function is turned off.
[0290] Because the shutter speed is fast and the exposure time is short under the snapshot function, the camera may not be able to capture satisfactory photos when using the snapshot function in scenes such as night scenes, low-light environments, and high-dynamics. Therefore, scenes such as night scenes, low-light environments, and high-dynamics are not suitable for snapshot scenes.
[0291] 2) User manually clicks Fig.14 In the interface shown in (a), the snapshot function icon 11 is turned on and the AI photography function is turned off, that is, the snapshot function icon 11 is turned on and the AI photography function icon 12 is turned off, and the terminal device can display a toast prompt box in the preview window, such as Fig.14 As shown in (b), a message prompt box 42 including text content such as "'Wonderful Snapshot' is turned on". At this time, the terminal device can intelligently identify the scene subject and generate a photo by automatically or manually capturing. The prompt rules of the message prompt box 42 can refer to the above related description.
[0292] 3) When the terminal device detects the scene and determines that the current scene is not suitable for capturing, such as night scene, dark light environment, high dynamic, etc., the terminal device displays a toast prompt box in the preview window, such as Fig.14 As shown in (c), a message prompt box 415 including text content such as "The current shooting environment recommends turning off the wonderful snapshot" is displayed to prompt the user to turn off the snapshot function, switch to the shooting mode, and obtain high-quality photos. The description information included in the message prompt box 415 can also be adjusted according to actual needs. For example, the message prompt box 415 can include description information such as "The current shooting environment is not suitable for the current shooting mode".
[0293] In the embodiment of the present application, the display rule of the message prompt box 415 can be: in the current scene that is not suitable for capturing, the message prompt box 415 does not disappear until the picture scene displayed in the preview window is suitable for capturing.
[0294] The display rule of the message prompt box 415 can also be implemented in the following two ways:
[0295] Method 1: For scene recognition, the message prompt box 415 is displayed less than a preset number of times, such as 5 times. After the message prompt box 415 is displayed 5 times, no prompt will be given to avoid repeated reminders that affect the user experience.
[0296] Here, in the process dimension, within a life cycle after the camera is turned on, the terminal device can display a message prompt box 415 of a specified duration at specified intervals, and the message prompt box 415 can be displayed up to 5 times.
[0297] Mode 2: For scenes not suitable for snapshot, the message prompt box 415 is permanently displayed without a limit on the number of times, that is, each time the scene is switched to a scene not suitable for snapshot, the message prompt box 415 is displayed. This can improve the shooting effect.
[0298] 4) Based on the message prompt box 415, the user clicks Fig.14 In the picture preview interface shown in (c), the terminal device turns off the snapshot function in response to the user's operation, and turns on the AI photography function based on the user's selection in memory, and the terminal device can display a toast prompt box in the preview window, such as Fig.14 As shown in (d), a message prompt box 44 including ""Wonderful Snapshot" has been closed". The prompt rules of the message prompt box 44 can refer to the above related description.
[0299] Scene 8: When the scene suitable for snapshot is changed to a scene not suitable for snapshot, the terminal device automatically turns off the snapshot function. The scene suitable for snapshot is a scene where the ambient brightness is greater than a preset brightness threshold, which can also be called a normal light environment.
[0300] 1) When the terminal device exits the camera or turns off the camera, the terminal device memorizes the camera status, such as AI photography function turned on and snapshot function turned off. The terminal device retains the memory of the camera status for a specified period of time, such as 15 minutes. Within the specified period of time, in response to the user clicking the camera icon on the desktop of the terminal device, the terminal device turns on the camera again. At this time, the terminal device maintains the camera status when the camera was exited or turned off last time, that is, AI photography function turned on and snapshot function turned off, such as Fig.15 (a) shows the photo preview interface for scenes that are not suitable for snapshots, such as night scenes, low-light environments, and high-dynamic conditions.
[0301] After a specified period of time, the terminal device clears the memory of the camera status. In response to the user clicking the camera icon on the desktop of the terminal device, the terminal device turns on the camera again. At this time, the terminal device adopts the default camera status, such as the status when the camera is turned on for the first time in the above scenario 1, that is, the AI photography function is turned on and the snapshot function is turned off.
[0302] 2) User manually clicks Fig.15 The snapshot function icon 11 is displayed on the interface shown in (a), the terminal device turns on the snapshot function, turns off the AI photography function, and the terminal device can display a toast prompt box in the preview window, such as Fig.15 As shown in (b), a message prompt box 42 including "'Wonderful Snapshot' is turned on" is included. At this time, the terminal device can intelligently identify the scene subject and generate photos by automatically or manually capturing. The prompt rules of the message prompt box 42 can refer to the above-mentioned related description.
[0303] 3) When the user environment changes from Fig.15 The normal light environment shown in (b) is converted to Fig.15 When the night scene, dark light environment, high dynamic, etc. shown in (c) are not suitable for snapshot scenes, the terminal device automatically turns off the snapshot function, turns on the AI photography function, and displays a toast prompt box in the preview window, such as Fig.15 As shown in (c), a message prompt box 416 including "The environment is too dark, wonderful capture has been closed" is included. This ensures the quality of the photos taken and ensures the information security of the user.
[0304] The message prompt box 416 disappears after being displayed for a specified time (eg, 5 seconds). In the process dimension, during a life cycle after the camera is turned on, the message prompt box 416 is displayed each time in the environment switching scenario described in 3).
[0305] 4) After the terminal device exits the snapshot function, it uses the AI photography function to take photos, that is, it returns to normal photo taking mode.
[0306] 5) From Fig.15 The scene shown in (b) is transformed into Fig.15 In the scene shown in (c), after exiting the snapshot function, although it is still in a night scene, dark light environment, high dynamic and other scenes that are not suitable for snapshot, such as Fig.15 As shown in (d), the user can actively enable the snapshot function again, that is, the user clicks Fig.15 In the interface shown in (d), the snapshot function icon 11 is displayed, the terminal device turns on the snapshot function, turns off the AI photography function, and the terminal device can display a toast prompt box in the preview window, such as Fig.15As shown in (e), a message prompt box 42 including "'Wonderful Snapshot' is turned on" is included. At this time, the terminal device can intelligently identify the scene subject and generate a photo by automatically or manually capturing. The prompt rules of the message prompt box 42 can refer to the above-mentioned related description.
[0307] 6) When the terminal device detects the scene and determines that the current scene is not suitable for capturing, such as night scene, dark light environment, high dynamic, etc., that is, the terminal device is continuously in a scene not suitable for capturing, the terminal device displays a toast prompt box in the preview window, such as Fig.15 As shown in (f), a message prompt box 415 including "It is recommended to turn off snapshot in the current shooting environment" is included to prompt the user to switch the shooting mode to obtain high-quality photos.
[0308] Scene 9: The terminal device displays photos in the gallery.
[0309] 1) User clicks Fig.16 In (a), the picture gallery icon on the desktop is shown. In response to the user operation, the terminal device opens the picture gallery. Fig.16 As shown in (b), the user browses the photos in the gallery, wherein the photos captured automatically carry the “auto-capture” icon 413, while the photos captured manually and the photos captured in other shooting modes do not carry the “auto-capture” icon 413.
[0310] 2) User clicks Fig.16 In (b), in response to the user operation, the terminal device opens the album, such as Fig.16 The album interface shown in (c) in the figure. The automatically captured photos are grouped together with all photos and are not classified into separate folders.
[0311] Users can click Fig.16 In the album interface shown in (c), the "Camera" album is used to view all photos taken by the terminal device, that is, in response to the user's click Fig.16 In the operation of the "Camera" album shown in (c), the terminal device displays the photos corresponding to the "Camera" album, such as Fig.16 As shown in (d).
[0312] 3) If Fig.16 As shown in (d), the automatically captured photo carries an “automatically captured” icon 413 .
[0313] 4) User clicks Fig.16 The photo with icon 413 shown in (d) can be viewed in large preview, that is, the terminal device displays the photo in the picture display interface, such as Fig.16 For photos captured automatically, the picture display interface displays an "auto-capture" icon 413, such as Fig.16 As shown in (e).
[0314] 5) The user clicks the "auto-snap" icon 413 to view a pop-up window introducing the auto-snap capability, such as Fig.16 As shown in (f), a pop-up window 414 includes "Auto-snap, after the camera turns on "Auto-snap", it will automatically take photos when it intelligently recognizes the moments of people smiling, jumping, running, cats, dogs, etc." The pop-up window 414 can also include a default photo. When the user clicks on the blank space, the pop-up window 414 disappears. In the embodiment of the present application, the information of the pop-up window introducing the automatic snapshot capability can be fixed material to simplify the complexity of the camera display.
[0315] In some embodiments, when a user clicks Fig.16 When the user clicks the "All Photos" album shown in (c), in response to the user's click operation, the terminal device displays the photos corresponding to the "All Photos" album, and the photos saved by the terminal device through the automatic capture function (i.e., the photos captured automatically) will be displayed as follows Fig.16 Similarly, the user clicks the icon 413 shown in (d) Fig.16 The photo with icon 413 shown in (d) can be viewed in large preview, that is, the photo is displayed in the picture display interface, such as Fig.16 For photos taken by the automatic capture function, the picture display interface displays an "automatic capture" icon 413, such as Fig.16 As shown in (e).
[0316] In the embodiment of the present application, in order to facilitate the user to understand the snapshot function in real time, when the snapshot function is turned on, a small i introduction icon 112 is displayed in the upper right corner of the preview window. The user clicks the small i introduction icon to display a pop-up window introducing the snapshot function, such as Fig.17 As shown in (a), a pop-up window 417 includes “Wonderful snapshots, when shooting scenes such as people smiling, jumping, running, and cats, dogs, etc., the intelligent high-speed shutter helps you capture wonderful moments”.
[0317] When the user clicks on the blank space, the pop-up window 417 corresponding to the small i introduction icon disappears. The text content included in the pop-up window 417 can be set according to actual needs, for example, Fig.17 As shown in (b), the pop-up window 417 may include descriptive information such as "Eagle Eye Wonderful Snapshot, when shooting scenes such as people smiling, jumping, running, and cats, dogs, etc., the intelligent high-speed shutter helps you capture wonderful moments. After turning on Eagle Eye Wonderful Snapshot, you can also turn on the "Eagle Eye Automatic Snapshot" function in "Settings" > "Smart Photo" to automatically capture more wonderful moments." For another example, the text content included in the pop-up window 417 may also be: "Wonderful Snapshot, support for intelligent high-speed shutter, to help you capture wonderful moments; turn on "Automatic Snapshot", when it recognizes cats, dogs or people smiling, jumping, running and other actions, it can automatically capture photos of wonderful moments."
[0318] In the embodiment of the present application, the terminal device can use the method shown in scenario 2 to enable the automatic snapshot function, and can also use other methods to enable the automatic snapshot function. In some embodiments, the terminal device can display a pop-up window 49 on the photo preview interface when the camera is used for the first time to prompt the user to enable the automatic snapshot function. For example,
[0319] 1) The terminal device displays the desktop, such as Fig.18 In response to the user clicking the camera icon on the desktop, the terminal device opens the camera; the terminal device displays the camera's photo preview interface.
[0320] 2) When you use the camera for the first time, the photo preview interface is as follows Fig.18 As shown in (b), a pop-up window 49 is displayed on the photo preview interface, and the pop-up window 49 includes a default photo, text describing the snapshot function and the automatic snapshot function, and function options, such as Fig.18 The pop-up window 49 shown in (b) includes: "Snapshot function; intelligent high-speed shutter to help you capture moments such as sports. Supports "auto-snapshot", automatically taking photos when recognizing moments such as people smiling, jumping, running, and cats and dogs." and other texts describing the snapshot function and the auto-snapshot function, as well as the options of "Turn on the "auto-snapshot" function" and "OK". The user checks the "Turn on the "auto-snapshot" function" option in the pop-up window 49, or unchecks the "Turn on the "auto-snapshot" function" option, and then clicks the "OK" option. After the user checks the "Turn on the "Automatic Snapshot" function" option in the pop-up window 49 and clicks the "OK" option, the "Automatic Snapshot" switch item of the "Smart Photo" setting item in the terminal device is turned on simultaneously. After the terminal device turns on the snapshot function, the automatic snapshot can be used to generate photos; after the user unchecks the "Turn on the "Automatic Snapshot" function" option in the pop-up window 49 and clicks the "OK" option, the "Automatic Snapshot" switch item of the "Smart Photo" setting item in the terminal device is turned off simultaneously. After the terminal device turns on the snapshot function, only manual snapshot can be used to generate photos.
[0321] After the user clicks the "OK" option in the pop-up window 49, in response to the user's click operation, the terminal device displays the following Fig.18 (c) shows a bubble 43 prompting the user to turn on the snapshot function. Based on the bubble 43, after the user clicks the snapshot function icon, if the user checks the option "Turn on the "automatic snapshot" function" in the pop-up window 49, the terminal device uses automatic snapshot to generate photos; if the user unchecks the option "Turn on the "automatic snapshot" function" in the pop-up window 49, the terminal device uses manual snapshot to generate photos.
[0322] The embodiment of the present application also provides a capture device, which includes a unit for executing the capture method described above. The device can correspond to executing the capture method described above. For the relevant description of the units in the device, please refer to the description of the capture method described above. For the sake of brevity, it will not be repeated here.
[0323] The above-mentioned capture method can be implemented by hardware, or by hardware executing corresponding software. The hardware or software includes one or more modules or units corresponding to the above-mentioned functions. For example, an image acquisition module or unit, a processing module or unit, etc.
[0324] refer to Fig.19 , the embodiment of the present application further provides a terminal device, including:
[0325] Memory 191, for storing instructions executed by one or more processors of the device, and
[0326] Processor 192 is used to execute the instructions stored in memory 191, so that the terminal device executes Figure 3a-Figure 18 Any capture method executed by the terminal device shown.
[0327] The embodiment of the present application also provides a computer-readable storage medium storing a computer program, which is executed by a terminal device so that the terminal device executes Figure 3a-Figure 18 Any capture method executed by the terminal device shown.
[0328] The present application also provides a computer program product including instructions, which, when executed on a terminal device, enables the terminal device to execute Figure 3a-Figure 18 Any capture method executed by the terminal device shown.
[0329] The various embodiments of the mechanism disclosed in the present application can be implemented in hardware, software, firmware or a combination of these implementation methods. The embodiments of the present application can be implemented as a computer program or program code executed on a programmable system, which includes at least one processor, a storage system (including volatile and non-volatile memory and / or storage elements), at least one input device and at least one output device.
[0330] Program code can be applied to input instructions to perform the functions described in this application and generate output information. The output information can be applied to one or more output devices in a known manner. For the purposes of this application, a processing system includes any system having a processor such as, for example, a digital signal processor (DSP), a microcontroller, an application specific integrated circuit (ASIC), or a microprocessor.
[0331] Program code can be implemented with high-level programming language or object-oriented programming language to communicate with the processing system. When necessary, program code can also be implemented with assembly language or machine language. In fact, the mechanism described in this application is not limited to the scope of any specific programming language. In either case, the language can be a compiled language or an interpreted language.
[0332] In some cases, the disclosed embodiments may be implemented in hardware, firmware, software, or any combination thereof. The disclosed embodiments may also be implemented as instructions carried or stored on one or more temporary or non-temporary machine-readable (e.g., computer-readable) storage media, which may be read and executed by one or more processors. For example, instructions may be distributed over a network or by other computer-readable media. Therefore, machine-readable media may include any mechanism for storing or transmitting information in a machine (e.g., computer) readable form, including, but not limited to, floppy disks, optical disks, optical disks, compact disc read-only memories (Compact Disc Read Only Memory, CD-ROMs), magneto-optical disks, read-only memories (Read Only Memory, ROM), random access memories (RAM), erasable programmable read-only memories (Erasable Programmable Read Only Memory, EPROM), electrically erasable programmable read-only memories (Electrically Erasable Programmable Read Only Memory, EEPROM), magnetic cards or optical cards, flash memory, or a tangible machine-readable memory for transmitting information (e.g., carrier waves, infrared signal digital signals, etc.) using the Internet in electrical, optical, acoustic, or other forms of propagation signals. Accordingly, machine-readable media include any type of machine-readable media suitable for storing or transmitting electronic instructions or information in a form readable by a machine (eg, a computer).
[0333] In the accompanying drawings, some structural or method features may be shown in a specific arrangement and / or order. However, it should be understood that such a specific arrangement and / or order may not be required. Instead, in some embodiments, these features may be arranged in a manner and / or order different from that shown in the accompanying drawings of the specification. In addition, the inclusion of structural or method features in a particular figure does not mean that such features are required in all embodiments, and in some embodiments, these features may not be included or may be combined with other features.
[0334] It should be noted that the units / modules mentioned in the various device embodiments of the present application are all logical units / modules. Physically, a logical unit / module can be a physical unit / module, or a part of a physical unit / module, or can be implemented as a combination of multiple physical units / modules. The physical implementation method of these logical units / modules themselves is not the most important. The combination of functions implemented by these logical units / modules is the key to solving the technical problems proposed by the present application. In addition, in order to highlight the innovative part of the present application, the above-mentioned device embodiments of the present application do not introduce units / modules that are not closely related to solving the technical problems proposed by the present application, which does not mean that there are no other units / modules in the above-mentioned device embodiments.
[0335] It should be noted that in the examples and description of this patent, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "including one" do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0336] Although the present application has been illustrated and described with reference to certain preferred embodiments thereof, it will be apparent to those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the present application.
Claims
1. A snapshot method, characterized in that: The method comprises: In the camera's photo mode, displaying a photo preview interface, wherein the photo preview interface displays a first icon, and the first icon is in a closed state; In response to a user operating a capture button at a first moment, saving a first image frame captured at the first moment into a gallery; In response to a user operation on the first icon, enabling a first function and switching the first icon from an off state to an on state; Displaying a second image frame captured in real time at a second moment in the photo preview interface; In response to the user operating the shooting button at a third moment, the second image frame is saved in the gallery, wherein the second moment is earlier than the third moment.
2. The method according to claim 1, characterized in that The method further comprises: In response to the user operating the shooting button at a fourth moment, saving a third image frame to the gallery, wherein a fifth moment at which the third image frame is captured is later than the fourth moment.
3. The method according to claim 1 or 2, characterized in that: The first setting item of the camera is an off state.
4. The method according to claim 3, characterized in that The method further comprises: When the first setting item of the camera is in the on state, upon detecting that a transition occurs in the real-time image frame displayed on the photo preview interface, the fourth image frame is automatically saved to the gallery, wherein the moment of capturing the fourth image frame is earlier than the moment of the transition.
5. The method according to claim 1 or 2, characterized in that: The second image frame is an image with the highest comprehensive score among a plurality of image frames in a first time period before the third moment and a plurality of image frames in a second time period after the third moment; and / or, The third image frame is an image with the highest comprehensive score among a plurality of image frames in a first time period before the fourth moment and a plurality of image frames in a second time period after the fourth moment; The comprehensive score includes image quality score, portrait score and action score.
6. The method according to claim 5, characterized in that The length of the first time period is 1 second, and the length of the second time period is 0.5 seconds.
7. The method according to any one of claims 1 to 6, characterized in that: The photo preview interface also includes: a fourth icon, The method further comprises: When the fourth icon is in the on state and the first icon is in the off state, in response to a user operation on the first icon, the first icon is switched from the off state to the on state, and the first function is turned on, and the fourth icon is switched from the on state to the off state, and the second function is turned off; In response to the user's operation on the first icon, the first icon is switched from an on state to an off state, and the first function is turned off; the fourth icon is switched from an off state to an on state, and the second function is turned on.
8. The method according to any one of claims 1 to 6, characterized in that: The photo preview interface also includes: a fourth icon, The method further comprises: When the first icon is in the on state and the fourth icon is in the off state, in response to a user's operation on the fourth icon, the fourth icon is switched from the off state to the on state and the second function is turned on, and the first icon is switched from the on state to the off state and the first function is turned off; In response to the user's operation on the fourth icon, the fourth icon is switched from an on state to an off state, and the second function is turned off; the first icon is switched from an off state to an on state, and the first function is turned on.
9. The method according to any one of claims 1 to 6, characterized in that: The photo preview interface also includes: a fifth icon, before the first function is turned on, the fifth icon is in a first state, the first state is any one of flash on, flash off, flash automatic or flash always on, The method further comprises: In response to a user's operation on the first icon, the first icon is switched from an off state to an on state, the first function is turned on, the fifth icon is displayed as an inoperable state, and the flash is disabled.
10. The method according to claim 9, characterized in that The method further comprises: In response to a user's operation on the first icon, the first icon is switched from an on state to an off state, the first function is disabled, and the fifth icon is restored to the first state.
11. The method according to any one of claims 1 to 10, characterized in that: The method further comprises: When the first icon is in the on state, if the shooting scene of the camera changes from the first ambient light brightness to the second ambient light brightness, and the first ambient light brightness is greater than the second ambient light brightness, the first function is turned off and the first icon is switched from the on state to the off state.
12. The method according to any one of claims 1 to 11, characterized in that: The method further comprises: When the ambient light brightness of the shooting scene of the camera is less than the third ambient light brightness and the first icon is in an off state, in response to the user's operation on the first icon, the first function is turned on, and the first icon is switched from an off state to an on state, and a pop-up box displays sixth information, and the sixth information is used to prompt that it is not suitable to turn on the snapshot function in the current shooting scene.
13. The method according to claim 4, characterized in that The method further comprises: When the fourth image frame is automatically saved to the gallery, a thumbnail of the fourth image frame is displayed in the gallery preview window on the photo preview interface, and the gallery preview window carries a first symbol.
14. The method according to claim 13, characterized in that The method further comprises: In response to the user's operation on the gallery preview window on the photo preview interface, a first image interface is displayed, wherein the first image interface includes the fourth image frame and the third icon.
15. The method according to claim 14, characterized in that The method further comprises: In response to the user's operation on the third icon, a third card is displayed on the first image interface.
16. The method according to any one of claims 1 to 10, characterized in that: The method further comprises: When the first icon is in the on state, if the shooting scene of the camera is a macro scene, the third function is turned on; In response to the user's operation on the shooting icon at the sixth moment, the fifth image frame captured at the sixth moment is saved in the gallery.
17. The method according to claim 4, characterized in that When the first function is turned on and the first setting item of the camera is in the on state, the execution priority of the function of manually saving image frames is higher than the execution priority of the function of automatically saving image frames, and the function of automatically saving image frames is stopped during the execution of the function of manually saving image frames.
18. A terminal device, characterized in that: include: a memory for storing instructions to be executed by one or more processors of the device, and A processor is used to execute the instructions so that the terminal device executes any method described in claims 1-17.
19. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a terminal device, the terminal device executes the method according to any one of claims 1 to 17.
Citation Information
Cited By
Snapshot method, terminal device, and storage medium
EP4622282A1
Snapshot method, terminal device, and storage medium
WO2024179053A1
