Shooting method, electronic equipment and storage medium

By implementing a shooting method that automatically determines the shooting scene in an electronic device, the problem of difficulty in generating dynamic or still photos in the prior art is solved, improving the shooting experience and saving power consumption.

CN119031241APending Publication Date: 2024-11-26HONOR DEVICE CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202310596617.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-05-24
Publication Date
2024-11-26

AI Technical Summary

Technical Problem

It is difficult for existing electronic devices to automatically judge and generate dynamic or static photos when shooting, resulting in poor shooting experience and wasting power consumption for generating dynamic photos in static scenes.

Method used

By implementing the shooting method in an electronic device, the shooting scene is automatically judged based on the image frames collected by the camera and the user's operations, and a dynamic or still photo is generated. The specific methods include displaying image frames and thumbnails on the preview interface, combining motion sensors to determine the motion state of the photographed object, identifying the scene type, generating corresponding types of photos, and turning off the dynamic photo shooting function in a static scene to save power consumption.

Benefits of technology

Improves the shooting experience, ensuring that the appropriate types of photos are generated in different scenes, reducing power consumption, and enhancing the ability to capture exciting moments of the shooting.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119031241A_ABST
    Figure CN119031241A_ABST
Patent Text Reader

Abstract

The invention provides a shooting method, electronic equipment and a storage medium. Determining that the current scene meets a first preset condition according to the first image frame, receiving and responding to a first operation of a user for a shutter by the electronic equipment, and generating a dynamic photo, the dynamic photo is generated based on a second image frame within a first preset time period before the first operation, and a third image frame and a fourth image frame within a second preset time period after the first operation, and the fourth image frame comprises an image frame collected by the electronic device at a moment corresponding to the first operation; according to the first image frame, it is determined that the current scene meets a second preset condition, the electronic device receives and responds to a first operation of the user for the shutter and generates a static photo, and the static photo comprises an image frame collected by a camera of the electronic device at the moment corresponding to the first operation. According to the method, the electronic equipment can automatically shoot the dynamic photo or the static photo based on different shooting scenes, and the shooting experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of terminal technology, and in particular to a shooting method, an electronic device and a storage medium. Background Art

[0002] With the development of electronic technology, mobile phones, tablet computers and other electronic devices are generally equipped with cameras, such as front cameras, rear cameras, wide-angle cameras, etc. Users can use these electronic devices with shooting capabilities to record wonderful moments, touching scenes and other beautiful pictures. Summary of the invention

[0003] The present application provides a shooting method, an electronic device and a storage medium, which realize that the electronic device can automatically shoot dynamic photos or static photos based on different shooting scenes, thereby improving the shooting experience.

[0004] In a first aspect, the present application provides a shooting method, the method comprising: an electronic device displays a preview interface, the preview interface displays a first image frame captured by a camera of the electronic device and a thumbnail of a recently taken photo; the electronic device determines that a current scene satisfies a first preset condition based on the first image frame, the electronic device receives and responds to a first operation of a shutter by a user, and generates a dynamic photo, wherein the dynamic photo is generated based on a second image frame within a first preset time period before the first operation, a third image frame within a second preset time period after the first operation, and a fourth image frame, the fourth image frame including an image frame captured by the electronic device at a moment corresponding to the first operation; the electronic device determines that the current scene satisfies a second preset condition based on the first image frame, the electronic device receives and responds to a first operation of the shutter by the user, and generates a static photo, the static photo including an image frame captured by the camera of the electronic device at a moment corresponding to the first operation.

[0005] The first image frame, the second image frame, the third image frame and the fourth image frame may include one or more image frames.

[0006] The first preset time period and the second preset time period may be the same, or different.

[0007] Through this method, the electronic device can automatically determine whether to generate dynamic photos or static photos based on different shooting scenes, thereby improving the photo-taking experience.

[0008] In combination with the first aspect, in a possible implementation manner, when the camera is a rear-mounted camera, the first preset condition includes: the first image frame includes a moving object.

[0009] In combination with the first aspect, in a possible implementation, when the camera is a rear-facing camera, the second preset condition includes: the first image frame does not include a moving object, or the first image frame includes a document object, a QR code object, or a barcode object.

[0010] In this way, when the camera is a rear-mounted camera, the electronic device can automatically generate a dynamic photo when recognizing a moving object. The electronic device can capture photos of the wonderful moments of the moving object based on the dynamic photo.

[0011] In the case where the camera is a rear-mounted camera, the electronic device can automatically generate a static photo when a static object is recognized. Because the static photo can reflect the wonderful moment of the static object, in a static scene, the electronic device does not need to generate a dynamic photo, thereby reducing the power consumption of the electronic device.

[0012] When the camera is a rear camera, the electronic device can automatically generate a static photo when it recognizes a document object, a QR code object, or a barcode object, which may be in motion or still state.

[0013] In combination with the first aspect, in a possible implementation manner, when the camera is a front-facing camera, the first preset condition includes: the first image frame includes a face image.

[0014] In combination with the first aspect, in a possible implementation, when the camera is a front-facing camera, the second preset condition includes: the first image frame does not include a facial image object, or the first image frame includes a document image object or a QR code image object or a barcode image object.

[0015] In this way, when the camera is a front-facing camera, the electronic device can automatically generate a dynamic photo when recognizing a face image. The electronic device can capture photos of the wonderful moments when the person takes a selfie based on the dynamic photo.

[0016] In the case where the camera is a front-facing camera, the electronic device can automatically generate a static photo when a non-face image is recognized. Because when the front-facing camera detects a non-face image, such as when photographing a building behind a person, the electronic device does not need to generate a dynamic photo, thereby reducing the power consumption of the electronic device.

[0017] When the camera is a front-facing camera, the electronic device can automatically generate a static photo when it recognizes a document object, a QR code object, or a barcode object, which may be in motion or still.

[0018] It should be noted that the judgment conditions for the front camera to generate dynamic state and static photos can also be applied to the rear camera. The judgment conditions for the rear camera to generate dynamic state and static photos can also be applied to the front camera.

[0019] In combination with the first aspect, in a possible implementation manner, before and after the first operation, the electronic device is not in motion or the motion amplitude of the electronic device is less than a preset amplitude.

[0020] Optionally, the electronic device may determine whether the electronic device is moving in combination with motion data collected by a motion sensor (eg, a gyroscope sensor).

[0021] In this way, when the electronic device determines whether the current scene includes a moving object, it can further determine that it is the local motion of the object that causes the electronic device to recognize the moving object, rather than the motion of the electronic device (such as user shaking) and other factors that cause the stationary object to be mistakenly recognized as a moving object. In this way, the accuracy of the electronic device in recognizing the moving object can be improved.

[0022] In combination with the first aspect, in a possible implementation, after the electronic device generates a dynamic photo, the method also includes: the electronic device saves the dynamic photo, and refreshes and displays the thumbnail of the most recently taken photo as a thumbnail of the dynamic photo, and the thumbnail of the dynamic photo is based on the image frame captured by the electronic device at the moment corresponding to the second operation.

[0023] In this way, the electronic device can save dynamic photos so that the user can view the dynamic photos taken by the electronic device in the gallery.

[0024] In combination with the first aspect, in a possible implementation, the method also includes: the electronic device detects an operation of clicking on a thumbnail of a dynamic photo; the electronic device displays a large image display interface of a gallery application, the large image display interface displays a static image of the dynamic photo, and the static image of the dynamic photo is obtained based on an image frame captured by the electronic device at the moment corresponding to the second operation.

[0025] In this way, dynamic photos can not only record static information, but also dynamic information.

[0026] Optionally, the image frame collected by the electronic device at the time corresponding to the second operation for generating a static image may be the same as or different from the image frame collected by the electronic device at the time corresponding to the second operation for a thumbnail of a dynamic photo.

[0027] In combination with the first aspect, in a possible implementation, in the large picture display interface, a first identifier is also displayed along with the dynamic photo, and the first identifier is used to identify that the photo is a dynamic photo.

[0028] In this way, the first identifier can be used to indicate whether the photo is a dynamic photo or a static photo. The first identifier will not be displayed for static photos.

[0029] In combination with the first aspect, in a possible implementation, before the electronic device receives and responds to a first operation of the user on a shutter, the method further includes: the electronic device receives an operation of the user to turn on a dynamic photo shooting function and turns off a shutter sound.

[0030] This way, you can avoid recording the shutter sound in dynamic photos.

[0031] In combination with the first aspect, in a possible implementation, the method further includes: when the electronic device detects any one or more of a zoom ratio greater than a first zoom ratio and an ambient brightness less than a first illumination value, turning off the dynamic photo shooting function. In this way, the imaging effect of the dynamic photo can be improved.

[0032] In combination with the first aspect, in a possible implementation method, the operation of turning on the dynamic photo shooting function includes the operation of turning on the dynamic photo shooting function for the first time, and the method also includes: before the electronic device receives the user's operation of turning on the dynamic photo shooting function for the first time, the electronic device displays a first prompt message, and the first prompt message is used to prompt the user to turn on the dynamic photo shooting function.

[0033] In this way, before the user has turned on the dynamic photo shooting function, the electronic device can prompt the user how to turn on the dynamic photo shooting function through the first prompt information.

[0034] In combination with the first aspect, in a possible implementation method, the electronic device generates a dynamic photo, specifically including: the electronic device stores the second image frame, the third image frame and the fourth image frame as a video file in a video format; the electronic device stores the static image of the dynamic photo as a picture file in a picture format; the electronic device generates the dynamic photo based on the video file and the picture file.

[0035] In combination with the first aspect, in a possible implementation, after the electronic device saves the dynamic photo, the method also includes: the electronic device receives a third operation of the user on the dynamic photo; in response to the third operation, the electronic device sets the fifth image frame in the video file as the cover of the dynamic photo; the electronic device displays the large image display interface of the gallery application again, and the large image display interface displays the fifth image frame.

[0036] In this way, the electronic device can also receive user operations to modify the cover image of the dynamic photo.

[0037] In a second aspect, the present application provides an electronic device, comprising one or more cameras, one or more processors and one or more memories; wherein the one or more cameras, one or more memories are coupled to one or more processors, the one or more memories are used to store computer program codes, the computer program codes include computer instructions, and when the one or more processors execute the computer instructions, the electronic device executes a shooting method provided in any possible implementation of the first aspect.

[0038] In a third aspect, the present application provides a chip system, which is applied to an electronic device. The chip system includes one or more processors, and the processor is used to call computer instructions to enable the electronic device to execute a shooting method provided in any possible implementation method in the first aspect.

[0039] In a fourth aspect, the present application provides a computer-readable storage medium, comprising instructions, which, when executed on an electronic device, enable the electronic device to execute a shooting method provided in any possible implementation of the first aspect.

[0040] For the beneficial effects of the second to fourth aspects, reference may be made to the description of the beneficial effects in the first aspect, and this application will not go into details here. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] Figure 1A-Figure 1I The UI diagram of the electronic device 100 for enabling the dynamic photo shooting function is shown as an example;

[0042] Figure 2 A schematic diagram showing the principle of the electronic device 100 generating a dynamic photo;

