WO2022267861A1 - Photographing method and device - Google Patents

Photographing method and device Download PDF

Info

Publication number
WO2022267861A1
WO2022267861A1 PCT/CN2022/096954 CN2022096954W WO2022267861A1 WO 2022267861 A1 WO2022267861 A1 WO 2022267861A1 CN 2022096954 W CN2022096954 W CN 2022096954W WO 2022267861 A1 WO2022267861 A1 WO 2022267861A1
Authority
WO
WIPO (PCT)
Prior art keywords
mode
shooting
image
information
user
Prior art date
Application number
PCT/CN2022/096954
Other languages
French (fr)
Chinese (zh)
Inventor
丁大钧
肖斌
陆洋
朱聪超
Original Assignee
荣耀终端有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 荣耀终端有限公司 filed Critical 荣耀终端有限公司
Publication of WO2022267861A1 publication Critical patent/WO2022267861A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/667Camera operation mode switching, e.g. between still and video, sport and normal or high- and low-resolution modes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/026Details of the structure or mounting of specific components
    • H04M1/0264Details of the structure or mounting of specific components for a camera module assembly
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/57Mechanical or electrical details of cameras or camera modules specially adapted for being embedded in other devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/61Control of cameras or camera modules based on recognised objects
    • H04N23/611Control of cameras or camera modules based on recognised objects where the recognised objects include parts of the human body
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/62Control of parameters via user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/63Control of cameras or camera modules by using electronic viewfinders
    • H04N23/631Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters

Definitions

  • the embodiments of the present application relate to the field of electronic equipment, and in particular, to a photographing method and equipment.
  • the camera function of the mobile phone is getting stronger and stronger, and a variety of shooting modes are generally set in the camera application of the mobile phone for the user to choose and use.
  • the user uses the mobile phone to take pictures, the user can choose various shooting modes to take pictures.
  • Embodiments of the present application provide a photographing method and device, which solves the problem of cumbersome operations when users use different photographing modes to photograph photographs.
  • an embodiment of the present application provides a photographing method, which can be applied to an electronic device.
  • the method includes: displaying a first shooting interface, the first shooting interface displays a first image, the first image is obtained by processing a second image using the first shooting mode, and the second image is an image collected by a camera in real time; detecting the user's The first operation; in response to the first operation, collecting the first biological information of the user; in response to the collected first biological information, displaying a second shooting interface, the second shooting interface displays a third image, and the third image is a fourth image
  • the fourth image obtained through processing in the second shooting mode is an image collected by the camera in real time, wherein the first shooting mode is different from the second shooting mode.
  • the user when the user takes photos or videos, if the user needs to adopt a certain shooting mode, the user can let the electronic device identify the biological information corresponding to the shooting mode, and when the electronic device recognizes the biological information, it can match and switch to the corresponding shooting mode, so that the user can quickly switch the corresponding shooting mode and shoot.
  • the operation is more convenient, the efficiency of switching the shooting mode is improved, and it is more conducive to the user to quickly capture some fleeting scenes (or scenes).
  • the first image is the same as the second image, and/or the third image is the same as the fourth image.
  • the first image is the same as the second image, that is, the first shooting interface is a shooting interface of a shooting mode directly out of a camera such as a normal camera mode and a wide-angle mode, that is, the preview image (that is, the first image) displayed on the shooting interface adopts
  • the processed image in the first shooting mode is the same as the image collected in real time.
  • the third image is the same as the fourth image, that is, the second shooting interface is the shooting interface of the shooting modes directly out of cameras such as common camera mode and wide-angle mode, that is, the preview image (ie, the third image) displayed in this shooting mode adopts the second image.
  • the image processed by shooting mode is the same as the image collected in real time.
  • the first image is different from the second image, and/or the third image is different from the fourth image.
  • the first image is different from the second image, that is, the first shooting interface is a shooting interface of a shooting mode such as black-and-white art mode, portrait mode, etc. that add a filter or background blur, that is, the preview image displayed on the shooting interface (that is, the first image)
  • An image) processed in the first shooting mode is different from the image collected in real time.
  • the third image is different from the fourth image, that is, the second shooting interface is a shooting interface of a shooting mode such as black and white art mode, portrait mode, etc. that add a filter or background blur, that is, the preview image displayed on the shooting interface (that is, the third image ) is different from the image collected in real time after being processed by the second shooting mode.
  • displaying the second shooting interface in response to the collected first biological information includes: determining according to the preset relationship between the biological information and the shooting mode according to the collected first biological information A second shooting mode matching the collected first biological information; displaying a second shooting interface according to the second shooting mode.
  • the preset relationship between the biological information and the shooting mode may be preset by default, or may be preset by the user.
  • the first biological information includes fingerprint information
  • the first operation includes an operation in which the user's finger touches the fingerprint identification area of the electronic device
  • collecting the first biological information of the user includes: collecting the user's fingerprint information through the fingerprint identification module.
  • the user can quickly switch the corresponding shooting mode by inputting different fingerprints conveniently, thereby improving the convenience for the user to switch between different shooting modes.
  • the first shooting interface includes a shooting control, and the shooting control is used to trigger a shooting operation of the electronic device. In this way, the user can conveniently trigger the shooting operation through the shooting control.
  • the display area of the electronic device includes a first area and a second area, the shooting control is located in the first area, and the fingerprint recognition area is located in the second area.
  • the shooting controls displayed on the first shooting interface can be separated from the fingerprint recognition area, thereby preventing the user from accidentally touching the fingerprint recognition area when shooting with the first shooting interface (such as the shooting interface corresponding to the normal shooting mode), causing the electronic device to execute the fingerprint recognition area. next step of the method.
  • the first biological information includes facial expression information and/or body movement information
  • the first shooting interface includes a recognition control
  • the first operation includes the user clicking on the recognition control; collecting the user's first biological information
  • the information includes: collecting facial expression information and/or body movement information input by the user through the camera.
  • the user can quickly switch the corresponding shooting mode by inputting different facial expressions and/or body movements, thereby improving the convenience for the user to switch between different shooting modes.
  • the camera is a front camera.
  • the method further includes: shooting in the second shooting mode.
  • the method before shooting in the second shooting mode, further includes: receiving a user's shooting operation.
  • the user can control the electronic device to take pictures by inputting a shooting operation when it is necessary to take pictures, so that it is convenient for the user to grasp the timing of shooting.
  • the shooting modes include panorama mode, black and white art mode, high dynamic range image HDR mode, streamer shutter mode, time-lapse photography mode, large aperture mode, night scene mode, portrait mode, macro mode, High pixel mode and professional mode.
  • an embodiment of the present application provides a photographing device, which can be applied to an electronic device to implement the method in the first aspect above.
  • the functions of the device can be realized by hardware, and can also be realized by executing corresponding software by hardware.
  • Hardware or software includes one or more modules corresponding to the above functions, for example, a processing module and a display module.
  • the display module can be used to display the first shooting interface, the first shooting interface displays the first image, the first image is obtained by processing the second image using the first shooting mode, and the second image is an image collected by the camera in real time;
  • the processing module can be used to detect the first operation of the user; in response to the first operation, collect the first biological information of the user; in response to the collected first biological information, the display module can also be used to display the second shooting interface , the second shooting interface displays a third image, the third image is obtained by processing the fourth image using the second shooting mode, and the fourth image is an image captured by the camera in real time, wherein the first shooting mode is different from the second shooting mode.
  • the first image is the same as the second image, and/or the third image is the same as the fourth image.
  • the first image is different from the second image, and/or the third image is different from the fourth image.
  • the processing module is specifically configured to, according to the collected first biological information, determine the second biological information that matches the collected first biological information according to the preset relationship between biological information and shooting mode Shooting mode; display the second shooting interface according to the second shooting mode.
  • the first biological information includes fingerprint information
  • the first operation includes an operation in which the user's finger touches the fingerprint identification area of the electronic device
  • the processing module is specifically configured to collect the user's first fingerprint through the fingerprint identification module information.
  • the first shooting interface includes a shooting control, and the shooting control is used to trigger a shooting operation of the electronic device.
  • the display area of the electronic device includes a first area and a second area, the shooting control is located in the first area, and the fingerprint recognition area is located in the second area.
  • the first biological information includes facial expression information and/or body movement information
  • the first shooting interface includes an identification control
  • the first operation includes an operation for the user to click on the identification control
  • the processing module is specifically used to The facial expression information and/or body movement information input by the user is collected through the camera.
  • the camera is a front camera.
  • the processing module is further configured to use the second shooting mode to shoot.
  • the processing module is further configured to receive a user's shooting operation.
  • the shooting modes include panorama mode, black and white art mode, high dynamic range image HDR mode, streamer shutter mode, time-lapse photography mode, large aperture mode, night scene mode, portrait mode, macro mode, High pixel mode and professional mode.
  • an embodiment of the present application provides an electronic device, including: a processor, and a memory configured to store instructions executable by the processor.
  • the electronic device implements the shooting method as described in any one of the first aspect or possible implementation manners of the first aspect.
  • the embodiment of the present application provides a computer-readable storage medium on which computer program instructions are stored.
  • the electronic device is made to implement the photographing method described in any one of the first aspect or the possible implementation manners of the first aspect.
  • the embodiment of the present application provides a computer program product, including computer readable code, when the computer readable code is run in the electronic device, the electronic device realizes the possible functions of the first aspect or the first aspect.
  • the photographing method described in any one of the manners is implemented.
  • the embodiment of the present application provides a photographing method, which can be applied to an electronic device.
  • the method includes: displaying a first shooting interface, the first shooting interface displays a first image, and the first image is an image collected by a camera in real time; detecting a first operation of a user on the first shooting interface; in response to the first operation, the electronic device Using the first shooting mode to collect the first image frame; detecting the second operation of the user; in response to the second operation, collecting the first biological information of the user; in response to the collected first biological information, displaying the second shooting interface, the second The second shooting interface displays a second image, and the second image is an image collected by the camera in real time; a third operation performed by the user on the second shooting interface is detected; in response to the third operation, the electronic device adopts the second shooting mode to collect the second image frame; Wherein, the first shooting mode is different from the second shooting mode.
  • the user when the user takes photos or videos, if the user needs to adopt a certain shooting mode, the user can let the electronic device identify the biological information corresponding to the shooting mode, and when the electronic device recognizes the biological information, it can match and switch to the corresponding shooting mode, so that the user can quickly switch the corresponding shooting mode and shoot.
  • the operation is more convenient, the efficiency of switching the shooting mode is improved, and it is more conducive to the user to quickly capture some fleeting scenes (or scenes).
  • the image of the first image frame is the same as the first image, and/or the image of the second image frame is the same as the second image.
  • the image of the first image frame is the same as the first image, that is, the first shooting interface is a shooting interface of a shooting mode directly out of a camera such as a normal camera mode and a wide-angle mode, that is, the preview image displayed on the shooting interface (that is, the first image) is the same as the image obtained by using the first shooting mode (that is, the first image frame).
  • the image of the second image frame is the same as the second image, that is, the second shooting interface is the shooting interface of the shooting modes that cameras such as common camera mode and wide-angle mode go straight out, that is, the preview image (i.e. the third image) displayed on the shooting interface It is the same as the image (that is, the second image frame) obtained by shooting in the second shooting mode.
  • the image of the first image frame is different from the first image, and/or the image of the second image frame is different from the second image.
  • the image of the first image frame is different from the first image, that is, the first shooting interface is a shooting interface of shooting modes such as panoramic mode, HDR mode, streamer shutter mode, and time-lapse photography mode that require post-processing of the collected images
  • the preview image (ie, the first image) displayed on the shooting interface is different from the image captured by using the first shooting mode (ie, the first image frame).
  • the image of the second image frame is different from the second image, that is, the second shooting interface is a shooting interface for shooting modes such as panorama mode, HDR mode, streamer shutter mode, and time-lapse photography mode that require post-processing of the collected images. That is, the preview image (ie, the second image) displayed on the shooting interface is different from the image captured by using the second shooting mode (ie, the second image frame).
  • displaying the second shooting interface in response to the collected first biological information includes: determining according to the preset relationship between the biological information and the shooting mode according to the collected first biological information A second shooting mode matching the collected first biological information; displaying a second shooting interface according to the second shooting mode.
  • the preset relationship between the biological information and the shooting mode may be preset by default, or may be preset by the user.
  • the first biological information includes fingerprint information
  • the second operation includes an operation in which the user's finger touches the fingerprint identification area of the electronic device
  • collecting the first biological information of the user includes: collecting the user's fingerprint information through the fingerprint identification module.
  • First fingerprint information First fingerprint information.
  • the user can quickly switch the corresponding shooting mode by inputting different fingerprints conveniently, thereby improving the convenience for the user to switch between different shooting modes.
  • the first shooting interface includes a shooting control
  • the first operation includes a user's clicking operation on the shooting control. In this way, the user can conveniently trigger the shooting operation through the shooting control.
  • the display area of the electronic device includes a first area and a second area, the shooting control is located in the first area, and the fingerprint recognition area is located in the second area.
  • the shooting controls displayed on the first shooting interface can be separated from the fingerprint recognition area, thereby preventing the user from accidentally touching the fingerprint recognition area when shooting with the first shooting interface (such as the shooting interface corresponding to the normal shooting mode), causing the electronic device to execute the fingerprint recognition area. next step of the method.
  • the first biological information includes facial expression information and/or body movement information
  • the first shooting interface includes a recognition control
  • the second operation includes the operation of the user clicking on the recognition control; collecting the user's first biological information
  • the information includes: collecting facial expression information and/or body movement information input by the user through the camera.
  • the user can quickly switch the corresponding shooting mode by inputting different facial expressions and/or body movements, thereby improving the convenience for the user to switch between different shooting modes.
  • the camera is a front camera.
  • the shooting modes include panorama mode, black and white art mode, high dynamic range image HDR mode, streamer shutter mode, time-lapse photography mode, large aperture mode, night scene mode, portrait mode, macro mode, High pixel mode and professional mode.
  • the embodiment of the present application provides a photographing device, which can be applied to an electronic device, and used to implement the method in the sixth aspect above.
  • the functions of the device can be realized by hardware, and can also be realized by executing corresponding software by hardware.
  • Hardware or software includes one or more modules corresponding to the above functions, for example, a processing module and a display module.
  • the display module can be used to display the first shooting interface, and the first shooting interface displays the first image, and the first image is an image collected by the camera in real time; Operation; in response to the first operation, the electronic device adopts the first shooting mode to capture the first image frame; detects the second operation of the user; in response to the second operation, collects the first biological information of the user; in response to the collected first
  • the display module can also be used to display the second shooting interface, the second shooting interface displays the second image, and the second image is an image collected by the camera in real time; the processing module can also be used to detect the user’s reaction to the second shooting interface
  • the third operation in response to the third operation, the electronic device adopts the second shooting mode to capture the second image frame; wherein, the first shooting mode is different from the second shooting mode.
  • the image of the first image frame is the same as the first image, and/or the image of the second image frame is the same as the second image.
  • the image of the first image frame is different from the first image, and/or the image of the second image frame is different from the second image.
  • the processing module is specifically configured to, according to the collected first biological information, determine the second biological information that matches the collected first biological information according to the preset relationship between biological information and shooting mode shooting mode.
  • a second shooting interface is displayed according to the second shooting mode.
  • the first biological information includes fingerprint information
  • the second operation includes an operation in which the user's finger touches the fingerprint identification area of the electronic device
  • the processing module is specifically configured to collect the user's first fingerprint through the fingerprint identification module information.
  • the first shooting interface includes a shooting control
  • the first operation includes a user's clicking operation on the shooting control
  • the display area of the electronic device includes a first area and a second area, the shooting control is located in the first area, and the fingerprint recognition area is located in the second area.
  • the first biological information includes facial expression information and/or body movement information
  • the first shooting interface includes an identification control
  • the second operation includes an operation for the user to click on the identification control
  • the processing module is specifically used to The facial expression information and/or body movement information input by the user is collected through the camera.
  • the camera is a front camera.
  • the shooting modes include panorama mode, black and white art mode, high dynamic range image HDR mode, streamer shutter mode, time-lapse photography mode, large aperture mode, night scene mode, portrait mode, macro mode, High pixel mode and professional mode.
  • the embodiment of the present application provides an electronic device, including: a processor, and a memory configured to store instructions executable by the processor.
  • the processor When the processor is configured to execute the above instructions, the electronic device implements the photographing method according to the sixth aspect or any one of the possible implementation manners of the sixth aspect.
  • the embodiment of the present application provides a computer-readable storage medium on which computer program instructions are stored.
  • the electronic device is made to implement the photographing method according to the sixth aspect or any one of the possible implementation manners of the sixth aspect.
  • the embodiment of the present application provides a computer program product, including computer readable code, when the computer readable code is run in the electronic device, the electronic device realizes the possible functions of the sixth aspect or the sixth aspect.
  • the photographing method described in any one of the manners is implemented.
  • FIG. 1 is a schematic diagram of a scene when a shooting method provided by the related art is applied;
  • FIG. 2 is a schematic structural diagram of an electronic device provided in an embodiment of the present application.
  • FIG. 3 is a schematic flowchart of a photographing method provided in an embodiment of the present application.
  • FIG. 4 is a schematic diagram of an interface when a shooting method provided by an embodiment of the present application is applied;
  • FIG. 5 is a schematic diagram of an interface when another shooting method provided by the embodiment of the present application is applied.
  • FIG. 6 is a schematic diagram of the interface when another shooting method provided by the embodiment of the present application is applied.
  • FIG. 7 is a schematic interface diagram of another shooting method provided by the embodiment of the present application when it is applied.
  • FIG. 8 is a schematic interface diagram of another shooting method provided by the embodiment of the present application when it is applied.
  • FIG. 9 is a schematic interface diagram of another shooting method provided by the embodiment of the present application when it is applied.
  • FIG. 10 is a schematic diagram of the interface when another shooting method provided by the embodiment of the present application is applied.
  • FIG. 11 is a schematic diagram of the interface when another shooting method provided by the embodiment of the present application is applied.
  • FIG. 12 is a schematic structural diagram of a photographing device provided by an embodiment of the present application.
  • the cameras of mobile phones are constantly upgraded, and the camera functions of mobile phones are becoming more and more powerful.
  • multiple shooting modes are set for users to choose and use.
  • many mobile phones will have portrait mode, panorama mode, black and white art mode, high dynamic range image (High-Dynamic Range, HDR) mode, streamer shutter mode, time-lapse photography mode, large aperture mode, night scene mode, macro mode , high pixel mode and professional mode, etc.
  • the portrait mode can provide users with better simulated light effects when shooting people, which is convenient for users to take better-looking portraits.
  • the panorama mode enables the user to take a picture similar to that taken by a wide-angle lens, or take a panoramic photo with a wider scene range than the normal mode.
  • the black and white art mode enables users to take retro black and white photos, making the photos taken by users more retro and artistic.
  • the HDR mode enables users to take photos or videos with higher dynamic range and image details.
  • the streamer shutter mode enables users to take long-exposure images (such as gorgeous star trails, busy light trails, etc.).
  • the time-lapse photography mode enables the user to shoot a time-lapse photography video composed of multiple photos (such as the opening of flower buds, the night sky with stars moving, the surging sea of clouds, the beautiful sunrise in the east).
  • the photos taken by the user can have a better background blur effect to highlight the subject.
  • the night scene mode can make the photos or videos taken by users brighter and have better exposure.
  • the macro mode can make it easier for users to shoot very close subjects more clearly.
  • the high-pixel mode enables users to shoot images with more delicate quality.
  • the professional mode can provide users with more camera parameter setting options, enabling users to make custom adjustments to exposure, shutter speed, etc., so that users can shoot more professional images with personal characteristics.
  • the user can first select and set the corresponding shooting mode, and then take pictures after switching the camera of the mobile phone to the corresponding shooting mode.
  • the user wants to use the streamer shutter mode to take a long-exposure photo (eg, a moving track of a car).
  • the mobile phone can display the camera interface of the normal shooting mode (or the default camera interface), which can include the viewfinder frame, the first shutter control (or the normal mode or the default shutter control), options for switching commonly used shooting modes (such as "large aperture” option for switching large aperture mode, "Night Scene” option for switching night scene mode, "Night Scene” option for switching portrait mode, etc. "Portrait” option, and "More” option for users to switch between more shooting modes).
  • the user needs to select the streamer shutter mode, as shown in (a) in FIG. 1 , the user can select the streamer shutter mode in more shooting modes by clicking the "more” option.
  • the mobile phone can display more shooting mode options (for example, the "Panorama” option for turning on the panorama mode shown in Figure 1, using “B&W Art” option for turning on Black & White Art mode, "HDR” option for turning on HDR mode, "Streaming Shutter” option for turning on Streaming Shutter mode, "Time Lapse” option for turning on Time Lapse mode Wait).
  • the user can click on the "streamer shutter” option to enable the streamer shutter mode. After the user turns on the streamer shutter mode, as shown in (c) in FIG. ). The user can perform long exposure shooting by clicking the second shutter control in the shooting interface of the streamer shutter mode.
  • an embodiment of the present application provides a photographing method.
  • the shooting method can be applied to a scene where a user takes a photo or a video through an electronic device.
  • taking the electronic device as a mobile phone as an example when the user opens the camera application in the mobile phone to take pictures, if the user needs to take photos or videos in a certain shooting mode, he can use the shooting method to quickly use the corresponding shooting mode to capture shoot.
  • the shooting method may include: when the user takes a photo or video, the electronic device may identify the user's biological information (such as fingerprint information, facial expression information, body movement information, etc.). The electronic device can match and switch the corresponding shooting mode according to the identified biological information of the user and the preset relationship between the biological information and the shooting mode. Then, the user can shoot according to the shooting mode matched by the electronic device. That is, when the electronic device displays the first shooting interface corresponding to the first shooting mode (such as the default mode), if the user performs the operation of inputting biological information, the electronic device can match the corresponding second shooting mode according to the biological information input by the user, And display the second shooting interface corresponding to the second shooting mode.
  • the electronic device may identify the user's biological information (such as fingerprint information, facial expression information, body movement information, etc.).
  • the electronic device can match and switch the corresponding shooting mode according to the identified biological information of the user and the preset relationship between the biological information and the shooting mode. Then, the user can shoot according to the shooting mode matched
  • the preview image (such as the first image) displayed on it may be obtained by processing the image (such as the second image) collected by the camera in real time by using the first shooting mode.
  • the image (such as the third image) displayed on the second shooting interface corresponding to the second shooting mode may also be obtained by processing the image (such as the fourth image) collected by the camera in real time by using the second shooting mode.
  • the first image and the second image may be the same or different.
  • the first image is the same as the second image, that is, the first shooting interface is the shooting interface of the shooting modes such as common camera mode and wide-angle mode, and the preview image (i.e. the first image) displayed on the shooting interface adopts the first image.
  • the image processed by shooting mode is the same as the image collected in real time.
  • the first image is different from the second image, that is, the first shooting interface is a shooting interface of a shooting mode such as black-and-white art mode, portrait mode, etc. that add a filter or background blur, that is, the preview image displayed on the shooting interface (that is, the first image ) is different from the image collected in real time after being processed by the first shooting mode.
  • the third image and the fourth image may be the same or different.
  • the third image is the same as the fourth image, that is, the second shooting interface is the shooting interface of the shooting modes directly out of cameras such as common camera mode and wide-angle mode, that is, the preview image (ie, the third image) displayed in this shooting mode adopts the second image.
  • the image processed by shooting mode is the same as the image collected in real time.
  • the third image is different from the fourth image, that is, the second shooting interface is a shooting interface of a shooting mode such as black and white art mode, portrait mode, etc. that add a filter or background blur, that is, the preview image displayed on the shooting interface (that is, the third image ) is different from the image collected in real time after being processed by the second shooting mode.
  • the first shooting interface corresponding to the first shooting mode may be a shooting interface capable of capturing an image (such as a first image) captured by a camera and processing an image (such as a first image frame) in the first shooting mode, That is, the first shooting interface can display real-time captured images (such as the first image), and when the user uses the first shooting interface to perform a shooting operation (such as the first operation), the first image frame captured by the first shooting mode can be obtained .
  • the second shooting interface corresponding to the second shooting mode may be a shooting interface capable of shooting an image (such as a second image frame) obtained by processing an image (such as a second image) collected by the camera in the second shooting mode, that is, the second shooting interface
  • the second shooting interface can display real-time captured images (such as the second image), and when the user uses the second shooting interface to perform a shooting operation (such as the third operation), the second image frame captured in the second shooting mode can be obtained.
  • the image of the first image frame may be the same as or different from the first image.
  • the image of the first image frame is the same as the first image, that is, the first shooting interface is the shooting interface of the shooting modes that cameras such as common camera mode and wide-angle mode go straight out, that is, the preview image (i.e. the first image) displayed on the shooting interface It is the same as the image (that is, the first image frame) obtained by shooting in the first shooting mode.
  • the image of the first image frame is different from the first image, that is, the first shooting interface is a shooting interface for shooting modes such as panoramic mode, HDR mode, streamer shutter mode, and time-lapse photography mode that require post-processing of the collected images. That is, the preview image (ie, the first image) displayed on the shooting interface is different from the image captured by using the first shooting mode (ie, the first image frame).
  • the image of the second image frame may be the same as or different from the second image.
  • the image of the second image frame is the same as the second image, that is, the second shooting interface is the shooting interface of the shooting modes that cameras such as common camera mode and wide-angle mode go straight out, that is, the preview image (i.e. the third image) displayed on the shooting interface It is the same as the image (that is, the second image frame) obtained by shooting in the second shooting mode.
  • the image of the second image frame is different from the second image, that is, the second shooting interface is a shooting interface for shooting modes such as panorama mode, HDR mode, streamer shutter mode, and time-lapse photography mode that require post-processing of the collected images. That is, the preview image (ie, the second image) displayed on the shooting interface is different from the image captured by using the second shooting mode (ie, the second image frame).
  • the preset relationship between the biological information and the shooting mode may be the default relationship between the biological information and the shooting mode preset in the factory. It may also be that the user pre-sets the relationship between the entered biological information and the shooting mode on the electronic device.
  • Shooting modes can include portrait mode, panorama mode, black and white art mode, high dynamic range image (High-Dynamic Range, HDR) mode, streamer shutter mode, time-lapse photography mode, large aperture mode, night scene mode, macro mode, high pixel mode and professional mode, etc., there is no limitation here.
  • HDR High-Dynamic Range
  • the user when the user takes photos or videos, if the user needs to adopt a certain shooting mode, the user can let the electronic device identify the biological information corresponding to the shooting mode, and when the electronic device recognizes the biological information, it can match and switch. to the corresponding shooting mode, so that the user can quickly switch the corresponding shooting mode and shoot.
  • the operation is more convenient, the efficiency of switching the shooting mode is improved, and it is more conducive to the user to quickly capture some fleeting scenes (or scenes).
  • the above-mentioned electronic device is a device with a camera function (such as a device with a camera module), which can be a mobile phone, a tablet computer, a handheld computer, a PC, a cell phone, a personal digital assistant (personal digital assistant, PDA) ), wearable devices (such as: smart watches, smart bracelets), smart home devices (such as: TV sets), car machines (such as: car computers), smart screens, game consoles, smart TV boxes, and augmented reality (augmented reality (AR)/virtual reality (virtual reality, VR) equipment, etc.
  • augmented reality augmented reality (AR)/virtual reality (virtual reality, VR) equipment, etc.
  • AR augmented reality
  • VR virtual reality
  • FIG. 2 shows a schematic structural diagram of an electronic device provided by an embodiment of the present application. That is, for example, the electronic device shown in FIG. 2 may be a mobile phone.
  • the electronic device may include a processor 210, an external memory interface 220, an internal memory 221, a universal serial bus (universal serial bus, USB) interface 230, a charging management module 240, a power management module 241, a battery 242, Antenna 1, antenna 2, mobile communication module 250, wireless communication module 260, audio module 270, speaker 270A, receiver 270B, microphone 270C, earphone interface 270D, sensor module 280, button 290, motor 291, indicator 292, camera 293, A display screen 294, and a subscriber identification module (subscriber identification module, SIM) card interface 295, etc.
  • SIM subscriber identification module
  • the sensor module 280 may include a pressure sensor 280A, a gyroscope sensor 280B, an air pressure sensor 280C, a magnetic sensor 280D, an acceleration sensor 280E, a distance sensor 280F, a proximity light sensor 280G, a fingerprint sensor 280H, a temperature sensor 280J, a touch sensor 280K, an environment Light sensor 280L, bone conduction sensor 280M, etc.
  • the structure shown in this embodiment does not constitute a specific limitation on the electronic device.
  • the electronic device may include more or fewer components than shown, or combine certain components, or separate certain components, or arrange different components.
  • the illustrated components can be realized in hardware, software or a combination of software and hardware.
  • the processor 210 may include one or more processing units, for example: the processor 210 may include an application processor (application processor, AP), a modem processor, a graphics processing unit (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), controller, memory, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural network processor (neural-network processing unit, NPU) Wait. Wherein, different processing units may be independent devices, or may be integrated in one or more processors.
  • application processor application processor, AP
  • modem processor graphics processing unit
  • graphics processing unit graphics processing unit
  • ISP image signal processor
  • controller memory
  • video codec digital signal processor
  • DSP digital signal processor
  • baseband processor baseband processor
  • neural network processor neural-network processing unit, NPU
  • a controller can be the nerve center and command center of an electronic device.
  • the controller can generate an operation control signal according to the instruction opcode and timing signal, and complete the control of fetching and executing the instruction.
  • a memory may also be provided in the processor 210 for storing instructions and data.
  • the memory in processor 210 is a cache memory.
  • the memory may hold instructions or data that the processor 210 has just used or recycled. If the processor 210 needs to use the instruction or data again, it can be called directly from the memory. Repeated access is avoided, and the waiting time of the processor 210 is reduced, thereby improving the efficiency of the system.
  • processor 210 may include one or more interfaces.
  • the interface may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous transmitter (universal asynchronous receiver/transmitter, UART) interface, mobile industry processor interface (mobile industry processor interface, MIPI), general-purpose input and output (general-purpose input/output, GPIO) interface, subscriber identity module (subscriber identity module, SIM) interface, and /or universal serial bus (universal serial bus, USB) interface, etc.
  • I2C integrated circuit
  • I2S integrated circuit built-in audio
  • PCM pulse code modulation
  • PCM pulse code modulation
  • UART universal asynchronous transmitter
  • MIPI mobile industry processor interface
  • GPIO general-purpose input and output
  • subscriber identity module subscriber identity module
  • SIM subscriber identity module
  • USB universal serial bus
  • the wireless communication function of the electronic device can be realized by the antenna 1, the antenna 2, the mobile communication module 250, the wireless communication module 260, the modem processor and the baseband processor.
  • Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals.
  • Each antenna in an electronic device can be used to cover a single or multiple communication frequency bands. Different antennas can also be multiplexed to improve the utilization of the antennas.
  • Antenna 1 can be multiplexed as a diversity antenna of a wireless local area network.
  • the antenna may be used in conjunction with a tuning switch.
  • the mobile communication module 250 can provide wireless communication solutions including 2G/3G/4G/5G applied to electronic devices.
  • the mobile communication module 250 may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA) and the like.
  • the mobile communication module 250 can receive electromagnetic waves through the antenna 1, filter and amplify the received electromagnetic waves, and send them to the modem processor for demodulation.
  • the mobile communication module 250 can also amplify the signal modulated by the modem processor, and convert it into electromagnetic waves through the antenna 1 for radiation.
  • at least part of the functional modules of the mobile communication module 250 may be set in the processor 210 .
  • at least part of the functional modules of the mobile communication module 250 and at least part of the modules of the processor 210 may be set in the same device.
  • the wireless communication module 260 can provide wireless local area networks (wireless local area networks, WLAN) (such as wireless fidelity (Wi-Fi) network), bluetooth (bluetooth, BT), global navigation satellite system, etc. (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field communication technology (near field communication, NFC), infrared technology (infrared, IR) and other wireless communication solutions.
  • the wireless communication module 260 may be one or more devices integrating at least one communication processing module.
  • the wireless communication module 260 receives electromagnetic waves via the antenna 2 , frequency-modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 210 .
  • the wireless communication module 260 can also receive the signal to be sent from the processor 210 , frequency-modulate it, amplify it, and convert it into electromagnetic waves through the antenna 2 to radiate out.
  • the antenna 1 of the electronic device is coupled to the mobile communication module 250, and the antenna 2 is coupled to the wireless communication module 260, so that the electronic device 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 (general packet radio service, GPRS), code division multiple access (code division multiple access, CDMA), broadband Code division multiple access (wideband code division multiple access, WCDMA), time division code division multiple access (time-division code division multiple access, TD-SCDMA), long term evolution (long term evolution, LTE), BT, GNSS, WLAN, NFC , FM, and/or IR techniques, etc.
  • GSM global system for mobile communications
  • GPRS general packet radio service
  • code division multiple access code division multiple access
  • CDMA broadband Code division multiple access
  • WCDMA wideband code division multiple access
  • time division code division multiple access time-division code division multiple access
  • TD-SCDMA time-division code division multiple access
  • LTE
  • the GNSS may include a global positioning system (global positioning system, GPS), a global navigation satellite system (global navigation satellite system, GLONASS), a Beidou navigation satellite system (beidou navigation satellite system, BDS), a quasi-zenith satellite system (quasi -zenith satellite system (QZSS) and/or satellite based augmentation systems (SBAS).
  • GPS global positioning system
  • GLONASS global navigation satellite system
  • Beidou navigation satellite system beidou navigation satellite system
  • BDS Beidou navigation satellite system
  • QZSS quasi-zenith satellite system
  • SBAS satellite based augmentation systems
  • the electronic device realizes the display function through the GPU, the display screen 294, and the application processor.
  • the GPU is a microprocessor for image processing, and is connected to the display screen 294 and the application processor. GPUs are used to perform mathematical and geometric calculations for graphics rendering.
  • Processor 210 may include one or more GPUs that execute program instructions to generate or change display information.
  • the display screen 294 is used to display images, videos and the like.
  • Display 294 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 (active-matrix organic light emitting diode, AMOLED), flexible light-emitting diode (flex light-emitting diode, FLED), Miniled, MicroLed, Micro-oLed, quantum dot light emitting diodes (quantum dot light emitting diodes, QLED), etc.
  • the electronic device may include 1 or N display screens 294, where N is a positive integer greater than 1.
  • the electronic device can realize the shooting function through ISP, camera 293 , video codec, GPU, display screen 294 and application processor.
  • the electronic device may include 1 or N cameras 293, where N is a positive integer greater than 1.
  • the ISP is used for processing the data fed back by the camera 293 .
  • the light is transmitted to the photosensitive element of the camera through the lens, and the light signal is converted into an electrical signal, and the photosensitive element of the camera transmits the electrical signal to the ISP for processing, and converts it into an image visible to the naked eye.
  • ISP can also perform algorithm optimization on image noise, brightness, and skin color.
  • ISP can also optimize the exposure, color temperature and other parameters of the shooting scene.
  • the ISP may be located in the camera 293 .
  • Camera 293 is used to capture still images or video.
  • the object generates an optical image through the lens and projects it to the photosensitive element.
  • the photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor.
  • CMOS complementary metal-oxide-semiconductor
  • the photosensitive element converts the light signal into an electrical signal, and then transmits the electrical signal to the ISP to convert it into a digital image signal.
  • the ISP outputs the digital image signal to the DSP for processing.
  • DSP converts digital image signals into standard RGB, YUV and other image signals.
  • the electronic device may include 1 or N cameras 293, where N is a positive integer greater than 1.
  • the NPU is a neural-network (NN) computing processor.
  • NPU neural-network
  • Applications such as intelligent cognition of electronic devices can be realized through NPU, such as: image recognition, face recognition, speech recognition, text understanding, etc.
  • the internal memory 221 may be used to store computer-executable program codes including instructions.
  • the processor 210 executes various functional applications and data processing of the electronic device by executing instructions stored in the internal memory 221 .
  • the internal memory 221 may include an area for storing programs and an area for storing data.
  • the stored program area can store an operating system, at least one application program required by a function (such as a sound playing function, an image playing function, etc.) and the like.
  • the storage data area can store data (such as audio data, phone book, etc.) created during the use of the electronic device.
  • the internal memory 221 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, universal flash storage (universal flash storage, UFS) and the like.
  • the electronic device can realize the audio function through the audio module 270, the speaker 270A, the receiver 270B, the microphone 270C, the earphone interface 270D, and the application processor. Such as music playback, recording, etc.
  • FIG. 2 is only an exemplary description when the form of the electronic device is a mobile phone.
  • the electronic device is a tablet computer, handheld computer, PC, PDA, wearable device (such as: smart watch, smart bracelet), smart home equipment (such as: smart TV), car machine (such as: vehicle computer), smart screen , game consoles, AR/VR devices, and other device forms
  • the structure of the electronic device may include fewer structures than those shown in Figure 2, or may include more structures than those shown in Figure 2, and there is no limitation here .
  • FIG. 3 shows a schematic flow chart of a shooting method provided by an embodiment of the present application.
  • the photographing method may include the following S301-S303.
  • the electronic device collects the user's biometric information (such as first biometric information).
  • the user's operation of collecting biometric information may be the operation of the user touching the fingerprint detection area, or the user clicking a shooting control (such as a shutter control, a video recording control, etc., which are used for the user to trigger video shooting or photo shooting).
  • a shooting control such as a shutter control, a video recording control, etc., which are used for the user to trigger video shooting or photo shooting.
  • biometric information as user's fingerprint information as an example.
  • the user's operation of detecting biometric information may be an operation of the user touching the fingerprint recognition area. That is, when a certain finger of the user touches the fingerprint recognition area, the electronic device can turn on the fingerprint recognition module to collect the fingerprint information of the user's corresponding finger, so as to match the corresponding photographing mode according to the collected fingerprint information.
  • the fingerprint recognition module can be an under-screen fingerprint recognition module, or a fingerprint recognition module arranged on the back or side of the electronic device, or a fingerprint recognition module arranged on the button of the electronic device (for example, arranged on the electronic device fingerprint recognition module on the main screen).
  • the shooting control can be set at a position away from the fingerprint recognition area of the off-screen fingerprint recognition module when the electronic device starts the function realized by the shooting method (that is, When the electronic device turns on the above functions, the shooting control displayed by the electronic device is located at a position away from the fingerprint recognition area of the fingerprint recognition module under the screen.
  • the display area of the electronic device may include a first area and a second area, and the shooting control is located in the first area, the fingerprint identification area is located in the second area), so as to prevent the user from mistakenly touching the fingerprint identification area of the fingerprint identification module under the screen when the user clicks the shooting control in order to take pictures in the normal mode (or default mode), causing the electronic device to collect the user's fingerprint by mistake information and matches the relevant camera modules to switch.
  • the electronic device can also set the shooting control as an active control (that is, the shooting control can be freely dragged by the user) when the function implemented by the shooting method is turned on, so that The user can freely choose the position of the shooting control according to the actual situation to avoid the interference of the fingerprint recognition module under the screen to take pictures in the normal mode.
  • the shooting control as an active control (that is, the shooting control can be freely dragged by the user) when the function implemented by the shooting method is turned on, so that The user can freely choose the position of the shooting control according to the actual situation to avoid the interference of the fingerprint recognition module under the screen to take pictures in the normal mode.
  • the operation for the user to detect the biometric information may be an operation in which the user clicks on the recognition control (the recognition control may be a separately set control, or the shooting control may be used as the recognition control). That is, after the user clicks on the recognition control, the electronic device can turn on the camera module to collect the user's facial expression information, so as to subsequently match the corresponding photographing mode according to the collected facial expression information. Wherein, as an example, the electronic device may use the front camera of the camera module to collect facial expression information of the user.
  • the operation for the user to detect the biometric information may be an operation in which the user clicks on the recognition control (the recognition control may be a separately set control, or the shooting control may be used as the recognition control). That is, after the user clicks on the recognition control, the electronic device can turn on the camera module to collect the user's body movement information, so as to subsequently match the corresponding photographing mode according to the collected body movement information. Wherein, as an example, the electronic device may use a front camera to collect user's body movement information.
  • the electronic device determines, according to the collected biological information, a shooting mode (such as a second shooting mode) that matches the collected biological information according to a preset relationship between the biological information and the shooting mode.
  • a shooting mode such as a second shooting mode
  • the relationship between the biological information and the shooting mode may be the mapping relationship between the biological information and the shooting mode set by factory default.
  • the biological information is the facial expression information of the user
  • the shooting mode corresponding to the smiling face can be set as the panorama mode by default
  • the shooting mode corresponding to the grimace is the black and white art mode, etc. by default.
  • the relationship between the biometric information and the shooting mode may also be the relationship between the biometric information and the shooting mode set and entered by the user on the electronic device in advance.
  • the user can pre-enter and set the fingerprint information of five fingers of a certain hand (such as the right hand) in the electronic device, and set corresponding shooting modes for the fingerprint information of different fingers .
  • set the shooting mode corresponding to the fingerprint information of the thumb to panorama mode set the shooting mode corresponding to the fingerprint information of the index finger to black and white art mode
  • set the shooting mode corresponding to the fingerprint information of the middle finger to HDR mode set the shooting mode corresponding to the fingerprint information of the ring finger
  • the shooting mode is the streamer shutter mode
  • the shooting mode corresponding to the fingerprint information of the little finger is set to the time-lapse photography mode.
  • the user can set the relationship between the biometric information entered and the shooting mode in the setting interface.
  • the setting interface may include a "fingerprint shooting" function option.
  • the electronic device can display a list of fingerprint information including the fingerprint information that the user has entered (such as fingerprint information including the user's thumb fingerprint information).
  • Fingerprint 2 including the fingerprint information of the user's index finger
  • fingerprint 3 including the fingerprint information of the user's middle finger
  • fingerprint 4 including the fingerprint information of the ring finger of the user
  • fingerprint 5 including the fingerprint information of the user's little finger.
  • the user can configure the shooting mode corresponding to the fingerprint information contained in the fingerprint by clicking the corresponding fingerprint in the fingerprint information list. For example, taking the user's click on fingerprint 1 as an example, after the user clicks on fingerprint 1, as shown in (c) in Figure 4, the electronic device may display an interface for configuring fingerprint 1, which may include unconfigured shooting modes . For example, including panorama mode, black and white art mode, HDR mode, streamer shutter mode, and time-lapse photography mode.
  • the user can configure the fingerprint 1 by clicking on the corresponding shooting mode. For example, by clicking on the panorama mode, the user can set the user's thumbprint information included in the fingerprint 1 to correspond to the panorama mode.
  • the above fingerprint information list may also include a control for the user to add fingerprints, and the user may click on this control to add fingerprint information of other fingers and set a corresponding shooting mode.
  • a control for the user to add fingerprints for example, as shown in (a) in Figure 5, in the fingerprint information list based on (b) in Figure 4, it may also include an "add fingerprint” control (this control is the controls).
  • the electronic device can display an interface for adding a fingerprint (this interface can include the fingerprint recognition area 501 of the fingerprint recognition module under the screen and the fingerprint entry instruction screen 502 Wait).
  • the electronic device may display an interface for configuring the fingerprints just added by the user, which may include unconfigured shooting model. For example, including black and white art mode, HDR mode, streamer shutter mode, and time-lapse photography mode. Users can configure the fingerprint by clicking the corresponding shooting mode. For example, by clicking on the black and white art mode, the user can set the fingerprint information included in the newly added fingerprint to correspond to the black and white art mode.
  • unconfigured shooting model For example, including black and white art mode, HDR mode, streamer shutter mode, and time-lapse photography mode. Users can configure the fingerprint by clicking the corresponding shooting mode. For example, by clicking on the black and white art mode, the user can set the fingerprint information included in the newly added fingerprint to correspond to the black and white art mode.
  • the user can pre-enter the facial expression information of certain facial expressions in the electronic device (such as the facial expression information of a smiling face, the facial expression information of a grimace, etc.), and Corresponding shooting modes are set for different facial expression information.
  • the shooting mode corresponding to the facial expression information of a smiling face is set to be a panorama mode
  • the shooting mode corresponding to the facial expression information of a grimace is set to be a streamer shutter mode, etc.
  • the user can set the relationship between the biometric information entered and the shooting mode in the setting interface. For example, as shown in (a) in FIG. 6 , the user can open the setting interface.
  • the setting interface may include a "expression shooting" function option.
  • the electronic device can display a list of facial expression information that includes the facial expression information that the user has entered (such as a list of facial expression information that includes a smiling face) Expression 1, Expression 2) including facial expression information of a grimace.
  • the user can configure the shooting mode corresponding to the facial expression information contained in the facial expression by clicking on the corresponding facial expression in the facial expression information list.
  • emoticon 1 For example, taking the user’s click on emoticon 1 as an example, after the user clicks on emoticon 1, as shown in (c) in FIG.
  • it includes panorama mode, black and white art mode, HDR mode, streamer shutter mode, and time-lapse photography mode.
  • the user can configure the expression 1 by clicking on the corresponding shooting mode.
  • the user can set the facial expression information of the smiling face contained in the expression 1 to correspond to the panorama mode.
  • the above facial expression information list may also include a control for the user to add facial expression information, and the user may click the control to add facial expression information of other facial expressions and set a corresponding shooting mode.
  • a control for the user to add facial expression information in the facial expression information list based on (b) in Figure 6, you can also include an "add expression” control (this control is for the user to add facial emoticon information control).
  • the electronic device may display an interface for adding emoticons.
  • the electronic device can display an interface for configuring the facial expression information just added by the user. The configured shooting mode.
  • the user can configure the facial expression information by clicking on the corresponding shooting mode. For example, by clicking on the streamer shutter mode, the user can set the facial expression information just added to correspond to the streamer shutter mode.
  • the user can also pre-enter and set some body movement information in the electronic device (such as the body movement information of the heart gesture, the body movement information of the victory gesture, etc.) etc.), and correspondingly set corresponding shooting modes for different body movement information.
  • the shooting mode corresponding to the body movement information of the heart gesture is set as the panorama mode
  • the shooting mode corresponding to the body movement information of the victory gesture is set as the streamer shutter mode, etc.
  • the user can set the relationship between the biometric information entered and the shooting mode in the setting interface.
  • the user can open the setting interface.
  • the setting interface may include an "action shooting" function option.
  • action 2 of the body action information including the victory gesture.
  • the user can configure the shooting mode corresponding to the body movement information contained in the movement by clicking on the corresponding movement in the body movement information list. For example, taking the user's click on action 1 as an example, after the user clicks on action 1, as shown in (c) in Figure 8, the electronic device may display an interface for configuring action 1, which may include unconfigured shooting modes . For example, including panorama mode, black and white art mode, HDR mode, streamer shutter mode, and time-lapse photography mode.
  • the user can configure the action 1 by clicking the corresponding shooting mode. For example, by clicking on the panorama mode, the user can set the body movement information of the heart-to-heart gesture contained in Action 1 to correspond to the panorama mode.
  • the above body movement information list may also include a control for the user to add body movement information, and the user may click on the control to add body movement information of other body movements and set a corresponding shooting mode.
  • a control for the user to add body movement information for example, as shown in (a) in Figure 9, in the body action information list based on (b) in Figure 8, an "add action" control (this control is used for the user to add a body controls for action information).
  • the electronic device may display an interface for adding an action.
  • the electronic device may display an interface for configuring the body movement information just added by the user. The configured shooting mode.
  • the user can configure the body movement information by clicking on the corresponding shooting mode. For example, by clicking on the streamer shutter mode, the user can set the newly added body movement information to correspond to the streamer shutter mode.
  • the electronic device may store the relationship between the biological information and the shooting mode set by the user in the ontology database.
  • the relationship between biological information and shooting modes may be stored in the form of a mapping table. For example, taking biological information as fingerprint information, fingerprint 1 contains the fingerprint information of the user's thumb, fingerprint 2 contains the fingerprint information of the user's index finger, fingerprint 3 contains the fingerprint information of the user's middle finger, fingerprint 4 contains the fingerprint information of the ring finger of the user, and fingerprint 4 contains the fingerprint information of the user's ring finger. Taking the little finger fingerprint information as an example, the mapping table used to store the relationship between biological information and shooting modes can be shown in Table 1.
  • fingerprint shooting mode none default mode Fingerprint 1 panorama mode Fingerprint 2 black and white art mode Fingerprint 3 HDR mode Fingerprint 4 streamer shutter mode Fingerprint 5 Time Lapse Mode
  • the relationship between biometric information and shooting modes is that the shooting mode corresponding to no matching fingerprint information is the default mode, the shooting mode corresponding to fingerprint 1 containing the fingerprint information of the thumb is the panorama mode, and the fingerprint 2 containing the fingerprint information of the index finger corresponds to
  • the shooting mode of the camera is black and white art mode
  • the shooting mode corresponding to the fingerprint 3 containing the fingerprint information of the middle finger is HDR mode
  • the shooting mode corresponding to the fingerprint 4 containing the fingerprint information of the ring finger is the streamer shutter mode
  • the fingerprint 5 containing the fingerprint information of the little finger corresponds to
  • the shooting mode is time-lapse photography mode.
  • the biological information is other information (such as facial expression information, body movement information, etc.)
  • the mapping table for storing the relationship between the biological information and the shooting mode may be similar to that shown in Table 1, and will not be exemplified here.
  • determining the shooting mode that matches the collected biological information according to the preset relationship between the biological information and the shooting mode may be to match and compare the collected biological information with the relationship between the biological information and the shooting mode (or search in the preset relationship between biological information and shooting modes according to the collected biological information), so as to determine the shooting mode corresponding to the collected biological information.
  • the relationship between biological information and shooting modes is stored in the form of a mapping table
  • corresponding fingerprints can be matched in the mapping table according to the collected biological information, and then the corresponding shooting mode can be queried.
  • the user may be prompted that no relevant shooting mode is matched, and the default mode is kept.
  • the biological information is facial expression information, body movement information and other information that needs to be collected through the camera module.
  • the electronic device also performs other functions according to the user's facial expression information and body movement information collected by the camera module, in order to avoid conflicts, the electronic device can set a priority for corresponding operations after the user's biological information is collected.
  • the biological information is facial expression information.
  • the electronic device collects the user's facial expression information through the front camera to match the corresponding shooting mode, the electronic device will also collect the user's facial expression information through the front camera for automatic shooting (ie expression capture) .
  • the electronic device can set the priority of matching the photographing mode according to the facial expression information to be lower than the priority of automatic shooting according to the facial expression information, so that the electronic device can give priority to automatic shooting according to the facial expression when the above conflict occurs.
  • the electronic device switches to a shooting mode (such as a second shooting mode) that matches the collected biological information.
  • the electronic device After the electronic device matches and determines the corresponding shooting mode according to the collected biological information, the electronic device can switch to the shooting mode so that the user can take pictures in this shooting mode.
  • a shooting interface (such as a second shooting interface) corresponding to the switched shooting mode may be displayed.
  • the photographing mode corresponding to the fingerprint information of the user's index finger is the streamer shutter mode as an example.
  • the shooting interface of the normal mode may include the recognition area 1001 of the fingerprint recognition module under the screen, and the shooting of the fingerprint recognition area far away from the fingerprint recognition module of the screen Control 1002, etc.
  • the user can switch the streamer shutter shooting mode by placing the index finger on the fingerprint recognition area of the fingerprint recognition module under the screen.
  • the electronic device can switch to the shooting interface of the streamer shutter shooting mode.
  • the biometric information is used as facial expression information, and the relationship between the biometric information and the shooting mode is set to be that the shooting mode corresponding to the smiling face is the black and white art mode, and the shooting control is used as the recognition control as an example.
  • the shooting control is used as the recognition control as an example.
  • the electronic device may also display the object captured by the rear camera), as shown in (b) in Figure 11, the electronic device can switch Go to the shooting interface of black and white art mode. At this point, the user can click the shooting control again to shoot in black and white art mode.
  • the electronic device when the electronic device switches to a shooting mode that matches the collected biological information, the electronic device can automatically shoot, that is, after switching the shooting mode, the electronic device can automatically use the shooting mode to shoot the current viewfinder.
  • the electronic device may not automatically shoot. Instead, when a user's shooting operation (such as clicking on a shooting control) is received, shooting is performed in response to the user's operation. There are no restrictions here.
  • the user when the user takes photos or videos, if the user needs to adopt a certain shooting mode, the user can let the electronic device identify the biological information corresponding to the shooting mode, and when the electronic device recognizes the biological information, it can It can match and switch to the corresponding shooting mode, so that it is convenient for the user to quickly switch to the corresponding shooting mode and shoot. It makes the operation easier for users to take photos or videos in different shooting modes, improves the efficiency of users switching shooting modes, and is more conducive to users to quickly capture some fleeting scenes.
  • the embodiments of the present application further provide a photographing device.
  • the apparatus may be applied to the above-mentioned electronic equipment to implement the methods in the foregoing embodiments.
  • the functions of the device can be realized by hardware, and can also be realized by executing corresponding software by hardware.
  • Hardware or software includes one or more modules corresponding to the above-mentioned functions.
  • FIG. 12 shows a schematic structural diagram of a photographing device. As shown in FIG. 12 , the device includes: a processing module 1201 , a display module 1202 and the like.
  • the processing module 1201 and the display module 1202 may cooperate to implement the related methods in the foregoing embodiments.
  • units in the above device is only a division of logical functions, and may be fully or partially integrated into a physical entity or physically separated during actual implementation.
  • the units in the device can all be implemented in the form of software called by the processing element; they can also be implemented in the form of hardware; some units can also be implemented in the form of software called by the processing element, and some units can be implemented in the form of hardware.
  • each unit can be a separate processing element, or it can be integrated in a certain chip of the device. In addition, it can also be stored in the memory in the form of a program, which is called and executed by a certain processing element of the device. Function. In addition, all or part of these units can be integrated together, or implemented independently.
  • the processing element described here may also be referred to as a processor, and may be an integrated circuit with a signal processing capability. In the process of implementation, each step of the above method or each unit above may be implemented by an integrated logic circuit of hardware in the processor element or implemented in the form of software called by the processing element.
  • the units in the above device may be one or more integrated circuits configured to implement the above method, for example: one or more ASICs, or, one or more DSPs, or, one or more FPGAs, Or a combination of at least two of these integrated circuit forms.
  • the processing element can be a general-purpose processor, such as a CPU or other processors that can call programs.
  • these units can be integrated together and implemented in the form of a system-on-a-chip (SOC).
  • the units of the above apparatus for implementing each corresponding step in the above method may be implemented in the form of a processing element scheduler.
  • the apparatus may include a processing element and a storage element, and the processing element invokes a program stored in the storage element to execute the methods described in the above method embodiments.
  • the storage element may be a storage element on the same chip as the processing element, that is, an on-chip storage element.
  • the program for executing the above method may be stored in a storage element on a different chip from the processing element, that is, an off-chip storage element.
  • the processing element invokes or loads a program from the off-chip storage element to the on-chip storage element, so as to invoke and execute the methods described in the above method embodiments.
  • an embodiment of the present application may also provide an apparatus, such as an electronic device, which may include a processor, and a memory configured to store instructions executable by the processor.
  • an electronic device which may include a processor, and a memory configured to store instructions executable by the processor.
  • the processor When the processor is configured to execute the above instructions, the electronic device implements the photographing method implemented by the electronic device in the foregoing embodiments.
  • the memory can be located inside the electronic device or outside the electronic device.
  • the processor includes one or more.
  • the unit of the apparatus that implements each step in the above method may be configured as one or more processing elements, and these processing elements may be set on the corresponding electronic equipment described above, where the processing elements may be integrated circuits , for example: one or more ASICs, or one or more DSPs, or one or more FPGAs, or a combination of these types of integrated circuits. These integrated circuits can be integrated together to form a chip.
  • an embodiment of the present application further provides a chip system, and the chip system may be applied to the above-mentioned electronic device.
  • the chip system includes one or more interface circuits and one or more processors; the interface circuits and the processors are interconnected through lines; the processor receives and executes computer instructions from the memory of the electronic device through the interface circuits, so as to realize the electronic processing in the above method embodiments.
  • Device-dependent methods include one or more interface circuits and one or more processors; the interface circuits and the processors are interconnected through lines; the processor receives and executes computer instructions from the memory of the electronic device through the interface circuits, so as to realize the electronic processing in the above method embodiments.
  • Device-dependent methods are possible implementation of the present application.
  • An embodiment of the present application further provides a computer program product, including computer instructions executed by an electronic device, such as the above-mentioned electronic device.
  • the disclosed devices and methods may be implemented in other ways.
  • the device embodiments described above are only illustrative.
  • the division of the modules or units is only a logical function division. In actual implementation, there may be other division methods.
  • multiple units or components can be Incorporation or may be integrated into another device, or some features may be omitted, or not implemented.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
  • the unit described as a separate component may or may not be physically separated, and the component displayed as a unit may be one physical unit or multiple physical units, that is, it may be located in one place, or may be distributed to multiple different places . Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.
  • the integrated unit is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a readable storage medium.
  • the software product is stored in a program product, such as a computer-readable storage medium, and includes several instructions to make a device (which may be a single-chip microcomputer, a chip, etc.) or a processor (processor) execute all of the methods described in various embodiments of the present application. or partial steps.
  • the aforementioned storage medium includes: various media capable of storing program codes such as U disk, mobile hard disk, ROM, RAM, magnetic disk or optical disk.
  • the embodiments of the present application may also provide a computer-readable storage medium on which computer program instructions are stored.
  • the computer program instructions are executed by the electronic device, the electronic device is made to implement the photographing method described in the foregoing method embodiments.