[0043] Figure 3A-Figure 3F A schematic diagram showing an example of a dynamic photo taken by an electronic device 100;

[0044] Figure 4A-4C An exemplary UI diagram of the electronic device 100 enabling the automatic dynamic photo shooting function;

[0045] Figure 4D-Figure 4N The UI diagram of the electronic device 100 obtaining a dynamic photo taken by a rear camera through the automatic dynamic photo shooting function is exemplified;

[0046] Figure 4O-Figure 4Q The UI diagram exemplarily shows that the electronic device 100 obtains a static photo taken by the rear camera through the dynamic photo automatic shooting function;

[0047] Figure 5A-5HThe UI diagram of the electronic device 100 obtaining a dynamic photo taken by the front camera through the dynamic photo automatic shooting function is exemplified;

[0048] Figure 5I-5J The UI diagram exemplarily shows that the electronic device 100 obtains a static photo taken by the front camera through the dynamic photo automatic shooting function;

[0049] Figure 6 A schematic structural diagram of an electronic device 100 is exemplarily shown;

[0050] Figure 7 A schematic diagram of a software architecture of an electronic device 100 is exemplarily shown;

[0051] Figure 8 A schematic diagram of a method flow of a photographing method is exemplarily shown. DETAILED DESCRIPTION

[0052] The technical solutions in the embodiments of the present application will be described clearly and in detail below in conjunction with the accompanying drawings. In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B; "and / or" in the text is only a description of the association relationship of the associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone.

[0053] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as suggesting or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features, and in the description of the embodiments of the present application, unless otherwise specified, "plurality" means two or more.

[0054] Reference to "embodiments" in this application means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described in this application may be combined with other embodiments.

[0055] The term "user interface (UI)" in the following embodiments of the present application refers to a medium interface for interaction and information exchange between an application or operating system and a user, which realizes the conversion between the internal form of information and the form acceptable to the user. The user interface is a source code written in a specific computer language such as Java and extensible markup language (XML). The interface source code is parsed and rendered on an electronic device, and finally presented as content that can be recognized by the user. The commonly used form of user interface is a graphical user interface (GUI), which refers to a user interface related to computer operation displayed in a graphical manner. It can be a visual interface element such as text, icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, widgets, etc. displayed on the display screen of an electronic device.

[0056] Users can take photos through the camera on an electronic device. In order to improve the photo-taking experience, users often expect to take high-quality photos. High-quality photos can also be called wonderful photos. Wonderful photos are complete, clear, jitter-free, and noise-free photos captured by the electronic device through the camera.

[0057] For example, when photographing historical sites and monuments, the camera can complete the imaging of the buildings in a complete, clear, jitter-free and noise-free manner on the electronic device, and the resulting photograph is a wonderful photograph of the historical sites and monuments; when photographing a long jumper, the moment the athlete jumps forward after take-off, the camera can complete the imaging of the athlete's movements in a clear, jitter-free and noise-free manner on the electronic device, and the resulting photograph is a wonderful photograph of the long jumper; when photographing a close-up portrait, a photograph of the person smiling with eyes open and clear, jitter-free and noise-free is a wonderful close-up portrait.

[0058] When shooting, due to factors such as human reaction delay, electronic device transmission delay and electronic device shaking during shooting, the user may not be able to capture the wonderful photo that the user really wants to take when pressing the shutter.

[0059] In view of this, the present application provides a method for shooting dynamic photos. The dynamic photos may include videos and static images, and the video may include at least one image frame before the user presses the shutter, and at least one image frame at and after the user presses the shutter.

[0060] Among them, when detecting the user's operation on the shutter key, for example, when detecting the user clicking the shutter key, the electronic device 100 can capture a frame of image frames, store the captured frame of image frames as a picture file in a picture format, and refresh the thumbnail of the most recent photo in the camera's preview interface to the picture file.

[0061] The electronic device can store at least one image frame within a period of time before the user presses the shutter and at least one image frame within a period of time after the user presses the shutter as a video file in a video format. In other words, the electronic device can store multiple frames within a period of time before the user presses the shutter to a period of time after the user presses the shutter as a video file in a video format.

[0062] The electronic device 100 may generate a dynamic photo based on the video file and the picture file. The picture file may be a cover image of the dynamic photo.

[0063] Among them, video formats include but are not limited to: avi format, wmv format, mpeg format, mp4 format, m4v format, mov format, asf format, flv format, f4v format, rmvb format, rm format, 3gp format, vo format, MOV format, etc.

[0064] Image formats include but are not limited to: jpg format, png format, gif format, psd format, tif format, bmp format, etc.

[0065] The user can view the cover image of the dynamic photo. The electronic device can also receive the user's input operation (such as long pressing the cover image) to play the video in the dynamic photo. Therefore, the dynamic photo can record not only dynamic information, but also static information.

[0066] The user can browse the video of the dynamic photo and determine the wonderful photos that the user wants to take from the multiple image frames. The user can choose to store the wonderful photos in the dynamic photo.

[0067] Next, it will be described how the electronic device 100 takes dynamic photos.

[0068] Enable dynamic photo shooting

[0069] Before taking a dynamic photo, the electronic device 100 needs to turn on the dynamic photo taking function.

[0070] The dynamic photo shooting function may mean that after the dynamic photo shooting function is turned on, after detecting the user clicking the shutter, the electronic device 100 may automatically obtain at least one image frame within a first time period before the user clicks the shutter, multiple image frames within a second time period after the user clicks the shutter, and then obtain a cover image. The electronic device 100 may generate a dynamic photo based on the multiple image frames and the cover image, and store the dynamic photo in the gallery.

[0071] In the embodiment of the present application, click may include: touch (down) and lift (up), that is, the user's finger or stylus touches the screen for a preset time and then lifts up.

[0072] First, it is introduced how the electronic device 100 enables the dynamic photo shooting function.

[0073] in, Figure 1A-Figure 1I The UI diagram of the electronic device 100 turning on the dynamic photo shooting function is exemplified.

[0074] like Figure 1A As shown, the electronic device 100 may display a desktop 111, in which a page with application icons is displayed, and the page includes multiple application icons (for example, a setting application icon, an application market application icon, a gallery application icon, a browser application icon, etc.). A page indicator is also displayed below the multiple application icons to indicate the total number of desktops, the position of the negative one screen, the position of the currently displayed desktop, and the positional relationship between the currently displayed desktop and other desktops. A tray area or a dock bar (Dock bar) is displayed below the page indicator. Among them, the tray area includes multiple tray icons, for example, a camera application icon, an address book application icon, a phone application icon, and an information application icon. The tray area remains displayed when the page is switched. In some embodiments, the above-mentioned page may also include multiple application icons and a page indicator, and the page indicator may not be part of the page and exist separately. The above-mentioned tray icon is also optional, and the embodiments of the present application are not limited to this.

[0075] The electronic device 100 may receive an input (eg, a single click) from a user on a camera application icon, and in response to the input operation, the electronic device 100 may display a Figure 1B The user interface shown. Figure 1B It is a user interface for shooting and displaying services provided by an electronic device 100 provided in an embodiment of the present application, and may also be referred to as a preview interface of the camera.

[0076] like Figure 1B As shown, the preview interface may include a mode bar 121 , a shooting control 122 , a preview window 123 , and a review control 124 .

[0077] The mode bar 121 may include multiple shooting mode options, such as "night scene", "portrait", "photo", "video recording", etc. Different shooting modes can provide users with shooting services with different effects. Users can select any shooting mode from multiple shooting modes for shooting according to different needs. For example, "photo recording" can be the default shooting mode for taking photos. "Video recording" is used to record videos. The "night scene" mode is suitable for shooting scenes with dim light, such as at night. The "portrait" mode is suitable for shooting scenes where the subject is a person. The electronic device 100 can also provide more shooting modes, such as "large aperture", "movie", "professional", etc., which are not listed one by one here.

[0078] The electronic device 100 can detect the user operation acting on the shooting mode option in the mode bar 121, and change the shooting mode currently used according to the above user operation. The above user operation is, for example, a left / right slide operation. For example, when it is detected that the drag mode bar 121 is slid to the left (left slide operation) and the float stops at the "portrait" option, the electronic device 100 can switch to the "portrait" mode. By default, the electronic device 100 first uses the "photographing" mode.

[0079] The shooting control 122 is used to trigger taking a photo. The electronic device 100 can detect whether there is a user operation on the shooting control 122, such as a click operation. When a user operation on the shooting control 122 is detected, the electronic device 100 can generate a shooting instruction. The electronic device 100 can obtain the image reported by the camera at the corresponding timestamp according to the shooting instruction, and then save it as a photo.

[0080] The preview window 123 can be used to display the image reported by the camera in real time. In different shooting modes, the electronic device 100 can process the image reported by the camera to improve the display effect of the image. For example, in the "portrait" mode, the electronic device 100 can blur the background in the image reported by the camera to highlight the portrait. Here, the preview window 123 can display the image processed by the image processing algorithm corresponding to the different shooting modes in real time, so that the user can perceive the shooting effects corresponding to the different shooting modes in real time.

[0081] The review control 124 can be used to browse thumbnails of the photos / videos that have been taken. When a user operation acting on the review control 124 is detected, the electronic device 100 can also display the photo or dynamic photo corresponding to the thumbnail.

[0082] The preview interface also includes a shortcut function area 126. Figure 1BAs shown, the quick function area 126 may include a smart code scanning control 126A, a dynamic photo shooting mode control 126B, an AI scene recognition control 126C, a flash control 126D, a filter mode control 126E, a setting control 126F, etc. The smart code scanning control 126A can be used to trigger the electronic device 100 to recognize a QR code, a barcode, or a multi-function code when it is turned on. The dynamic photo shooting mode control 126B can be used to generate a dynamic photo when the user presses the shutter when it is turned on. The dynamic photo shooting mode control 126B is in a closed state, and the electronic device 100 does not turn on the dynamic photo shooting function. The AI ​​scene recognition control 126C can be used to trigger the electronic device 100 to recognize the shooting scene in the preview screen when it is turned on, and recommend the shooting mode according to the shooting scene. The current AI scene recognition control 126C is in a closed state. The flash control 126D can be used to trigger the electronic device 100 to turn on or off the flash. The filter mode control 126E can be used to trigger the electronic device 100 to use a color filter to process the image captured by the camera. The setting control 126F may be used to set shooting parameters of the electronic device 100 (eg, image size, image storage format, etc.).

[0083] Figure 1B The camera interface in normal photo mode is shown. In normal photo mode, the preview stream supports a zoom range of 0.5x to 10x. The current zoom value is 1x.

[0084] For example, Figure 1B As shown, after the electronic device 100 enters the camera application for the first time, if the dynamic photo shooting mode control 126B is in the closed state, the electronic device 100 can display Figure 1B The prompt message "Click to turn on dynamic photos" is shown to prompt the user to turn on the dynamic photo shooting function.

[0085] For example, Figure 1C As shown, the electronic device 100 can receive an input operation (such as a single click or a click) from a user on the dynamic photo shooting mode control 126B in the preview interface. In response to the input operation from the user, the electronic device 100 can display Figure 1D The preview interface is shown. Figure 1D In the preview interface shown, the dynamic photo shooting mode control 126B has switched the display form, such as darkening the color and removing the slash, to prompt that the dynamic photo shooting function of the electronic device 100 has been turned on.

[0086] Optionally, after the electronic device 100 turns on the dynamic photo shooting function, the electronic device 100 may display Figure 1D The prompt message shown is "After the dynamic photo is turned on, long press the taken photo to show the dynamic effect", prompting the user that they can view multiple image frames in the dynamic photo by long pressing.

[0087] Optionally, after the electronic device 100 turns on the dynamic photo shooting function, the electronic device 100 may also display Figure 1E The prompt message “Dynamic photo is turned on” is shown to remind the user that the dynamic photo shooting function of the electronic device 100 is turned on.

[0088] Optionally, after being prompted several times, the user may click the dynamic photo shooting mode control 126B to turn on the dynamic photo shooting function, and the prompt may no longer be displayed. Figure 1D or Figure 1E The prompt information shown.

[0089] Optionally, in some embodiments, after the electronic device 100 turns on the dynamic photo shooting function, the electronic device 100 may automatically turn on the shooting mute function of the electronic device 100 .

[0090] For example, Figure 1F As shown, the electronic device 100 can receive an input operation (such as a click) from a user on the setting control 126F in the preview interface. In response to the user's input operation, the electronic device 100 can display Figure 1G The user interface 129 shown in FIG. Multiple shooting parameters are shown in the user interface 129, and the user can set the shooting parameters of the camera in the electronic device 100 in the user interface 129. The user interface 129 may include but is not limited to the following shooting parameters: reference line, level, timer shooting, Selfie mirror, automatic watermarking, recording geographic location information, silent shooting, floating shutter key, extended services, etc. Figure 1G As shown, the shooting mute function is turned on, and the shooting mute function option is grayed out, so that when the electronic device 100 shoots dynamic photos, the shutter sound of the electronic device 100 is turned off to avoid recording the shutter sound in the dynamic photos. Optionally, after the electronic device 100 turns on the dynamic photo shooting function, the electronic device 100 can display a prompt message "The dynamic photo shooting function is always muted after it is turned on."

[0091] Optionally, after the electronic device 100 turns on the dynamic photo shooting function, the electronic device 100 can receive the user's Figure 1F In response to the user's input operation, the electronic device 100 can restore the dynamic photo shooting mode control 126B to its previous display form, for example, the dynamic photo shooting mode control 126B can be displayed again. Figure 1B or Figure 1C The display format shown is to prompt the user that the dynamic photo shooting function of the electronic device 100 has been turned off.

[0092] Optionally, in some embodiments, after the electronic device 100 turns on the dynamic photo shooting function, the zoom range of the electronic device 100 needs to be less than a certain zoom ratio or the brightness of the shooting environment of the electronic device 100 needs to be greater than a certain illumination value. When the zoom ratio set by the electronic device 100 is greater than a certain value or the brightness of the shooting environment is less than a certain illumination value, the electronic device 100 can automatically turn off the dynamic photo shooting function. Because pixels will be lost at high magnifications, the dynamic photos taken by the electronic device 100 are not good. The electronic device 100 may not support the use of the dynamic photo shooting function at high magnifications and in dark environments. In other embodiments, the electronic device 100 may also support the use of the dynamic photo shooting function at high magnifications and in dark environments.

[0093] For example, the zoom range supported by the electronic device 100 under the dynamic photo shooting function may be 0.5x to 6x. When the user sets the zoom ratio of the electronic device 100 to be greater than 6x, for example, 10x, the electronic device 100 may set the dynamic photo shooting mode control 126B to Figure 1H The electronic device 100 may also display Figure 1H The prompt message "6X or more is not available" is shown to prompt the user that the dynamic photo shooting function of the electronic device 100 has been turned off. Optionally, the dynamic photo shooting mode control 126B can also become non-touchable, such as being grayed out. After the electronic device 100 grays out the dynamic photo shooting mode control 126B, when the user clicks the dynamic photo shooting mode control 126B again, the electronic device 100 can display the prompt message "6X or more is not available".

[0094] For example, the brightness of the shooting environment of the electronic device 100 under the dynamic photo shooting function must be greater than a certain illumination value. When the brightness of the shooting environment of the electronic device 100 is less than a certain illumination value, for example, the electronic device 100 is shooting a night scene, the electronic device 100 can set the dynamic photo shooting mode control 126B to Fig. 1I The electronic device 100 may also display Fig. 1I The prompt message "The environment is too dark and unavailable" is shown to prompt the user that the dynamic photo shooting function of the electronic device 100 has been turned off. Optionally, the dynamic photo shooting mode control 126B can also become non-touchable, such as being grayed out. After the electronic device 100 grays out the dynamic photo shooting mode control 126B, when the user clicks the dynamic photo shooting mode control 126B again, the electronic device 100 can display the prompt message "The environment is too dark and unavailable".

[0095] For example, when the zoom ratio set by the electronic device 100 is greater than a certain value (for example, 6X), and it is detected that the brightness of the shooting environment of the electronic device 100 is less than a certain illumination value, the electronic device 100 can set the dynamic photo shooting mode control 126B to Figure 1H or Fig. 1I In the display form shown, the electronic device 100 may also display a prompt message "Not available above 6X" to prompt the user that the dynamic photo shooting function of the electronic device 100 has been turned off. Optionally, the dynamic photo shooting mode control 126B may also become non-touchable, such as being grayed out. After the electronic device 100 grays out the dynamic photo shooting mode control 126B, when the user clicks the dynamic photo shooting mode control 126B again, the electronic device 100 may display a prompt message "Not available above 6X". When the electronic device 100 switches the zoom ratio back to within 6x, for example 1X, but the brightness of the shooting environment of the electronic device 100 is still less than a certain illumination value, the dynamic photo shooting mode control 126B still displays. Figure 1H or Fig. 1I When the user clicks the dynamic photo shooting mode control 126B again, the electronic device 100 may display a prompt message “The environment is too dark and unavailable”.

[0096] Among them, the above-mentioned zoom ratio of 6X is only used to explain this application, and it can also be other higher or lower zoom ratios, and this application does not limit this.

[0097] Optionally, after the electronic device 100 turns on the dynamic photo shooting function, the electronic device 100 detects that the dynamic photo shooting function of the electronic device 100 has been turned on for more than a certain period of time and the electronic device 100 has not detected the shooting action of the user pressing the shutter button, the electronic device 100 can display a prompt message to prompt the user whether to turn off the dynamic photo shooting function of the electronic device 100 to avoid the electronic device 100 continuously caching multiple image frames with a shooting time within the first period of time, thereby reducing the power consumption of the electronic device 100.

[0098] Not limited to Figure 1A-Figure 1I The implementation method of turning on the dynamic photo shooting function of the electronic device 100 shown in the figure can also be used to turn on the dynamic photo shooting function of the electronic device 100 in other ways, such as quickly turning on the dynamic photo shooting function of the electronic device 100 in the pull-down notification bar of the electronic device 100, and then the electronic device 100 can automatically turn on the camera application and jump to the camera application. This application does not limit this implementation method.

[0099] Above Figure 1A-Figure 1I This is explained using the rear camera as an example. Figure 1A-Figure 1IThe implementation of the embodiment is also applicable to the front camera. In addition, in some embodiments, the rear camera and the front camera are linked.

[0100] For example, in the scenario where the image is captured through the rear camera, the electronic device 100 turns on the dynamic photo shooting function, and after the electronic device 100 switches to the front camera, the dynamic photo shooting function of the electronic device 100 is still turned on. In the scenario where the image is captured through the rear camera, the electronic device 100 turns off the dynamic photo shooting function; after the electronic device 100 switches to the front camera, the dynamic photo shooting function of the electronic device 100 is turned off.

[0101] For another example, in the scenario where images are captured through the front camera, the electronic device 100 turns on the dynamic photo shooting function; after the electronic device 100 switches to the rear camera, the dynamic photo shooting function of the electronic device 100 is still turned on. In the scenario where images are captured through the front camera, the electronic device 100 turns off the dynamic photo shooting function; after the electronic device 100 switches to the rear camera, the dynamic photo shooting function of the electronic device 100 is turned off.

[0102] The electronic device 100 obtains a dynamic photo ( Figure 3A-Figure 3F )

[0103] Figure 2 A schematic diagram showing the principle of the electronic device 100 generating a dynamic photo.

[0104] After the electronic device 100 turns on the dynamic photo shooting function, the electronic device 100 can start caching multiple image frames acquired within the first duration (1.5 seconds) before the current time. As the preview time increases, the electronic device 100 can refresh at least one image frame of the first duration stored and clear the previously stored image frames. Optionally, each image frame carries a timestamp that can be generated by the camera. In this article, the first duration is not limited to 1.5 seconds, and can be set as needed in actual applications.

[0105] After detecting that the user presses the shutter button, the electronic device 100 can continue to cache at least one image frame acquired within the second time period (1.5 seconds) after the user presses the shutter button. The second time period is not limited to 1.5 seconds and can be set according to needs in actual applications.

[0106] In one possible implementation, the electronic device 100 may use a frame of image captured when the user presses the shutter as the cover image of the dynamic photo. In other possible implementations, the cover photo may also be at least one frame of image before the user presses the shutter, or at least one frame of image after the user presses the shutter, or at least one frame of image before the user presses the shutter and at least one frame of image after the user presses the shutter, or a frame of image with the best image evaluation among at least one frame of image before the user presses the shutter and at least one frame of image after the user presses the shutter. In other possible implementations, the cover photo may also be an image frame displayed by the electronic device 100 when the user presses the shutter. In other possible implementations, the cover photo may also be several frames of image before the user presses the shutter, or several frames of image after the user presses the shutter, or a frame of image obtained by merging several frames of image before the user presses the shutter and several frames of image after the user presses the shutter. The cover photo may also be determined based on other methods. This application takes the cover photo as an example of a frame of image captured by the electronic device 100 when the user presses the shutter.

[0107] After acquiring at least one image frame before the user presses the shutter button and at least one image frame after the user presses the shutter button, as well as the cover image, the electronic device 100 can generate a dynamic photo and save the dynamic photo in the gallery.

[0108] Exemplarily, the electronic device 100 can photograph a static scene (such as a Ferris wheel) and automatically obtain a dynamic photo corresponding to the photographed object, the Ferris wheel.

[0109] Figure 3A-Figure 3F The schematic diagram of an electronic device 100 taking a dynamic photo is exemplarily shown.

[0110] refer to Figure 3A-3C In the preview interface after the dynamic photo shooting function is turned on, the preview window 123 can display the image of the Ferris wheel in sequence. Figure 3D As shown, after the user views the image of the Ferris wheel in the preview window 123, the electronic device 100 can receive the user's input operation for the shutter (such as a single click). In response to the user's input operation, the electronic device 100 can capture a dynamic photo corresponding to the Ferris wheel.

[0111] For example, the electronic device 100 may obtain the first time period before the user clicks the shutter. Figure 3A-3C The image frame shown, as well as the image captured within the second period after the user clicks the shutter Figure 3D-Figure 3F The image frame shown.

[0112] For example, the electronic device 100 may generate a cover image based on the image frame captured when the user clicks the shutter. For example, the cover image may be Figure 3D The image frame shown.

[0113] Optional, reference Figure 3D-Figure 3F After the electronic device 100 generates the cover image, the electronic device 100 can refresh the thumbnail displayed in the review control 124 based on the cover image to prompt the user that the electronic device 100 has generated a dynamic photo corresponding to the Ferris wheel.

[0114] Optionally, after the user clicks the shutter, Figure 3E-Figure 3F The electronic device 100 may display a prompt message "dynamic photo" on the preview interface to prompt the user that the electronic device 100 has generated a dynamic photo. Optionally, the display duration of the prompt message may be 3 seconds or other longer or shorter time.

[0115] The electronic device 100 may be based on Figure 3A-Figure 3F The image frames and cover image shown are used to generate a dynamic photo, and the dynamic photo is saved in the gallery.

[0116] The electronic device 100 may also receive an input operation (e.g., a click) from the user on the replay control 124. In response to the input operation from the user, the electronic device 100 may display the dynamic photo corresponding to the Ferris wheel. The electronic device 100 may also receive an operation from the user to play the dynamic photo, e.g., play the dynamic photo in sequence. Figure 3A-Figure 3F How the electronic device 100 plays dynamic photos can refer to Figure 4J-Figure 4N Description in the examples.

[0117] It should be noted that Figure 3A-Figure 3F The image frames shown in the two adjacent figures may include 0 image frames, or may include 1 or more image frames. Figure 3A-Figure 3F Not shown in detail.

[0118] Dynamic photo automatic shooting function

[0119] The difference between the dynamic photo automatic shooting function and the dynamic photo shooting function is that after the electronic device 100 turns on the dynamic photo automatic shooting function, the electronic device 100 needs to identify the shooting scene. Because when the electronic device 100 is shooting scenery or shooting static objects such as buildings, the photos taken by the electronic device 100 are relatively clear, without shaking, and the imaging effect is relatively good. Then the electronic device 100 can just take a static photo, avoiding the electronic device 100 taking dynamic photos in static scenes and wasting the power consumption of the electronic device 100.

[0120] When the shooting scene is a static object shooting scene, after the electronic device 100 detects that the user presses the shutter button, the electronic device 100 only needs to obtain a static photo corresponding to the moment when the user presses the shutter button, and store the static photo in the gallery.

[0121] In the case where the shooting scene is a scene of shooting a dynamic object, after the electronic device 100 detects the operation of the user pressing the shutter, the electronic device 100 needs to obtain at least one image frame within a first time period before the user presses the shutter, and at least one image frame within a second time period after the user presses the shutter. And obtain the cover image of the dynamic photo. The electronic device 100 can generate a dynamic photo based on the multiple image frames and the cover image, and store the dynamic photo in the gallery.

[0122] The dynamic object shooting scene may refer to a shooting scene with moving objects, such as a person doing exercise, a flag swaying in the wind, a running animal, etc.

[0123] A static object shooting scene may refer to a shooting scene in which there can be no moving objects, and all objects are stationary, such as buildings, scenery, etc.

[0124] The electronic device 100 can determine whether the position of the object in space has changed based on the continuous multiple image frames to determine whether the current shooting scene is a static object shooting scene or a dynamic object shooting scene. When the continuous multiple image frames determine that the position of the object in space has changed, the electronic device 100 can determine that the current shooting scene is a dynamic object shooting scene. When the continuous multiple image frames determine that the position of the object in space has not changed, the electronic device 100 can determine that the current shooting scene is a static object shooting scene. The continuous multiple image frames here can be image frames in at least one image frame of the first duration stored by the electronic device 100.

[0125] Optionally, the electronic device 100 may also combine a motion sensor (such as a gyroscope sensor) to determine that it is the movement of the subject that causes the position of the subject to change in space, rather than the movement of the electronic device that mistakenly identifies the static subject as a dynamic subject. For example, if the electronic device 100 determines that the position of the subject in space has changed through multiple consecutive image frames, and the motion data output by the motion sensor is close to 0, the electronic device 100 may determine that it is the movement of the subject that causes the position of the subject to change in space. In this way, the accuracy of the recognition of the shooting scene can be improved.

[0126] Optionally, after the electronic device 100 turns on the automatic dynamic photo shooting function, if the electronic device 100 shoots through the rear camera, the electronic device 100 needs to identify whether the current shooting scene is a static scene or a dynamic scene. If the current shooting scene is a static scene, the front camera can shoot a static photo. If the current shooting scene is a dynamic scene, the front camera can shoot a dynamic photo.

[0127] Optionally, after the electronic device 100 turns on the automatic dynamic photo shooting function, when the electronic device 100 recognizes a QR code, a barcode, or a document (for example, recognizes the four edge corners of a document or the four edge lines of a document) and other objects to be photographed, whether it is a moving scene or a static scene, the electronic device 100 only needs to output a static photo.

[0128] In other embodiments, after the electronic device 100 turns on the automatic dynamic photo shooting function, if the electronic device 100 shoots through the front camera, the electronic device 100 needs to identify whether the current shooting scene includes a person (static person or moving person). If the current shooting scene includes a person, the front camera can shoot a dynamic photo. If the current shooting scene does not include a person, the front camera can shoot a static photo.

[0129] Optionally, the front camera and the rear camera may not be distinguished. When the electronic device 100 recognizes a dynamic object shooting scene or a static object shooting scene but includes a person, the electronic device 100 may output a dynamic photo through the front camera or the rear camera. When the electronic device 100 recognizes a static object shooting scene but does not include a person, the electronic device 100 may output a static photo through the front camera or the rear camera.

[0130] The above-mentioned dynamic object shooting scenes and person shooting scenes are only used to explain this application. The judgment conditions for the electronic device 100 to determine whether to output dynamic photos through the front camera or the rear camera can also be other conditions, and this application does not limit this.

[0131] Turn on the automatic dynamic photo shooting function ( Figure 4A-4C )

[0132] like Figure 4A As shown, the electronic device 100 receives a user input operation (such as a single click) for the dynamic photo shooting mode control 126B. In response to the user's input operation, the electronic device 100 may display Figure 4B The function area 128 shown in FIG. The function area 128 includes multiple function options, such as an option 128A for turning on automatic dynamic photo shooting, an option 128B for turning off dynamic photo shooting, and an option 128C for turning on dynamic photo shooting.

[0133] Among them, the option 128A for automatically shooting dynamic photos can be used to trigger the electronic device 100 to automatically identify the shooting scene when it is turned on, and confirm whether to output dynamic photos or static photos. The option 128B for turning off dynamic photo shooting can be used to trigger the electronic device 100 to only output static photos when it is turned on. The option 128C for shooting dynamic photos can be used to trigger the electronic device 100 to only output dynamic photos when it is turned on.

[0134] In other embodiments, not limited to Figure 1A-Figure 1C The electronic device 100 can also receive the user's Figure 4B The input operation for turning on the dynamic photo shooting option 128C turns on the dynamic photo shooting function of the electronic device 100.

[0135] like Figure 4B As shown, the electronic device 100 may receive a user input operation (eg, a single click) for turning on the dynamic photo automatic shooting option 128A. In response to the user's input operation, the electronic device 100 may display Figure 4C The preview interface is shown. Figure 4C In the preview interface shown, the dynamic photo shooting mode control 126B has switched the display form, for example, it is displayed as an icon of the dynamic photo automatic shooting option to prompt that the dynamic photo automatic shooting function of the electronic device 100 has been turned on.

[0136] Optionally, after the electronic device 100 turns on the dynamic photo automatic shooting function, the electronic device 100 may also prompt Figure 4C The prompt message shown is "After the automatic dynamic photo shooting function is turned on, a dynamic photo will be taken when a moving object is recognized, and a static photo will be taken when a static object is recognized", to prompt the user to turn on the automatic dynamic photo shooting function.

[0137] The electronic device 100 obtains the dynamic photo taken by the rear camera through the dynamic photo automatic shooting function ( Figure 4D-Figure 4N )

[0138] For example, in long jump, the character needs to prepare, jump, take off, land, etc. It is difficult to present the changes of the character's movements through static photos.

[0139] Based on the present application, after the electronic device 100 determines from multiple consecutive image frames that the position of a person in space has changed, that is, determines that the current shooting scene is a dynamic object shooting scene, after detecting that the user presses the shutter button, the electronic device 100 can generate a dynamic photo, through which the wonderful movements of the person during the long jump process can be recorded.

[0140] In some embodiments, the continuous multiple image frames used to determine the change in the position of the character in space may be image frames among at least one image frame of the first duration stored by the electronic device 100 .

[0141] refer to Figure 4D-4F In the preview interface after the dynamic photo automatic shooting function is turned on, the preview window 123 can sequentially display the character's preparation, jumping, and vacating actions in the long jump, such as Figure 4GAs shown, after the user displays the person's leaping action in the preview window 123, the electronic device 100 can receive the user's input operation for the shutter (such as a single click). In response to the user's input operation, the electronic device 100 can capture a dynamic photo of the person in the long jump process.

[0142] For example, the electronic device 100 may obtain the first time period before the user clicks the shutter. Figure 4D-4F The image frame shown, as well as the image captured within the second period after the user clicks the shutter Figure 4G-Figure 4I The image frame shown.

[0143] For example, the electronic device 100 may generate a cover image based on the image frame captured when the user clicks the shutter. For example, the cover image may be Figure 4G The image frame shown.

[0144] Optionally, after the user clicks the shutter, Figure 4H-Figure 4I The electronic device 100 may display a prompt message "dynamic photo" on the preview interface to prompt the user that the electronic device 100 has generated a dynamic photo. Optionally, the display duration of the prompt message may be 3 seconds or other longer or shorter time.

[0145] Optional, reference Figure 4G-Figure 4I After the electronic device 100 generates the cover image, the electronic device 100 can refresh the thumbnail displayed in the review control 124 based on the cover image to prompt the user that the electronic device 100 has generated a dynamic photo of the person in the long jump process.

[0146] It should be noted that Figure 4D-Figure 4I The image frames shown in the two adjacent figures may include 0 image frames, or may include 1 or more image frames. Figure 4D-Figure 4I Not shown in detail.

[0147] The electronic device 100 may be based on Figure 4D-Figure 4I The image frames and cover image shown are used to generate a dynamic photo, and the dynamic photo is saved in the gallery.

[0148] The electronic device 100 may also receive an input operation (such as a single click) from the user on the review control 124. In response to the input operation from the user, the electronic device 100 may display a dynamic photo of the person in the long jump process. The electronic device 100 may also receive an operation from the user to play the dynamic photo.

[0149] Figure 4J-Figure 4N The schematic diagram of the electronic device 100 receiving the user's operation to view dynamic photos is shown as an example. Figure 4J-Figure 4N The example in Figure 4D-Figure 4IThe illustrated embodiment is used as an example to illustrate the dynamic photo viewing process, but the present application is not limited thereto, and the dynamic photos obtained through the implementation method of the present application can all be viewed through the implementation method.

[0150] like Figure 4J As shown, the electronic device 100 can detect the user operation acting on the review control 124, and in response to the above operation, the electronic device 100 can display Figure 4K The user interface shown displays the dynamic photos corresponding to the thumbnails in the review control 124.

[0151] like Figure 4K As shown, the user interface may include area 221. Area 221 may be used to display photos that have been taken, such as the dynamic photos mentioned above. At this time, the user may browse the dynamic photos of the person in the long jump process taken by the electronic device 100 through area 221. The user interface may also include prompt controls, such as control 222. When the user browses the taken photos, the electronic device 100 may determine that the currently displayed photo is a dynamic photo, rather than a static photo taken by the electronic device 100, through the above control. Figure 4K The electronic device 100 may also receive an operation from the user to play multiple image frames in the dynamic photo, so that the user can view the multiple image frames in the dynamic photo.

[0152] In a possible implementation, the electronic device 100 may receive an operation of a user long pressing the dynamic photo, and in response to the user's operation, the electronic device 100 may sequentially display multiple image frames in the dynamic photo. Optionally, before the electronic device 100 finishes playing the multiple image frames in the dynamic photo, the user releases his finger, and the electronic device 100 may stop playing the remaining at least one image frame in the dynamic photo.

[0153] In one possible implementation, the electronic device 100 can receive a user input operation (such as a single click) on the control 222. In response to the user input operation, the electronic device 100 can play the video in the dynamic photo, such as displaying multiple image frames in the dynamic photo in sequence, and finally displaying the cover image frame.

[0154] In one possible implementation, the electronic device 100 may also receive a sliding operation performed by the user on the dynamic photo, such as a sliding operation to the left and then to the right, or a sliding operation to the right and then to the left. In response to the user's sliding operation, the electronic device 100 may display multiple image frames in the dynamic photo in sequence.

[0155] The electronic device 100 may also play the dynamic photo in other ways, which is not limited in this application.

[0156] Figure 4L This is a user interface for displaying all taken photos on the electronic device 100 provided in an embodiment of the present application. In this interface, the electronic device 100 can also display a prompt control, such as control 223, on the preview image of the dynamic photo. In this way, when the user browses all taken photos, the user can distinguish between dynamic photos and static photos through the above prompt control.

[0157] Figure 4M This is a user interface for classifying photos displayed on the electronic device 100 according to time provided by an embodiment of the present application. In this interface, the electronic device 100 can also display a prompt control, such as control 223, on the preview image of the dynamic photo. In this way, when the user browses the taken photos, the user can distinguish between dynamic photos and static photos through the above prompt control.

[0158] Figure 4N This is a user interface for classifying the photos displayed on the electronic device 100 according to the album name provided by the embodiment of the present application. In this interface, the user can click on all photos to view all photos that have been taken by the electronic device 100. After that, the electronic device 100 can display Figure 4L The user interface shown.

[0159] The electronic device 100 obtains a static photo taken by the rear camera through the dynamic photo automatic shooting function ( Figure 4O-Figure 4Q )

[0160] For example, when the electronic device 100 is shooting a static scene (e.g., a static, non-rotating Ferris wheel), the Ferris wheel is stationary, that is, the current shooting scene is a static shooting scene. In a static shooting scene, the photo taken by the electronic device 100 is relatively clear, has no jitter, and has a good imaging effect. Therefore, when the electronic device 100 recognizes a static shooting scene, it only needs to take a static photo, avoiding the electronic device 100 from taking a dynamic photo in a static scene to waste the power consumption of the electronic device 100.

[0161] For example, Fig.4O As shown, in the preview interface after the dynamic photo automatic shooting function is turned on, the preview window 123 can sequentially shoot images of the Ferris wheel. Fig.4O As shown, after the user views the image of the Ferris wheel displayed in the preview window 123, the electronic device 100 may receive an input operation (e.g., a single click) from the user for the shutter, and in response to the user's input operation, the electronic device 100 may capture a static photo corresponding to the Ferris wheel. The static photo may be an image frame captured by the electronic device 100 when the user presses the shutter.

[0162] like Figure 4PAs shown, the electronic device 100 may also refresh the thumbnail displayed in the review control 124 based on the thumbnail of the static photo to prompt the user that the electronic device 100 has generated a static photo corresponding to the Ferris wheel.

[0163] like Figure 4P As shown, the electronic device 100 can detect the user operation acting on the review control 124, and in response to the above operation, the electronic device 100 can display Figure 4Q The user interface shown displays the static photo corresponding to the thumbnail in the review control 124.

[0164] like Figure 4Q As shown, the user interface may include photographs that have been taken, such as the still photographs described above. Figure 4Q The interface does not include control 222, indicating that the photo is a static photo, not a dynamic photo.

[0165] The electronic device 100 obtains the dynamic photo taken by the front camera through the dynamic photo automatic shooting function ( Figure 5A-5H )

[0166] The electronic device 100 also supports taking dynamic photos through the front camera.

[0167] For example, Figure 5A As shown, the electronic device 100 can receive a user input operation (such as a single click) for switching the front / rear camera control. In response to the user's input operation, the electronic device 100 can switch to the front camera and capture image frames through the front camera.

[0168] like Figure 5B As shown, after the electronic device 100 switches to the front camera, the front camera does not support the smart code scanning mode and AI scene recognition, so the quick function area 126 does not include the smart code scanning control 126A and the AI ​​scene recognition control 126C.

[0169] The electronic device 100 can take photos, such as selfies of people, through the front camera.

[0170] In a selfie scene, the user needs to pose in the right way and control the expression before triggering the shutter to take the selfie through the front camera. However, the selfie captured by the front camera at the moment the user presses the shutter may not be the most natural one in terms of the action and expression.

[0171] In order to improve the user's selfie experience, when the electronic device 100 takes a picture through the front camera, if the face of a person is recognized, the electronic device 100 can take a dynamic photo through the front camera. If the face of a person is not recognized, the electronic device 100 can take a static photo through the front camera.

[0172] refer to Figure 5C-5E After the dynamic photo automatic shooting function is turned on, the electronic device 100 switches to the front camera. In the preview interface of the camera, the preview window 123 can sequentially display the actions and expressions of the person when taking a selfie, such as Fig. 5F As shown, after the user displays a selfie image of a person in the preview window 123, the electronic device 100 can receive an input operation from the user for the shutter (such as a single click). In response to the user's input operation, the electronic device 100 can capture a dynamic photo of the person taking a selfie.

[0173] For example, the electronic device 100 may obtain the first time period before the user clicks the shutter. Figure 5C-5E The image frame shown, as well as the image captured within the second period after the user clicks the shutter Figure 5F-5H The image frame shown.

[0174] For example, the electronic device 100 may generate a cover image based on the image frame captured when the user clicks the shutter. For example, the cover image may be Fig. 5F The image frame shown.

[0175] Optional, reference Figure 5F-5H After the electronic device 100 generates the cover image, the electronic device 100 can refresh the thumbnail displayed in the review control 124 based on the cover image to prompt the user that the electronic device 100 has generated a dynamic photo of the person taking a selfie.

[0176] Optionally, after the user clicks the shutter, Figure 5G-Figure 5H The electronic device 100 may display a prompt message "dynamic photo" on the preview interface to prompt the user that the electronic device 100 has generated a dynamic photo. Optionally, the display duration of the prompt message may be 3 seconds or other longer or shorter time.

[0177] It should be noted that Figure 5A-5H The image frames shown in two adjacent drawings may include 0 drawings, or may include 1 or more image frames. Figure 5A-5H Not shown in detail.

[0178] The electronic device 100 may be based on Figure 5A-5F The image frames and cover image shown are used to generate a dynamic photo, and the dynamic photo is saved in the gallery.

[0179] The electronic device 100 may also receive an input operation (e.g., a click) from the user on the review control 124. In response to the input operation from the user, the electronic device 100 may display a dynamic photo of the person in the long jump process. The electronic device 100 may also receive an operation from the user to play the dynamic photo. Figure 4J-Figure 4N The description in , this application will not repeat it again.

[0180] The electronic device 100 obtains a static photo taken by the front camera through the dynamic photo automatic shooting function ( Figure 5I-5J )

[0181] For example, when the electronic device 100 takes a photo using the front camera, if the electronic device 100 recognizes that the image does not include a face of a person in the image frame captured by the front camera, the electronic device 100 can directly output a still photo.

[0182] For example, Fig.5I As shown, after the dynamic photo automatic shooting function is turned on, the electronic device 100 switches to the front camera, and in the preview interface of the camera, the preview window 123 can sequentially shoot images of the street. Fig.4O As shown, after the user views the image of the street displayed in the preview window 123, the electronic device 100 may receive a shutter input operation (e.g., a single click) from the user, and in response to the user's input operation, the electronic device 100 may capture a static photo corresponding to the street of the photographed object. The static photo may be an image frame captured by the electronic device 100 when the user presses the shutter.

[0183] like Figure 5J As shown, the electronic device 100 may also refresh the thumbnail displayed in the review control 124 based on the thumbnail of the static photo to prompt the user that the electronic device 100 has generated a static photo corresponding to the street of the photographed object.

[0184] The electronic device 100 may also receive an input operation (such as a single click) from the user on the review control 124. In response to the input operation from the user, the electronic device 100 may display a static photo corresponding to the thumbnail in the review control 124. Figure 4P-Figure 4Q The description in , this application will not repeat it again.

[0185] refer to Figure 6 , Figure 6 A schematic structural diagram of an electronic device is shown.

[0186] The electronic device 100 may be a mobile phone, a tablet computer, a desktop computer, a laptop computer, a handheld computer, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a cellular phone, a personal digital assistant (PDA), an augmented reality (AR) device, a virtual reality (VR) device, an artificial intelligence (AI) device, a wearable device, an in-vehicle device, a smart home device and / or a smart city device. The embodiments of the present application do not impose any special restrictions on the specific type of the electronic device.

[0187] The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 1211, 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 identification module (SIM) card interface 195, etc. 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, a bone conduction sensor 180M, etc.

[0188] It is to be understood that the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown in the figure, or combine some components, or separate some 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.

[0189] The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor, 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.

[0190] The controller can generate operation control signals according to the instruction operation code and timing signal to complete the control of instruction fetching and execution.

[0191] 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. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.

[0192] 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, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.

[0193] 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 groups of I2C buses. The processor 110 may be coupled to the touch sensor 180K, the charger, the flash, the camera 193, etc. through different I2C bus 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 bus interface, thereby realizing the touch function of the electronic device 100.

[0194] The I2S interface can be used for audio communication. In some embodiments, the processor 110 can include multiple I2S buses. The processor 110 can be coupled to the audio module 170 via the I2S bus 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.

[0195] 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 a PCM bus interface. In some embodiments, the audio module 170 can also transmit audio signals to the wireless communication module 160 via the PCM interface to realize the function of answering calls via a Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.

[0196] 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 to implement the function of playing music through a Bluetooth headset.

[0197] 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), a display serial interface (DSI), etc. In some embodiments, the processor 110 and the camera 193 communicate via the CSI interface to implement the shooting function of the electronic device 100. The processor 110 and the display screen 194 communicate via the DSI interface to implement the display function of the electronic device 100.

[0198] The GPIO interface can be configured by software. The GPIO interface can be configured as a control signal or as a data signal. In some embodiments, the GPIO interface can be used to connect the processor 110 with the camera 193, the display 194, the wireless communication module 160, the audio module 170, the sensor module 180, etc. The GPIO interface can also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, etc.

[0199] The USB interface 130 is an interface that complies with the USB standard specification, and specifically can be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc. The USB interface 130 can be used to connect a charger to charge the electronic device 100, and can also be used to transfer data between the electronic device 100 and a peripheral device. It can also be used to connect headphones to play audio through the headphones. The interface can also be used to connect other electronic devices, such as AR devices, etc.

[0200] It is understandable that the interface connection relationship between the modules illustrated in the embodiment of the present invention is only a schematic illustration and does not constitute a structural limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.

[0201] The charging management module 140 is used to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger through the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive wireless charging input through a wireless charging coil of the electronic device 100. While the charging management module 140 is charging the battery 142, it may also power the electronic device through the power management module 141.

[0202] The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140, and supplies power to the processor 110, the internal memory 1211, the display screen 194, the camera 193, and the wireless communication module 160. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle number, battery health status (leakage, impedance), etc. In some other embodiments, the power management module 141 can also be set in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 can also be set in the same device.

[0203] The wireless communication function of the electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.

[0204] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of 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.

[0205] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G, etc., applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110.

[0206] The modem processor may include a modulator and a demodulator. Among them, the modulator is used to modulate the low-frequency baseband signal to be sent into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After the low-frequency baseband signal is processed by the baseband processor, it is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to a speaker 170A, a receiver 170B, etc.), or displays an image or video through a display screen 194. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 110 and be set in the same device as the mobile communication module 150 or other functional modules.

[0207] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the electronic device 100. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the frequency of the electromagnetic wave signal and performs filtering, and sends the processed signal to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, modulate the frequency of it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.

[0208] In some embodiments, the antenna 1 of the electronic device 100 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the electronic device 100 can communicate with the network and other devices through wireless communication technology. The 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 code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology. The GNSS may include a global positioning system (GPS), a global navigation satellite system (GLONASS), a Beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS) and / or a satellite based augmentation system (SBAS).

[0209] The electronic device 100 implements the display function through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or change display information.

[0210] 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, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 100 may include 1 or N display screens 194, where N is a positive integer greater than 1.

[0211] The electronic device 100 can realize the shooting function through ISP, camera 193, video codec, GPU, display screen 194 and application processor.

[0212] The ISP is used to process the data fed back by the camera 193. For example, when taking a photo, the shutter is opened, and the light is transmitted to the camera photosensitive element through the lens. The light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing and converts it into an image visible to the naked eye. The ISP can also perform algorithm optimization on the noise and brightness of the image. The ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, the ISP can be set in the camera 193.

[0213] The camera 193 is used to capture still images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then passes the electrical signal to the ISP to be converted into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV or other format. In some embodiments, the electronic device 100 may include 1 or N cameras 193, where N is a positive integer greater than 1.

[0214] The digital signal processor is used to process digital signals, and can process not only digital image signals but also other digital signals. For example, when the electronic device 100 is selecting a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.

[0215] Video codecs are used to compress or decompress digital videos. The electronic device 100 may support one or more video codecs. Thus, the electronic device 100 may play or record videos in a variety of coding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.

[0216] NPU is a neural network (NN) computing processor. By drawing on the structure of biological neural networks, such as the transmission mode between neurons in the human brain, it can quickly process input information and can also continuously self-learn. Through NPU, applications such as intelligent cognition of electronic device 100 can be realized, such as image recognition, face recognition, voice recognition, text understanding, etc.

[0217] The internal memory 1211 may include one or more random access memories (RAM) and one or more non-volatile memories (NVM).

[0218] Random access memory may include static random-access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM, for example, the fifth generation DDR SDRAM is generally referred to as DDR5 SDRAM), etc.; non-volatile memory may include disk storage devices and flash memory.

[0219] Flash memory can be divided into NOR FLASH, NAND FLASH, 3D NAND FLASH, etc. according to the operating principle; single-level cell (SLC), multi-level cell (MLC), triple-level cell (TLC), quad-level cell (QLC), etc. according to the storage unit potential level; universal flash storage (UFS), embedded multi media card (eMMC), etc. according to the storage specification.

[0220] The random access memory can be directly read and written by the processor 110, and can be used to store executable programs (such as machine instructions) of the operating system or other running programs, and can also be used to store user and application data.

[0221] The non-volatile memory may also store executable programs and user and application data, etc., and may be loaded into the random access memory in advance for direct reading and writing by the processor 110 .

[0222] The external memory interface 120 can be used to connect to an external non-volatile memory to expand the storage capacity of the electronic device 100. The external non-volatile memory communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, files such as music and videos are stored in the external non-volatile memory.

[0223] The electronic device 100 can implement audio functions such as music playing and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.

[0224] The audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. 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.

[0225] The speaker 170A, also called a "speaker", is used to convert an audio electrical signal into a sound signal. The electronic device 100 can listen to music or listen to a hands-free call through the speaker 170A.

[0226] The receiver 170B, also called a "earpiece", is used to convert audio electrical signals into sound signals. When the electronic device 100 receives a call or voice message, the voice can be received by placing the receiver 170B close to the human ear.

[0227] Microphone 170C, also called "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can speak by putting their mouth close to microphone 170C to input the sound signal into microphone 170C. The electronic device 100 can be provided with at least one microphone 170C. In other embodiments, the electronic device 100 can be provided with two microphones 170C, which can not only collect sound signals but also realize noise reduction function. In other embodiments, the electronic device 100 can also be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify the sound source, realize directional recording function, etc.

[0228] The earphone interface 170D is used to connect a wired earphone and can be a USB interface 130 or a 3.5 mm open mobile terminal platform (OMTP) standard interface or a cellular telecommunications industry association of the USA (CTIA) standard interface.

[0229] The pressure sensor 180A is used to sense the pressure signal and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A can be set on the display screen 194. There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, etc. The capacitive pressure sensor can be a parallel plate including at least two conductive materials. When a force acts on the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 100 determines the intensity of the pressure according to the change in capacitance. When a touch operation acts on the display screen 194, the electronic device 100 detects the touch operation intensity according to the pressure sensor 180A. The electronic device 100 can also calculate the touch position according to the detection signal of the pressure sensor 180A. In some embodiments, touch operations acting on the same touch position but with different touch operation intensities can correspond to different operation instructions. For example: when a touch operation with a touch operation intensity less than the first pressure threshold acts on the short message application icon, an instruction to view the short message is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on the short message application icon, an instruction to create a new short message is executed.

[0230] The gyro sensor 180B can be used to determine the motion posture of the electronic device 100. In some embodiments, the angular velocity of the electronic device 100 around three axes (i.e., x, y, and z axes) can be determined by the gyro sensor 180B. The gyro sensor 180B can be used for anti-shake shooting. For example, when the shutter is pressed, the gyro sensor 180B detects the angle of the electronic device 100 shaking, calculates the distance that the lens module needs to compensate based on the angle, and allows the lens to offset the shaking of the electronic device 100 through reverse movement to achieve anti-shake. The gyro sensor 180B can also be used for navigation and somatosensory game scenes.

[0231] The air pressure sensor 180C is used to measure air pressure. In some embodiments, the electronic device 100 calculates the altitude through the air pressure value measured by the air pressure sensor 180C to assist positioning and navigation.

[0232] The magnetic sensor 180D includes a Hall sensor. The electronic device 100 can use the magnetic sensor 180D to detect the opening and closing of the flip leather case. In some embodiments, when the electronic device 100 is a flip phone, the electronic device 100 can detect the opening and closing of the flip cover according to the magnetic sensor 180D. Then, according to the detected opening and closing state of the leather case or the opening and closing state of the flip cover, the flip cover can be automatically unlocked.

[0233] The acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device 100 in all directions (generally three axes). When the electronic device 100 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of the electronic device and is applied to applications such as horizontal and vertical screen switching and pedometers.

[0234] The distance sensor 180F is used to measure the distance. The electronic device 100 can measure the distance by infrared or laser. In some embodiments, when shooting a scene, the electronic device 100 can use the distance sensor 180F to measure the distance to achieve fast focusing.

[0235] The proximity light sensor 180G may include, for example, a light emitting diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode. The electronic device 100 emits infrared light outward through the light emitting diode. The electronic device 100 uses a photodiode to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 100. When insufficient reflected light is detected, the electronic device 100 can determine that there is no object near the electronic device 100. The electronic device 100 can use the proximity light sensor 180G to detect that the user holds the electronic device 100 close to the ear to talk, so as to automatically turn off the screen to save power. The proximity light sensor 180G can also be used in leather case mode and pocket mode to automatically unlock and lock the screen.

[0236] The ambient light sensor 180L is used to sense the ambient light brightness. The electronic device 100 can adaptively adjust the brightness of the display screen 194 according to the perceived ambient light brightness. The ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures. The ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in a pocket to prevent accidental touches.

[0237] The fingerprint sensor 180H is used to collect fingerprints. The electronic device 100 can use the collected fingerprint characteristics to implement fingerprint unlocking, access application locks, fingerprint photography, fingerprint call answering, etc.

[0238] The temperature sensor 180J is used to detect temperature. In some embodiments, the electronic device 100 uses the temperature detected by the temperature sensor 180J to execute a temperature processing strategy. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold, the electronic device 100 reduces the performance of a processor located near the temperature sensor 180J to reduce power consumption and implement thermal protection. In other embodiments, when the temperature is lower than another threshold, the electronic device 100 heats the battery 142 to avoid abnormal shutdown of the electronic device 100 due to low temperature. In other embodiments, when the temperature is lower than another threshold, the electronic device 100 performs a boost on the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.

[0239] The touch sensor 180K is also called a "touch control device". The touch sensor 180K can be set on the display screen 194. 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 can pass the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 194. In other embodiments, the touch sensor 180K can also be set on the surface of the electronic device 100, which is different from the position of the display screen 194.

[0240] The bone conduction sensor 180M can obtain a vibration signal. In some embodiments, the bone conduction sensor 180M can obtain a vibration signal of a vibrating bone block of the vocal part of the human body. The bone conduction sensor 180M can also contact the human pulse to receive a blood pressure beat signal. In some embodiments, the bone conduction sensor 180M can also be set in an earphone and combined into a bone conduction earphone. The audio module 170 can parse out a voice signal based on the vibration signal of the vibrating bone block of the vocal part obtained by the bone conduction sensor 180M to realize a voice function. The application processor can parse the heart rate information based on the blood pressure beat signal obtained by the bone conduction sensor 180M to realize a heart rate detection function.

[0241] The key 190 includes a power key, a volume key, etc. The key 190 may be a mechanical key or a touch key. The electronic device 100 may receive key input and generate key signal input related to user settings and function control of the electronic device 100.

[0242] 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, touch operations acting on different applications (such as taking pictures, audio playback, etc.) can correspond to different vibration feedback effects. For touch operations acting on different areas of the display screen 194, motor 191 can also correspond to different vibration feedback effects. Different application scenarios (for example: time reminders, receiving messages, alarm clocks, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also support customization.

[0243] Indicator 192 may be an indicator light, which may be used to indicate charging status, power changes, messages, missed calls, notifications, etc.

[0244] The software of the electronic device can adopt a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. Taking the system as an example, the software structure of the electronic device is illustrated.

[0245] refer to Figure 7 , Figure 7 It is a schematic diagram of the software architecture of the electronic device according to an embodiment of the present application.

[0246] like Figure 7 As shown in FIG. 1 , the layered architecture divides the software into several layers, each with a clear role and division of labor. The layers communicate with each other through software interfaces. In some embodiments, The system is divided into five layers, from top to bottom: application layer, application framework layer, hardware abstraction layer, kernel layer and hardware layer.

[0247] The application layer may include a series of application packages. For example, an application package may include a camera, a gallery, and other applications not shown.

[0248] Camera applications include but are not limited to: photo taking modules, etc. These modules can be coupled to each other to provide users with various functions.

[0249] Among them, the photo taking module can provide ordinary photo taking function, dynamic photo taking function and dynamic photo automatic taking function, etc.

[0250] The normal photo function means that according to the photo operation input by the user (such as pressing the shutter button), the image corresponding to the photo operation time is obtained from the preview stream and stored. The photo operation time can be any of the following times: the time when the shutter is pressed, the time when the shutter is lifted, or the time determined after a certain time compensation based on the time when the shutter is pressed and / or the time when the shutter is lifted. Among them, the time compensation is determined based on the error between the user operation and the frame rate of the camera to collect the image, and the compensation time is usually at the millimeter level.

[0251] The dynamic photo shooting function means that after the user turns on the dynamic photo shooting function, after detecting the user triggering the shutter, the electronic device 100 can automatically obtain at least one image frame within a first time period before the user presses the shutter, and at least one image frame within a second time period after the user presses the shutter, and then determine the cover image of the dynamic photo. The electronic device 100 can generate a dynamic photo based on the multiple image frames and the cover image, and store the dynamic photo in the gallery.

[0252] The automatic dynamic photo shooting function means that after the electronic device 100 turns on the automatic dynamic photo shooting function, the electronic device 100 needs to identify the shooting scene. In the case where the shooting scene is a static object shooting scene, after the electronic device 100 detects the operation of the user pressing the shutter, the electronic device 100 only needs to obtain a static photo corresponding to the moment when the user presses the shutter, and store the static photo in the gallery. The electronic device 100 needs to obtain at least one image frame within the first time period before the user presses the shutter, and at least one image frame within the second time period and thereafter when the user presses the shutter. Then obtain the cover image. The electronic device 100 generates a dynamic photo based on the multiple image frames and this cover image, and stores the dynamic photo in the gallery.

[0253] Optionally, after the electronic device 100 turns on the automatic dynamic photo shooting function, if the electronic device 100 shoots through the rear camera, the electronic device 100 needs to identify whether the current shooting scene is a static scene or a dynamic scene. If the current shooting scene is a static scene, the front camera can shoot a static photo. If the current shooting scene is a dynamic scene, the front camera can shoot a dynamic photo.

[0254] In other embodiments, after the electronic device 100 turns on the automatic dynamic photo shooting function, if the electronic device 100 shoots through the front camera, the electronic device 100 needs to identify whether the current shooting scene includes a person (static person or moving person). If the current shooting scene includes a person, the front camera can shoot a dynamic photo. If the current shooting scene does not include a person, the front camera can shoot a static photo.

[0255] Optionally, the front camera and the rear camera may not be distinguished. When the electronic device 100 recognizes a dynamic object shooting scene or a static object shooting scene but includes a person, the electronic device 100 may output a dynamic photo through the front camera or the rear camera. When the electronic device 100 recognizes a static object shooting scene but does not include a person, the electronic device 100 may output a static photo through the front camera or the rear camera.

[0256] The application framework layer provides an application programming interface (API) and a programming framework for applications in the application layer. The application framework layer includes some predefined functions. For example, the application framework layer may include a camera service, a view system, and so on.

[0257] The camera service may also be referred to as a camera access interface, which is used to provide an application programming interface and a programming framework for camera applications.

[0258] The view system includes visual controls, such as controls for displaying text and controls for displaying pictures. The view system can be used to build the interface provided by the application.

[0259] The hardware abstraction layer is an interface layer between the application framework layer and the kernel layer, and provides a virtual hardware platform for the operating system. In the embodiment of the present application, the hardware abstraction layer includes an algorithm module, and the algorithm module includes but is not limited to a shooting scene recognition module, a face recognition module, etc. The algorithm module can be started after the electronic device 100 turns on the dynamic photo automatic shooting function.

[0260] The shooting scene recognition module is used to recognize whether the current shooting scene is a static shooting scene or a dynamic shooting scene.

[0261] The face recognition module is used to identify whether the current shooting scene includes a person.

[0262] The kernel layer is a layer between the hardware and the hardware abstraction layer. The kernel layer includes drivers for various hardware. In an embodiment of the present application, the kernel layer may include a display driver, a camera driver, a digital signal processor driver, and an image processor driver.

[0263] Among them, the camera driver is used to drive the camera to capture images. For example, after receiving the start distribution stream / start rush distribution stream command initiated by the preview stream module, the camera driver drives the camera to start collecting images and drives the image signal processor to pre-process the collected images, and finally returns the processed images to the preview stream module in the form of an image stream.

[0264] The digital signal processor driver is used to drive the digital signal processor to process images, and the image processor driver is used to drive the graphics processor to process images.

[0265] The hardware layer mainly includes components in the camera module, such as a display screen, one or more cameras, an image signal processor, a digital signal processor, and an image processor, etc. Or it may also include a flash, a multi-spectral sensor, etc. as shown in the figure. The above components are used to start working under the control of the corresponding driver in the kernel layer. For example, the camera is used to power on under the control of the camera driver to capture images and return the captured images to the camera driver.

[0266] The following is an example of the workflow of the electronic device software and hardware, combined with a photo-taking scenario.

[0267] 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 events from the kernel layer and identifies the control corresponding to the input event. For example, if the touch operation is a touch single-click operation and the control corresponding to the single-click operation is the control of the camera application icon, the camera application calls the interface of the application framework layer (such as the camera service interface) to start the camera application, and then starts the camera driver by calling the kernel layer to capture dynamic photos or static photos through the camera.

[0268] Figure 8 A schematic diagram of a method flow of a photographing method provided in this application.

[0269] S801: The electronic device displays a preview interface, where the preview interface displays a first image frame captured by a camera of the electronic device and a thumbnail of a most recently taken photo.

[0270] For example, the preview interface can be Figure 1B The user interface shown.

[0271] Thumbnails of recently taken photos can be Figure 1B Thumbnails displayed in the review control 124 are shown.

[0272] S802. The electronic device determines that the current scene satisfies a first preset condition based on the first image frame. The electronic device receives and responds to the user's first operation on the shutter to generate a dynamic photo, wherein the dynamic photo is generated based on a second image frame within a first preset time period before the first operation, a third image frame within a second preset time period after the first operation, and a fourth image frame, and the fourth image frame includes an image frame captured by the electronic device at a time corresponding to the first operation.

[0273] S803. The electronic device determines that the current scene satisfies a second preset condition based on the first image frame. The electronic device receives and responds to the user's first shutter operation to generate a static photo, which includes an image frame captured by the camera of the electronic device at the time corresponding to the first operation.

[0274] The first image frame, the second image frame, the third image frame and the fourth image frame may include one or more image frames.

[0275] Exemplarily, the first operation for the shutter may be Figure 4G The input operation for the shutter is shown.

[0276] The first operation for the shutter can also be Fig.4O The input operation for the shutter is shown.

[0277] The first operation for the shutter can also be Fig. 5F The input operation for the shutter is shown.

[0278] The first operation for the shutter can also be Figure 5J The input operation for the shutter is shown.

[0279] In a possible implementation, when the camera is a rear-mounted camera, the first preset condition includes: the first image frame includes a moving object.

[0280] In a possible implementation, when the camera is a rear-facing camera, the second preset condition includes: the first image frame does not include a moving object, or the first image frame includes a document object, a QR code object, or a barcode object.

[0281] In this way, when the camera is a rear-mounted camera, the electronic device can automatically generate a dynamic photo when recognizing a moving object. The electronic device can capture photos of the wonderful moments of the moving object based on the dynamic photo.

[0282] In the case where the camera is a rear-mounted camera, the electronic device can automatically generate a static photo when a static object is recognized. Because the static photo can reflect the wonderful moment of the static object, in a static scene, the electronic device does not need to generate a dynamic photo, thereby reducing the power consumption of the electronic device.

[0283] When the camera is a rear camera, the electronic device can automatically generate a static photo when it recognizes a document object, a QR code object, or a barcode object, which may be in motion or still state.

[0284] Exemplarily, when the camera is a rear-facing camera, the second image frame in the dynamic photo may be Figure 4D-4F The third image frame may be Figure 4H-Figure 4I The fourth image frame may be Figure 4G One or more image frames shown.

[0285] For example, when the camera is a rear-facing camera, the static photo can be Fig.4O The image frame shown.

[0286] In a possible implementation, when the camera is a front-facing camera, the first preset condition includes: the first image frame includes a face image.

[0287] In a possible implementation, when the camera is a front-facing camera, the second preset condition includes: the first image frame does not include a face image object, or the first image frame includes a document image object, a QR code image object, or a barcode image object.

[0288] In this way, when the camera is a front-facing camera, the electronic device can automatically generate a dynamic photo when recognizing a face image. The electronic device can capture photos of the wonderful moments when the person takes a selfie based on the dynamic photo.

[0289] In the case where the camera is a front-facing camera, the electronic device can automatically generate a static photo when a non-face image is recognized. Because when the front-facing camera detects a non-face image, such as when photographing a building behind a person, the electronic device does not need to generate a dynamic photo, thereby reducing the power consumption of the electronic device.

[0290] When the camera is a front-facing camera, the electronic device can automatically generate a static photo when it recognizes a document object, a QR code object, or a barcode object, which may be in motion or still.

[0291] It should be noted that the judgment conditions for the front camera to generate dynamic state and static photos can also be applied to the rear camera. The judgment conditions for the rear camera to generate dynamic state and static photos can also be applied to the front camera.

[0292] For example, when the camera is a front-facing camera, the second image frame in the dynamic photo may be Figure 5C-5E The third image frame may be Figure 4G-4H The fourth image frame may be Fig. 5F One or more image frames shown.

[0293] For example, when the camera is a front-facing camera, the static photo can be Figure 5J The image frame shown.

[0294] In a possible implementation manner, the electronic device is not in motion before and after the first operation, or the motion amplitude of the electronic device is smaller than a preset amplitude.

[0295] Optionally, the electronic device may determine whether the electronic device is moving in combination with motion data collected by a motion sensor (eg, a gyroscope sensor).

[0296] In this way, when the electronic device determines whether the current scene includes a moving object, it can further determine that it is the local motion of the object that causes the electronic device to recognize the moving object, rather than the motion of the electronic device (such as user shaking) and other factors that cause the stationary object to be mistakenly recognized as a moving object. In this way, the accuracy of the electronic device in recognizing the moving object can be improved.

[0297] In one possible implementation, after the electronic device generates the dynamic photo, the method also includes: the electronic device saves the dynamic photo, and refreshes and displays the thumbnail of the most recently taken photo as a thumbnail of the dynamic photo, and the thumbnail of the dynamic photo is obtained based on the image frame captured by the electronic device at the time corresponding to the second operation.

[0298] In this way, the electronic device can save dynamic photos so that the user can view the dynamic photos taken by the electronic device in the gallery.

[0299] For example, when the camera is a rear-facing camera, the thumbnail of the dynamic photo can be Figure 4J Thumbnails shown.

[0300] In a possible implementation, the method also includes: the electronic device detects an operation of clicking on a thumbnail of a dynamic photo; the electronic device displays a large image display interface of a gallery application, the large image display interface displays a static image of the dynamic photo, and the static image of the dynamic photo is obtained based on an image frame captured by the electronic device at the moment corresponding to the second operation.

[0301] In this way, dynamic photos can not only record static information, but also dynamic information.

[0302] Optionally, the image frame collected by the electronic device at the time corresponding to the second operation for generating a static image may be the same as or different from the image frame collected by the electronic device at the time corresponding to the second operation for a thumbnail of a dynamic photo.

[0303] For example, the large image display interface can be Figure 4Lor Figure 4M or Figure 4N The user interface shown.

[0304] In a possible implementation, in the large picture display interface, a first identifier is displayed along with the dynamic photo, and the first identifier is used to identify that the photo is a dynamic photo.

[0305] In this way, the first identifier can be used to indicate whether the photo is a dynamic photo or a static photo. The first identifier will not be displayed for static photos.

[0306] Exemplarily, the first identifier may be Figure 4L or Figure 4M Control 223 shown.

[0307] In a possible implementation, before the electronic device receives and responds to the user's first operation on the shutter, the method further includes: the electronic device receives the user's operation to turn on the dynamic photo shooting function and turns off the shutter sound.

[0308] This way, you can avoid recording shutter sounds in dynamic photos. Figure 1F-1G Description in the examples.

[0309] In a possible implementation, the method further includes: when the electronic device detects that the zoom ratio is greater than the first zoom ratio and the ambient brightness is less than the first illumination value, any one or more of the following, the dynamic photo shooting function is turned off. In this way, the imaging effect of the dynamic photo can be improved. For details, please refer to Figure 1H-1I Description in the examples.

[0310] In one possible implementation, the operation of turning on the dynamic photo shooting function includes the operation of turning on the dynamic photo shooting function for the first time, and the method also includes: before the electronic device receives the user's operation of turning on the dynamic photo shooting function for the first time, the electronic device displays a first prompt message, and the first prompt message is used to prompt the user to turn on the dynamic photo shooting function.

[0311] In this way, before the user has turned on the dynamic photo shooting function, the electronic device can prompt the user how to turn on the dynamic photo shooting function through the first prompt information.

[0312] Exemplarily, the first prompt information may be Figure 1B The prompt information shown.

[0313] In one possible implementation, the electronic device generates a dynamic photo, specifically including: the electronic device stores the second image frame, the third image frame and the fourth image frame as a video file in a video format; the electronic device stores a static image of the dynamic photo as a picture file in a picture format; and the electronic device generates the dynamic photo based on the video file and the picture file.

[0314] In one possible implementation, after the electronic device saves the dynamic photo, the method also includes: the electronic device receives a third operation of the user on the dynamic photo; in response to the third operation, the electronic device sets the fifth image frame in the video file as the cover of the dynamic photo; the electronic device displays the large image display interface of the gallery application again, and the large image display interface displays the fifth image frame.

[0315] In this way, the electronic device can also receive user operations to modify the cover image of the dynamic photo.

[0316] Through this method, the electronic device can automatically determine whether to generate dynamic photos or static photos based on different shooting scenes, thereby improving the photo-taking experience.

[0317] The present application provides an electronic device, which includes one or more cameras, one or more processors and one or more memories; wherein the one or more cameras, the one or more memories are coupled to the one or more processors, the one or more memories are used to store computer program codes, the computer program codes include computer instructions, and when the one or more processors execute the computer instructions, the electronic device executes as follows Figure 8 An embodiment provides a shooting method.

[0318] The present application provides a chip system, which is applied to electronic devices. The chip system includes one or more processors, which are used to call computer instructions to enable the electronic device to execute the following Figure 8 An embodiment provides a shooting method.

[0319] The present application provides a computer-readable storage medium, including instructions, which, when executed on an electronic device, enable the electronic device to execute the following Figure 8 An embodiment provides a shooting method.

[0320] The various implementation modes of the present application can be combined arbitrarily to achieve different technical effects.

[0321] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in this application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) mode. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integration. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk Solid State Disk), etc.

[0322] Those skilled in the art can understand that to implement all or part of the processes in the above-mentioned embodiments, the processes can be completed by computer programs to instruct related hardware, and the programs can be stored in computer-readable storage media. When the programs are executed, they can include the processes of the above-mentioned method embodiments. The aforementioned storage media include: ROM or random access memory RAM, magnetic disk or optical disk and other media that can store program codes.

[0323] In short, the above description is only an embodiment of the technical solution of the present invention, and is not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made according to the disclosure of the present invention shall be included in the protection scope of the present invention.

Claims

1. A shooting method, characterized in that: The method comprises: The electronic device displays a preview interface, wherein the preview interface displays a first image frame captured by a camera of the electronic device and a thumbnail of a most recently taken photo; The electronic device determines, according to the first image frame, that the current scene satisfies a first preset condition, and the electronic device receives and responds to a first operation of the user on a shutter, and generates a dynamic photo, wherein the dynamic photo is generated based on a second image frame within a first preset time period before the first operation, a third image frame within a second preset time period after the first operation, and a fourth image frame, wherein the fourth image frame includes an image frame captured by the electronic device at a time corresponding to the first operation; The electronic device determines that the current scene satisfies a second preset condition based on the first image frame, and the electronic device receives and responds to the first operation of the user on the shutter to generate a static photo, which includes an image frame captured by the camera of the electronic device at the moment corresponding to the first operation.

2. The method according to claim 1, characterized in that In the case where the camera is a rear camera, the first preset condition includes: the first image frame includes a moving object.

3. The method according to claim 2, characterized in that The second preset condition includes: the first image frame does not include a moving object, or the first image frame includes a document object, a QR code object, or a barcode object.

4. The method according to any one of claims 1 to 3, characterized in that: When the camera is a front camera, the first preset condition includes: the first image frame includes a face image.

5. The method according to claim 4, characterized in that The second preset condition includes: the first image frame does not include a face image object, or the first image frame includes a document image object, a QR code image object, or a barcode image object.

6. The method according to claim 2 or 3, characterized in that: Before and after the first operation, the electronic device is not in motion or the motion amplitude of the electronic device is smaller than a preset amplitude.

7. The method according to any one of claims 1 to 6, characterized in that: After the electronic device generates the dynamic photo, the method further includes: The electronic device saves the dynamic photo, and refreshes and displays the thumbnail of the most recently taken photo as the thumbnail of the dynamic photo, where the thumbnail of the dynamic photo is obtained based on the image frame captured by the electronic device at the time corresponding to the second operation.

8. The method according to claim 7, characterized in that The method further comprises: The electronic device detects an operation of clicking on a thumbnail of the dynamic photo; The electronic device displays a large picture display interface of a gallery application, wherein the large picture display interface displays a static image of the dynamic photo, and the static image of the dynamic photo is obtained based on an image frame captured by the electronic device at a time corresponding to the second operation.

9. The method according to claim 8, characterized in that In the large picture display interface, a first identifier is displayed along with the dynamic photo, and the first identifier is used to identify that the photo is a dynamic photo.

10. The method according to any one of claims 1 to 9, characterized in that: Before the electronic device receives and responds to a first operation of the user on a shutter, the method further includes: The electronic device receives an operation from a user to start a dynamic photo shooting function and turns off the shutter sound.

11. The method according to claim 10, characterized in that The method further comprises: The electronic device detects any one or more of a zoom ratio greater than a first zoom ratio and an ambient brightness less than a first illumination value, and turns off the dynamic photo shooting function.

12. The method according to claim 10 or 11, characterized in that: The operation of enabling the dynamic photo shooting function includes an operation of enabling the dynamic photo shooting function for the first time, and the method further includes: Before the electronic device receives an operation from a user to enable a dynamic photo shooting function for the first time, the electronic device displays a first prompt message, where the first prompt message is used to prompt the user to enable the dynamic photo shooting function.

13. The method according to claim 8 or 9, characterized in that: The electronic device generates a dynamic photo, specifically comprising: The electronic device stores the second image frame, the third image frame and the fourth image frame as a video file in a video format; The electronic device stores the static image of the dynamic photo as a picture file in a picture format; The electronic device generates a dynamic photo based on the video file and the picture file.

14. The method according to claim 8 or 9, characterized in that: After the electronic device saves the dynamic photo, the method further includes: The electronic device receives a third operation of the user on the dynamic photo; In response to the third operation, the electronic device sets the fifth image frame in the video file as the cover of the dynamic photo; The electronic device displays the large image display interface of the gallery application again, and the large image display interface displays the fifth image frame.

15. An electronic device, characterized in that: The electronic device includes one or more cameras, one or more processors and one or more memories; wherein the one or more cameras, the one or more memories are coupled to the one or more processors, the one or more memories are used to store computer program codes, and the computer program codes include computer instructions, and when the one or more processors execute the computer instructions, the electronic device executes the method as described in any one of claims 1-14.

16. A chip system, the chip system is applied to electronic equipment, the chip system comprises one or more processors, characterized in that: The processor is configured to call computer instructions so that the electronic device executes the method according to any one of claims 1 to 14.

17. A computer-readable storage medium comprising instructions, characterized in that: When the instruction is executed on an electronic device, the electronic device executes the method according to any one of claims 1 to 14.

Citation Information

Patent Citations

  • Shooting method and terminal

    CN105979149A

  • Photographing control method, terminal equipment and storage medium

    CN107835363A

  • Thumbnail display control method and mobile terminal

    CN108089788A

  • Picture operation method and device, terminal equipment and storage medium

    CN112230835A

  • Medical image capturing system and medical image capturing device

    JP2014233358A