Abstract

The present application relates to the field of electronic devices, and disclosed in embodiments of the present application are a photographing method and device, which solve the problem that the operation is tedious when a user takes a photo in different photographing modes. The specific solution is that: when a user takes a photo or films a video, an electronic device can recognize biological information (such as fingerprint information, facial expression information, and body movement information) of the user; the electronic device can match and switch a corresponding photographing mode according to the recognized biological information of the user and a preset relationship between the biological information and a photographing mode; and then, the user can perform photographing according to the photographing mode matched with the electronic device.

Description

一种拍摄方法及设备A shooting method and device
本申请要求于2021年6月24日提交国家知识产权局、申请号为202110705218.7、发明名称为“一种拍摄方法及设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the State Intellectual Property Office on June 24, 2021, with application number 202110705218.7, and the title of the invention is "a method and device for photographing", the entire contents of which are incorporated by reference in this application .
技术领域technical field
本申请实施例涉及电子设备领域,尤其涉及一种拍摄方法及设备。The embodiments of the present application relate to the field of electronic equipment, and in particular, to a photographing method and equipment.
背景技术Background technique
目前,手机的拍照功能越来越强,手机中的相机应用中一般会设置多种拍摄模式以供用户选择使用。在用户使用手机进行拍照时,用户可以选择各种不同的拍摄模式来进行拍照。At present, the camera function of the mobile phone is getting stronger and stronger, and a variety of shooting modes are generally set in the camera application of the mobile phone for the user to choose and use. When the user uses the mobile phone to take pictures, the user can choose various shooting modes to take pictures.
但是,在用户拍照时需要拍摄多张不同拍摄模式拍摄的照片时,需要用户重复的选择拍摄模式再拍照。即用户在拍摄多张不同拍摄模式拍摄的照片时,拍摄前需要手动切换不同的拍摄模式。如此,会导致用户采用不同拍摄模式拍摄照片时,操作繁琐,不利于用户快速抓拍一些稍纵即逝的景象。However, when the user needs to take multiple photos taken in different shooting modes when taking pictures, the user needs to repeatedly select the shooting mode before taking pictures. That is, when the user takes multiple photos taken in different shooting modes, the user needs to manually switch between different shooting modes before shooting. In this way, when the user uses different shooting modes to take pictures, the operation is cumbersome, which is not conducive to the user to quickly capture some fleeting scenes.
发明内容Contents of the invention
本申请实施例提供一种拍摄方法及设备,解决了用户采用不同拍摄模式拍摄照片时操作繁琐的问题。Embodiments of the present application provide a photographing method and device, which solves the problem of cumbersome operations when users use different photographing modes to photograph photographs.
为了达到上述目的,本申请实施例采用如下技术方案:In order to achieve the above purpose, the embodiment of the present application adopts the following technical solutions:
第一方面,本申请实施例提供一种拍摄方法,该方法可应用于电子设备。该方法包括:显示第一拍摄界面,第一拍摄界面显示第一图像,第一图像为第二图像采用第一拍摄模式进行处理得到的,第二图像为摄像头实时采集的图像;检测到用户的第一操作;响应于第一操作,采集用户的第一生物信息;响应于采集到的第一生物信息,显示第二拍摄界面,第二拍摄界面显示第三图像,第三图像为第四图像采用第二拍摄模式进行处理得到的,第四图像为摄像头实时采集的图像,其中,第一拍摄模式与第二拍摄模式不同。In a first aspect, an embodiment of the present application provides a photographing method, which can be applied to an electronic device. The method includes: displaying a first shooting interface, the first shooting interface displays a first image, the first image is obtained by processing a second image using the first shooting mode, and the second image is an image collected by a camera in real time; detecting the user's The first operation; in response to the first operation, collecting the first biological information of the user; in response to the collected first biological information, displaying a second shooting interface, the second shooting interface displays a third image, and the third image is a fourth image The fourth image obtained through processing in the second shooting mode is an image collected by the camera in real time, wherein the first shooting mode is different from the second shooting mode.
采用上述技术方案,在用户拍摄照片或视频时,若用户需要采用某个拍摄模式,用户可以让电子设备识别与该拍摄模式对应的生物信息,当电子设备识别到该生物信息时便能够匹配切换到相应的拍摄模式,从而便于用户快速的切换相应拍摄模式并拍摄。使用户采用不同拍摄模式拍摄照片或视频时,操作更加简便,提高用户切换拍摄模式的效率,更利于用户快速抓拍一些稍纵即逝的景象(或者说场景)。With the above technical solution, when the user takes photos or videos, if the user needs to adopt a certain shooting mode, the user can let the electronic device identify the biological information corresponding to the shooting mode, and when the electronic device recognizes the biological information, it can match and switch to the corresponding shooting mode, so that the user can quickly switch the corresponding shooting mode and shoot. When the user adopts different shooting modes to take photos or videos, the operation is more convenient, the efficiency of switching the shooting mode is improved, and it is more conducive to the user to quickly capture some fleeting scenes (or scenes).
在一种可能的实现方式中,第一图像与第二图像相同,和/或,第三图像与第四图像相同。In a possible implementation manner, the first image is the same as the second image, and/or the third image is the same as the fourth image.
其中,第一图像与第二图像相同,即第一拍摄界面为普通拍照模式、广角模式等摄像头直出的拍摄模式的拍摄界面,也即该拍摄界面显示的预览图像(即第一图像)采用第一拍摄模式处理后与实时采集的图像相同。第三图像与第四图像相同,即第二拍摄界面为普通拍照模式、广角模式等摄像头直出的拍照模式的拍摄界面,也即该拍 摄模式显示的预览图像(即第三图像)采用第二拍摄模式处理后与实时采集的图像相同。Wherein, the first image is the same as the second image, that is, the first shooting interface is a shooting interface of a shooting mode directly out of a camera such as a normal camera mode and a wide-angle mode, that is, the preview image (that is, the first image) displayed on the shooting interface adopts The processed image in the first shooting mode is the same as the image collected in real time. The third image is the same as the fourth image, that is, the second shooting interface is the shooting interface of the shooting modes directly out of cameras such as common camera mode and wide-angle mode, that is, the preview image (ie, the third image) displayed in this shooting mode adopts the second image. The image processed by shooting mode is the same as the image collected in real time.
在另一种可能的实现方式中,第一图像与第二图像不同,和/或,第三图像与第四图像不同。In another possible implementation manner, the first image is different from the second image, and/or the third image is different from the fourth image.
其中,第一图像与第二图像不同,即第一拍摄界面为黑白艺术模式、人像模式等增加滤镜或背景虚化的拍摄模式的拍摄界面,也即该拍摄界面显示的预览图像(即第一图像)采用第一拍摄模式处理后与实时采集的图像不同。第三图像与第四图像不同,即第二拍摄界面为黑白艺术模式、人像模式等增加滤镜或背景虚化的拍摄模式的拍摄界面,也即该拍摄界面显示的预览图像(即第三图像)采用第二拍摄模式处理后与实时采集的图像不同。Wherein, the first image is different from the second image, that is, the first shooting interface is a shooting interface of a shooting mode such as black-and-white art mode, portrait mode, etc. that add a filter or background blur, that is, the preview image displayed on the shooting interface (that is, the first image) An image) processed in the first shooting mode is different from the image collected in real time. The third image is different from the fourth image, that is, the second shooting interface is a shooting interface of a shooting mode such as black and white art mode, portrait mode, etc. that add a filter or background blur, that is, the preview image displayed on the shooting interface (that is, the third image ) is different from the image collected in real time after being processed by the second shooting mode.
在另一种可能的实现方式中,响应于采集到的第一生物信息,显示第二拍摄界面,包括:根据采集到的第一生物信息,按照预设的生物信息与拍摄模式间的关系确定与采集到的第一生物信息匹配的第二拍摄模式;根据第二拍摄模式显示第二拍摄界面。In another possible implementation manner, displaying the second shooting interface in response to the collected first biological information includes: determining according to the preset relationship between the biological information and the shooting mode according to the collected first biological information A second shooting mode matching the collected first biological information; displaying a second shooting interface according to the second shooting mode.
如此,通过预设生物信息与拍摄模式间的关系,能够便于根据该关系对采集到的用户的生物信息进行拍摄模式的匹配,从而能够便捷的确定出采集到的用户的生物信息对应的拍摄模式。其中,该预设的生物信息与拍摄模式间的关系可以是预先默认设置的,也可以是用户预先自定义设置的。In this way, by presetting the relationship between the biometric information and the shooting mode, it is possible to facilitate the matching of the shooting mode with the collected biological information of the user according to the relationship, so that the shooting mode corresponding to the collected biological information of the user can be conveniently determined. . Wherein, the preset relationship between the biological information and the shooting mode may be preset by default, or may be preset by the user.
在另一种可能的实现方式中,第一生物信息包括指纹信息,第一操作包括用户手指触摸电子设备的指纹识别区域的操作;采集用户的第一生物信息包括:通过指纹识别模块采集用户的第一指纹信息。In another possible implementation manner, the first biological information includes fingerprint information, and the first operation includes an operation in which the user's finger touches the fingerprint identification area of the electronic device; collecting the first biological information of the user includes: collecting the user's fingerprint information through the fingerprint identification module. First fingerprint information.
如此,能够使用户便捷的通过输入不同指纹的方式快速切换相应的拍摄模式,从而提高用户切换不同拍摄模式的便捷性。In this way, the user can quickly switch the corresponding shooting mode by inputting different fingerprints conveniently, thereby improving the convenience for the user to switch between different shooting modes.
在另一种可能的实现方式中,第一拍摄界面包括拍摄控件,拍摄控件用于触发电子设备的拍摄操作。如此,能够使用户可以通过拍摄控件便捷的触发拍摄操作。In another possible implementation manner, the first shooting interface includes a shooting control, and the shooting control is used to trigger a shooting operation of the electronic device. In this way, the user can conveniently trigger the shooting operation through the shooting control.
在另一种可能的实现方式中,电子设备的显示区域包括第一区域和第二区域,拍摄控件位于第一区域,指纹识别区域位于第二区域。In another possible implementation manner, the display area of the electronic device includes a first area and a second area, the shooting control is located in the first area, and the fingerprint recognition area is located in the second area.
如此,第一拍摄界面中显示的拍摄控件能够与指纹识别区域分开,从而避免用户在采用第一拍摄界面(如普通拍摄模式对应的拍摄界面)进行拍摄时误触指纹识别区域导致电子设备执行该方法的后续步骤。In this way, the shooting controls displayed on the first shooting interface can be separated from the fingerprint recognition area, thereby preventing the user from accidentally touching the fingerprint recognition area when shooting with the first shooting interface (such as the shooting interface corresponding to the normal shooting mode), causing the electronic device to execute the fingerprint recognition area. next step of the method.
在另一种可能的实现方式中,第一生物信息包括面部表情信息和/或肢体动作信息,第一拍摄界面包括识别控件,第一操作包括用户点击识别控件的操作;采集用户的第一生物信息包括:通过摄像头采集用户输入的面部表情信息和/或肢体动作信息。In another possible implementation, the first biological information includes facial expression information and/or body movement information, the first shooting interface includes a recognition control, and the first operation includes the user clicking on the recognition control; collecting the user's first biological information The information includes: collecting facial expression information and/or body movement information input by the user through the camera.
如此,能够使用户便捷的通过输入不同面部表情和/或肢体动作的方式快速切换相应的拍摄模式,从而提高用户切换不同拍摄模式的便捷性。In this way, the user can quickly switch the corresponding shooting mode by inputting different facial expressions and/or body movements, thereby improving the convenience for the user to switch between different shooting modes.
在另一种可能的实现方式中,摄像头为前置摄像头。In another possible implementation manner, the camera is a front camera.
在另一种可能的实现方式中,在响应于采集到的第一生物信息,显示第二拍摄界面之后,方法还包括:采用第二拍摄模式进行拍摄。In another possible implementation manner, after displaying the second shooting interface in response to the collected first biological information, the method further includes: shooting in the second shooting mode.
在另一种可能的实现方式中,在采用第二拍摄模式进行拍摄之前,方法还包括:接收用户的拍摄操作。如此,能够使用户在需要进行拍摄时通过输入拍摄操作的方式 控制电子设备进行拍摄,从而便于用户把握拍摄时机。In another possible implementation manner, before shooting in the second shooting mode, the method further includes: receiving a user's shooting operation. In this way, the user can control the electronic device to take pictures by inputting a shooting operation when it is necessary to take pictures, so that it is convenient for the user to grasp the timing of shooting.
在另一种可能的实现方式中,拍摄模式包括全景模式、黑白艺术模式、高动态范围图像HDR模式、流光快门模式、延时摄影模式、大光圈模式、夜景模式、人像模式、微距模式、高像素模式以及专业模式。In another possible implementation, the shooting modes include panorama mode, black and white art mode, high dynamic range image HDR mode, streamer shutter mode, time-lapse photography mode, large aperture mode, night scene mode, portrait mode, macro mode, High pixel mode and professional mode.
第二方面,本申请实施例提供一种拍摄装置,该装置可以应用于电子设备,用于实现上述第一方面中的方法。该装置的功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。硬件或软件包括一个或多个与上述功能相对应的模块,例如,处理模块和显示模块等。In a second aspect, an embodiment of the present application provides a photographing device, which can be applied to an electronic device to implement the method in the first aspect above. The functions of the device can be realized by hardware, and can also be realized by executing corresponding software by hardware. Hardware or software includes one or more modules corresponding to the above functions, for example, a processing module and a display module.
其中,显示模块,可以用于显示第一拍摄界面,第一拍摄界面显示第一图像,第一图像为第二图像采用第一拍摄模式进行处理得到的,第二图像为摄像头实时采集的图像;处理模块,可以用于检测到用户的第一操作;响应于第一操作,采集用户的第一生物信息;响应于采集到的第一生物信息,显示模块,还可以用于显示第二拍摄界面,第二拍摄界面显示第三图像,第三图像为第四图像采用第二拍摄模式进行处理得到的,第四图像为摄像头实时采集的图像,其中,第一拍摄模式与第二拍摄模式不同。Wherein, the display module can be used to display the first shooting interface, the first shooting interface displays the first image, the first image is obtained by processing the second image using the first shooting mode, and the second image is an image collected by the camera in real time; The processing module can be used to detect the first operation of the user; in response to the first operation, collect the first biological information of the user; in response to the collected first biological information, the display module can also be used to display the second shooting interface , the second shooting interface displays a third image, the third image is obtained by processing the fourth image using the second shooting mode, and the fourth image is an image captured by the camera in real time, wherein the first shooting mode is different from the second shooting mode.
在一种可能的实现方式中,第一图像与第二图像相同,和/或,第三图像与第四图像相同。In a possible implementation manner, the first image is the same as the second image, and/or the third image is the same as the fourth image.
在另一种可能的实现方式中,第一图像与第二图像不同,和/或,第三图像与第四图像不同。In another possible implementation manner, the first image is different from the second image, and/or the third image is different from the fourth image.
在另一种可能的实现方式中,处理模块,具体用于根据采集到的第一生物信息,按照预设的生物信息与拍摄模式间的关系确定与采集到的第一生物信息匹配的第二拍摄模式;根据第二拍摄模式显示第二拍摄界面。In another possible implementation manner, the processing module is specifically configured to, according to the collected first biological information, determine the second biological information that matches the collected first biological information according to the preset relationship between biological information and shooting mode Shooting mode; display the second shooting interface according to the second shooting mode.
在另一种可能的实现方式中,第一生物信息包括指纹信息,第一操作包括用户手指触摸电子设备的指纹识别区域的操作;处理模块,具体用于通过指纹识别模块采集用户的第一指纹信息。In another possible implementation manner, the first biological information includes fingerprint information, and the first operation includes an operation in which the user's finger touches the fingerprint identification area of the electronic device; the processing module is specifically configured to collect the user's first fingerprint through the fingerprint identification module information.
在另一种可能的实现方式中,第一拍摄界面包括拍摄控件,拍摄控件用于触发电子设备的拍摄操作。In another possible implementation manner, the first shooting interface includes a shooting control, and the shooting control is used to trigger a shooting operation of the electronic device.
在另一种可能的实现方式中,电子设备的显示区域包括第一区域和第二区域,拍摄控件位于第一区域,指纹识别区域位于第二区域。In another possible implementation manner, the display area of the electronic device includes a first area and a second area, the shooting control is located in the first area, and the fingerprint recognition area is located in the second area.
在另一种可能的实现方式中,第一生物信息包括面部表情信息和/或肢体动作信息,第一拍摄界面包括识别控件,第一操作包括用户点击识别控件的操作;处理模块,具体用于通过摄像头采集用户输入的面部表情信息和/或肢体动作信息。In another possible implementation manner, the first biological information includes facial expression information and/or body movement information, the first shooting interface includes an identification control, and the first operation includes an operation for the user to click on the identification control; the processing module is specifically used to The facial expression information and/or body movement information input by the user is collected through the camera.
在另一种可能的实现方式中,摄像头为前置摄像头。In another possible implementation manner, the camera is a front camera.
在另一种可能的实现方式中,处理模块,还用于采用第二拍摄模式进行拍摄。In another possible implementation manner, the processing module is further configured to use the second shooting mode to shoot.
在另一种可能的实现方式中,处理模块,还用于接收用户的拍摄操作。In another possible implementation manner, the processing module is further configured to receive a user's shooting operation.
在另一种可能的实现方式中,拍摄模式包括全景模式、黑白艺术模式、高动态范围图像HDR模式、流光快门模式、延时摄影模式、大光圈模式、夜景模式、人像模式、微距模式、高像素模式以及专业模式。In another possible implementation, the shooting modes include panorama mode, black and white art mode, high dynamic range image HDR mode, streamer shutter mode, time-lapse photography mode, large aperture mode, night scene mode, portrait mode, macro mode, High pixel mode and professional mode.
第三方面,本申请实施例提供一种电子设备,包括:处理器,用于存储该处理器可执行指令的存储器。该处理器被配置为执行上述指令时,使得该电子设备实现如第 一方面或第一方面的可能的实现方式中任一项所述的拍摄方法。In a third aspect, an embodiment of the present application provides an electronic device, including: a processor, and a memory configured to store instructions executable by the processor. When the processor is configured to execute the above instructions, the electronic device implements the shooting method as described in any one of the first aspect or possible implementation manners of the first aspect.
第四方面,本申请实施例提供一种计算机可读存储介质,其上存储有计算机程序指令。当计算机程序指令被电子设备执行时,使得电子设备实现如第一方面或第一方面的可能的实现方式中任一项所述的拍摄方法。In a fourth aspect, the embodiment of the present application provides a computer-readable storage medium on which computer program instructions are stored. When the computer program instructions are executed by the electronic device, the electronic device is made to implement the photographing method described in any one of the first aspect or the possible implementation manners of the first aspect.
第五方面,本申请实施例提供一种计算机程序产品,包括计算机可读代码,当所述计算机可读代码在电子设备中运行时,使得电子设备实现如第一方面或第一方面的可能的实现方式中任一项所述的拍摄方法。In the fifth aspect, the embodiment of the present application provides a computer program product, including computer readable code, when the computer readable code is run in the electronic device, the electronic device realizes the possible functions of the first aspect or the first aspect. The photographing method described in any one of the manners is implemented.
应当理解的是,上述第二方面至第五方面的有益效果可以参见上述第一方面中的相关描述,在此不再赘述。It should be understood that, for the beneficial effects of the above-mentioned second aspect to the fifth aspect, reference may be made to relevant descriptions in the above-mentioned first aspect, and details are not repeated here.
第六方面,本申请实施例提供一种拍摄方法,该方法可应用于电子设备。该方法包括:显示第一拍摄界面,第一拍摄界面显示第一图像,第一图像为摄像头实时采集的图像;检测到用户对第一拍摄界面的第一操作;响应于第一操作,电子设备采用第一拍摄模式采集第一图像帧;检测到用户的第二操作;响应于第二操作,采集用户的第一生物信息;响应于采集到的第一生物信息,显示第二拍摄界面,第二拍摄界面显示第二图像,第二图像为摄像头实时采集的图像;检测到用户对第二拍摄界面的第三操作;响应于第三操作,电子设备采用第二拍摄模式采集第二图像帧;其中,第一拍摄模式与第二拍摄模式不同。In a sixth aspect, the embodiment of the present application provides a photographing method, which can be applied to an electronic device. The method includes: displaying a first shooting interface, the first shooting interface displays a first image, and the first image is an image collected by a camera in real time; detecting a first operation of a user on the first shooting interface; in response to the first operation, the electronic device Using the first shooting mode to collect the first image frame; detecting the second operation of the user; in response to the second operation, collecting the first biological information of the user; in response to the collected first biological information, displaying the second shooting interface, the second The second shooting interface displays a second image, and the second image is an image collected by the camera in real time; a third operation performed by the user on the second shooting interface is detected; in response to the third operation, the electronic device adopts the second shooting mode to collect the second image frame; Wherein, the first shooting mode is different from the second shooting mode.
采用上述技术方案,在用户拍摄照片或视频时,若用户需要采用某个拍摄模式,用户可以让电子设备识别与该拍摄模式对应的生物信息,当电子设备识别到该生物信息时便能够匹配切换到相应的拍摄模式,从而便于用户快速的切换相应拍摄模式并拍摄。使用户采用不同拍摄模式拍摄照片或视频时,操作更加简便,提高用户切换拍摄模式的效率,更利于用户快速抓拍一些稍纵即逝的景象(或者说场景)。With the above technical solution, when the user takes photos or videos, if the user needs to adopt a certain shooting mode, the user can let the electronic device identify the biological information corresponding to the shooting mode, and when the electronic device recognizes the biological information, it can match and switch to the corresponding shooting mode, so that the user can quickly switch the corresponding shooting mode and shoot. When the user adopts different shooting modes to take photos or videos, the operation is more convenient, the efficiency of switching the shooting mode is improved, and it is more conducive to the user to quickly capture some fleeting scenes (or scenes).
在一种可能的实现方式中,第一图像帧的图像与第一图像相同,和/或,第二图像帧的图像与第二图像相同。In a possible implementation manner, the image of the first image frame is the same as the first image, and/or the image of the second image frame is the same as the second image.
其中,第一图像帧的图像与第一图像相同,即第一拍摄界面为普通拍照模式、广角模式等摄像头直出的拍摄模式的拍摄界面,也即该拍摄界面显示的预览图像(即第一图像)与采用第一拍摄模式拍摄得到的图像(即第一图像帧)相同。第二图像帧的图像与第二图像相同,即第二拍摄界面为普通拍照模式、广角模式等摄像头直出的拍照模式的拍摄界面,也即该拍摄界面显示的预览图像(即第三图像)与采用第二拍摄模式拍摄得到的图像(即第二图像帧)相同。Wherein, the image of the first image frame is the same as the first image, that is, the first shooting interface is a shooting interface of a shooting mode directly out of a camera such as a normal camera mode and a wide-angle mode, that is, the preview image displayed on the shooting interface (that is, the first image) is the same as the image obtained by using the first shooting mode (that is, the first image frame). The image of the second image frame is the same as the second image, that is, the second shooting interface is the shooting interface of the shooting modes that cameras such as common camera mode and wide-angle mode go straight out, that is, the preview image (i.e. the third image) displayed on the shooting interface It is the same as the image (that is, the second image frame) obtained by shooting in the second shooting mode.
在另一种可能的实现方式中,第一图像帧的图像与第一图像不同,和/或,第二图像帧的图像与第二图像不同。In another possible implementation manner, the image of the first image frame is different from the first image, and/or the image of the second image frame is different from the second image.
其中,第一图像帧的图像与第一图像不同,即第一拍摄界面为全景模式、HDR模式、流光快门模式、延时摄影模式等需要对采集到的图像进行后期处理的拍摄模式的拍摄界面,也即该拍摄界面显示的预览图像(即第一图像)与采用第一拍摄模式拍摄得到的图像(即第一图像帧)不相同。第二图像帧的图像与第二图像不同,即第二拍摄界面为全景模式、HDR模式、流光快门模式、延时摄影模式等需要对采集到的图像进行后期处理的拍摄模式的拍摄界面,也即该拍摄界面显示的预览图像(即第二图像)与采用第二拍摄模式拍摄得到的图像(即第二图像帧)不相同。Wherein, the image of the first image frame is different from the first image, that is, the first shooting interface is a shooting interface of shooting modes such as panoramic mode, HDR mode, streamer shutter mode, and time-lapse photography mode that require post-processing of the collected images , that is, the preview image (ie, the first image) displayed on the shooting interface is different from the image captured by using the first shooting mode (ie, the first image frame). The image of the second image frame is different from the second image, that is, the second shooting interface is a shooting interface for shooting modes such as panorama mode, HDR mode, streamer shutter mode, and time-lapse photography mode that require post-processing of the collected images. That is, the preview image (ie, the second image) displayed on the shooting interface is different from the image captured by using the second shooting mode (ie, the second image frame).
在另一种可能的实现方式中,响应于采集到的第一生物信息,显示第二拍摄界面,包括:根据采集到的第一生物信息,按照预设的生物信息与拍摄模式间的关系确定与采集到的第一生物信息匹配的第二拍摄模式;根据第二拍摄模式显示第二拍摄界面。In another possible implementation manner, displaying the second shooting interface in response to the collected first biological information includes: determining according to the preset relationship between the biological information and the shooting mode according to the collected first biological information A second shooting mode matching the collected first biological information; displaying a second shooting interface according to the second shooting mode.
如此,通过预设生物信息与拍摄模式间的关系,能够便于根据该关系对采集到的用户的生物信息进行拍摄模式的匹配,从而能够便捷的确定出采集到的用户的生物信息对应的拍摄模式。其中,该预设的生物信息与拍摄模式间的关系可以是预先默认设置的,也可以是用户预先自定义设置的。In this way, by presetting the relationship between the biometric information and the shooting mode, it is possible to facilitate the matching of the shooting mode with the collected biological information of the user according to the relationship, so that the shooting mode corresponding to the collected biological information of the user can be conveniently determined. . Wherein, the preset relationship between the biological information and the shooting mode may be preset by default, or may be preset by the user.
在另一种可能的实现方式中,第一生物信息包括指纹信息,第二操作包括用户手指触摸电子设备的指纹识别区域的操作;采集用户的第一生物信息包括:通过指纹识别模块采集用户的第一指纹信息。In another possible implementation manner, the first biological information includes fingerprint information, and the second operation includes an operation in which the user's finger touches the fingerprint identification area of the electronic device; collecting the first biological information of the user includes: collecting the user's fingerprint information through the fingerprint identification module. First fingerprint information.
如此,能够使用户便捷的通过输入不同指纹的方式快速切换相应的拍摄模式,从而提高用户切换不同拍摄模式的便捷性。In this way, the user can quickly switch the corresponding shooting mode by inputting different fingerprints conveniently, thereby improving the convenience for the user to switch between different shooting modes.
在另一种可能的实现方式中,第一拍摄界面包括拍摄控件,第一操作包括用户对拍摄控件的点击操作。如此,能够使用户可以通过拍摄控件便捷的触发拍摄操作。In another possible implementation manner, the first shooting interface includes a shooting control, and the first operation includes a user's clicking operation on the shooting control. In this way, the user can conveniently trigger the shooting operation through the shooting control.
在另一种可能的实现方式中,电子设备的显示区域包括第一区域和第二区域,拍摄控件位于第一区域,指纹识别区域位于第二区域。In another possible implementation manner, the display area of the electronic device includes a first area and a second area, the shooting control is located in the first area, and the fingerprint recognition area is located in the second area.
如此,第一拍摄界面中显示的拍摄控件能够与指纹识别区域分开,从而避免用户在采用第一拍摄界面(如普通拍摄模式对应的拍摄界面)进行拍摄时误触指纹识别区域导致电子设备执行该方法的后续步骤。In this way, the shooting controls displayed on the first shooting interface can be separated from the fingerprint recognition area, thereby preventing the user from accidentally touching the fingerprint recognition area when shooting with the first shooting interface (such as the shooting interface corresponding to the normal shooting mode), causing the electronic device to execute the fingerprint recognition area. next step of the method.
在另一种可能的实现方式中,第一生物信息包括面部表情信息和/或肢体动作信息,第一拍摄界面包括识别控件,第二操作包括用户点击识别控件的操作;采集用户的第一生物信息包括:通过摄像头采集用户输入的面部表情信息和/或肢体动作信息。In another possible implementation manner, the first biological information includes facial expression information and/or body movement information, the first shooting interface includes a recognition control, and the second operation includes the operation of the user clicking on the recognition control; collecting the user's first biological information The information includes: collecting facial expression information and/or body movement information input by the user through the camera.
如此,能够使用户便捷的通过输入不同面部表情和/或肢体动作的方式快速切换相应的拍摄模式,从而提高用户切换不同拍摄模式的便捷性。In this way, the user can quickly switch the corresponding shooting mode by inputting different facial expressions and/or body movements, thereby improving the convenience for the user to switch between different shooting modes.
在另一种可能的实现方式中,摄像头为前置摄像头。In another possible implementation manner, the camera is a front camera.
在另一种可能的实现方式中,拍摄模式包括全景模式、黑白艺术模式、高动态范围图像HDR模式、流光快门模式、延时摄影模式、大光圈模式、夜景模式、人像模式、微距模式、高像素模式以及专业模式。In another possible implementation, the shooting modes include panorama mode, black and white art mode, high dynamic range image HDR mode, streamer shutter mode, time-lapse photography mode, large aperture mode, night scene mode, portrait mode, macro mode, High pixel mode and professional mode.
第七方面,本申请实施例提供一种拍摄装置,该装置可以应用于电子设备,用于实现上述第六方面中的方法。该装置的功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。硬件或软件包括一个或多个与上述功能相对应的模块,例如,处理模块和显示模块等。In a seventh aspect, the embodiment of the present application provides a photographing device, which can be applied to an electronic device, and used to implement the method in the sixth aspect above. The functions of the device can be realized by hardware, and can also be realized by executing corresponding software by hardware. Hardware or software includes one or more modules corresponding to the above functions, for example, a processing module and a display module.
其中,显示模块,可以用于显示第一拍摄界面,第一拍摄界面显示第一图像,第一图像为摄像头实时采集的图像;处理模块,可以用于检测到用户对第一拍摄界面的第一操作;响应于第一操作,电子设备采用第一拍摄模式采集第一图像帧;检测到用户的第二操作;响应于第二操作,采集用户的第一生物信息;响应于采集到的第一生物信息,显示模块,还可以用于显示第二拍摄界面,第二拍摄界面显示第二图像,第二图像为摄像头实时采集的图像;处理模块还可以用于检测到用户对第二拍摄界面的第三操作;响应于第三操作,电子设备采用第二拍摄模式采集第二图像帧;其中,第 一拍摄模式与第二拍摄模式不同。Wherein, the display module can be used to display the first shooting interface, and the first shooting interface displays the first image, and the first image is an image collected by the camera in real time; Operation; in response to the first operation, the electronic device adopts the first shooting mode to capture the first image frame; detects the second operation of the user; in response to the second operation, collects the first biological information of the user; in response to the collected first The biological information, the display module, can also be used to display the second shooting interface, the second shooting interface displays the second image, and the second image is an image collected by the camera in real time; the processing module can also be used to detect the user’s reaction to the second shooting interface The third operation; in response to the third operation, the electronic device adopts the second shooting mode to capture the second image frame; wherein, the first shooting mode is different from the second shooting mode.
在一种可能的实现方式中,第一图像帧的图像与第一图像相同,和/或,第二图像帧的图像与第二图像相同。In a possible implementation manner, the image of the first image frame is the same as the first image, and/or the image of the second image frame is the same as the second image.
在另一种可能的实现方式中,第一图像帧的图像与第一图像不同,和/或,第二图像帧的图像与第二图像不同。In another possible implementation manner, the image of the first image frame is different from the first image, and/or the image of the second image frame is different from the second image.
在另一种可能的实现方式中,处理模块,具体用于根据采集到的第一生物信息,按照预设的生物信息与拍摄模式间的关系确定与采集到的第一生物信息匹配的第二拍摄模式。根据第二拍摄模式显示第二拍摄界面。In another possible implementation manner, the processing module is specifically configured to, according to the collected first biological information, determine the second biological information that matches the collected first biological information according to the preset relationship between biological information and shooting mode shooting mode. A second shooting interface is displayed according to the second shooting mode.
在另一种可能的实现方式中,第一生物信息包括指纹信息,第二操作包括用户手指触摸电子设备的指纹识别区域的操作;处理模块,具体用于通过指纹识别模块采集用户的第一指纹信息。In another possible implementation manner, the first biological information includes fingerprint information, and the second operation includes an operation in which the user's finger touches the fingerprint identification area of the electronic device; the processing module is specifically configured to collect the user's first fingerprint through the fingerprint identification module information.
在另一种可能的实现方式中,第一拍摄界面包括拍摄控件,第一操作包括用户对拍摄控件的点击操作。In another possible implementation manner, the first shooting interface includes a shooting control, and the first operation includes a user's clicking operation on the shooting control.
在另一种可能的实现方式中,电子设备的显示区域包括第一区域和第二区域,拍摄控件位于第一区域,指纹识别区域位于第二区域。In another possible implementation manner, the display area of the electronic device includes a first area and a second area, the shooting control is located in the first area, and the fingerprint recognition area is located in the second area.
在另一种可能的实现方式中,第一生物信息包括面部表情信息和/或肢体动作信息,第一拍摄界面包括识别控件,第二操作包括用户点击识别控件的操作;处理模块,具体用于通过摄像头采集用户输入的面部表情信息和/或肢体动作信息。In another possible implementation manner, the first biological information includes facial expression information and/or body movement information, the first shooting interface includes an identification control, and the second operation includes an operation for the user to click on the identification control; the processing module is specifically used to The facial expression information and/or body movement information input by the user is collected through the camera.
在另一种可能的实现方式中,摄像头为前置摄像头。In another possible implementation manner, the camera is a front camera.
在另一种可能的实现方式中,拍摄模式包括全景模式、黑白艺术模式、高动态范围图像HDR模式、流光快门模式、延时摄影模式、大光圈模式、夜景模式、人像模式、微距模式、高像素模式以及专业模式。In another possible implementation, the shooting modes include panorama mode, black and white art mode, high dynamic range image HDR mode, streamer shutter mode, time-lapse photography mode, large aperture mode, night scene mode, portrait mode, macro mode, High pixel mode and professional mode.
第八方面,本申请实施例提供一种电子设备,包括:处理器,用于存储该处理器可执行指令的存储器。该处理器被配置为执行上述指令时,使得该电子设备实现如第六方面或第六方面的可能的实现方式中任一项所述的拍摄方法。In an eighth aspect, the embodiment of the present application provides an electronic device, including: a processor, and a memory configured to store instructions executable by the processor. When the processor is configured to execute the above instructions, the electronic device implements the photographing method according to the sixth aspect or any one of the possible implementation manners of the sixth aspect.
第九方面,本申请实施例提供一种计算机可读存储介质,其上存储有计算机程序指令。当计算机程序指令被电子设备执行时,使得电子设备实现如第六方面或第六方面的可能的实现方式中任一项所述的拍摄方法。In a ninth aspect, the embodiment of the present application provides a computer-readable storage medium on which computer program instructions are stored. When the computer program instructions are executed by the electronic device, the electronic device is made to implement the photographing method according to the sixth aspect or any one of the possible implementation manners of the sixth aspect.
第十方面,本申请实施例提供一种计算机程序产品,包括计算机可读代码,当所述计算机可读代码在电子设备中运行时,使得电子设备实现如第六方面或第六方面的可能的实现方式中任一项所述的拍摄方法。In the tenth aspect, the embodiment of the present application provides a computer program product, including computer readable code, when the computer readable code is run in the electronic device, the electronic device realizes the possible functions of the sixth aspect or the sixth aspect. The photographing method described in any one of the manners is implemented.
应当理解的是,上述第七方面至第十方面的有益效果可以参见上述第六方面中的相关描述,在此不再赘述。It should be understood that, for the beneficial effects of the seventh aspect to the tenth aspect, reference may be made to the relevant description in the sixth aspect above, and details are not repeated here.
附图说明Description of drawings
图1为相关技术提供的一种拍摄方法应用时的场景示意图;FIG. 1 is a schematic diagram of a scene when a shooting method provided by the related art is applied;
图2为本申请实施例提供的一种电子设备的结构示意图;FIG. 2 is a schematic structural diagram of an electronic device provided in an embodiment of the present application;
图3为本申请实施例提供的一种拍摄方法的流程示意图;FIG. 3 is a schematic flowchart of a photographing method provided in an embodiment of the present application;
图4为本申请实施例提供的一种拍摄方法应用时的界面示意图;FIG. 4 is a schematic diagram of an interface when a shooting method provided by an embodiment of the present application is applied;
图5为本申请实施例提供的另一种拍摄方法应用时的界面示意图;FIG. 5 is a schematic diagram of an interface when another shooting method provided by the embodiment of the present application is applied;
图6为本申请实施例提供的另一种拍摄方法应用时的界面示意图;FIG. 6 is a schematic diagram of the interface when another shooting method provided by the embodiment of the present application is applied;
图7为本申请实施例提供的另一种拍摄方法应用时的界面示意图;FIG. 7 is a schematic interface diagram of another shooting method provided by the embodiment of the present application when it is applied;
图8为本申请实施例提供的另一种拍摄方法应用时的界面示意图;FIG. 8 is a schematic interface diagram of another shooting method provided by the embodiment of the present application when it is applied;
图9为本申请实施例提供的另一种拍摄方法应用时的界面示意图;FIG. 9 is a schematic interface diagram of another shooting method provided by the embodiment of the present application when it is applied;
图10为本申请实施例提供的另一种拍摄方法应用时的界面示意图;FIG. 10 is a schematic diagram of the interface when another shooting method provided by the embodiment of the present application is applied;
图11为本申请实施例提供的另一种拍摄方法应用时的界面示意图;FIG. 11 is a schematic diagram of the interface when another shooting method provided by the embodiment of the present application is applied;
图12为本申请实施例提供的一种拍摄装置的结构示意图。FIG. 12 is a schematic structural diagram of a photographing device provided by an embodiment of the present application.
具体实施方式detailed description
随着手机的不断发展,手机的摄像头不断升级,手机的拍照功能越来越强大。现在,很多手机的相机应用中都会设置多种拍摄模式以供用户选择使用。例如,很多手机会设置有人像模式、全景模式、黑白艺术模式、高动态范围图像(High-Dynamic Range,HDR)模式、流光快门模式、延时摄影模式、大光圈模式、夜景模式、微距模式、高像素模式以及专业模式等。其中,人像模式下能够为用户拍摄人物提供更好的模拟光效,便于用户拍摄更好看的人像。全景模式,能够使用户拍摄出类似广角镜头拍摄出的画面,或者拍摄出相比普通模式具有更广场景范围的全景照片。黑白艺术模式,能够使用户拍摄出复古的黑白照片,使用户拍摄出的照片更具有复古艺术感。HDR模式,能够使用户拍摄出的照片或视频的图像具有更高的动态范围和图像细节。流光快门模式,能够使用户拍摄出长曝光图像(如,绚丽的星轨、车水马龙的灯光轨迹等)。延时摄影模式,能够使用户拍摄出由多张照片合成的延时摄影视频(如,花蕾的开放、斗转星移的夜空、奔涌翻腾的云海、美丽的日出东方)。大光圈模式下能够使用户拍摄的照片具有更好的背景虚化效果,以突出被摄对象。夜景模式下能够使用户拍摄的照片或视频更加明亮,具有更好的曝光效果。微距模式,能够便于用户将距离非常近的被摄对象拍摄的更加清晰。高像素模式,能够使用户拍摄出画质更加细腻的图像。专业模式,能够为用户提供更多的相机参数设置选项,使用户能够对曝光量、快门速度等进行自定义调整,从而便于用户拍摄出更加专业具有个人特色的图像。With the continuous development of mobile phones, the cameras of mobile phones are constantly upgraded, and the camera functions of mobile phones are becoming more and more powerful. Now, in the camera applications of many mobile phones, multiple shooting modes are set for users to choose and use. For example, many mobile phones will have portrait mode, panorama mode, black and white art mode, high dynamic range image (High-Dynamic Range, HDR) mode, streamer shutter mode, time-lapse photography mode, large aperture mode, night scene mode, macro mode , high pixel mode and professional mode, etc. Among them, the portrait mode can provide users with better simulated light effects when shooting people, which is convenient for users to take better-looking portraits. The panorama mode enables the user to take a picture similar to that taken by a wide-angle lens, or take a panoramic photo with a wider scene range than the normal mode. The black and white art mode enables users to take retro black and white photos, making the photos taken by users more retro and artistic. The HDR mode enables users to take photos or videos with higher dynamic range and image details. The streamer shutter mode enables users to take long-exposure images (such as gorgeous star trails, busy light trails, etc.). The time-lapse photography mode enables the user to shoot a time-lapse photography video composed of multiple photos (such as the opening of flower buds, the night sky with stars moving, the surging sea of clouds, the beautiful sunrise in the east). In the large aperture mode, the photos taken by the user can have a better background blur effect to highlight the subject. The night scene mode can make the photos or videos taken by users brighter and have better exposure. The macro mode can make it easier for users to shoot very close subjects more clearly. The high-pixel mode enables users to shoot images with more delicate quality. The professional mode can provide users with more camera parameter setting options, enabling users to make custom adjustments to exposure, shutter speed, etc., so that users can shoot more professional images with personal characteristics.
通常,在用户需要通过某个拍摄模式进行拍照时,用户可以先选择设置好相应的拍摄模式,当手机的相机切换到相应的拍摄模式之后再进行拍摄。例如,以用户要使用流光快门模式来拍摄长曝光照片(如,汽车的移动轨迹)为例。如图1中的(a)所示,用户打开相机应用后,手机可以显示普通拍摄模式的相机界面(或者默认相机界面),在该界面中可以包括取景框、第一快门控件(或者说普通模式或默认的快门控件)、用于切换常用拍摄模式的选项(如,用于切换大光圈模式的“大光圈”选项、用于切换夜景模式的“夜景”选项、用于切换人像模式的“人像”选项,以及便于用户切换更多拍摄模式的“更多”选项)。当用户需要选择流光快门模式时,如图1中的(a)所示,用户可以通过点击“更多”选项以在更多的拍摄模式中选择流光快门模式。当用户点击“更多”选项后,如图1中的(b)所示,手机可以显示更多的拍摄模式选项(例如图1中所示的用于开启全景模式的“全景”选项、用于开启黑白艺术模式的“黑白艺术”选项、用于开启HDR模式的“HDR”选项、用于开启流光快门模式的“流光快门”选项、用于开启延时摄影模式的“延时摄影”选项等)。如图1中的(b)所示,用户可以通过点击“流光快门”选项以开启流光快门模式。当用户开启流光快 门模式后,如图1中的(c)所示,手机可以显示流光快门模式的拍摄界面,该界面中可以包括取景框以及第二快门控件(或者说流光快门模式的快门控件)。用户可以通过点击该流光快门模式的拍摄界面中的第二快门控件进行长曝光拍摄。Usually, when the user needs to take pictures in a certain shooting mode, the user can first select and set the corresponding shooting mode, and then take pictures after switching the camera of the mobile phone to the corresponding shooting mode. For example, it is assumed that the user wants to use the streamer shutter mode to take a long-exposure photo (eg, a moving track of a car). As shown in (a) in Figure 1, after the user opens the camera application, the mobile phone can display the camera interface of the normal shooting mode (or the default camera interface), which can include the viewfinder frame, the first shutter control (or the normal mode or the default shutter control), options for switching commonly used shooting modes (such as "large aperture" option for switching large aperture mode, "Night Scene" option for switching night scene mode, "Night Scene" option for switching portrait mode, etc. "Portrait" option, and "More" option for users to switch between more shooting modes). When the user needs to select the streamer shutter mode, as shown in (a) in FIG. 1 , the user can select the streamer shutter mode in more shooting modes by clicking the "more" option. When the user clicks the "More" option, as shown in (b) in Figure 1, the mobile phone can display more shooting mode options (for example, the "Panorama" option for turning on the panorama mode shown in Figure 1, using "B&W Art" option for turning on Black & White Art mode, "HDR" option for turning on HDR mode, "Streaming Shutter" option for turning on Streaming Shutter mode, "Time Lapse" option for turning on Time Lapse mode Wait). As shown in (b) of FIG. 1 , the user can click on the "streamer shutter" option to enable the streamer shutter mode. After the user turns on the streamer shutter mode, as shown in (c) in FIG. ). The user can perform long exposure shooting by clicking the second shutter control in the shooting interface of the streamer shutter mode.
由以上可以看出,当用户选择某个拍摄模式以进行拍摄时,需要先在相机应用中选择设置相应的拍摄模式然后再进行拍摄。或者,当用户采用不同拍摄模式拍摄多张不同的照片时,需要用户重复选择拍摄模式再拍摄。如此,会导致用户采用不同拍摄模式拍摄照片时,操作繁琐,不利于用户快速抓拍一些稍纵即逝的景象。It can be seen from the above that when the user selects a shooting mode for shooting, he needs to select and set the corresponding shooting mode in the camera application before shooting. Or, when the user uses different shooting modes to take a plurality of different photos, the user needs to repeatedly select the shooting mode before taking pictures. In this way, when the user uses different shooting modes to take pictures, the operation is cumbersome, which is not conducive to the user to quickly capture some fleeting scenes.
为了解决上述问题,本申请实施例提供一种拍摄方法。该拍摄方法可以应用于用户通过电子设备拍摄照片或视频的场景中。例如,以电子设备为手机为例,当用户打开手机中的相机应用进行拍摄时,若用户需要通过某个拍摄模式拍摄照片或视频,便可以通过该拍摄方法来快速的采用相应的拍摄模式来拍摄。In order to solve the above problem, an embodiment of the present application provides a photographing method. The shooting method can be applied to a scene where a user takes a photo or a video through an electronic device. For example, taking the electronic device as a mobile phone as an example, when the user opens the camera application in the mobile phone to take pictures, if the user needs to take photos or videos in a certain shooting mode, he can use the shooting method to quickly use the corresponding shooting mode to capture shoot.
该拍摄方法可以包括:在用户拍摄照片或视频时,电子设备可以对用户的生物信息(如指纹信息、面部表情信息、肢体动作信息等)进行识别。电子设备可以根据识别的用户的生物信息以及预设的生物信息与拍摄模式间的关系,匹配切换相应的拍摄模式。然后,用户可以根据电子设备匹配的拍摄模式进行拍摄。即,在电子设备显示第一拍摄模式(如默认模式)对应的第一拍摄界面时,若用户进行输入生物信息的操作,电子设备可以根据用户输入的生物信息匹配出对应的第二拍摄模式,并显示该第二拍摄模式对应的第二拍摄界面。The shooting method may include: when the user takes a photo or video, the electronic device may identify the user's biological information (such as fingerprint information, facial expression information, body movement information, etc.). The electronic device can match and switch the corresponding shooting mode according to the identified biological information of the user and the preset relationship between the biological information and the shooting mode. Then, the user can shoot according to the shooting mode matched by the electronic device. That is, when the electronic device displays the first shooting interface corresponding to the first shooting mode (such as the default mode), if the user performs the operation of inputting biological information, the electronic device can match the corresponding second shooting mode according to the biological information input by the user, And display the second shooting interface corresponding to the second shooting mode.
其中,与第一拍摄模式对应的第一拍摄界面,其显示的预览图像(如第一图像)可以为摄像头实时采集的图像(如第二图像)采用第一拍摄模式进行处理得到的。与第二拍摄模式对应的第二拍摄界面其显示的图像(如第三图像)也可以为摄像头实时采集的图像(如第四图像)采用第二拍摄模式进行处理得到的。并且,第一图像与第二图像可以相同也可以不同。第一图像与第二图像相同,即第一拍摄界面为普通拍照模式、广角模式等摄像头直出的拍摄模式的拍摄界面,也即该拍摄界面显示的预览图像(即第一图像)采用第一拍摄模式处理后与实时采集的图像相同。第一图像与第二图像不同,即第一拍摄界面为黑白艺术模式、人像模式等增加滤镜或背景虚化的拍摄模式的拍摄界面,也即该拍摄界面显示的预览图像(即第一图像)采用第一拍摄模式处理后与实时采集的图像不同。第三图像与第四图像可以相同也可以不同。第三图像与第四图像相同,即第二拍摄界面为普通拍照模式、广角模式等摄像头直出的拍照模式的拍摄界面,也即该拍摄模式显示的预览图像(即第三图像)采用第二拍摄模式处理后与实时采集的图像相同。第三图像与第四图像不同,即第二拍摄界面为黑白艺术模式、人像模式等增加滤镜或背景虚化的拍摄模式的拍摄界面,也即该拍摄界面显示的预览图像(即第三图像)采用第二拍摄模式处理后与实时采集的图像不同。Wherein, in the first shooting interface corresponding to the first shooting mode, the preview image (such as the first image) displayed on it may be obtained by processing the image (such as the second image) collected by the camera in real time by using the first shooting mode. The image (such as the third image) displayed on the second shooting interface corresponding to the second shooting mode may also be obtained by processing the image (such as the fourth image) collected by the camera in real time by using the second shooting mode. Also, the first image and the second image may be the same or different. The first image is the same as the second image, that is, the first shooting interface is the shooting interface of the shooting modes such as common camera mode and wide-angle mode, and the preview image (i.e. the first image) displayed on the shooting interface adopts the first image. The image processed by shooting mode is the same as the image collected in real time. The first image is different from the second image, that is, the first shooting interface is a shooting interface of a shooting mode such as black-and-white art mode, portrait mode, etc. that add a filter or background blur, that is, the preview image displayed on the shooting interface (that is, the first image ) is different from the image collected in real time after being processed by the first shooting mode. The third image and the fourth image may be the same or different. The third image is the same as the fourth image, that is, the second shooting interface is the shooting interface of the shooting modes directly out of cameras such as common camera mode and wide-angle mode, that is, the preview image (ie, the third image) displayed in this shooting mode adopts the second image. The image processed by shooting mode is the same as the image collected in real time. The third image is different from the fourth image, that is, the second shooting interface is a shooting interface of a shooting mode such as black and white art mode, portrait mode, etc. that add a filter or background blur, that is, the preview image displayed on the shooting interface (that is, the third image ) is different from the image collected in real time after being processed by the second shooting mode.
或者,与第一拍摄模式对应的第一拍摄界面可以是能够拍摄得到由摄像头采集的图像(如第一图像)采用第一拍摄模式进行处理得到的图像(如第一图像帧)的拍摄界面,即第一拍摄界面可显示实时采集的图像(如第一图像),并当用户采用第一拍摄界面进行拍摄操作(如第一操作)时,能够得到采用第一拍摄模式采集的第一图像帧。与第二拍摄模式对应的第二拍摄界面可以是能够拍摄得到由摄像头采集的图像(如第二图像)采用第二拍摄模式进行处理得到的图像(如第二图像帧)的拍摄界面,即 第二拍摄界面可显示实时采集的图像(如第二图像),并当用户采用第二拍摄界面进行拍摄操作(如第三操作)时,能够得到采用第二拍摄模式采集的第二图像帧。并且,第一图像帧的图像与第一图像可以相同也可以不同。第一图像帧的图像与第一图像相同,即第一拍摄界面为普通拍照模式、广角模式等摄像头直出的拍摄模式的拍摄界面,也即该拍摄界面显示的预览图像(即第一图像)与采用第一拍摄模式拍摄得到的图像(即第一图像帧)相同。第一图像帧的图像与第一图像不同,即第一拍摄界面为全景模式、HDR模式、流光快门模式、延时摄影模式等需要对采集到的图像进行后期处理的拍摄模式的拍摄界面,也即该拍摄界面显示的预览图像(即第一图像)与采用第一拍摄模式拍摄得到的图像(即第一图像帧)不相同。第二图像帧的图像与第二图像可以相同也可以不同。第二图像帧的图像与第二图像相同,即第二拍摄界面为普通拍照模式、广角模式等摄像头直出的拍照模式的拍摄界面,也即该拍摄界面显示的预览图像(即第三图像)与采用第二拍摄模式拍摄得到的图像(即第二图像帧)相同。第二图像帧的图像与第二图像不同,即第二拍摄界面为全景模式、HDR模式、流光快门模式、延时摄影模式等需要对采集到的图像进行后期处理的拍摄模式的拍摄界面,也即该拍摄界面显示的预览图像(即第二图像)与采用第二拍摄模式拍摄得到的图像(即第二图像帧)不相同。Alternatively, the first shooting interface corresponding to the first shooting mode may be a shooting interface capable of capturing an image (such as a first image) captured by a camera and processing an image (such as a first image frame) in the first shooting mode, That is, the first shooting interface can display real-time captured images (such as the first image), and when the user uses the first shooting interface to perform a shooting operation (such as the first operation), the first image frame captured by the first shooting mode can be obtained . The second shooting interface corresponding to the second shooting mode may be a shooting interface capable of shooting an image (such as a second image frame) obtained by processing an image (such as a second image) collected by the camera in the second shooting mode, that is, the second shooting interface The second shooting interface can display real-time captured images (such as the second image), and when the user uses the second shooting interface to perform a shooting operation (such as the third operation), the second image frame captured in the second shooting mode can be obtained. Moreover, the image of the first image frame may be the same as or different from the first image. The image of the first image frame is the same as the first image, that is, the first shooting interface is the shooting interface of the shooting modes that cameras such as common camera mode and wide-angle mode go straight out, that is, the preview image (i.e. the first image) displayed on the shooting interface It is the same as the image (that is, the first image frame) obtained by shooting in the first shooting mode. The image of the first image frame is different from the first image, that is, the first shooting interface is a shooting interface for shooting modes such as panoramic mode, HDR mode, streamer shutter mode, and time-lapse photography mode that require post-processing of the collected images. That is, the preview image (ie, the first image) displayed on the shooting interface is different from the image captured by using the first shooting mode (ie, the first image frame). The image of the second image frame may be the same as or different from the second image. The image of the second image frame is the same as the second image, that is, the second shooting interface is the shooting interface of the shooting modes that cameras such as common camera mode and wide-angle mode go straight out, that is, the preview image (i.e. the third image) displayed on the shooting interface It is the same as the image (that is, the second image frame) obtained by shooting in the second shooting mode. The image of the second image frame is different from the second image, that is, the second shooting interface is a shooting interface for shooting modes such as panorama mode, HDR mode, streamer shutter mode, and time-lapse photography mode that require post-processing of the collected images. That is, the preview image (ie, the second image) displayed on the shooting interface is different from the image captured by using the second shooting mode (ie, the second image frame).
其中,预设的生物信息与拍摄模式间的关系,可以是出厂预先设置的默认的生物信息与拍摄模式间的关系。也可以是用户预先在电子设备上设置录入的生物信息与拍摄模式间的关系。Wherein, the preset relationship between the biological information and the shooting mode may be the default relationship between the biological information and the shooting mode preset in the factory. It may also be that the user pre-sets the relationship between the entered biological information and the shooting mode on the electronic device.
拍摄模式可以包括人像模式、全景模式、黑白艺术模式、高动态范围图像(High-Dynamic Range,HDR)模式、流光快门模式、延时摄影模式、大光圈模式、夜景模式、微距模式、高像素模式以及专业模式等,此处不做限制。Shooting modes can include portrait mode, panorama mode, black and white art mode, high dynamic range image (High-Dynamic Range, HDR) mode, streamer shutter mode, time-lapse photography mode, large aperture mode, night scene mode, macro mode, high pixel mode and professional mode, etc., there is no limitation here.
采用该拍摄方法,在用户拍摄照片或视频时,若用户需要采用某个拍摄模式,用户可以让电子设备识别与该拍摄模式对应的生物信息,当电子设备识别到该生物信息时便能够匹配切换到相应的拍摄模式,从而便于用户快速的切换相应拍摄模式并拍摄。使用户采用不同拍摄模式拍摄照片或视频时,操作更加简便,提高用户切换拍摄模式的效率,更利于用户快速抓拍一些稍纵即逝的景象(或者说场景)。With this shooting method, when the user takes photos or videos, if the user needs to adopt a certain shooting mode, the user can let the electronic device identify the biological information corresponding to the shooting mode, and when the electronic device recognizes the biological information, it can match and switch. to the corresponding shooting mode, so that the user can quickly switch the corresponding shooting mode and shoot. When the user adopts different shooting modes to take photos or videos, the operation is more convenient, the efficiency of switching the shooting mode is improved, and it is more conducive to the user to quickly capture some fleeting scenes (or scenes).
以下,将结合附图对本申请实施例提供的拍摄方法进行说明。Hereinafter, the photographing method provided by the embodiment of the present application will be described with reference to the accompanying drawings.
在本申请实施例中,上述电子设备是具有拍摄功能的设备(如,具有摄像模块的设备),可以是手机、平板电脑、手持计算机,PC,蜂窝电话,个人数字助理(personal digital assistant,PDA),可穿戴式设备(如:智能手表、智能手环),智能家居设备(如:电视机),车机(如:车载电脑),智慧屏,游戏机,智能电视盒,以及增强现实(augmented reality,AR)/虚拟现实(virtual reality,VR)设备等。本申请实施例对于电子设备的具体设备形态不作特殊限制。In the embodiment of the present application, the above-mentioned electronic device is a device with a camera function (such as a device with a camera module), which can be a mobile phone, a tablet computer, a handheld computer, a PC, a cell phone, a personal digital assistant (personal digital assistant, PDA) ), wearable devices (such as: smart watches, smart bracelets), smart home devices (such as: TV sets), car machines (such as: car computers), smart screens, game consoles, smart TV boxes, and augmented reality ( augmented reality (AR)/virtual reality (virtual reality, VR) equipment, etc. The embodiment of the present application does not impose special restrictions on the specific device form of the electronic device.
示例地,以电子设备为手机为例,图2示出了本申请实施例提供的一种电子设备的结构示意图。也即,示例性的,图2所示的电子设备可以是手机。Exemplarily, taking the electronic device as a mobile phone as an example, FIG. 2 shows a schematic structural diagram of an electronic device provided by an embodiment of the present application. That is, for example, the electronic device shown in FIG. 2 may be a mobile phone.
如图2所示,电子设备可以包括处理器210,外部存储器接口220,内部存储器221,通用串行总线(universal serial bus,USB)接口230,充电管理模块240,电源管理模块241,电池242,天线1,天线2,移动通信模块250,无线通信模块260, 音频模块270,扬声器270A,受话器270B,麦克风270C,耳机接口270D,传感器模块280,按键290,马达291,指示器292,摄像头293,显示屏294,以及用户标识模块(subscriber identification module,SIM)卡接口295等。其中,传感器模块280可以包括压力传感器280A,陀螺仪传感器280B,气压传感器280C,磁传感器280D,加速度传感器280E,距离传感器280F,接近光传感器280G,指纹传感器280H,温度传感器280J,触摸传感器280K,环境光传感器280L,骨传导传感器280M等。As shown in Figure 2, the electronic device may include a processor 210, an external memory interface 220, an internal memory 221, a universal serial bus (universal serial bus, USB) interface 230, a charging management module 240, a power management module 241, a battery 242, Antenna 1, antenna 2, mobile communication module 250, wireless communication module 260, audio module 270, speaker 270A, receiver 270B, microphone 270C, earphone interface 270D, sensor module 280, button 290, motor 291, indicator 292, camera 293, A display screen 294, and a subscriber identification module (subscriber identification module, SIM) card interface 295, etc. Among them, the sensor module 280 may include a pressure sensor 280A, a gyroscope sensor 280B, an air pressure sensor 280C, a magnetic sensor 280D, an acceleration sensor 280E, a distance sensor 280F, a proximity light sensor 280G, a fingerprint sensor 280H, a temperature sensor 280J, a touch sensor 280K, an environment Light sensor 280L, bone conduction sensor 280M, etc.
可以理解的是,本实施例示意的结构并不构成对电子设备的具体限定。在另一些实施例中,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。It should be understood that the structure shown in this embodiment does not constitute a specific limitation on the electronic device. In other embodiments, the electronic device may include more or fewer components than shown, or combine certain components, or separate certain components, or arrange different components. The illustrated components can be realized in hardware, software or a combination of software and hardware.
处理器210可以包括一个或多个处理单元,例如:处理器210可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,存储器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。The processor 210 may include one or more processing units, for example: the processor 210 may include an application processor (application processor, AP), a modem processor, a graphics processing unit (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), controller, memory, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural network processor (neural-network processing unit, NPU) Wait. Wherein, different processing units may be independent devices, or may be integrated in one or more processors.
控制器可以是电子设备的神经中枢和指挥中心。控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。A controller can be the nerve center and command center of an electronic device. The controller can generate an operation control signal according to the instruction opcode and timing signal, and complete the control of fetching and executing the instruction.
处理器210中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器210中的存储器为高速缓冲存储器。该存储器可以保存处理器210刚用过或循环使用的指令或数据。如果处理器210需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器210的等待时间,因而提高了系统的效率。A memory may also be provided in the processor 210 for storing instructions and data. In some embodiments, the memory in processor 210 is a cache memory. The memory may hold instructions or data that the processor 210 has just used or recycled. If the processor 210 needs to use the instruction or data again, it can be called directly from the memory. Repeated access is avoided, and the waiting time of the processor 210 is reduced, thereby improving the efficiency of the system.
在一些实施例中,处理器210可以包括一个或多个接口。接口可以包括集成电路(inter-integrated circuit,I2C)接口,集成电路内置音频(inter-integrated circuit sound,I2S)接口,脉冲编码调制(pulse code modulation,PCM)接口,通用异步收发传输器(universal asynchronous receiver/transmitter,UART)接口,移动产业处理器接口(mobile industry processor interface,MIPI),通用输入输出(general-purpose input/output,GPIO)接口,用户标识模块(subscriber identity module,SIM)接口,和/或通用串行总线(universal serial bus,USB)接口等。In some embodiments, processor 210 may include one or more interfaces. The interface may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous transmitter (universal asynchronous receiver/transmitter, UART) interface, mobile industry processor interface (mobile industry processor interface, MIPI), general-purpose input and output (general-purpose input/output, GPIO) interface, subscriber identity module (subscriber identity module, SIM) interface, and /or universal serial bus (universal serial bus, USB) interface, etc.
电子设备的无线通信功能可以通过天线1,天线2,移动通信模块250,无线通信模块260,调制解调处理器以及基带处理器等实现。The wireless communication function of the electronic device can be realized by the antenna 1, the antenna 2, the mobile communication module 250, the wireless communication module 260, the modem processor and the baseband processor.
天线1和天线2用于发射和接收电磁波信号。电子设备中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in an electronic device can be used to cover a single or multiple communication frequency bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example: Antenna 1 can be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
移动通信模块250可以提供应用在电子设备上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块250可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块250可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移 动通信模块250还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块250的至少部分功能模块可以被设置于处理器210中。在一些实施例中,移动通信模块250的至少部分功能模块可以与处理器210的至少部分模块被设置在同一个器件中。The mobile communication module 250 can provide wireless communication solutions including 2G/3G/4G/5G applied to electronic devices. The mobile communication module 250 may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA) and the like. The mobile communication module 250 can receive electromagnetic waves through the antenna 1, filter and amplify the received electromagnetic waves, and send them to the modem processor for demodulation. The mobile communication module 250 can also amplify the signal modulated by the modem processor, and convert it into electromagnetic waves through the antenna 1 for radiation. In some embodiments, at least part of the functional modules of the mobile communication module 250 may be set in the processor 210 . In some embodiments, at least part of the functional modules of the mobile communication module 250 and at least part of the modules of the processor 210 may be set in the same device.
无线通信模块260可以提供应用在电子设备上的包括无线局域网(wireless local area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(bluetooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。无线通信模块260可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块260经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器210。无线通信模块260还可以从处理器210接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。The wireless communication module 260 can provide wireless local area networks (wireless local area networks, WLAN) (such as wireless fidelity (Wi-Fi) network), bluetooth (bluetooth, BT), global navigation satellite system, etc. (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field communication technology (near field communication, NFC), infrared technology (infrared, IR) and other wireless communication solutions. The wireless communication module 260 may be one or more devices integrating at least one communication processing module. The wireless communication module 260 receives electromagnetic waves via the antenna 2 , frequency-modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 210 . The wireless communication module 260 can also receive the signal to be sent from the processor 210 , frequency-modulate it, amplify it, and convert it into electromagnetic waves through the antenna 2 to radiate out.
在一些实施例中,电子设备的天线1和移动通信模块250耦合,天线2和无线通信模块260耦合,使得电子设备可以通过无线通信技术与网络以及其他设备通信。所述无线通信技术可以包括全球移动通讯系统(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,和/或IR技术等。所述GNSS可以包括全球卫星定位系统(global positioning system,GPS),全球导航卫星系统(global navigation satellite system,GLONASS),北斗卫星导航系统(beidou navigation satellite system,BDS),准天顶卫星系统(quasi-zenith satellite system,QZSS)和/或星基增强系统(satellite based augmentation systems,SBAS)。In some embodiments, the antenna 1 of the electronic device is coupled to the mobile communication module 250, and the antenna 2 is coupled to the wireless communication module 260, so that the electronic device 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 (general packet radio service, GPRS), code division multiple access (code division multiple access, CDMA), broadband Code division multiple access (wideband code division multiple access, WCDMA), time division code division multiple access (time-division code division multiple access, TD-SCDMA), long term evolution (long term evolution, LTE), BT, GNSS, WLAN, NFC , FM, and/or IR techniques, etc. The GNSS may include a global positioning system (global positioning system, GPS), a global navigation satellite system (global navigation satellite system, GLONASS), a Beidou navigation satellite system (beidou navigation satellite system, BDS), a quasi-zenith satellite system (quasi -zenith satellite system (QZSS) and/or satellite based augmentation systems (SBAS).
电子设备通过GPU,显示屏294,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏294和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器210可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。The electronic device realizes the display function through the GPU, the display screen 294, and the application processor. The GPU is a microprocessor for image processing, and is connected to the display screen 294 and the application processor. GPUs are used to perform mathematical and geometric calculations for graphics rendering. Processor 210 may include one or more GPUs that execute program instructions to generate or change display information.
显示屏294用于显示图像,视频等。显示屏294包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emitting diode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode,AMOLED),柔性发光二极管(flex light-emitting diode,FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(quantum dot light emitting diodes,QLED)等。在一些实施例中,电子设备可以包括1个或N个显示屏294,N为大于1的正整数。The display screen 294 is used to display images, videos and the like. Display 294 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 (active-matrix organic light emitting diode, AMOLED), flexible light-emitting diode (flex light-emitting diode, FLED), Miniled, MicroLed, Micro-oLed, quantum dot light emitting diodes (quantum dot light emitting diodes, QLED), etc. In some embodiments, the electronic device may include 1 or N display screens 294, where N is a positive integer greater than 1.
电子设备可以通过ISP,摄像头293,视频编解码器,GPU,显示屏294以及应用处理器等实现拍摄功能。在一些实施例中,电子设备可以包括1个或N个摄像头293,N为大于1的正整数。The electronic device can realize the shooting function through ISP, camera 293 , video codec, GPU, display screen 294 and application processor. In some embodiments, the electronic device may include 1 or N cameras 293, where N is a positive integer greater than 1.
ISP用于处理摄像头293反馈的数据。例如,拍照时,打开快门,光线通过镜头被传递到摄像头感光元件上,光信号转换为电信号,摄像头感光元件将所述电信号传递给ISP处理,转化为肉眼可见的图像。ISP还可以对图像的噪点,亮度,肤色进行算法优化。ISP还可以对拍摄场景的曝光,色温等参数优化。在一些实施例中,ISP可以设置在摄像头293中。The ISP is used for processing the data fed back by the camera 293 . For example, when taking a picture, open the shutter, the light is transmitted to the photosensitive element of the camera through the lens, and the light signal is converted into an electrical signal, and the photosensitive element of the camera transmits the electrical signal to the ISP for processing, and converts it into an image visible to the naked eye. ISP can also perform algorithm optimization on image noise, brightness, and skin color. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, the ISP may be located in the camera 293 .
摄像头293用于捕获静态图像或视频。物体通过镜头生成光学图像投射到感光元件。感光元件可以是电荷耦合器件(charge coupled device,CCD)或互补金属氧化物半导体(complementary metal-oxide-semiconductor,CMOS)光电晶体管。感光元件把光信号转换成电信号,之后将电信号传递给ISP转换成数字图像信号。ISP将数字图像信号输出到DSP加工处理。DSP将数字图像信号转换成标准的RGB,YUV等格式的图像信号。在一些实施例中,电子设备可以包括1个或N个摄像头293,N为大于1的正整数。Camera 293 is used to capture still images or video. The object generates an optical image through the lens and projects it to the photosensitive element. The photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the light signal into an electrical signal, and then transmits the electrical signal to the ISP to convert it into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. DSP converts digital image signals into standard RGB, YUV and other image signals. In some embodiments, the electronic device may include 1 or N cameras 293, where N is a positive integer greater than 1.
NPU为神经网络(neural-network,NN)计算处理器,通过借鉴生物神经网络结构,例如借鉴人脑神经元之间传递模式,对输入信息快速处理,还可以不断的自学习。通过NPU可以实现电子设备的智能认知等应用,例如:图像识别,人脸识别,语音识别,文本理解等。The NPU is a neural-network (NN) computing processor. By referring to the structure of biological neural networks, such as the transfer mode between neurons in the human brain, it can quickly process input information and continuously learn by itself. Applications such as intelligent cognition of electronic devices can be realized through NPU, such as: image recognition, face recognition, speech recognition, text understanding, etc.
内部存储器221可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。处理器210通过运行存储在内部存储器221的指令,从而执行电子设备的各种功能应用以及数据处理。内部存储器221可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,至少一个功能所需的应用程序(比如声音播放功能,图像播放功能等)等。存储数据区可存储电子设备使用过程中所创建的数据(比如音频数据,电话本等)等。此外,内部存储器221可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。The internal memory 221 may be used to store computer-executable program codes including instructions. The processor 210 executes various functional applications and data processing of the electronic device by executing instructions stored in the internal memory 221 . The internal memory 221 may include an area for storing programs and an area for storing data. Wherein, the stored program area can store an operating system, at least one application program required by a function (such as a sound playing function, an image playing function, etc.) and the like. The storage data area can store data (such as audio data, phone book, etc.) created during the use of the electronic device. In addition, the internal memory 221 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, universal flash storage (universal flash storage, UFS) and the like.
电子设备可以通过音频模块270,扬声器270A,受话器270B,麦克风270C,耳机接口270D,以及应用处理器等实现音频功能。例如音乐播放,录音等。The electronic device can realize the audio function through the audio module 270, the speaker 270A, the receiver 270B, the microphone 270C, the earphone interface 270D, and the application processor. Such as music playback, recording, etc.
当然,可以理解的,上述图2所示仅仅为电子设备的形态为手机时的示例性说明。若电子设备是平板电脑,手持计算机,PC,PDA,可穿戴式设备(如:智能手表、智能手环),智能家居设备(如:智能电视),车机(如:车载电脑),智慧屏,游戏机以及AR/VR设备等其他设备形态时,电子设备的结构中可以包括比图2中所示更少的结构,也可以包括比图2中所示更多的结构,在此不作限制。Of course, it can be understood that the above FIG. 2 is only an exemplary description when the form of the electronic device is a mobile phone. If the electronic device is a tablet computer, handheld computer, PC, PDA, wearable device (such as: smart watch, smart bracelet), smart home equipment (such as: smart TV), car machine (such as: vehicle computer), smart screen , game consoles, AR/VR devices, and other device forms, the structure of the electronic device may include fewer structures than those shown in Figure 2, or may include more structures than those shown in Figure 2, and there is no limitation here .
以下实施例中的方法均可以在具有上述硬件结构的电子设备中实现。下面将结合附图对本申请实施例进行举例说明。The methods in the following embodiments can all be implemented in electronic devices having the above hardware structure. The embodiments of the present application will be illustrated below with reference to the accompanying drawings.
以电子设备为手机,用户通过手机切换某个拍摄模式来拍摄照片为例,图3示出了本申请实施例提供的一种拍摄方法的流程示意图。如图3所示,该拍摄方法可以包括以下S301-S303。Taking the electronic device as a mobile phone, and the user switches a certain shooting mode to take a photo through the mobile phone as an example, FIG. 3 shows a schematic flow chart of a shooting method provided by an embodiment of the present application. As shown in FIG. 3 , the photographing method may include the following S301-S303.
S301、响应于用户检测生物信息的操作(即能够触发电子设备采集用户的生物信息的操作),电子设备采集用户的生物信息(如第一生物信息)。S301. In response to a user's operation of detecting biometric information (that is, an operation that can trigger the electronic device to collect the user's biometric information), the electronic device collects the user's biometric information (such as first biometric information).
其中,用户采集生物信息的操作,可以是用户触摸指纹检测区域、用户点击拍摄 控件(如,快门控件、视频录制控件等用于用户触发视频拍摄或照片拍摄的控件)的操作。Wherein, the user's operation of collecting biometric information may be the operation of the user touching the fingerprint detection area, or the user clicking a shooting control (such as a shutter control, a video recording control, etc., which are used for the user to trigger video shooting or photo shooting).
例如,以生物信息为用户的指纹信息为例。用户检测生物信息的操作可以是用户触摸指纹识别区域的操作。即,当用户的某个手指触摸指纹识别区域时,电子设备便可以开启指纹识别模块采集用户对应手指的指纹信息,以便于后续根据采集到的指纹信息匹配对应的拍照模式。需要说明的是,指纹识别模块可以是屏下指纹识别模块,或者是设置在电子设备背面或侧面的指纹识别模块,又或者是设置在电子设备按键上的指纹识别模块(例如,设置在电子设备主屏幕健上的指纹识别模块)。其中,当指纹识别模块为屏下指纹识别模块时,可以在电子设备开启该拍摄方法所实现的功能的情况下,将拍摄控件设置在远离屏下指纹识别模块的指纹识别区域的位置(即,当电子设备开启上述功能时,电子设备显示的拍摄控件位于远离屏下指纹识别模块的指纹识别区域的位置,如,电子设备的显示区域可以包括第一区域和第二区域,拍摄控件位于第一区域,指纹识别区域位于第二区域),从而避免用户为了进行普通模式(或者说默认模式)拍照而点击拍摄控件时误触屏下指纹识别模块的指纹识别区域,造成电子设备误采集用户的指纹信息并匹配相关拍摄模块进行切换的情况发生。可选地,在一些其他可能的实施方式中,电子设备还可以在开启该拍摄方法实现的功能的情况下,将拍摄控件设置为活动控件(即该拍摄控件可以由用户随意拖动),从而使用户可根据实际情况自由选择拍摄控件的位置以免屏下指纹识别模块干扰自己进行普通模式的拍照。For example, take biometric information as user's fingerprint information as an example. The user's operation of detecting biometric information may be an operation of the user touching the fingerprint recognition area. That is, when a certain finger of the user touches the fingerprint recognition area, the electronic device can turn on the fingerprint recognition module to collect the fingerprint information of the user's corresponding finger, so as to match the corresponding photographing mode according to the collected fingerprint information. It should be noted that the fingerprint recognition module can be an under-screen fingerprint recognition module, or a fingerprint recognition module arranged on the back or side of the electronic device, or a fingerprint recognition module arranged on the button of the electronic device (for example, arranged on the electronic device fingerprint recognition module on the main screen). Wherein, when the fingerprint recognition module is an off-screen fingerprint recognition module, the shooting control can be set at a position away from the fingerprint recognition area of the off-screen fingerprint recognition module when the electronic device starts the function realized by the shooting method (that is, When the electronic device turns on the above functions, the shooting control displayed by the electronic device is located at a position away from the fingerprint recognition area of the fingerprint recognition module under the screen. For example, the display area of the electronic device may include a first area and a second area, and the shooting control is located in the first area, the fingerprint identification area is located in the second area), so as to prevent the user from mistakenly touching the fingerprint identification area of the fingerprint identification module under the screen when the user clicks the shooting control in order to take pictures in the normal mode (or default mode), causing the electronic device to collect the user's fingerprint by mistake information and matches the relevant camera modules to switch. Optionally, in some other possible implementation manners, the electronic device can also set the shooting control as an active control (that is, the shooting control can be freely dragged by the user) when the function implemented by the shooting method is turned on, so that The user can freely choose the position of the shooting control according to the actual situation to avoid the interference of the fingerprint recognition module under the screen to take pictures in the normal mode.
又例如,以生物信息为用户的面部表情信息为例。用户检测生物信息的操作可以是用户点击识别控件(识别控件可以是单独设置的控件,也可以以拍摄控件作为识别控件)的操作。即,当用户点击识别控件之后,电子设备可以开启摄像模块以采集用户的面部表情信息,以便于后续根据采集到的面部表情信息匹配对应的拍照模式。其中,作为一种示例,电子设备可以采用摄像模块的前置摄像头来采集用户的面部表情信息。For another example, take the biological information as the user's facial expression information as an example. The operation for the user to detect the biometric information may be an operation in which the user clicks on the recognition control (the recognition control may be a separately set control, or the shooting control may be used as the recognition control). That is, after the user clicks on the recognition control, the electronic device can turn on the camera module to collect the user's facial expression information, so as to subsequently match the corresponding photographing mode according to the collected facial expression information. Wherein, as an example, the electronic device may use the front camera of the camera module to collect facial expression information of the user.
又例如,以生物信息为用户的肢体动作信息为例。用户检测生物信息的操作可以是用户点击识别控件(识别控件可以是单独设置的控件,也可以以拍摄控件作为识别控件)的操作。即,当用户点击识别控件之后,电子设备可以开启摄像模块以采集用户的肢体动作信息,以便于后续根据采集到的肢体动作信息匹配对应的拍照模式。其中,作为一种示例,电子设备可以采用前置摄像头来采集用户的肢体动作信息。For another example, take the biological information as the user's body movement information as an example. The operation for the user to detect the biometric information may be an operation in which the user clicks on the recognition control (the recognition control may be a separately set control, or the shooting control may be used as the recognition control). That is, after the user clicks on the recognition control, the electronic device can turn on the camera module to collect the user's body movement information, so as to subsequently match the corresponding photographing mode according to the collected body movement information. Wherein, as an example, the electronic device may use a front camera to collect user's body movement information.
S302、电子设备根据采集到的生物信息,按照预设的生物信息与拍摄模式间的关系确定与采集到的生物信息匹配的拍摄模式(如第二拍摄模式)。S302. The electronic device determines, according to the collected biological information, a shooting mode (such as a second shooting mode) that matches the collected biological information according to a preset relationship between the biological information and the shooting mode.
其中,生物信息与拍摄模式间的关系,可以是出厂默认设置的生物信息与拍摄模式间的映射关系。例如,以生物信息为用户的面部表情信息为例,可以默认设置笑脸对应的拍摄模式为全景模式,鬼脸对应的拍摄模式为黑白艺术模式等。Wherein, the relationship between the biological information and the shooting mode may be the mapping relationship between the biological information and the shooting mode set by factory default. For example, if the biological information is the facial expression information of the user, the shooting mode corresponding to the smiling face can be set as the panorama mode by default, and the shooting mode corresponding to the grimace is the black and white art mode, etc. by default.
生物信息与拍摄模式间的关系,还可以是用户预先在电子设备上设置录入的生物信息与拍摄模式间的关系。The relationship between the biometric information and the shooting mode may also be the relationship between the biometric information and the shooting mode set and entered by the user on the electronic device in advance.
例如,以生物信息为用户的指纹信息为例,用户可以预先在电子设备中录入设置某个手(如右手)五个手指的指纹信息,并为不同的手指的指纹信息对应设置相应的 拍摄模式。如,设置大拇指的指纹信息对应的拍摄模式为全景模式,设置食指的指纹信息对应的拍摄模式为黑白艺术模式,设置中指的指纹信息对应的拍摄模式为HDR模式,设置无名指的指纹信息对应的拍摄模式为流光快门模式,设置小拇指的指纹信息对应的拍摄模式为延时摄影模式。可选地,用户可以在设置界面中设置录入生物信息与拍摄模式间的关系。例如,如图4中的(a)所示,用户可以打开设置界面。该设置界面中可以包括“指纹拍摄”功能选项。当用户点击该“指纹拍摄”功能选项时,如图4中的(b)所示,电子设备可以显示包括用户已录入的指纹信息的指纹信息列表(如,包括用户的大拇指指纹信息的指纹1、包括用户的食指指纹信息的指纹2、包括用户的中指指纹信息的指纹3、包括用户的无名指指纹信息的指纹4以及包括用户的小拇指指纹信息的指纹5)。用户可以通过点击指纹信息列表中相应的指纹来对该指纹包含的指纹信息对应的拍摄模式进行配置。如,以用户点击指纹1为例,用户点击指纹1后,如图4中的(c)所示,电子设备可以显示对指纹1进行配置的界面,该界面中可以包括未被配置的拍摄模式。例如,包括全景模式、黑白艺术模式、HDR模式、流光快门模式以及延时摄影模式。用户可以通过点击相应的拍摄模式以对该指纹1进行配置。例如,用户通过点击全景模式,便能够将指纹1包含的用户的大拇指指纹信息设置为与全景模式相对应。For example, taking the biological information as the user's fingerprint information as an example, the user can pre-enter and set the fingerprint information of five fingers of a certain hand (such as the right hand) in the electronic device, and set corresponding shooting modes for the fingerprint information of different fingers . For example, set the shooting mode corresponding to the fingerprint information of the thumb to panorama mode, set the shooting mode corresponding to the fingerprint information of the index finger to black and white art mode, set the shooting mode corresponding to the fingerprint information of the middle finger to HDR mode, and set the shooting mode corresponding to the fingerprint information of the ring finger The shooting mode is the streamer shutter mode, and the shooting mode corresponding to the fingerprint information of the little finger is set to the time-lapse photography mode. Optionally, the user can set the relationship between the biometric information entered and the shooting mode in the setting interface. For example, as shown in (a) in FIG. 4 , the user can open the setting interface. The setting interface may include a "fingerprint shooting" function option. When the user clicks on the "fingerprint shooting" function option, as shown in (b) in Figure 4, the electronic device can display a list of fingerprint information including the fingerprint information that the user has entered (such as fingerprint information including the user's thumb fingerprint information). 1. Fingerprint 2 including the fingerprint information of the user's index finger, fingerprint 3 including the fingerprint information of the user's middle finger, fingerprint 4 including the fingerprint information of the ring finger of the user, and fingerprint 5) including the fingerprint information of the user's little finger. The user can configure the shooting mode corresponding to the fingerprint information contained in the fingerprint by clicking the corresponding fingerprint in the fingerprint information list. For example, taking the user's click on fingerprint 1 as an example, after the user clicks on fingerprint 1, as shown in (c) in Figure 4, the electronic device may display an interface for configuring fingerprint 1, which may include unconfigured shooting modes . For example, including panorama mode, black and white art mode, HDR mode, streamer shutter mode, and time-lapse photography mode. The user can configure the fingerprint 1 by clicking on the corresponding shooting mode. For example, by clicking on the panorama mode, the user can set the user's thumbprint information included in the fingerprint 1 to correspond to the panorama mode.
可选地,在上述指纹信息列表中,还可以包括用于用户添加指纹的控件,用户可以通过点击该控件以对其他手指的指纹信息进行添加,并设置对应的拍摄模式。例如,如图5中的(a)所示,在基于如图4中的(b)所示的指纹信息列表中,还可以包括“添加指纹”控件(该控件即为用于用户添加指纹的控件)。当用户点击“添加指纹”控件时,如图5中的(b)所示,电子设备可以显示添加指纹的界面(该界面可以包括屏下指纹识别模块的指纹识别区域501以及指纹录入指示画面502等)。当用户根据该添加指纹的界面将指纹添加完成后,如图5中的(c)所示,电子设备可以显示对用户刚添加的指纹进行配置的界面,该界面中可以包括未被配置的拍摄模式。例如,包括黑白艺术模式、HDR模式、流光快门模式以及延时摄影模式。用户可以通过点击相应的拍摄模式以对该指纹进行配置。例如,用户通过点击黑白艺术模式,便能够将该刚添加的指纹包含的指纹信息设置为与黑白艺术模式相对应。Optionally, the above fingerprint information list may also include a control for the user to add fingerprints, and the user may click on this control to add fingerprint information of other fingers and set a corresponding shooting mode. For example, as shown in (a) in Figure 5, in the fingerprint information list based on (b) in Figure 4, it may also include an "add fingerprint" control (this control is the controls). When the user clicks the "Add Fingerprint" control, as shown in (b) in Figure 5, the electronic device can display an interface for adding a fingerprint (this interface can include the fingerprint recognition area 501 of the fingerprint recognition module under the screen and the fingerprint entry instruction screen 502 Wait). After the user completes adding fingerprints according to the interface for adding fingerprints, as shown in (c) in Figure 5, the electronic device may display an interface for configuring the fingerprints just added by the user, which may include unconfigured shooting model. For example, including black and white art mode, HDR mode, streamer shutter mode, and time-lapse photography mode. Users can configure the fingerprint by clicking the corresponding shooting mode. For example, by clicking on the black and white art mode, the user can set the fingerprint information included in the newly added fingerprint to correspond to the black and white art mode.
又例如,以生物信息为用户的面部表情信息为例,用户可以预先在电子设备中录入设置某些面部表情的面部表情信息(如,笑脸的面部表情信息、鬼脸的面部表情信息等),并为不同的面部表情信息对应设置相应的拍摄模式。如,设置笑脸的面部表情信息对应的拍摄模式为全景模式,设置鬼脸的面部表情信息对应的拍摄模式为流光快门模式等。可选地,用户可以在设置界面中设置录入生物信息与拍摄模式间的关系。例如,如图6中的(a)所示,用户可以打开设置界面。该设置界面中可以包括“表情拍摄”功能选项。当用户点击该“表情拍摄”功能选项时,如图6中的(b)所示,电子设备可以显示包括用户已录入的面部表情信息的面部表情信息列表(如,包括笑脸的面部表情信息的表情1、包括鬼脸的面部表情信息的表情2)。用户可以通过点击面部表情信息列表中相应的表情来对该表情包含的面部表情信息对应的拍摄模式进行配置。如,以用户点击表情1为例,用户点击表情1后,如图6中的(c)所示,电子设备可以显示对表情1进行配置的界面,该界面中可以包括未被配置的拍摄模式。例如, 包括全景模式、黑白艺术模式、HDR模式、流光快门模式以及延时摄影模式。用户可以通过点击相应的拍摄模式以对该表情1进行配置。例如,用户通过点击全景模式,便能够将表情1包含的笑脸的面部表情信息设置为与全景模式相对应。For another example, taking the biological information as the user's facial expression information as an example, the user can pre-enter the facial expression information of certain facial expressions in the electronic device (such as the facial expression information of a smiling face, the facial expression information of a grimace, etc.), and Corresponding shooting modes are set for different facial expression information. For example, the shooting mode corresponding to the facial expression information of a smiling face is set to be a panorama mode, and the shooting mode corresponding to the facial expression information of a grimace is set to be a streamer shutter mode, etc. Optionally, the user can set the relationship between the biometric information entered and the shooting mode in the setting interface. For example, as shown in (a) in FIG. 6 , the user can open the setting interface. The setting interface may include a "expression shooting" function option. When the user clicks on the "expression shooting" function option, as shown in (b) in Figure 6, the electronic device can display a list of facial expression information that includes the facial expression information that the user has entered (such as a list of facial expression information that includes a smiling face) Expression 1, Expression 2) including facial expression information of a grimace. The user can configure the shooting mode corresponding to the facial expression information contained in the facial expression by clicking on the corresponding facial expression in the facial expression information list. For example, taking the user’s click on emoticon 1 as an example, after the user clicks on emoticon 1, as shown in (c) in FIG. . For example, it includes panorama mode, black and white art mode, HDR mode, streamer shutter mode, and time-lapse photography mode. The user can configure the expression 1 by clicking on the corresponding shooting mode. For example, by clicking on the panorama mode, the user can set the facial expression information of the smiling face contained in the expression 1 to correspond to the panorama mode.
可选地,在上述面部表情信息列表中,还可以包括用于用户添加面部表情信息的控件,用户可以通过点击该控件以对其他面部表情的面部表情信息进行添加,并设置对应的拍摄模式。例如,如图7中的(a)所示,在基于如图6中的(b)所示的面部表情信息列表中,还可以包括“添加表情”控件(该控件即为用于用户添加面部表情信息的控件)。当用户点击“添加表情”控件时,如图7中的(b)所示,电子设备可以显示添加表情的界面。当用户根据该添加表情的界面将面部表情信息添加完成后,如图7中的(c)所示,电子设备可以显示对用户刚添加的面部表情信息进行配置的界面,该界面中可以包括未被配置的拍摄模式。例如,包括黑白艺术模式、HDR模式、流光快门模式以及延时摄影模式。用户可以通过点击相应的拍摄模式以对该面部表情信息进行配置。例如,用户通过点击流光快门模式,便能够将该刚添加的面部表情信息设置为与流光快门模式相对应。Optionally, the above facial expression information list may also include a control for the user to add facial expression information, and the user may click the control to add facial expression information of other facial expressions and set a corresponding shooting mode. For example, as shown in (a) in Figure 7, in the facial expression information list based on (b) in Figure 6, you can also include an "add expression" control (this control is for the user to add facial emoticon information control). When the user clicks the "add emoticon" control, as shown in (b) in FIG. 7 , the electronic device may display an interface for adding emoticons. After the user finishes adding the facial expression information according to the interface for adding facial expressions, as shown in (c) in Figure 7, the electronic device can display an interface for configuring the facial expression information just added by the user. The configured shooting mode. For example, including black and white art mode, HDR mode, streamer shutter mode, and time-lapse photography mode. The user can configure the facial expression information by clicking on the corresponding shooting mode. For example, by clicking on the streamer shutter mode, the user can set the facial expression information just added to correspond to the streamer shutter mode.
又例如,以生物信息为用户的肢体动作信息为例,用户也可以预先在电子设备中录入设置某些肢体动作的肢体动作信息(如,比心手势的肢体动作信息、胜利手势的肢体动作信息等),并为不同的肢体动作信息对应设置相应的拍摄模式。如,设置比心手势的肢体动作信息对应的拍摄模式为全景模式,设置胜利手势的肢体动作信息对应的拍摄模式为流光快门模式等。可选地,用户可以在设置界面中设置录入生物信息与拍摄模式间的关系。例如,如图8中的(a)所示,用户可以打开设置界面。该设置界面中可以包括“动作拍摄”功能选项。当用户点击该“动作拍摄”功能选项时,如图8中的(b)所示,电子设备可以显示包括用户已录入的肢体动作信息的肢体动作信息列表(如,包括比心手势的肢体动作信息的动作1、包括胜利手势的肢体动作信息的动作2)。用户可以通过点击肢体动作信息列表中相应的动作来对该动作包含的肢体动作信息对应的拍摄模式进行配置。如,以用户点击动作1为例,用户点击动作1后,如图8中的(c)所示,电子设备可以显示对动作1进行配置的界面,该界面中可以包括未被配置的拍摄模式。例如,包括全景模式、黑白艺术模式、HDR模式、流光快门模式以及延时摄影模式。用户可以通过点击相应的拍摄模式以对该动作1进行配置。例如,用户通过点击全景模式,便能够将动作1包含的比心手势的肢体动作信息设置为与全景模式相对应。As another example, taking the biological information as the user's body movement information as an example, the user can also pre-enter and set some body movement information in the electronic device (such as the body movement information of the heart gesture, the body movement information of the victory gesture, etc.) etc.), and correspondingly set corresponding shooting modes for different body movement information. For example, the shooting mode corresponding to the body movement information of the heart gesture is set as the panorama mode, and the shooting mode corresponding to the body movement information of the victory gesture is set as the streamer shutter mode, etc. Optionally, the user can set the relationship between the biometric information entered and the shooting mode in the setting interface. For example, as shown in (a) in FIG. 8 , the user can open the setting interface. The setting interface may include an "action shooting" function option. When the user clicks on the "motion shooting" function option, as shown in (b) in FIG. Action 1 of the information, action 2 of the body action information including the victory gesture. The user can configure the shooting mode corresponding to the body movement information contained in the movement by clicking on the corresponding movement in the body movement information list. For example, taking the user's click on action 1 as an example, after the user clicks on action 1, as shown in (c) in Figure 8, the electronic device may display an interface for configuring action 1, which may include unconfigured shooting modes . For example, including panorama mode, black and white art mode, HDR mode, streamer shutter mode, and time-lapse photography mode. The user can configure the action 1 by clicking the corresponding shooting mode. For example, by clicking on the panorama mode, the user can set the body movement information of the heart-to-heart gesture contained in Action 1 to correspond to the panorama mode.
可选地,在上述肢体动作信息列表中,还可以包括用于用户添加肢体动作信息的控件,用户可以通过点击该控件以对其他肢体动作的肢体动作信息进行添加,并设置对应的拍摄模式。例如,如图9中的(a)所示,在基于如图8中的(b)所示的肢体动作信息列表中,还可以包括“添加动作”控件(该控件即为用于用户添加肢体动作信息的控件)。当用户点击“添加动作”控件时,如图9中的(b)所示,电子设备可以显示添加动作的界面。当用户根据该添加动作的界面将肢体动作信息添加完成后,如图9中的(c)所示,电子设备可以显示对用户刚添加的肢体动作信息进行配置的界面,该界面中可以包括未被配置的拍摄模式。例如,包括黑白艺术模式、HDR模式、流光快门模式以及延时摄影模式。用户可以通过点击相应的拍摄模式以对该肢体动作 信息进行配置。例如,用户通过点击流光快门模式,便能够将该刚添加的肢体动作信息设置为与流光快门模式相对应。Optionally, the above body movement information list may also include a control for the user to add body movement information, and the user may click on the control to add body movement information of other body movements and set a corresponding shooting mode. For example, as shown in (a) in Figure 9, in the body action information list based on (b) in Figure 8, an "add action" control (this control is used for the user to add a body controls for action information). When the user clicks on the "add action" control, as shown in (b) in FIG. 9 , the electronic device may display an interface for adding an action. After the user finishes adding the body movement information according to the action adding interface, as shown in (c) in FIG. 9 , the electronic device may display an interface for configuring the body movement information just added by the user. The configured shooting mode. For example, including black and white art mode, HDR mode, streamer shutter mode, and time-lapse photography mode. The user can configure the body movement information by clicking on the corresponding shooting mode. For example, by clicking on the streamer shutter mode, the user can set the newly added body movement information to correspond to the streamer shutter mode.
在本申请实施例中,当用户设置好生物信息与拍摄模式间的关系后,电子设备可以将用户设置的生物信息与拍摄模式间的关系存储在本体数据库中。在一些可能的实施方式中,生物信息与拍摄模式间的关系可以通过映射表的形式进行存储。例如,以生物信息为指纹信息,指纹1包含用户的大拇指指纹信息,指纹2包含用户的食指指纹信息,指纹3包含用户的中指指纹信息,指纹4包含用户的无名指指纹信息,指纹4包含用户的小拇指指纹信息为例,用于存储生物信息与拍摄模式间的关系的映射表可以如表1所示。In the embodiment of the present application, after the user sets the relationship between the biological information and the shooting mode, the electronic device may store the relationship between the biological information and the shooting mode set by the user in the ontology database. In some possible implementation manners, the relationship between biological information and shooting modes may be stored in the form of a mapping table. For example, taking biological information as fingerprint information, fingerprint 1 contains the fingerprint information of the user's thumb, fingerprint 2 contains the fingerprint information of the user's index finger, fingerprint 3 contains the fingerprint information of the user's middle finger, fingerprint 4 contains the fingerprint information of the ring finger of the user, and fingerprint 4 contains the fingerprint information of the user's ring finger. Taking the little finger fingerprint information as an example, the mapping table used to store the relationship between biological information and shooting modes can be shown in Table 1.
表1Table 1
指纹fingerprint 拍摄模式shooting mode
none 默认模式default mode
指纹1Fingerprint 1 全景模式panorama mode
指纹2Fingerprint 2 黑白艺术模式black and white art mode
指纹3Fingerprint 3 HDR模式HDR mode
指纹4Fingerprint 4 流光快门模式streamer shutter mode
指纹5Fingerprint 5 延时摄影模式Time Lapse Mode
即,生物信息与拍摄模式间的关系为无匹配的指纹信息对应的拍摄模式为默认模式,包含大拇指的指纹信息的指纹1对应的拍摄模式为全景模式,包含食指的指纹信息的指纹2对应的拍摄模式为黑白艺术模式,包含中指的指纹信息的指纹3对应的拍摄模式为HDR模式,包含无名指的指纹信息的指纹4对应的拍摄模式为流光快门模式,包含小拇指的指纹信息的指纹5对应的拍摄模式为延时摄影模式。当生物信息为其他信息时(如面部表情信息、肢体动作信息等),用于存储生物信息与拍摄模式间的关系的映射表可以与表1所示类似,此处不再例举。That is, the relationship between biometric information and shooting modes is that the shooting mode corresponding to no matching fingerprint information is the default mode, the shooting mode corresponding to fingerprint 1 containing the fingerprint information of the thumb is the panorama mode, and the fingerprint 2 containing the fingerprint information of the index finger corresponds to The shooting mode of the camera is black and white art mode, the shooting mode corresponding to the fingerprint 3 containing the fingerprint information of the middle finger is HDR mode, the shooting mode corresponding to the fingerprint 4 containing the fingerprint information of the ring finger is the streamer shutter mode, and the fingerprint 5 containing the fingerprint information of the little finger corresponds to The shooting mode is time-lapse photography mode. When the biological information is other information (such as facial expression information, body movement information, etc.), the mapping table for storing the relationship between the biological information and the shooting mode may be similar to that shown in Table 1, and will not be exemplified here.
作为一种示例,按照预设的生物信息与拍摄模式间的关系确定与采集到的生物信息匹配的拍摄模式可以是,将采集到的生物信息跟生物信息与拍摄模式间的关系进行匹配比对(或者说根据采集到的生物信息在预设的生物信息与拍摄模式间的关系中进行查询),从而确定出与采集到的生物信息对应的拍摄模式。例如,当生物信息与拍摄模式间的关系通过映射表的形式存储时,可以根据采集到的生物信息在映射表中匹配相应的指纹,然后查询出对应的拍摄模式。可选地,若没有匹配比对成功,则可以提示用户没有匹配到相关拍摄模式,保持默认模式。As an example, determining the shooting mode that matches the collected biological information according to the preset relationship between the biological information and the shooting mode may be to match and compare the collected biological information with the relationship between the biological information and the shooting mode (or search in the preset relationship between biological information and shooting modes according to the collected biological information), so as to determine the shooting mode corresponding to the collected biological information. For example, when the relationship between biological information and shooting modes is stored in the form of a mapping table, corresponding fingerprints can be matched in the mapping table according to the collected biological information, and then the corresponding shooting mode can be queried. Optionally, if no matching and comparison is successful, the user may be prompted that no relevant shooting mode is matched, and the default mode is kept.
可选地,在生物信息为面部表情信息、肢体动作信息等需要通过摄像模块采集的信息的情况下。当电子设备还根据摄像模块采集用户的面部表情信息、肢体动作信息等进行其他功能时,为了避免冲突可以为电子设备采集到用户生物信息后进行相应操作时设置优先级。例如,生物信息为面部表情信息,电子设备通过前置摄像头采集用户面部表情信息以匹配相应的拍摄模式时,电子设备还会通过前置摄像头采集用户面部表情信息以进行自动拍摄(即表情抓拍)。则此时,可以设置电子设备根据面部表情信息匹配拍照模式的优先级低于根据面部表情信息进行自动拍摄的优先级,从而使电子设备在出现上述冲突时优先根据面部表情进行自动拍摄。Optionally, when the biological information is facial expression information, body movement information and other information that needs to be collected through the camera module. When the electronic device also performs other functions according to the user's facial expression information and body movement information collected by the camera module, in order to avoid conflicts, the electronic device can set a priority for corresponding operations after the user's biological information is collected. For example, the biological information is facial expression information. When the electronic device collects the user's facial expression information through the front camera to match the corresponding shooting mode, the electronic device will also collect the user's facial expression information through the front camera for automatic shooting (ie expression capture) . Then, at this time, the electronic device can set the priority of matching the photographing mode according to the facial expression information to be lower than the priority of automatic shooting according to the facial expression information, so that the electronic device can give priority to automatic shooting according to the facial expression when the above conflict occurs.
S303、电子设备切换到与采集到的生物信息匹配的拍摄模式(如第二拍摄模式)。S303. The electronic device switches to a shooting mode (such as a second shooting mode) that matches the collected biological information.
当电子设备根据采集到的生物信息匹配确定出对应的拍摄模式之后,电子设备便可以切换到该拍摄模式以便用户采用该拍摄模式进行拍照。通常,在电子设备切换到相应拍摄模式后可以显示切换后拍摄模式对应的拍摄界面(如第二拍摄界面)。After the electronic device matches and determines the corresponding shooting mode according to the collected biological information, the electronic device can switch to the shooting mode so that the user can take pictures in this shooting mode. Usually, after the electronic device is switched to the corresponding shooting mode, a shooting interface (such as a second shooting interface) corresponding to the switched shooting mode may be displayed.
作为一种示例,以生物信息为指纹信息,设置的生物信息与拍摄模式间的关系为用户的食指的指纹信息对应的拍摄模式为流光快门模式为例。如图10中的(a)所示,当电子设备显示普通模式的拍摄界面(普通模式的拍摄界面可以包括屏下指纹识别模块的识别区域1001、远离屏下指纹识别模块的指纹识别区域的拍摄控件1002等)时,用户可以通过将食指放置在屏下指纹识别模块的指纹识别区域以切换流光快门拍摄模式。响应于用户将食指放置在屏下指纹识别模块的识别区域的操作,如图10中的(b)所示,电子设备便能够切换到流光快门拍摄模式的拍摄界面。As an example, take the biometric information as fingerprint information, and the set relationship between the biometric information and the photographing mode is that the photographing mode corresponding to the fingerprint information of the user's index finger is the streamer shutter mode as an example. As shown in (a) in Figure 10, when the electronic device displays the shooting interface of the normal mode (the shooting interface of the normal mode may include the recognition area 1001 of the fingerprint recognition module under the screen, and the shooting of the fingerprint recognition area far away from the fingerprint recognition module of the screen Control 1002, etc.), the user can switch the streamer shutter shooting mode by placing the index finger on the fingerprint recognition area of the fingerprint recognition module under the screen. In response to the user's operation of placing the index finger on the recognition area of the fingerprint recognition module under the screen, as shown in (b) in FIG. 10 , the electronic device can switch to the shooting interface of the streamer shutter shooting mode.
作为另一种示例,以生物信息为面部表情信息,设置的生物信息与拍摄模式间的关系为笑脸对应的拍摄模式为黑白艺术模式,以拍摄控件作为识别控件为例。如图11中的(a)所示,当用户做出笑脸表情并点击普通模式的拍摄界面中的拍摄控件时(图中是以用户打开前置摄像头进行自拍为例,电子设备中显示的拍摄对象为用户自己,在其他示例中当用户打开后置摄像头拍摄时电子设备中显示的也可以是后置摄像头拍摄的拍摄对象),如图11中的(b)所示,电子设备便能够切换到黑白艺术模式的拍摄界面。此时,用户可以通过再次点击拍摄控件以进行黑白艺术模式拍摄。As another example, the biometric information is used as facial expression information, and the relationship between the biometric information and the shooting mode is set to be that the shooting mode corresponding to the smiling face is the black and white art mode, and the shooting control is used as the recognition control as an example. As shown in (a) in Figure 11, when the user makes a smiling expression and clicks the shooting control in the shooting interface of the normal mode (in the figure, the user turns on the front camera to take a selfie as an example, the shooting displayed in the electronic device The object is the user himself. In other examples, when the user turns on the rear camera to shoot, the electronic device may also display the object captured by the rear camera), as shown in (b) in Figure 11, the electronic device can switch Go to the shooting interface of black and white art mode. At this point, the user can click the shooting control again to shoot in black and white art mode.
可选地,当电子设备切换到与采集到的生物信息匹配的拍摄模式后,电子设备可以自动进行拍摄,即电子设备切换拍摄模式后可以自动采用该拍摄模式对当前取景画面进行拍摄。当然,在另一些可能的实施方式中,当电子设备切换到与采集到的生物信息匹配的拍摄模式后,电子设备可以不自动进行拍摄。而是当接收到用户的拍摄操作(如点击拍摄控件)时,响应于用户操作再进行拍摄。此处不做限制。Optionally, when the electronic device switches to a shooting mode that matches the collected biological information, the electronic device can automatically shoot, that is, after switching the shooting mode, the electronic device can automatically use the shooting mode to shoot the current viewfinder. Of course, in some other possible implementation manners, after the electronic device switches to a shooting mode that matches the collected biological information, the electronic device may not automatically shoot. Instead, when a user's shooting operation (such as clicking on a shooting control) is received, shooting is performed in response to the user's operation. There are no restrictions here.
采用上述实施例中的方法,在用户拍摄照片或视频时,若用户需要采用某个拍摄模式,用户可以让电子设备识别与该拍摄模式对应的生物信息,当电子设备识别到该生物信息时便能够匹配切换到相应的拍摄模式,从而便于用户快速的切换相应拍摄模式并拍摄。使用户采用不同拍摄模式拍摄照片或视频时,操作更加简便,提高用户切换拍摄模式的效率,更利于用户快速抓拍一些稍纵即逝的景象。Using the methods in the above embodiments, when the user takes photos or videos, if the user needs to adopt a certain shooting mode, the user can let the electronic device identify the biological information corresponding to the shooting mode, and when the electronic device recognizes the biological information, it can It can match and switch to the corresponding shooting mode, so that it is convenient for the user to quickly switch to the corresponding shooting mode and shoot. It makes the operation easier for users to take photos or videos in different shooting modes, improves the efficiency of users switching shooting modes, and is more conducive to users to quickly capture some fleeting scenes.
对应于前述实施例中的方法,本申请实施例还提供一种拍摄装置。该装置可以应用于上述的电子设备用于实现前述实施例中的方法。该装置的功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。硬件或软件包括一个或多个与上述功能相对应的模块。例如,图12示出了一种拍摄装置的结构示意图,如图12所示,该装置包括:处理模块1201以及显示模块1202等。处理模块1201、显示模块1202可以配合用于实现上述实施例中相关的方法。Corresponding to the methods in the foregoing embodiments, the embodiments of the present application further provide a photographing device. The apparatus may be applied to the above-mentioned electronic equipment to implement the methods in the foregoing embodiments. The functions of the device can be realized by hardware, and can also be realized by executing corresponding software by hardware. Hardware or software includes one or more modules corresponding to the above-mentioned functions. For example, FIG. 12 shows a schematic structural diagram of a photographing device. As shown in FIG. 12 , the device includes: a processing module 1201 , a display module 1202 and the like. The processing module 1201 and the display module 1202 may cooperate to implement the related methods in the foregoing embodiments.
应理解以上装置中单元或模块(以下均称为单元)的划分仅仅是一种逻辑功能的划分,实际实现时可以全部或部分集成到一个物理实体上,也可以物理上分开。且装置中的单元可以全部以软件通过处理元件调用的形式实现;也可以全部以硬件的形式实现;还可以部分单元以软件通过处理元件调用的形式实现,部分单元以硬件的形式实现。It should be understood that the division of units or modules (hereinafter referred to as units) in the above device is only a division of logical functions, and may be fully or partially integrated into a physical entity or physically separated during actual implementation. And the units in the device can all be implemented in the form of software called by the processing element; they can also be implemented in the form of hardware; some units can also be implemented in the form of software called by the processing element, and some units can be implemented in the form of hardware.
例如,各个单元可以为单独设立的处理元件,也可以集成在装置的某一个芯片中实现,此外,也可以以程序的形式存储于存储器中,由装置的某一个处理元件调用并执行该单元的功能。此外这些单元全部或部分可以集成在一起,也可以独立实现。这里所述的处理元件又可以称为处理器,可以是一种具有信号的处理能力的集成电路。在实现过程中,上述方法的各步骤或以上各个单元可以通过处理器元件中的硬件的集成逻辑电路实现或者以软件通过处理元件调用的形式实现。For example, each unit can be a separate processing element, or it can be integrated in a certain chip of the device. In addition, it can also be stored in the memory in the form of a program, which is called and executed by a certain processing element of the device. Function. In addition, all or part of these units can be integrated together, or implemented independently. The processing element described here may also be referred to as a processor, and may be an integrated circuit with a signal processing capability. In the process of implementation, each step of the above method or each unit above may be implemented by an integrated logic circuit of hardware in the processor element or implemented in the form of software called by the processing element.
在一个例子中,以上装置中的单元可以是被配置成实施以上方法的一个或多个集成电路,例如:一个或多个ASIC,或,一个或多个DSP,或,一个或者多个FPGA,或这些集成电路形式中至少两种的组合。In one example, the units in the above device may be one or more integrated circuits configured to implement the above method, for example: one or more ASICs, or, one or more DSPs, or, one or more FPGAs, Or a combination of at least two of these integrated circuit forms.
再如,当装置中的单元可以通过处理元件调度程序的形式实现时,该处理元件可以是通用处理器,例如CPU或其它可以调用程序的处理器。再如,这些单元可以集成在一起,以片上系统(system-on-a-chip,SOC)的形式实现。For another example, when the units in the device can be implemented in the form of a processing element scheduler, the processing element can be a general-purpose processor, such as a CPU or other processors that can call programs. For another example, these units can be integrated together and implemented in the form of a system-on-a-chip (SOC).
在一种实现中,以上装置实现以上方法中各个对应步骤的单元可以通过处理元件调度程序的形式实现。例如,该装置可以包括处理元件和存储元件,处理元件调用存储元件存储的程序,以执行以上方法实施例所述的方法。存储元件可以为与处理元件处于同一芯片上的存储元件,即片内存储元件。In one implementation, the units of the above apparatus for implementing each corresponding step in the above method may be implemented in the form of a processing element scheduler. For example, the apparatus may include a processing element and a storage element, and the processing element invokes a program stored in the storage element to execute the methods described in the above method embodiments. The storage element may be a storage element on the same chip as the processing element, that is, an on-chip storage element.
在另一种实现中,用于执行以上方法的程序可以在与处理元件处于不同芯片上的存储元件,即片外存储元件。此时,处理元件从片外存储元件调用或加载程序于片内存储元件上,以调用并执行以上方法实施例所述的方法。In another implementation, the program for executing the above method may be stored in a storage element on a different chip from the processing element, that is, an off-chip storage element. At this point, the processing element invokes or loads a program from the off-chip storage element to the on-chip storage element, so as to invoke and execute the methods described in the above method embodiments.
例如,本申请实施例还可以提供一种装置,如:电子设备,可以包括:处理器,用于存储该处理器可执行指令的存储器。该处理器被配置为执行上述指令时,使得该电子设备实现如前述实施例中电子设备实施的拍摄方法。该存储器可以位于该电子设备之内,也可以位于该电子设备之外。且该处理器包括一个或多个。For example, an embodiment of the present application may also provide an apparatus, such as an electronic device, which may include a processor, and a memory configured to store instructions executable by the processor. When the processor is configured to execute the above instructions, the electronic device implements the photographing method implemented by the electronic device in the foregoing embodiments. The memory can be located inside the electronic device or outside the electronic device. And the processor includes one or more.
在又一种实现中,该装置实现以上方法中各个步骤的单元可以是被配置成一个或多个处理元件,这些处理元件可以设置于对应上述的电子设备上,这里的处理元件可以为集成电路,例如:一个或多个ASIC,或,一个或多个DSP,或,一个或者多个FPGA,或者这些类集成电路的组合。这些集成电路可以集成在一起,构成芯片。In yet another implementation, the unit of the apparatus that implements each step in the above method may be configured as one or more processing elements, and these processing elements may be set on the corresponding electronic equipment described above, where the processing elements may be integrated circuits , for example: one or more ASICs, or one or more DSPs, or one or more FPGAs, or a combination of these types of integrated circuits. These integrated circuits can be integrated together to form a chip.
例如,本申请实施例还提供一种芯片系统,该芯片系统可以应用于上述电子设备。芯片系统包括一个或多个接口电路和一个或多个处理器;接口电路和处理器通过线路互联;处理器通过接口电路从电子设备的存储器接收并执行计算机指令,以实现以上方法实施例中电子设备相关的方法。For example, an embodiment of the present application further provides a chip system, and the chip system may be applied to the above-mentioned electronic device. The chip system includes one or more interface circuits and one or more processors; the interface circuits and the processors are interconnected through lines; the processor receives and executes computer instructions from the memory of the electronic device through the interface circuits, so as to realize the electronic processing in the above method embodiments. Device-dependent methods.
本申请实施例还提供一种计算机程序产品,包括电子设备,如上述电子设备,运行的计算机指令。An embodiment of the present application further provides a computer program product, including computer instructions executed by an electronic device, such as the above-mentioned electronic device.
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。Through the description of the above embodiments, those skilled in the art can clearly understand that for the convenience and brevity of the description, only the division of the above-mentioned functional modules is used as an example for illustration. In practical applications, the above-mentioned functions can be allocated according to needs It is completed by different functional modules, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above.
在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块 或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个装置,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed devices and methods may be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the modules or units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be Incorporation or may be integrated into another device, or some features may be omitted, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是一个物理单元或多个物理单元,即可以位于一个地方,或者也可以分布到多个不同地方。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The unit described as a separate component may or may not be physically separated, and the component displayed as a unit may be one physical unit or multiple physical units, that is, it may be located in one place, or may be distributed to multiple different places . Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,如:程序。该软件产品存储在一个程序产品,如计算机可读存储介质中,包括若干指令用以使得一个设备(可以是单片机,芯片等)或处理器(processor)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated unit is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on such an understanding, the essence of the technical solutions of the embodiments of the present application or the part that contributes to the prior art, or all or part of the technical solutions can be embodied in the form of software products, such as programs. The software product is stored in a program product, such as a computer-readable storage medium, and includes several instructions to make a device (which may be a single-chip microcomputer, a chip, etc.) or a processor (processor) execute all of the methods described in various embodiments of the present application. or partial steps. The aforementioned storage medium includes: various media capable of storing program codes such as U disk, mobile hard disk, ROM, RAM, magnetic disk or optical disk.
例如,本申请实施例还可以提供一种计算机可读存储介质,其上存储有计算机程序指令。当计算机程序指令被电子设备执行时,使得电子设备实现如前述方法实施例中所述的拍摄方法。For example, the embodiments of the present application may also provide a computer-readable storage medium on which computer program instructions are stored. When the computer program instructions are executed by the electronic device, the electronic device is made to implement the photographing method described in the foregoing method embodiments.
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何在本申请揭露的技术范围内的变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。The above is only a specific implementation of the application, but the protection scope of the application is not limited thereto, and any changes or replacements within the technical scope disclosed in the application should be covered within the protection scope of the application . Therefore, the protection scope of the present application should be determined by the protection scope of the claims.

Claims (16)

  1. 一种拍摄方法,其特征在于,应用于电子设备,所述方法包括:A shooting method, characterized in that it is applied to electronic equipment, the method comprising:
    显示第一拍摄界面,所述第一拍摄界面显示第一图像,所述第一图像为第二图像采用第一拍摄模式进行处理得到的,所述第二图像为摄像头实时采集的图像;Displaying a first shooting interface, the first shooting interface displays a first image, the first image is obtained by processing the second image using the first shooting mode, and the second image is an image collected by a camera in real time;
    通过摄像头采集用户的第一面部表情信息和/或肢体动作信息,所述第一面部表情信息和/或肢体动作信息与预设信息相匹配,所述预设信息为用于触发所述电子设备自动拍摄的面部表情信息和/或肢体动作信息;Collect the first facial expression information and/or body movement information of the user through the camera, the first facial expression information and/or body movement information matches the preset information, and the preset information is used to trigger the Facial expression information and/or body movement information automatically captured by electronic devices;
    响应于采集到所述第一面部表情信息和/或肢体动作信息,采用所述第一拍摄模式进行拍摄操作;In response to collecting the first facial expression information and/or body movement information, use the first shooting mode to perform a shooting operation;
    通过摄像头采集用户的第二面部表情信息和/或肢体动作信息,所述第二面部表情信息和/或肢体动作信息与所述预设信息不匹配;collecting the user's second facial expression information and/or body movement information through the camera, and the second facial expression information and/or body movement information does not match the preset information;
    响应于采集到所述第二面部表情信息和/或肢体动作信息,显示第二拍摄界面,所述第二拍摄界面显示第三图像,所述第三图像为第四图像采用第二拍摄模式进行处理得到的,所述第四图像为摄像头实时采集的图像,其中,所述第一拍摄模式与所述第二拍摄模式不同,拍摄模式包括全景模式、黑白艺术模式、高动态范围图像HDR模式、流光快门模式、延时摄影模式、大光圈模式、夜景模式、人像模式、微距模式、高像素模式以及专业模式。In response to collecting the second facial expression information and/or body movement information, a second shooting interface is displayed, the second shooting interface displays a third image, and the third image is a fourth image that is captured in the second shooting mode. The processed fourth image is an image captured by the camera in real time, wherein the first shooting mode is different from the second shooting mode, and the shooting modes include panorama mode, black and white art mode, high dynamic range image HDR mode, Streamer shutter mode, time-lapse photography mode, large aperture mode, night scene mode, portrait mode, macro mode, high pixel mode and professional mode.
  2. 根据权利要求1所述的方法,其特征在于,所述响应于采集到所述第一面部表情信息和/或肢体动作信息,采用所述第一拍摄模式进行拍摄操作,包括:The method according to claim 1, wherein, in response to collecting the first facial expression information and/or body movement information, using the first shooting mode to perform a shooting operation includes:
    确定所述第一面部表情信息和/或肢体动作信息与所述预设信息相匹配;determining that the first facial expression information and/or body movement information matches the preset information;
    采用所述第一拍摄模式进行拍摄操作。Use the first shooting mode to perform a shooting operation.
  3. 根据权利要求1或2所述的方法,其特征在于,所述响应于采集到所述第二面部表情信息和/或肢体动作信息,显示第二拍摄界面,包括:The method according to claim 1 or 2, wherein the displaying a second shooting interface in response to collecting the second facial expression information and/or body movement information includes:
    确定所述第二面部表情信息和/或肢体动作信息与所述预设信息不匹配;determining that the second facial expression information and/or body movement information does not match the preset information;
    根据所述第二面部表情信息和/或肢体动作信息,按照预设的面部表情信息和/或肢体动作信息与拍摄模式间的关系确定与所述第二面部表情信息和/或肢体动作信息匹配的所述第二拍摄模式;According to the second facial expression information and/or body movement information, according to the relationship between the preset facial expression information and/or body movement information and the shooting mode, it is determined to match the second facial expression information and/or body movement information the second shooting mode;
    根据所述第二拍摄模式显示所述第二拍摄界面。The second shooting interface is displayed according to the second shooting mode.
  4. 一种拍摄方法,其特征在于,应用于电子设备,所述方法包括:A shooting method, characterized in that it is applied to electronic equipment, the method comprising:
    显示第一拍摄界面,所述第一拍摄界面显示第一图像,所述第一图像为第二图像采用第一拍摄模式进行处理得到的,所述第二图像为摄像头实时采集的图像;其中,所述第一拍摄界面包括识别控件;Displaying a first shooting interface, the first shooting interface displays a first image, the first image is obtained by processing the second image using the first shooting mode, and the second image is an image collected by the camera in real time; wherein, The first shooting interface includes an identification control;
    检测到用户点击所述识别控件的操作;Detecting that the user clicks on the identification control;
    响应于所述用户点击所述识别控件的操作,通过摄像头采集用户输入的面部表情信息和/或肢体动作信息;In response to the user's operation of clicking the recognition control, collect facial expression information and/or body movement information input by the user through the camera;
    响应于采集到的所述面部表情信息和/或肢体动作信息,显示第二拍摄界面,所述第二拍摄界面显示第三图像,所述第三图像为第四图像采用第二拍摄模式进行处理得到的,所述第四图像为摄像头实时采集的图像,其中,所述第一拍摄模式与所述第二拍摄模式不同,拍摄模式包括全景模式、黑白艺术模式、高动态范围图像HDR模式、 流光快门模式、延时摄影模式、大光圈模式、夜景模式、人像模式、微距模式、高像素模式以及专业模式。In response to the collected facial expression information and/or body movement information, a second shooting interface is displayed, the second shooting interface displays a third image, and the third image is a fourth image that is processed in the second shooting mode Obtained, the fourth image is an image captured by the camera in real time, wherein the first shooting mode is different from the second shooting mode, and the shooting modes include panoramic mode, black and white art mode, high dynamic range image HDR mode, streamer Shutter mode, time-lapse photography mode, large aperture mode, night scene mode, portrait mode, macro mode, high pixel mode and professional mode.
  5. 根据权利要求4所述的方法,其特征在于,所述第一图像与所述第二图像相同,和/或,所述第三图像与所述第四图像相同。The method according to claim 4, wherein the first image is the same as the second image, and/or the third image is the same as the fourth image.
  6. 根据权利要求4所述的方法,其特征在于,所述响应于采集到的所述面部表情信息和/或肢体动作信息,显示第二拍摄界面,包括:The method according to claim 4, wherein the displaying a second shooting interface in response to the collected facial expression information and/or body movement information includes:
    根据采集到的所述面部表情信息和/或肢体动作信息,按照预设的面部表情信息和/或肢体动作信息与拍摄模式间的关系确定与采集到的所述面部表情信息和/或肢体动作信息匹配的所述第二拍摄模式;According to the collected facial expression information and/or body movement information, determine and collect the collected facial expression information and/or body movement information according to the relationship between the preset facial expression information and/or body movement information and the shooting mode information matching the second shooting mode;
    根据所述第二拍摄模式显示所述第二拍摄界面。The second shooting interface is displayed according to the second shooting mode.
  7. 根据权利要求4所述的方法,其特征在于,所述摄像头为前置摄像头。The method according to claim 4, wherein the camera is a front camera.
  8. 根据权利要求4所述的方法,其特征在于,在所述响应于采集到的所述面部表情信息和/或肢体动作信息,显示第二拍摄界面之后,所述方法还包括:The method according to claim 4, wherein, after the second shooting interface is displayed in response to the collected facial expression information and/or body movement information, the method further comprises:
    采用所述第二拍摄模式进行拍摄。Shooting is performed in the second shooting mode.
  9. 根据权利要求8所述的方法,其特征在于,在所述采用所述第二拍摄模式进行拍摄之前,所述方法还包括:The method according to claim 8, characterized in that, before the shooting in the second shooting mode, the method further comprises:
    接收用户的拍摄操作。Receive user's shooting operation.
  10. 一种拍摄方法,其特征在于,应用于电子设备,所述方法包括:A shooting method, characterized in that it is applied to electronic equipment, the method comprising:
    显示第一拍摄界面,所述第一拍摄界面显示第一图像,所述第一图像为摄像头实时采集的图像,所述第一拍摄界面包括识别控件;Displaying a first shooting interface, the first shooting interface displays a first image, the first image is an image captured by a camera in real time, and the first shooting interface includes an identification control;
    检测到用户对所述第一拍摄界面的第一操作;Detecting a user's first operation on the first shooting interface;
    响应于所述第一操作,电子设备采用第一拍摄模式采集第一图像帧;In response to the first operation, the electronic device adopts a first shooting mode to capture a first image frame;
    检测到用户点击所述识别控件的操作;Detecting that the user clicks on the identification control;
    响应于所述用户点击所述识别控件的操作,通过摄像头采集用户输入的面部表情信息和/或肢体动作信息;In response to the user's operation of clicking the recognition control, collect facial expression information and/or body movement information input by the user through the camera;
    响应于采集到的所述面部表情信息和/或肢体动作信息,显示第二拍摄界面,所述第二拍摄界面显示第二图像,所述第二图像为摄像头实时采集的图像;In response to the collected facial expression information and/or body movement information, display a second shooting interface, the second shooting interface displays a second image, and the second image is an image collected by a camera in real time;
    检测到用户对所述第二拍摄界面的第三操作;Detecting a third operation by the user on the second shooting interface;
    响应于所述第三操作,电子设备采用第二拍摄模式采集第二图像帧;其中,所述第一拍摄模式与所述第二拍摄模式不同,拍摄模式包括全景模式、黑白艺术模式、高动态范围图像HDR模式、流光快门模式、延时摄影模式、大光圈模式、夜景模式、人像模式、微距模式、高像素模式以及专业模式。In response to the third operation, the electronic device adopts a second shooting mode to capture a second image frame; wherein, the first shooting mode is different from the second shooting mode, and the shooting modes include panoramic mode, black and white art mode, high dynamic Range image HDR mode, streamer shutter mode, time-lapse photography mode, large aperture mode, night scene mode, portrait mode, macro mode, high pixel mode and professional mode.
  11. 根据权利要求10所述的方法,其特征在于,所述第一图像帧的图像与所述第一图像相同,和/或,所述第二图像帧的图像与所述第二图像相同。The method according to claim 10, wherein the image of the first image frame is the same as the first image, and/or the image of the second image frame is the same as the second image.
  12. 根据权利要求10所述的方法,其特征在于,所述响应于采集到的所述面部表情信息和/或肢体动作信息,显示第二拍摄界面,包括:The method according to claim 10, wherein the displaying a second shooting interface in response to the collected facial expression information and/or body movement information includes:
    根据采集到的所述面部表情信息和/或肢体动作信息,按照预设的面部表情信息和/或肢体动作信息与拍摄模式间的关系确定与采集到的所述面部表情信息和/或肢体动作信息匹配的所述第二拍摄模式;According to the collected facial expression information and/or body movement information, determine and collect the collected facial expression information and/or body movement information according to the relationship between the preset facial expression information and/or body movement information and the shooting mode information matching the second shooting mode;
    根据所述第二拍摄模式显示所述第二拍摄界面。The second shooting interface is displayed according to the second shooting mode.
  13. 根据权利要求10所述的方法,其特征在于,所述摄像头为前置摄像头。The method according to claim 10, wherein the camera is a front camera.
  14. 一种电子设备,其特征在于,包括:处理器,用于存储所述处理器可执行指令的存储器,所述处理器被配置为执行所述指令时,使得所述电子设备实现如权利要求1至9任一项所述的方法或如权利要求10至13任一项所述的方法。An electronic device, characterized by comprising: a processor, a memory for storing instructions executable by the processor, and the processor is configured to execute the instructions so that the electronic device implements the method according to claim 1. The method according to any one of claims 10 to 13 or the method according to any one of claims 10 to 13.
  15. 一种计算机可读存储介质,其上存储有计算机程序指令;其特征在于,当所述计算机程序指令被电子设备执行时,使得电子设备实现如权利要求1至9任一项所述的方法或如权利要求10至13任一项所述的方法。A computer-readable storage medium, on which computer program instructions are stored; it is characterized in that, when the computer program instructions are executed by an electronic device, the electronic device implements the method or method according to any one of claims 1 to 9 The method according to any one of claims 10 to 13.
  16. 一种计算机程序产品,其特征在于,包括计算机可读代码,当所述计算机可读代码在电子设备中运行时,使得电子设备实现如权利要求1至9任一项所述的方法或如权利要求10至13任一项所述的方法。A computer program product, characterized in that it includes computer-readable codes, and when the computer-readable codes are run in an electronic device, the electronic device implements the method according to any one of claims 1 to 9 or the method according to any one of claims 1-9 The method described in any one of 10 to 13 is required.
PCT/CN2022/096954 2021-06-24 2022-06-02 Photographing method and device WO2022267861A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110705218.7A CN113727018B (en) 2021-06-24 2021-06-24 Shooting method and equipment
CN202110705218.7 2021-06-24

Publications (1)

Publication Number Publication Date
WO2022267861A1 true WO2022267861A1 (en) 2022-12-29

Family

ID=78672929

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/096954 WO2022267861A1 (en) 2021-06-24 2022-06-02 Photographing method and device

Country Status (2)

Country Link
CN (1) CN113727018B (en)
WO (1) WO2022267861A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113727018B (en) * 2021-06-24 2022-12-02 荣耀终端有限公司 Shooting method and equipment
CN116723383B (en) * 2022-02-28 2024-04-19 荣耀终端有限公司 Shooting method and related equipment
CN117499526A (en) * 2023-12-25 2024-02-02 荣耀终端有限公司 Shooting method, electronic device, chip system and computer readable storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103024275A (en) * 2012-12-17 2013-04-03 东莞宇龙通信科技有限公司 Automatic shooting method and terminal
US20140375862A1 (en) * 2013-06-20 2014-12-25 Samsung Electronics Co., Ltd. Method for photographing control and electronic device thereof
CN105657272A (en) * 2016-02-04 2016-06-08 上海卓易科技股份有限公司 Terminal equipment and photographing method thereof
CN106101541A (en) * 2016-06-29 2016-11-09 捷开通讯(深圳)有限公司 A kind of terminal, photographing device and image pickup method based on personage's emotion thereof
CN106713764A (en) * 2017-01-24 2017-05-24 维沃移动通信有限公司 Photographic method and mobile terminal
CN108650457A (en) * 2018-05-03 2018-10-12 Oppo广东移动通信有限公司 Automatic photographing method, device, storage medium and mobile terminal
CN110177205A (en) * 2019-05-20 2019-08-27 深圳壹账通智能科技有限公司 Terminal device, photographic method and computer readable storage medium based on micro- expression
CN110191276A (en) * 2018-02-23 2019-08-30 北京小米移动软件有限公司 Switching method and device, the electronic equipment of screening-mode
CN113727018A (en) * 2021-06-24 2021-11-30 荣耀终端有限公司 Shooting method and equipment

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008172429A (en) * 2007-01-10 2008-07-24 Nikon Corp Photographing device
JP2010183500A (en) * 2009-02-09 2010-08-19 Sony Corp Information processing device, method, and program
CN103795932A (en) * 2014-02-27 2014-05-14 北京百纳威尔科技有限公司 Shooting mode switch processing method and device
KR102367550B1 (en) * 2014-09-02 2022-02-28 삼성전자 주식회사 Controlling a camera module based on physiological signals
CN104572219B (en) * 2015-01-29 2018-11-27 广东欧珀移动通信有限公司 Photographing mode switching method and device
CN105100613B (en) * 2015-07-20 2019-01-08 努比亚技术有限公司 Image pickup method and intelligent terminal
CN105306815A (en) * 2015-09-30 2016-02-03 努比亚技术有限公司 Shooting mode switching device, method and mobile terminal
CN106060397B (en) * 2016-06-30 2019-05-17 维沃移动通信有限公司 A kind of screening-mode switching method and mobile terminal
CN107835363A (en) * 2017-10-30 2018-03-23 努比亚技术有限公司 A kind of filming control method, terminal device and storage medium
CN107896304B (en) * 2017-10-31 2020-05-26 深圳市前海大成金融服务有限公司 Image shooting method and device and computer readable storage medium
CN108111754B (en) * 2017-12-18 2021-03-12 维沃移动通信有限公司 Method for determining image acquisition mode and mobile terminal
CN108388456A (en) * 2018-01-30 2018-08-10 维沃移动通信有限公司 A kind of application starts method, mobile terminal

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103024275A (en) * 2012-12-17 2013-04-03 东莞宇龙通信科技有限公司 Automatic shooting method and terminal
US20140375862A1 (en) * 2013-06-20 2014-12-25 Samsung Electronics Co., Ltd. Method for photographing control and electronic device thereof
CN105657272A (en) * 2016-02-04 2016-06-08 上海卓易科技股份有限公司 Terminal equipment and photographing method thereof
CN106101541A (en) * 2016-06-29 2016-11-09 捷开通讯(深圳)有限公司 A kind of terminal, photographing device and image pickup method based on personage's emotion thereof
CN106713764A (en) * 2017-01-24 2017-05-24 维沃移动通信有限公司 Photographic method and mobile terminal
CN110191276A (en) * 2018-02-23 2019-08-30 北京小米移动软件有限公司 Switching method and device, the electronic equipment of screening-mode
CN108650457A (en) * 2018-05-03 2018-10-12 Oppo广东移动通信有限公司 Automatic photographing method, device, storage medium and mobile terminal
CN110177205A (en) * 2019-05-20 2019-08-27 深圳壹账通智能科技有限公司 Terminal device, photographic method and computer readable storage medium based on micro- expression
CN113727018A (en) * 2021-06-24 2021-11-30 荣耀终端有限公司 Shooting method and equipment

Also Published As

Publication number Publication date
CN113727018B (en) 2022-12-02
CN113727018A (en) 2021-11-30

Similar Documents

Publication Publication Date Title
US11765463B2 (en) Multi-channel video recording method and device
WO2021093793A1 (en) Capturing method and electronic device
WO2021052232A1 (en) Time-lapse photography method and device
CN110035141B (en) Shooting method and equipment
WO2020168965A1 (en) Method for controlling electronic device having folding screen, and electronic device
WO2022262260A1 (en) Photographing method and electronic device
WO2022267861A1 (en) Photographing method and device
WO2019183819A1 (en) Photographic method, photographic apparatus, and mobile terminal
WO2020073959A1 (en) Image capturing method, and electronic device
WO2020125410A1 (en) Image processing method and electronic device
EP4027634A1 (en) Image capture processing method and apparatus, terminal device and storage medium
WO2020224449A1 (en) Split-screen display operation method and electronic device
JP2023514962A (en) DISPLAY METHOD AND RELATED APPARATUS FOR FOLDABLE SCREEN
WO2021129198A1 (en) Method for photography in long-focal-length scenario, and terminal
WO2022042776A1 (en) Photographing method and terminal
WO2020029306A1 (en) Image capture method and electronic device
WO2021219141A1 (en) Photographing method, graphic user interface, and electronic device
WO2020113534A1 (en) Method for photographing long-exposure image and electronic device
WO2022267464A1 (en) Focusing method and related device
WO2020118490A1 (en) Automatic screen-splitting method, graphical user interface, and electronic device
WO2023241209A9 (en) Desktop wallpaper configuration method and apparatus, electronic device and readable storage medium
CN113660408B (en) Anti-shake method and device for video shooting
CN112637481B (en) Image scaling method and device
WO2021013106A1 (en) Foldable screen illumination method and apparatus
WO2023131070A1 (en) Electronic device management method, electronic device, and readable storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22827358

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE