WO2022262452A1 - 一种视频拍摄方法及电子设备 - Google Patents

一种视频拍摄方法及电子设备 Download PDF

Info

Publication number
WO2022262452A1
WO2022262452A1 PCT/CN2022/091048 CN2022091048W WO2022262452A1 WO 2022262452 A1 WO2022262452 A1 WO 2022262452A1 CN 2022091048 W CN2022091048 W CN 2022091048W WO 2022262452 A1 WO2022262452 A1 WO 2022262452A1
Authority
WO
WIPO (PCT)
Prior art keywords
interface
camera
mode
preview image
electronic device
Prior art date
Legal status (The legal status 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 status listed.)
Ceased
Application number
PCT/CN2022/091048
Other languages
English (en)
French (fr)
Inventor
韩健
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Honor Device Co Ltd
Original Assignee
Honor Device Co Ltd
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 Honor Device Co Ltd filed Critical Honor Device Co Ltd
Publication of WO2022262452A1 publication Critical patent/WO2022262452A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording

Definitions

  • the present application relates to the technical field of terminals, and in particular to a video shooting method and electronic equipment.
  • electronic devices such as mobile phones can provide not only a picture shooting function, but also a video shooting function.
  • the electronic device adopts the video shooting function, and can start a camera to record video.
  • Embodiments of the present application provide a video shooting method and an electronic device, which intelligently set a beautifying effect to automatically turn off the beautifying effect of the rear camera when switching to using two cameras to capture images.
  • the embodiment of the present application provides a video shooting method, which can be applied to electronic devices such as mobile phones and tablets that support video shooting.
  • the electronic device displays a first interface
  • the first interface is a viewfinder interface for video recording of the electronic device
  • the first interface includes a first preview image
  • the first preview image is to add a first beauty effect to the first image captured by the first camera obtained after.
  • the first camera is a front camera or a rear camera. That is to say, before switching, the electronic device adds a first beautifying effect to the image captured by the first camera.
  • the first beautification effect can be set through the beautification control (ie, the first control) in the viewfinder interface, or it can be set automatically after adopting the solution of this application.
  • the electronic device receives the user's first operation on the first interface, and the first operation is used to trigger the electronic device to switch to use the second camera and the third camera to capture images.
  • the switched shooting mode (that is, the multi-mirror mode) is a mode in which two cameras are used to collect images. For example, front and rear dual-mirror mode, rear-rear dual-mirror mode, or picture-in-picture mode. In the two-camera capture mode, the rear camera is usually not used to capture portraits, so no beautification effects are required.
  • the electronic device displays a second interface in response to the first operation, the second interface is a viewfinder interface for video recording by the electronic device, the second interface includes a second preview image and a third preview image, and the second interface includes a second preview image and a third preview image.
  • the second preview image is obtained by processing the second image collected by the second camera
  • the third preview image is obtained by processing the second image collected by the third camera.
  • the preview image corresponding to the rear camera in the second preview image and the third preview image has no beautification effect added. That is to say, after switching, the electronic device does not add a beautifying effect to the image captured by the rear camera among the two cameras.
  • the electronic device before switching, the electronic device adds the first beauty effect to the image captured by the first camera, and after switching to using two cameras to capture images, the rear camera is turned off beauty effect.
  • the beautification effect can be intelligently set as the shooting mode is switched, and the intelligence and rationality of the beautification setting can be improved.
  • the first camera may be the same as the second camera or the third camera, for example, the first camera is a rear main camera, the second camera is a rear main camera, and the third camera is a front camera .
  • the first camera may be different from both the second and third cameras, for example, the first camera is a front-facing camera, the second camera is a rear wide-angle camera, and the third camera is a rear telephoto camera. This embodiment of the present application does not specifically limit it.
  • the first interface and the second interface are viewfinder interfaces before the electronic device records, or the first interface and the second interface are viewfinder interfaces when the electronic device is recording.
  • the electronic device can intelligently set the beautifying effect as the shooting mode is switched before or during the video recording.
  • a beautification control is provided for the user to select the beautification effect, but usually not in the viewfinder interface that is recording. It can be seen that by adopting the method of this embodiment, the deficiency that the user cannot select the beautifying effect during the video recording process can be compensated, and the beautifying effect can be automatically set.
  • the first interface displays the first preview image in full screen.
  • the electronic device after the electronic device switches from a mode that uses a single camera to collect images, such as a single front mode or a single rear mode, to a mode that uses two cameras to collect images, it can automatically shut down Beautification effects for the camera.
  • the first camera is a front camera
  • the second camera is a front camera
  • the third camera is a rear camera
  • the second preview image is to add the first preview image to the second image.
  • the third preview image does not add the beautification effect.
  • the electronic device switches from a mode in which a front camera is used to collect images (such as a single front mode) to a mode in which a front camera and a rear camera are used to collect images (such as Front and rear dual-mirror mode, picture-in-picture mode), the switched front camera will still use the first beautification effect of the front camera before switching, while the switched rear camera will turn off the beautifying effect. Therefore, it is possible to add a beautifying effect only to the front camera after switching from the mode of capturing images with one front camera to the mode of capturing images with one front camera and one rear camera.
  • the first camera is the rear camera
  • the second camera is the front camera
  • the third camera is the rear camera
  • neither the second preview image nor the third preview image is added Beauty effect.
  • the electronic device switches from a mode in which one rear camera is used to collect images (such as a single rear mode) to a mode in which a front camera and a rear camera are used to collect images (such as Front and rear dual-mirror mode, picture-in-picture mode), the switched front camera will not continue to use the first beauty effect. At the same time, turn off the beauty effect of the switched rear camera. Therefore, after switching from the mode of using one rear camera to collect images to the mode of using one front camera and one rear camera to collect images, the beauty effect of the front camera and the rear camera can be turned off at the same time.
  • turning off the beautification effect of the front camera can avoid switching the beautification effect of the front camera and not matching the image collected by the front camera after switching.
  • turning off the beauty effect of the rear camera can avoid turning on the beauty effect of the rear camera in the mode of collecting images with one front camera and one rear camera.
  • the rationality of the beauty setting can be improved.
  • the first interface and the second interface are viewfinder interfaces before video recording by the electronic device.
  • the first interface includes a first control, and the first control in the first interface is used to trigger the electronic device to set a beautifying effect of the first image.
  • the second interface includes a first control, and the first control in the second interface is used to trigger the electronic device to set a beautifying effect of the second image.
  • the electronic device before video recording, can provide a beautification control in the viewfinder interface in the mode of using a single camera to capture images, so as to trigger the electronic device to set the beautification of the images captured by the single camera. Effect.
  • the electronic device may provide a beautification control in the viewfinder interface of a mode in which a front camera and a rear camera capture images, so as to trigger the electronic device to set the beautification effect of the images captured by the front camera.
  • the second camera is a rear camera
  • the third camera is a rear camera
  • neither the second preview image nor the third preview image has a beautification effect added.
  • the electronic device switches from the mode of collecting images with one camera, such as single front mode or single rear mode, to the mode of capturing images with two rear cameras, such as rear After dual-mirror mode, the images captured by the two rear cameras will not have beautification effects added.
  • the first interface and the second interface are viewfinder interfaces before video recording by the electronic device.
  • the first interface includes a first control, and the second interface does not include the first control; the first control is used to trigger the electronic device to set a beautifying effect.
  • the two rear cameras since the two rear cameras are used in the mode of collecting images, the two rear cameras do not support beauty.
  • the electronic device before video recording, two In the viewfinder interface of the mode in which the rear camera captures images, the electronic device does not provide beauty controls. Therefore, it can be adapted to the situation where the two rear cameras do not support beauty.
  • the above method further includes: the electronic device receives a second user operation on the second interface, and the second operation is used to trigger switching of the electronic device Use the fourth camera to capture images.
  • the electronic device displays a third interface, in which a fourth preview image is displayed in full screen, and the fourth preview image is obtained by adding the first beauty effect to the fourth image captured by the fourth camera.
  • the fourth camera may be the same as the first camera, for example, both the first camera and the fourth camera are rear main cameras.
  • the fourth camera may be different from the first camera, for example, the first camera is a front camera, and the fourth camera is a rear main camera.
  • the first camera is a front camera, and both the second camera and the third camera are rear cameras.
  • the first interface also includes a fifth preview image.
  • the fifth preview image is obtained by processing the fifth image captured by the fifth camera.
  • the fifth camera is a rear camera, and the fifth preview image has no beautification effect added.
  • the electronic device switches from the mode of collecting images by using one front camera and one rear camera, such as the front and rear dual-mirror mode, and the picture-in-picture mode, to using two rear cameras to collect images.
  • the mode of the image such as the rear dual-mirror mode, the images captured by the two rear cameras will not have a beautification effect.
  • the fifth camera can be the same as the second camera or the third camera, or the fifth camera
  • the first interface and the second interface are viewfinder interfaces before video recording by the electronic device.
  • the first interface includes the first control, and the second interface does not include the first control.
  • the first control is used to trigger the electronic device to set a beautifying effect.
  • the two rear cameras since the two rear cameras are used in the mode of collecting images, the two rear cameras do not support beauty.
  • the electronic device before video recording, two In the viewfinder interface of the mode in which the rear camera captures images, the electronic device does not provide beauty controls. Therefore, it can be adapted to the situation where the two rear cameras do not support beauty.
  • the above method further includes: the electronic device receives a third user operation on the second interface, and the third operation is used to trigger switching of the electronic device Use the sixth camera and the seventh camera to capture images.
  • the sixth camera is the front camera and the seventh camera is the rear camera.
  • the electronic device displays a fourth interface, the fourth interface includes a sixth preview image and a seventh preview image, the sixth preview image is obtained by adding the first beauty effect to the sixth image captured by the sixth camera , the seventh preview image is obtained by processing the seventh image captured by the seventh camera, and no beautification effect is added to the seventh preview image.
  • the method of this embodiment after switching from the mode of collecting images by using one front camera and one rear camera to the mode of collecting images by using two rear cameras, switch back to the mode of using one front camera and one rear camera to collect images again.
  • the mode of capturing images with one rear camera can restore the beautification effect when using one front camera and one rear camera to capture images initially. In this way, the beauty effect can be quickly restored after switching back to the mode in which one front camera and one rear camera are used to capture images.
  • the sixth camera may be the same as the first camera or the fifth camera, or the sixth camera may be different from both the first camera and the fifth camera.
  • the seventh camera may be the same as the first camera or the fifth camera, or the seventh camera may be different from both the first camera and the fifth camera.
  • the second interface includes first prompt information, and the first prompt information is used to prompt that in the case of using two cameras to collect images, all the images collected by the rear cameras Beautification is not supported.
  • the embodiment of the present application provides a video shooting method, which can be applied to electronic devices such as mobile phones and tablets that support video shooting.
  • the electronic device displays a first interface
  • the first interface is a viewfinder interface for video recording of the electronic device
  • the first interface includes a first preview image displayed in full screen
  • the first preview image is the first image collected by the first camera with the first Obtained after beautifying effect.
  • the first camera is the rear camera. That is, the first interface is a viewfinder interface for video recording in single rear mode.
  • the first interface further includes a first control, and the first control may be a mode icon or a panel display control. The first control is used to trigger the electronic device to switch recording modes.
  • the recording modes include: a mode in which a single camera is used to collect images and displayed in full screen, such as a single front mode or a single rear mode; a front camera and a rear camera are used to capture images
  • the image is displayed in a split-screen mode, such as the front and rear dual-mirror mode; and, a front camera and a rear camera are used to collect images and displayed in a picture-in-picture mode, such as the picture-in-picture mode.
  • the electronic device receives a user's click operation on the first control in the first interface. In response to the click operation, the electronic device displays multiple options on the first interface, and the multiple options correspond to multiple recording modes one by one. That is, a recording mode is provided for the user to select.
  • the electronic device receives a user's selection operation on a first option, the first option is one of multiple options, and the first option corresponds to a mode in which a front camera and a rear camera are used to collect images and display them in a split screen; or, The first option corresponds to a mode in which a front camera and a rear camera are used to capture images and display them in a picture-in-picture mode.
  • the electronic device displays a second interface in response to the selection operation.
  • the second interface is a viewfinder interface for video recording by the electronic device.
  • the second interface includes a second preview image and a third preview image.
  • the second preview image is the first preview image collected by the second camera.
  • the second image is processed without adding a beautifying effect
  • the third preview image is obtained after processing the third image captured by the third camera without adding a beautifying effect.
  • the first beauty effect is added to the images collected by the rear camera, then After switching to using a front camera and a rear camera to capture images, such as switching to front and rear dual-mirror mode or picture-in-picture mode, on the one hand, it will automatically cancel the beauty of the rear camera in the scene where two cameras are used to capture images.
  • the beauty effect of the front camera is automatically canceled. That is, the electronic device does not add a beautifying effect to the images captured by the switched front camera and the rear camera. Therefore, the rationality of the beauty effect setting can be automatically improved.
  • the first interface and the second interface are viewfinder interfaces before the electronic device records, or the first interface and the second interface are viewfinder interfaces when the electronic device is recording.
  • the electronic device can intelligently set the beautifying effect as the shooting mode is switched before or during the video recording.
  • the electronic device usually only provides a beautification control for the user to select a beautifying effect in the viewfinder interface before recording, but usually does not exist in the viewfinder interface that is recording. It can be seen that by adopting the method of this embodiment, the deficiency that the user cannot select the beautifying effect during the video recording process can be compensated, and the beautifying effect can be automatically set.
  • the second interface includes first prompt information, and the first prompt information is used to prompt that when two cameras are used to collect images, all images collected by the rear cameras Beautification is not supported.
  • the electronic device may further switch to a mode of capturing images using a single camera.
  • the second interface includes the first control.
  • the electronic device may receive a user's click operation on the first control in the second interface.
  • the electronic device displays multiple options on the second interface in response to the click operation.
  • the electronic device receives a user's selection operation on a second option, the second option is one of multiple options, and the second option corresponds to a mode in which a single camera is used to capture images and display them in a full screen.
  • the electronic device displays a third interface in response to the selection operation, the third interface is a viewfinder interface for video recording of the electronic device, the third interface includes a fourth preview image displayed in full screen, and the fourth preview image is a fourth image collected by the fourth camera It is obtained after adding the first beauty effect.
  • the fourth camera is a rear camera or a front camera.
  • the electronic device can continue to switch to a single front camera after switching from a single rear camera mode to a mode that uses a front camera and a rear camera to collect images, and cancels the beautification effect. mode or single rear mode.
  • the beauty effect of single rear mode can be restored. Therefore, the beautification effect when using a single camera to capture images can be automatically restored, and the intelligence of the beautification setting can be improved.
  • the fourth camera is a front camera. That is, switching from a mode that uses one front camera and one rear camera to capture images, to a single front mode. Thereafter, the electronic device can be further switched to a mode in which a front-facing camera and a rear-facing camera are used to collect images.
  • the third interface further includes the first control. After the third interface is displayed, the electronic device receives a user's click operation on the first control in the third interface. The electronic device displays multiple options on the third interface in response to the click operation.
  • the electronic device receives the user's selection operation on the third option, and the third option corresponds to using a front camera and a rear camera to collect images and display them in a split-screen mode, such as the front and rear dual-mirror mode; or, the first option corresponds to using A front-facing camera and a rear-facing camera capture images and display them in a picture-in-picture mode, such as picture-in-picture mode.
  • the electronic device displays a fourth interface, the fourth interface is a viewfinder interface for video recording by the electronic device, and the fourth interface includes a fifth preview image and a sixth preview image.
  • the fifth preview image is obtained by adding the first beauty effect to the fifth image captured by the fifth camera, where the fifth camera is a front camera.
  • the sixth preview image is obtained after processing the fifth image captured by the sixth camera without adding a beautifying effect, and the sixth camera is a rear camera.
  • the electronic device switches to the single front mode from a scene where a front camera and a rear camera are used to collect images and no beautification effect is added, and the beautification effect is restored, It is possible to switch again to a mode that captures images with one front camera and one rear camera.
  • the image captured by the front camera after the switch can inherit the beautification effect of the single front camera before the switch. In this way, it is possible to intelligently add a beautification effect to the image collected by the front camera in the mode of collecting images by using a front camera and a rear camera, and improve the intelligence of the beautification setting.
  • the recording mode also includes a mode in which two rear cameras are used to collect images and display them in split screens, such as a rear dual-mirror mode. After switching to the mode of capturing images with one front camera and one rear camera, and adding a beauty effect to the images captured by the front camera, the electronic device can continue to switch to the mode of capturing images with two rear cameras, and use The mode of split screen display.
  • the fourth interface further includes the first control. After the fourth interface is displayed, the electronic device receives a user's click operation on the first control in the fourth interface. In response to the click operation, the electronic device displays multiple options on the fourth interface.
  • the electronic device receives a user's selection operation of a fourth option, the fourth option is one of multiple options, and the fourth option corresponds to a mode in which two rear cameras are used to collect images and display them in split screens.
  • the electronic device displays a fifth interface, the fifth interface is a viewfinder interface for video recording by the electronic device, and the fifth interface includes the seventh preview image and the eighth preview image.
  • the seventh preview image is obtained after processing the seventh image captured by the seventh camera without adding a beautifying effect.
  • the eighth preview image is obtained after processing the eighth image captured by the eighth camera without adding a beautifying effect. Both the seventh camera and the eighth camera are rear cameras.
  • the electronic device when the electronic device is switched from the single front-facing mode to the mode of using one front-facing camera and one rear-facing camera to collect images, and the images collected by the switched front-facing camera are still the same as those before switching.
  • the electronic device After the beautifying effect of the single front camera, the electronic device continues to switch to the mode of using two rear cameras to collect images, and then automatically cancels the beautifying effect of the images collected by the two rear cameras. Thereby improving the rationality of beauty settings.
  • the recording mode also includes a mode in which two rear cameras are used to collect images and display them in split screens, such as a rear dual-mirror mode. After switching to the mode of capturing images with a single camera and restoring the beauty effect, the electronic device can continue to switch to the mode of capturing images with two rear cameras.
  • the third interface further includes the first control. After the third interface is displayed, the electronic device receives a user's click operation on the first control in the third interface. The electronic device displays multiple options on the third interface in response to the click operation.
  • the electronic device receives a user's selection operation on a fourth option, the fourth option is one of multiple options, and the fourth option corresponds to a mode in which two rear cameras are used to collect images and display them on a split screen.
  • the electronic device displays a sixth interface, the sixth interface is a viewfinder interface for video recording by the electronic device, and the sixth interface includes a ninth preview image and a tenth preview image.
  • the ninth preview image is obtained after processing the ninth image collected by the ninth camera without adding a beautifying effect;
  • the tenth preview image is obtained after processing the tenth image collected by the tenth camera without adding a beautifying effect of. Both the ninth camera and the tenth camera are rear cameras.
  • the embodiment of the present application further provides an electronic device, where the electronic device includes a display screen, a memory, and one or more processors.
  • the display screen, the memory and the processor are coupled.
  • the memory is used to store computer program codes, the computer program codes include computer instructions, and when the computer instructions are executed by the processor, the electronic device is made to perform the following steps: the electronic device displays a first interface,
  • the first interface is a viewfinder interface for video recording of the electronic device, and the first interface includes a first preview image, and the first preview image is obtained by adding a first beauty effect to the first image captured by the first camera owned.
  • the first camera is a front camera or a rear camera.
  • the electronic device receives a user's first operation on the first interface, and the first operation is used to trigger the electronic device to switch to use the second camera and the third camera to capture images.
  • the electronic device displays a second interface in response to the first operation, the second interface is a viewfinder interface for video recording by the electronic device, and the second interface includes a second preview image and a third preview image, so The second preview image is obtained by processing the second image collected by the second camera, and the third preview image is obtained by processing the second image collected by the third camera. Wherein, no beauty effect is added to the preview image corresponding to the rear camera in the second preview image and the third preview image.
  • the first interface and the second interface are viewfinder interfaces before video recording by the electronic device, or the first interface and the second interface are The viewfinder interface where the electronic device is recording.
  • the first interface displays the first preview image in a full screen.
  • the first camera is a front camera
  • the second camera is a front camera
  • the third camera is a rear camera
  • the second preview image It is obtained by adding the first beautifying effect to the second image
  • the third preview image has no beautifying effect added.
  • the first camera is a rear camera
  • the second camera is a front camera
  • the third camera is a rear camera
  • the second preview image No beautification effect is added to the third preview image
  • the first interface and the second interface are viewfinder interfaces before recording by the electronic device.
  • the first interface includes a first control, and the first control in the first interface is used to trigger the electronic device to set the beautification effect of the first image.
  • the second interface includes the first control, and the first control in the second interface is used to trigger the electronic device to set the beautification effect of the second image.
  • the second camera is a rear camera
  • the third camera is a rear camera
  • neither the second preview image nor the third preview image is added Beauty effect.
  • the first interface and the second interface are viewfinder interfaces before recording by the electronic device.
  • the first interface includes a first control, and the second interface does not include the first control; the first control is used to trigger the electronic device to set a beauty effect.
  • the electronic device when the computer instruction is executed by the processor, the electronic device further executes the following step: the electronic device receives the user's response to the second interface A second operation, the second operation is used to trigger the electronic device to switch to use the fourth camera to capture images.
  • the electronic device displays a third interface in response to the second operation, and a fourth preview image is displayed in full screen in the third interface, and the fourth preview image is to add the fourth preview image to the fourth image collected by the fourth camera. It is obtained after a beauty effect.
  • the first camera is a front camera, and both the second camera and the third camera are rear cameras.
  • the first interface also includes a fifth preview image, the fifth preview image is obtained by processing the fifth image collected by the fifth camera, the fifth camera is a rear camera, and the fifth preview image is not added Beauty effect.
  • the first interface and the second interface are viewfinder interfaces before recording by the electronic device.
  • the first interface includes a first control, and the second interface does not include the first control; the first control is used to trigger the electronic device to set a beautifying effect.
  • the electronic device when the computer instruction is executed by the processor, the electronic device further executes the following step: the electronic device receives the user's response to the second interface A third operation, the third operation is used to trigger the electronic device to switch to use the sixth camera and the seventh camera to capture images; the sixth camera is a front camera, and the seventh camera is a rear camera.
  • the electronic device displays a fourth interface, the fourth interface includes a sixth preview image and a seventh preview image, and the sixth preview image is the first preview image collected by the sixth camera.
  • the sixth image is obtained by adding the first beautifying effect
  • the seventh preview image is obtained by processing the seventh image captured by the seventh camera
  • the seventh preview image is not added with a beautifying effect.
  • the second interface includes first prompt information, and the first prompt information is used to prompt that when two cameras are used to collect images, all rear cameras None of the collected images support beauty.
  • the embodiment of the present application further provides an electronic device, where the electronic device includes a display screen, a memory, and one or more processors.
  • the display screen, the memory and the processor are coupled.
  • the memory is used to store computer program codes, the computer program codes include computer instructions, and when the computer instructions are executed by the processor, the electronic device is made to perform the following steps: the electronic device displays a first interface, The first interface is a viewfinder interface for video recording of the electronic device, and the first interface includes a first preview image displayed in full screen, and the first preview image is to add a first beauty to the first image collected by the first camera. Obtained after the color effect.
  • the first camera is a rear camera; the first interface also includes a first control, the first control is used to trigger the electronic device to switch recording modes, and the recording mode includes: using a single camera to collect images and A mode in which the image is displayed in full screen; a mode in which an image is captured by a front camera and a rear camera and displayed in a split screen; and a mode in which an image is captured by a front camera and a rear camera and displayed in a picture-in-picture .
  • the electronic device receives a user's click operation on the first control in the first interface. In response to the click operation, the electronic device displays multiple options on the first interface, and the multiple options correspond to multiple recording modes one by one.
  • the electronic device receives a user's selection operation on a first option, the first option is one of the multiple options, and the first option corresponds to using a front camera and a rear camera to collect images, and uses A split-screen display mode; or, the first option corresponds to a mode in which a front camera and a rear camera are used to collect images and display them in a picture-in-picture mode.
  • the electronic device displays a second interface in response to the selection operation, the second interface is a viewfinder interface for video recording by the electronic device, the second interface includes a second preview image and a third preview image, and the second interface includes a second preview image and a third preview image.
  • the second preview image is obtained after processing the second image captured by the second camera without adding a beautification effect
  • the third preview image is obtained by processing the third image captured by the third camera without adding Obtained after adding the beauty effect.
  • the first interface and the second interface are viewfinder interfaces before video recording by the electronic device, or the first interface and the second interface are The viewfinder interface where the electronic device is recording.
  • the second interface includes first prompt information, and the first prompt information is used to prompt that when two cameras are used to collect images, all rear cameras None of the collected images support beauty.
  • the second interface includes the first control.
  • the electronic device further executes the following step: the electronic device receives a user's click operation on the first control in the second interface.
  • the electronic device displays the multiple options on the second interface in response to the click operation.
  • the electronic device receives a user's selection operation on a second option, the second option is one of the multiple options, and the second option corresponds to a mode in which a single camera is used to capture images and display them in a full screen.
  • the electronic device displays a third interface in response to the selection operation, the third interface is a viewfinder interface for video recording by the electronic device, the third interface includes a fourth preview image displayed in full screen, the fourth The preview image is obtained by adding the first beauty effect to the fourth image captured by the fourth camera; the fourth camera is a rear camera or a front camera.
  • the fourth camera is a front camera
  • the third interface further includes a first control.
  • the electronic device further executes the following step: the electronic device receives a user's click operation on the first control in the third interface.
  • the electronic device displays the multiple options on the third interface in response to the clicking operation.
  • the electronic device receives a user's selection operation on the third option; the third option corresponds to using a front camera and a rear camera to collect images and display them in a split screen mode; or, the first option
  • a front camera and a rear camera are used to capture images and display them in a picture-in-picture mode.
  • the electronic device displays a fourth interface in response to the selection operation, the fourth interface is a viewfinder interface for video recording by the electronic device, and the fourth interface includes a fifth preview image and a sixth preview image;
  • the fifth preview image is obtained by adding the first beauty effect to the fifth image captured by the fifth camera, and the fifth camera is a front camera;
  • the sixth preview image is the first image captured by the sixth camera.
  • the fifth camera is obtained after image processing without adding a beautifying effect, and the sixth camera is a rear camera.
  • the recording mode further includes a mode in which two rear cameras are used to capture images and display them in split screens;
  • the fourth interface further includes a first control.
  • the electronic device executes the following step: the electronic device receives a user's click operation on the first control in the fourth interface.
  • the electronic device displays the multiple options on the fourth interface in response to the click operation.
  • the electronic device receives a user's selection operation on the fourth option, the fourth option is one of the multiple options, and the fourth option corresponds to using two rear cameras to collect images, and split-screen The displayed mode.
  • the electronic device displays a fifth interface in response to the selection operation, the fifth interface is a viewfinder interface for video recording by the electronic device, and the fifth interface includes a seventh preview image and an eighth preview image;
  • the seventh preview image is obtained after processing the seventh image captured by the seventh camera without adding a beautifying effect;
  • the eighth preview image is obtained after processing the eighth image captured by the eighth camera without adding a beautifying effect Obtained later; both the seventh camera and the eighth camera are rear cameras.
  • the recording mode further includes a mode in which two rear cameras are used to capture images and display them in split screens;
  • the third interface further includes a first control.
  • the electronic device executes the following step: the electronic device receives a user's click operation on the first control in the third interface.
  • the electronic device displays the multiple options on the third interface in response to the clicking operation.
  • the electronic device receives a user's selection operation on the fourth option, the fourth option is one of the multiple options, and the fourth option corresponds to using two rear cameras to collect images, and split-screen The displayed mode.
  • the electronic device displays a sixth interface in response to the selection operation, the sixth interface is a viewfinder interface for video recording by the electronic device, and the sixth interface includes a ninth preview image and a tenth preview image;
  • the ninth preview image is obtained after processing the ninth image collected by the ninth camera without adding a beautifying effect;
  • the tenth preview image is obtained after processing the tenth image collected by the tenth camera without adding a beautifying effect Obtained later; both the ninth camera and the tenth camera are rear cameras.
  • the embodiment of the present application provides a chip system, which is applied to an electronic device including a display screen and a memory; the chip system includes one or more interface circuits and one or more processors; the interface The circuit and the processor are interconnected by a line; the interface circuit is configured to receive a signal from a memory of the electronic device and send the signal to the processor, the signal including computer instructions stored in the memory; When the processor executes the computer instruction, the electronic device executes the method described in the first aspect, the second aspect and any possible design manner thereof.
  • the present application provides a computer storage medium, the computer storage medium includes computer instructions, and when the computer instructions are run on an electronic device, the electronic device executes the first aspect, the second aspect and any one thereof. A possible design approach is described.
  • the present application provides a computer program product.
  • the computer program product When the computer program product is run on a computer, the computer executes the computer program described in the first aspect, the second aspect and any possible design thereof. method.
  • FIG. 1 is a schematic diagram of a hardware structure of a mobile phone provided by an embodiment of the present application
  • FIG. 2A is one of the schematic diagrams of the mobile phone interface provided by the embodiment of the present application.
  • FIG. 2B is the second schematic diagram of the mobile phone interface provided by the embodiment of the present application.
  • FIG. 2C is the third schematic diagram of the mobile phone interface provided by the embodiment of the present application.
  • FIG. 2D is the fourth schematic diagram of the mobile phone interface provided by the embodiment of the present application.
  • FIG. 2E is the fifth schematic diagram of the mobile phone interface provided by the embodiment of the present application.
  • FIG. 2F is the sixth schematic diagram of the mobile phone interface provided by the embodiment of the present application.
  • FIG. 3A is one of the flowcharts of the video shooting method provided by the embodiment of the present application.
  • Fig. 3B is the seventh schematic diagram of the mobile phone interface provided by the embodiment of the present application.
  • FIG. 3C is the second flowchart of the video shooting method provided by the embodiment of the present application.
  • Fig. 4 is the eighth schematic diagram of the mobile phone interface provided by the embodiment of the present application.
  • Fig. 5 is one of the schematic diagrams of the composition of the video file provided by the embodiment of the present application.
  • FIG. 6A is the ninth schematic diagram of the mobile phone interface provided by the embodiment of the present application.
  • FIG. 6B is the tenth schematic diagram of the mobile phone interface provided by the embodiment of the present application.
  • FIG. 6C is the third flowchart of the video shooting method provided by the embodiment of the present application.
  • FIG. 6D is the eleventh schematic diagram of the mobile phone interface provided by the embodiment of the present application.
  • FIG. 6E is the twelveth schematic diagram of the mobile phone interface provided by the embodiment of the present application.
  • FIG. 6F is the thirteenth schematic diagram of the mobile phone interface provided by the embodiment of the present application.
  • FIG. 6G is the fourth flowchart of the video shooting method provided by the embodiment of the present application.
  • FIG. 6H is the fourteenth schematic diagram of the mobile phone interface provided by the embodiment of the present application.
  • FIG. 7 is a schematic structural diagram of a chip system provided by an embodiment of the present application.
  • first and second are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance or implicitly specifying the quantity of indicated technical features. Thus, a feature defined as “first” and “second” may explicitly or implicitly include one or more of these features. In the description of this embodiment, unless otherwise specified, “plurality” means two or more.
  • the video shooting method provided in the embodiment of the present application may be applied to an electronic device supporting a camera function.
  • the electronic device can be a mobile phone, tablet computer, desktop, laptop, handheld computer, notebook computer, ultra-mobile personal computer (ultra-mobile personal computer, UMPC), netbook, and cellular phone, personal digital assistant (personal digital assistant, PDA), augmented reality (augmented reality, AR) ⁇ virtual reality (virtual reality, VR) equipment and other equipment, the embodiment of the present application does not make special restrictions on the specific form of the equipment.
  • FIG. 1 is a schematic structural diagram of an electronic device provided in an embodiment of the present application.
  • the mobile phone 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (universal serial bus, USB) interface 130, and a charging management module 140 , power management module 141, battery 142, antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, earphone jack 170D, sensor module 180, button 190, motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (subscriber identification module, SIM) card interface 195, etc.
  • SIM subscriber identification module
  • the structure shown in this embodiment does not constitute a specific limitation on the mobile phone 100 .
  • the mobile phone 100 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 110 may include one or more processing units, for example: the processor 110 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
  • GPU graphics processing unit
  • image signal processor image signal processor
  • 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
  • the controller may be the nerve center and command center of the handset 100 .
  • 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 110 for storing instructions and data.
  • the memory in processor 110 is a cache memory.
  • the memory may hold instructions or data that the processor 110 has just used or recycled. If the processor 110 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 110 is reduced, thus improving the efficiency of the system.
  • the charging management module 140 is configured to receive a charging input from a charger.
  • the charger may be a wireless charger or a wired charger.
  • the charging management module 140 can receive charging input from the wired charger through the USB interface 130 .
  • the charging management module 140 can receive wireless charging input through the wireless charging coil of the mobile phone 100 . While the charging management module 140 is charging the battery 142 , it can also provide power for the mobile phone through the power management module 141 .
  • the power management module 141 is used for connecting the battery 142 , the charging management module 140 and the processor 110 .
  • the power management module 141 receives the input from the battery 142 and/or the charging management module 140 to provide power for the processor 110 , the internal memory 121 , the external memory, the display screen 194 , the camera 193 , and the wireless communication module 160 .
  • the power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle times, and battery health status (leakage, impedance).
  • the power management module 141 may also be disposed in the processor 110 .
  • the power management module 141 and the charging management module 140 may also be set in the same device.
  • the wireless communication function of the mobile phone 100 can be realized by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.
  • the mobile phone 100 realizes the display function through the GPU, the display screen 194, and the application processor.
  • the GPU is a microprocessor for image processing, and is connected to the display screen 194 and the application processor. GPUs are used to perform mathematical and geometric calculations for graphics rendering.
  • Processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
  • the display screen 194 is used to display images, videos and the like.
  • the display screen 194 is the above-mentioned folding screen (such as a flexible folding screen or a multi-screen folding screen).
  • the display screen 194 includes a display panel.
  • the display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active matrix organic light emitting diode or an active matrix organic light emitting diode (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.
  • LCD liquid crystal display
  • OLED organic light-emitting diode
  • AMOLED active matrix organic light emitting diode
  • FLED flexible light-emitting diode
  • Miniled MicroLed, Micro-oLed,
  • the mobile phone 100 can realize the shooting function through ISP, camera 193, video codec, GPU, display screen 194 and APP processor.
  • the external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the mobile phone 100.
  • the external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. Such as saving music, video and other media files in the external memory card.
  • the internal memory 121 may be used to store computer-executable program codes including instructions.
  • the processor 110 executes various functions APP and data processing of the mobile phone 100 by executing instructions stored in the internal memory 121 .
  • the internal memory 121 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 mobile phone 100 .
  • the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, universal flash storage (universal flash storage, UFS) and the like.
  • the mobile phone 100 can implement audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, and an application processor. Such as music playback, recording, etc.
  • the keys 190 include a power key, a volume key and the like.
  • the key 190 may be a mechanical key. It can also be a touch button.
  • the mobile phone 100 can receive key input and generate key signal input related to user settings and function control of the mobile phone 100 .
  • the motor 191 can generate a vibrating reminder.
  • the motor 191 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback.
  • touch operations applied to different applications may correspond to different vibration feedback effects.
  • the motor 191 may also correspond to different vibration feedback effects for touch operations acting on different areas of the display screen 194 .
  • Different application scenarios for example: time reminder, receiving information, alarm clock, games, etc.
  • the touch vibration feedback effect can also support customization.
  • the indicator 192 can be an indicator light, and can be used to indicate charging status, power change, and can also be used to indicate messages, missed calls, notifications, and the like.
  • the SIM card interface 195 is used for connecting a SIM card.
  • the SIM card can be connected and separated from the mobile phone 100 by inserting it into the SIM card interface 195 or pulling it out from the SIM card interface 195 .
  • the mobile phone 100 can support 1 or N SIM card interfaces, where N is a positive integer greater than 1.
  • SIM card interface 195 can support Nano SIM card, Micro SIM card, SIM card etc. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of the multiple cards may be the same or different.
  • the SIM card interface 195 is also compatible with different types of SIM cards.
  • the SIM card interface 195 is also compatible with external memory cards.
  • the mobile phone 100 interacts with the network through the SIM card to implement functions such as calling and data communication.
  • the mobile phone 100 adopts eSIM, that is, an embedded SIM card.
  • the eSIM card can be embedded in the mobile phone 100 and cannot be separated from the mobile phone 100 .
  • the video shooting method in the following embodiments can be implemented in the mobile phone 100 having the above hardware structure.
  • the video shooting method provided in the embodiment of the present application can be applied to various scenes requiring video shooting in the mobile phone 100, for example, wedding scene, friend gathering, travel and other scenes.
  • various new forms of video have emerged, one of which is a typical form of video log (video log, vlog), and vlog uses images instead of text or photos to carry logs form of content.
  • vlog uses images instead of text or photos to carry logs form of content.
  • the same subject needs to be photographed with different visions, for example, a close-up and a distant view of the same stage scene.
  • an embodiment of the present application provides a video shooting method, which is implemented based on a new video shooting function.
  • the video shooting function may also be called a multi-lens video recording mode, which constitutes multiple shooting modes of the camera function together with various common shooting modes such as aperture, night scene, portrait, photo taking, and video recording.
  • the mobile phone 100 can simultaneously turn on at least two cameras to capture preview images and simultaneously display the preview images captured by the at least two cameras in the viewfinder interface.
  • the viewfinder interface 201a of the camera application shown in (a) in FIG. 2A includes a submenu 202a, and the submenu 202a not only includes various common shooting modes such as aperture, night scene, portrait, photo taking, and video recording, but A multi-camera recording mode is also included.
  • the user selects the multi-camera video recording mode, which can trigger the mobile phone 100 to start the multi-camera video recording.
  • the mobile phone may display the viewfinder interface 203 shown in (b) of FIG. 2A in response to the user's selection operation of the multi-camera recording mode.
  • the viewing interface 203a includes a preview image 204a captured by camera a and a preview image 205a captured by camera b. That is, there are two cameras capturing preview images at the same time.
  • the viewfinder interface 203a shown in (b) of FIG. 2A only includes preview images captured by the two cameras.
  • the viewfinder interface of the multi-mirror video recording mode may also include preview images collected by three cameras, four cameras... the embodiment of the present application does not use the number of cameras shown in (b) in FIG. 2A limit.
  • two cameras will be used as an example to illustrate the solution of the present application.
  • camera a and camera b may be a combination of any two cameras among the multiple cameras of the mobile phone 100 .
  • camera a may be a rear main camera
  • camera b may be a front camera.
  • the viewfinder interface 201b shown in (a) of FIG. 2B includes a preview image 202b captured by the rear telephoto camera and a preview image 203b captured by the rear wide-angle camera. That is, camera a may be a rear telephoto camera, and camera b may be a rear wide-angle camera.
  • the preview image 204a and the preview image 205a in the viewfinder interface 203a shown in (b) of FIG. 2A are displayed in a split-screen layout.
  • the preview images collected by the two cameras can also be displayed in a picture-in-picture layout.
  • the mobile phone may also display a viewfinder interface 204b shown in (b) of FIG. 2B , where the viewfinder interface 204b includes a preview image 205b collected by camera a and a preview image 206b collected by camera b.
  • the preview image 205b is displayed in the large window (ie full-screen window) 205B
  • the preview image 206b is displayed in the small window 206B
  • the small window 206B is inside the large window 205B. That is, the preview image 205b and the preview image 206b are displayed in a picture-in-picture layout.
  • the mobile phone 100 in the multi-camera recording mode, can switch from two cameras to a single camera to take a view in response to the user's operation (for the specific implementation, please refer to the description of Embodiment 1 below). That is to say, in the multi-camera recording mode, the function of collecting preview images by a single camera can also be provided.
  • the mobile phone 100 may display the viewfinder interface 201c shown in (a) of FIG. 2C .
  • the viewfinder interface 201c includes a preview image 202c captured by a single camera (such as a front camera).
  • the mobile phone may display the viewfinder interface 203c shown in (b) of FIG. 2C.
  • the viewfinder interface 203c includes a preview image 204c captured by a single camera (such as a rear main camera).
  • the viewfinder interface of the multi-mirror video recording mode in addition to the preview image captured by the camera, one or more of the following elements (such as controls and icons) are usually included:
  • Gallery resource control the gallery resource control is used to trigger the mobile phone 100 to display the captured pictures or videos.
  • the gallery resource control is the control 210 in the viewfinder interface 203a shown in (b) of FIG. 2A.
  • Recording control the recording control is used to trigger the mobile phone 100 to start recording video.
  • the recording control is the control 211 in the viewfinder interface 203a shown in (b) of FIG. 2A.
  • Front and rear camera switching controls are used to trigger the mobile phone 100 to switch between the front camera and the rear camera.
  • the control for switching the front and rear cameras is the control 212 in the viewfinder interface 203a shown in (b) of FIG. 2A .
  • the specific content of switching between the front and rear cameras please refer to the description of Embodiment 1 below, which will not be described in detail here.
  • Shooting mode switching control is used to trigger the mobile phone 100 to switch the shooting mode.
  • the viewfinder interface 203a shown in (b) in FIG. 2A includes a submenu 202a. ” is the switching control of multi-camera recording mode.
  • the beautification control is used to trigger the mobile phone 100 to adjust the beautification level.
  • the beauty control is the control 213 in the viewfinder interface 203a shown in (b) of FIG. 2A .
  • the specific content of the beauty adjustment please refer to the description of the second embodiment below, and will not be described in detail here.
  • Microfilm control the microfilm control is used to trigger the mobile phone 100 to shoot a microfilm.
  • the micro-movie control is the control 214 in the viewing interface 203a shown in (b) of FIG. 2A.
  • the specific content of the micro-movie shooting please refer to the description of Embodiment 6 below, and no detailed description will be given here.
  • Mode icon is used to indicate the multi-mirror mode currently adopted by the mobile phone 100 , that is, the camera currently capturing the preview image, and the layout of the preview image.
  • the mode icon is the icon 215 in the viewfinder interface 203a shown in (b) of FIG. 2A.
  • the icon 215 is composed of a blank rectangle and a rectangle with a smiling face, the blank rectangle represents a rear camera, and the rectangle with a smile represents a front camera. And, a blank rectangle and a rectangle with a smiley face are arranged one above the other, indicating that the preview image is displayed in a top-bottom layout.
  • the mobile phone 100 can capture preview images with a specific camera, and display the preview images in a specific layout.
  • the specific camera may be any camera in the mobile phone 100 , or a combination of any two cameras in the mobile phone 100 .
  • Specific layouts include split-screen layouts, picture-in-picture layouts, and/or full-screen layouts.
  • the multi-mirror mode mainly includes: a mode in which a front camera and a rear camera are used to capture preview images and display them in a split-screen layout (referred to as the front and rear dual-mirror mode, as shown in Figure 2A
  • the mode in which two rear cameras are used to collect preview images and display them in a split-screen layout referred to as the rear-rear dual-mirror mode, as shown in Figure 2B
  • adopt a front camera and a rear camera to collect preview images, and display the mode with the picture-in-picture layout abbreviated as picture-in-picture mode, as shown in Figure 2B
  • the mobile phone 100 enters the viewfinder interface of the front and rear dual-mirror mode by default in response to the user's selection operation of the multi-mirror video recording mode. That is to say, in the multi-mirror recording mode, the default multi-mirror mode is the front and rear dual-mirror mode.
  • Other multi-mirror modes are directly or indirectly obtained by switching from the front and rear dual-mirror modes.
  • Flash light icon the flash light icon is used to trigger the mobile phone 100 to set the flash light parameters when shooting.
  • the flashlight icon is the icon 216 in the viewfinder interface 203a shown in (b) of FIG. 2A .
  • Filter icon the filter icon is used to trigger the mobile phone 100 to add a filter when shooting.
  • the filter icon is the icon 217 in the viewfinder interface 203a shown in (b) of FIG. 2A.
  • the setting icon 218 is used to trigger the mobile phone 100 to set camera parameters.
  • the setting icon is the icon 218 in the viewfinder interface 203a shown in (b) of FIG. 2A.
  • Zoom control the zoom control is used to trigger the mobile phone 100 to adjust the zoom ratio, so as to switch between multiple rear cameras.
  • the zoom control is the zoom bar 219 in the viewfinder interface 203a shown in (b) in FIG. .
  • the specific content of switching the rear camera through the zoom bar please refer to the description of Embodiment 1 below, and will not be described in detail here.
  • the previous article mainly uses the viewfinder interface before recording to illustrate. It should be understood that in the multi-camera recording mode, the number of cameras turned on during recording, the layout of preview images, etc. are basically similar to those before recording.
  • the mobile phone 100 may display the viewfinder interface 203a before recording shown in (b) in FIG. 2A, and during recording, the mobile phone 100 may display the viewfinder interface 201d shown in (a) in FIG. 2D.
  • the viewing interface 201d includes a preview image 202d collected by camera a (such as a rear main camera) and a preview image 203d collected by camera b (such as a front camera). Wherein, the preview image 202d and the preview image 203d are displayed in a split-screen layout.
  • the mobile phone 100 may display the viewfinder interface 201b shown in (a) in FIG. 2B , and during recording, the mobile phone 100 may display the viewfinder interface 204d shown in (b) in FIG. 2D .
  • the viewing interface 204d includes a preview image 205d collected by camera a (such as a rear telephoto camera) and a preview image 206d collected by camera b (such as a rear wide-angle camera). Wherein, the preview image 205d and the preview image 206d are displayed in a split-screen layout.
  • the mobile phone 100 may display the viewfinder interface 204b before recording shown in (b) in FIG. 2B , and during recording, the mobile phone 100 may display the viewfinder interface 207d shown in (c) in FIG. 2D .
  • the viewing interface 207d includes a preview image 208d collected by camera a (such as a rear main camera) and a preview image 209d collected by camera b (such as a front camera).
  • a preview image 208d is displayed in a large window (ie, a full screen window) 208D, and a preview image 209d is displayed in a small window 209D.
  • the large window 208D includes a small window 209D. That is, the preview image 208d and the preview image 209d are displayed in a picture-in-picture layout.
  • the mobile phone 100 may display a viewfinder interface 201c shown in (a) in FIG. 2C , and during recording, the mobile phone 100 may display a viewfinder interface 201e shown in (a) in FIG. 2E .
  • the viewing interface 201e includes a preview image 202e captured by a single camera (such as a front camera).
  • the mobile phone 100 may display the viewfinder interface 203c shown in (b) in FIG. 2C, and during recording, the mobile phone 100 may display the viewfinder interface 203e shown in (b) in FIG. 2E.
  • the viewfinder interface 203e includes a preview image 204e captured by a single camera (such as a rear main camera).
  • the elements in the viewfinder interface during recording and the elements in the viewfinder interface before recording will be different.
  • one or more of the following elements can also be included in the viewfinder interface in recording:
  • Camera control the camera control is used to trigger the mobile phone 100 to capture video frames during video shooting.
  • the camera control is the control 220 in the viewfinder interface 201d shown in (a) of FIG. 2D .
  • End recording control the end recording control is used to trigger the mobile phone 100 to end video recording.
  • the control to end recording is the control 221 in the viewfinder interface 201d shown in (a) of FIG. 2D .
  • Pause recording control The pause recording control is used to trigger the mobile phone 100 to pause video recording.
  • the pause recording control is the control 222 in the viewfinder interface 201d shown in (a) of FIG. 2D .
  • Front and rear camera switching controls Similar to the viewfinder interface before recording, the viewfinder interface during recording also includes front and rear camera controls.
  • the control for switching the front and rear cameras is the control 223 in the viewfinder interface 201d shown in (a) of FIG. 2D .
  • the specific content of switching between the front and rear cameras please refer to the description of Embodiment 1 below, which will not be described in detail here.
  • Panel display control the panel display control is used to trigger the mobile phone 100 to display the selection panel of the multi-mirror mode.
  • the panel display control is the control 224 in the viewfinder interface 201d shown in (a) of FIG. 2D .
  • the mode panel selection control may be static, or the panel display control may also be dynamic. If the panel display control is dynamically displayed, the user's attention can be attracted to the panel display control. Thereby guiding the user to use the control.
  • the selection panel and the specific content of switching the multi-mirror mode through the selection panel please refer to the description of Embodiment 1 below, and no detailed description will be given here.
  • Mode icon Similar to before recording, the mode icon is also included in the viewfinder interface during recording. For example, the mode icon is the control 225 in the viewfinder interface 201d shown in (a) of FIG. 2D .
  • Double-speed logo is used to indicate the double speed at which the mobile phone 100 plays the current preview frame.
  • the double-speed logo is the logo 226 in the viewfinder interface 201d shown in (a) of FIG. 2D , and the logo 226 indicates that the mobile phone 100 will play the current preview frame at 1X speed.
  • the recording can be paused. In the paused state, the double speed indicator is in an inoperable state, such as grayed out. That is, the multiplier speed of the video playback cannot be adjusted in the paused state.
  • Flash light icon Similar to before recording, the viewfinder interface during recording also includes a flash light icon. It should be noted that flash parameters are usually not allowed to be adjusted during video recording, therefore, the flash icon during recording is inoperable.
  • the flashlight icon is the icon 227 in the viewfinder interface 201d shown in (a) of FIG. 2D , and the icon 227 is grayed out, indicating that it is inoperable.
  • Zoom controls Similar to pre-recording, the viewfinder interface during recording also includes zoom controls.
  • the zoom control is the zoom bar 228 in the viewfinder interface 201d shown in (a) of FIG. .
  • the specific content of switching the rear camera through the zoom bar please refer to the description of Embodiment 1 below, and will not be described in detail here.
  • the multi-camera recording mode is mainly explained in the form of vertical screen. It should be understood that the horizontal screen mode is also basically similar to the vertical screen mode. The subtle differences between the horizontal screen format and the vertical screen format will be described later in the relevant content of the embodiments below, and will not be described in detail here.
  • the description of the multi-mirror video recording mode will be combined with the foregoing, and the front and rear dual-mirror modes, the rear and rear dual-mirror modes, the picture-in-picture mode, and the single front (or rear) mode in the multi-mirror video mode will be mainly used.
  • let’s further illustrate the mode switching function (such as Embodiment 1) and beauty function (such as Embodiment 2) in the multi-mirror video recording mode in turn.
  • Embodiment 1 mode switching function.
  • a video shooting method provided in the embodiment of the present application can be applied to the mobile phone 100 .
  • the mobile phone 100 may display multiple mode options for the user to select in response to the user's operation 1 .
  • each mode option corresponds to a multi-mirror mode.
  • the mobile phone 100 may switch to the corresponding multi-mirror mode in response to the user's selection operation on any mode option. In this way, it is possible to flexibly switch the multi-mirror mode before recording or during recording.
  • operation 1 mainly refers to the user's click operation on the mode icon.
  • the embodiment of the present application provides a video shooting method, which can switch the multi-mirror mode before starting to record in the multi-mirror video recording mode.
  • the video shooting method includes:
  • the mobile phone 100 displays interface a, where the interface a is a viewfinder interface before recording in sub-mode 1.
  • the interface a includes the mode icon 1 of the sub-mode 1 .
  • sub-mode 1 includes front and rear dual-mirror mode, rear-rear dual-mirror mode, picture-in-picture mode, single front mode or single rear mode.
  • the mobile phone 100 displays multiple mode options in interface a in response to the user's click operation on the mode icon 1 .
  • multiple mode options correspond to multiple multi-mirror modes one by one.
  • sub-mode 1 is the front and rear dual-mirror mode
  • interface a may be the viewfinder interface 203a shown in (b) of FIG. 2A
  • mode icon 1 may be the icon 215 in the viewfinder interface 203a.
  • the mobile phone 100 may further display a selection panel 310 on the viewfinder interface 203a shown in (a) of FIG. 3B.
  • the selection panel 310 includes mode options of five modes including front and rear dual-mirror mode, rear-rear dual-mirror mode, picture-in-picture mode, single front mode and single rear mode.
  • each mode option may include an identifier of a multi-mirror mode, which is used to indicate a different multi-mirror mode.
  • the abbreviation "Front/Rear” in the selection panel 310 of (a) in FIG. 3B indicates a front-rear dual-mirror mode.
  • the abbreviation "picture in picture” in the selection panel 310 of (a) in FIG. 3B indicates the picture in picture mode.
  • each mode selection may include a layout style of the multi-mirror mode, which is used to indicate the layout of the preview image captured by the camera in the multi-mirror mode in the viewfinder interface.
  • the mobile phone 100 may represent the layout style by means of pictures, picture sizes and arrangement of pictures.
  • the picture may be collected by the camera in real time, or may be preset.
  • the preview image collected by the rear camera is represented by a plant picture
  • the preview image collected by the front camera is represented by a portrait picture
  • the vertical arrangement of the plant picture and the face picture can indicate the front and back.
  • the preview image collected by the rear camera is represented by the plant picture
  • the preview image collected by the front camera is represented by the portrait picture
  • the plant picture can be indicated in the face picture.
  • the mode option of the currently employed multi-mirror mode (eg, sub-mode 1) may be highlighted. This facilitates indicating the currently employed multi-mirror mode.
  • the selection panel 310 of (a) in FIG. 3B in the selection panel 310 of (a) in FIG. 3B .
  • the layout style frame of the mode options of the front and rear dual-mirror mode is displayed in bold. So as to achieve outstanding effect.
  • the mobile phone 100 displays a mode icon (eg, mode icon 1 ) in state 1 when multiple mode options are not displayed.
  • the mobile phone 100 may display a plurality of mode options in response to the user's click operation on the mode icon.
  • the mobile phone 100 displays a mode icon (eg, mode icon 1 ) in state 2 .
  • the mobile phone 100 may close the display of multiple mode options in response to the user's click operation on the mode icon.
  • state 1 is a normal display state
  • state 2 is a grayed state. Therefore, the display state of the mode option can be indicated by the display state of the mode icon, so as to realize the unification of the interface elements.
  • the mobile phone 100 closes the front and rear camera switching controls.
  • the front and rear camera switching controls are no longer displayed at the lower right corner of the viewfinder interface 203a shown in (a) of FIG. 3B .
  • the user's demand is usually to switch the multi-mirror mode through the mode option, rather than switching the camera through the front and rear camera switching controls.
  • turning off the display of the front and rear camera switching controls will not affect the user's needs on the one hand, and on the other hand, it can simplify the interface elements and facilitate the operation of switching the multi-mirror mode.
  • the sub-mode 1 is the front and rear dual-mirror mode. It should be understood that the principle when the sub-mode 1 is a rear-rear dual-mirror mode, a picture-in-picture mode, a single front mode or a single rear mode is also similar. The following simply shows a schematic diagram of displaying multiple mode options when the sub-mode 1 is respectively the rear-rear dual-mirror mode, the picture-in-picture mode and the single rear mode.
  • Example 1 if the sub-mode 1 is the rear-rear dual-mirror mode, the interface a may be the viewfinder interface 201b shown in (a) of FIG. 2B , and the mode icon 1 may be the icon 230 in the viewfinder interface 201b.
  • the mobile phone 100 may further display a selection panel 311 in the viewfinder interface 201 b shown in (b) of FIG. 3B .
  • the selection panel 311 includes mode options of 5 modes including front and rear dual-mirror mode, rear-rear dual-mirror mode, picture-in-picture mode, single front mode and single rear mode. Among them, the mode option of the rear dual-mirror mode is highlighted.
  • Example 2 if the sub-mode 1 is the picture-in-picture mode, the interface a may be the viewfinder interface 204b shown in (b) of FIG. 2B , and the mode icon 1 may be the icon 231 in the viewfinder interface 204b.
  • the mobile phone 100 may further display a selection panel 312 on the viewfinder interface 204b shown in (c) of FIG. 3B.
  • the selection panel 312 includes mode options of 5 modes including front and rear dual-mirror mode, rear-rear dual-mirror mode, picture-in-picture mode, single front mode and single rear mode. Among them, the mode option of the picture-in-picture mode is highlighted.
  • sub-mode 1 is a single rear mode (single front mode is the same), then interface a can be the viewfinder interface 203c shown in (b) in Figure 2C, and mode icon 1 can be an icon in the viewfinder interface 203c 232.
  • the mobile phone 100 may further display a selection panel 313 on the viewfinder interface 203c shown in (d) of FIG. 3B.
  • the selection panel 313 includes 5 mode options including front and rear dual-mirror mode, rear-rear dual-mirror mode, picture-in-picture mode, single front mode and single rear mode. Among them, the mode option of single rear mode is highlighted.
  • sub-mode 1 is a single front mode or a single rear mode
  • the mobile phone 100 displays multiple mode options, only the front and rear dual-mirror mode, the rear and rear dual-mirror mode and Mode options for picture-in-picture mode while retaining front and rear camera switching controls.
  • the mobile phone 100 displays multiple mode options, only the front and rear dual-mirror mode, the rear and rear dual-mirror mode and Mode options for picture-in-picture mode while retaining front and rear camera switching controls.
  • the mobile phone 100 displays multiple mode options, only the front and rear dual-mirror mode, the rear and rear dual-mirror mode and Mode options for picture-in-picture mode while retaining front and rear camera switching controls.
  • the display of multiple mode options may block the preview image in the viewfinder interface, thereby affecting the preview.
  • the mobile phone 100 can hide the multiple mode options in response to the user's operation (such as operation 2), thereby flexibly turning off the multiple mode options. display to avoid blocking the preview image.
  • operation 2 may be a preset gesture 1 input by the user on the viewfinder interface.
  • operation 2 may be a sliding gesture input by the user in the viewfinder interface 201b shown in (b) of FIG. 3B .
  • operation 2 may be a click operation or a long press operation of the user on an area other than multiple mode options and where elements such as icons and controls are not displayed.
  • the viewfinder interface includes a panel hiding control, and operation 2 may be a user's click operation on the panel hiding control.
  • the panel hidden control may be a mode icon.
  • the panel hiding control may be the grayed-out icon 314 in the viewing interface 201b shown in (b) of FIG. 3B .
  • the panel hide control can be a preset control in the selection panel.
  • the panel hiding control may be the control 3111 in the viewing interface 201b shown in (b) of FIG. 3B .
  • the mobile phone 100 when the current viewfinder interface displays multiple mode options, the mobile phone 100 starts from displaying the multiple mode options, and if no user operation on the multiple mode options is received within the preset time period, then Hides the multiple mode options. In this way, when the user does not operate for a long time, multiple mode options can be hidden to avoid affecting the preview.
  • Mode option 1 corresponds to sub-mode 2
  • interface b is the viewfinder interface before recording in sub-mode 2.
  • the interface b includes a mode icon 2 of sub-mode 2, which is different from sub-mode 1.
  • the mobile phone 100 may display the viewfinder interface 203a shown in (a) of FIG. 3B , and the viewfinder interface 203a includes a selection panel 310 .
  • the mobile phone 100 may display the viewfinder interface 201b shown in (a) of FIG. 2B.
  • the mobile phone 100 may display the viewfinder interface 204b shown in (b) of FIG. 2B.
  • the mobile phone 100 may display the viewfinder interface 203c shown in (b) of FIG. 2C.
  • the mobile phone 100 may display the viewfinder interface 201c shown in (a) of FIG. 2C.
  • the sub-mode 1 is the front and rear dual-mirror mode. It should be understood that the principle when the sub-mode 1 is a rear-rear dual-mirror mode, a picture-in-picture mode, a single front mode or a single rear mode is also similar. That is, in response to the user's selection operation on any mode option, the mobile phone 100 may display the viewfinder interface of the sub-mode corresponding to the mode option. No more details here.
  • S301a-S303a only illustrates a switching process before video recording.
  • two or more multi-mirror modes can be switched between, and each switching process can refer to the description of S301a-S303a.
  • the multi-mirror mode before switching is recorded as sub-mode 1
  • the multi-mirror mode after switching is recorded as sub-mode 2.
  • the mobile phone 100 can flexibly switch between multiple multi-mirror modes according to the user's selection of the multi-mirror mode . This makes it possible to switch to a satisfactory multi-mirror mode before starting video recording.
  • operation 1 may be the user's click operation on the mode icon, or the user's click operation or swipe up operation on the panel display control.
  • the embodiment of the present application provides a video shooting method, which can switch the multi-mirror mode during recording in the multi-mirror video mode.
  • a video shooting method which can switch the multi-mirror mode during recording in the multi-mirror video mode.
  • it is mainly described by taking operation 1 as an example where the user slides up the panel display control.
  • the video shooting method includes:
  • the mobile phone 100 displays an interface c, where the interface c is a viewfinder interface being recorded in sub-mode 1.
  • the interface c includes panel display controls.
  • sub-mode 1 includes front and rear dual-mirror mode, rear-rear dual-mirror mode, picture-in-picture mode, single front mode or single rear mode.
  • the panel display control is used to trigger the mobile phone 100 to display a selection panel, the selection panel includes multiple mode options, and the multiple mode options correspond to multiple multi-mirror modes one by one.
  • the panel presentation controls are only present in the recording. In this way, a new shortcut for switching between multi-mirror modes is provided during recording, which is convenient for switching between multi-mirror modes during recording.
  • sub-mode 1 is the front and rear dual-mirror mode
  • interface c can be the viewfinder interface 201d shown in (a) in FIG. That is, control 224 is a panel presentation control.
  • the mobile phone 100 responds to the user's upward sliding operation on the panel display control, and displays multiple mode options on the interface c.
  • the interface c may be the viewfinder interface 201d shown in (a) of FIG. 2D
  • the panel display control may be the control 224 in the viewfinder interface 201d.
  • the mobile phone 100 may further display a selection panel 320 in the viewfinder interface 201d shown in (a) of FIG. 4 in response to the user's upward sliding operation on the control 224 .
  • the selection panel 320 includes mode options of 5 modes including front and rear dual-mirror mode, rear-rear dual-mirror mode, picture-in-picture mode, single front mode and single rear mode.
  • the mobile phone 100 hides the panel display controls. For example, the panel presentation control is no longer displayed in the viewfinder interface 201d shown in (a) of FIG. 4 . In this way, interface elements can be simplified.
  • the mobile phone 100 closes the front and rear camera switching controls. For example, the front and rear camera switching controls are no longer displayed at the lower right corner of the viewfinder interface 201d shown in (a) in FIG. 4 .
  • the sub-mode 1 is the front and rear dual-mirror mode. It should be understood that the principle when the sub-mode 1 is a rear-rear dual-mirror mode, a picture-in-picture mode, a single front mode or a single rear mode is also similar. The following simply shows a schematic diagram of displaying multiple mode options when the sub-mode 1 is respectively the rear-rear dual-mirror mode, the picture-in-picture mode and the single rear mode.
  • Example 1 if the sub-mode 1 is the rear-rear dual-mirror mode, the interface c may be the viewfinder interface 204d shown in (b) of FIG. 2D , and the panel display control may be the control 240 in the viewfinder interface 204d.
  • the mobile phone 100 may further display a selection panel 321 in the viewfinder interface 204d shown in (b) of FIG. 4 in response to the user's upward sliding operation on the control 240 .
  • the selection panel 321 includes mode options of 5 modes including front and rear dual-mirror mode, rear-rear dual-mirror mode, picture-in-picture mode, single front mode and single rear mode. Among them, the mode option of the rear dual-mirror mode is highlighted.
  • the interface c may be the viewfinder interface 207b shown in (c) of FIG. 2D
  • the panel display control may be the control 241 in the viewfinder interface 207d.
  • the mobile phone 100 may further display a selection panel 322 in the viewfinder interface 207d shown in (c) of FIG. 4 in response to the user's upward sliding operation on the control 241 .
  • the selection panel 322 includes mode options of 5 modes including front and rear dual-mirror mode, rear-rear dual-mirror mode, picture-in-picture mode, single front mode and single rear mode. Among them, the mode option of the picture-in-picture mode is highlighted.
  • sub-mode 1 is a single front mode (the same is true for single rear mode)
  • interface a can be the viewfinder interface 201e shown in (a) in Figure 2E
  • the panel display controls can be the controls in the viewfinder interface 201e 242.
  • the mobile phone 100 may further display a selection panel 323 in the viewfinder interface 201e shown in (d) of FIG. 4 in response to the user's upward sliding operation on the control 242 .
  • the selection panel 323 includes mode options of 5 modes including front and rear dual-mirror mode, rear-rear dual-mirror mode, picture-in-picture mode, single front mode and single rear mode. Among them, the mode option of single front mode is highlighted.
  • sub-mode 1 is a single front mode or a single rear mode
  • the mobile phone 100 can also hide multiple mode options in a manner similar to that before video recording, which will not be repeated here.
  • Mode option 1 corresponds to sub-mode 2
  • interface d is the viewfinder interface during sub-mode 2 recording.
  • Submode 2 is different from submode 1.
  • S301c-S303c only illustrate a switching process before recording.
  • multiple multi-mirror modes can be switched in twos and multiple times.
  • S301c-S303c For each switching process, please refer to the description of S301c-S303c.
  • the multi-mirror mode before switching is recorded as sub-mode 1
  • the multi-mirror mode after switching is recorded as sub-mode 2.
  • the mobile phone 100 can flexibly switch between multiple multi-mirror modes according to the user's selection of the multi-mirror mode .
  • operation 1 is that the user clicks on the mode icon, and the implementation principle is the same, but the conditions for triggering the display of multiple mode options are different, which will not be repeated here.
  • operation 1 in recording, the above two forms of operation 1 can be combined. Therefore, multiple modes can be triggered to display multiple mode options, thereby improving the flexibility of switching.
  • the switching process before recording will not be reflected in the final video file.
  • the final video file will not include the process of switching from the front-rear dual-mirror mode to the rear-rear dual-mirror mode before recording. Only videos recorded in the rear and rear dual-mirror modes will be presented.
  • the mobile phone After S303c, the mobile phone generates the video file 1 in response to the user's operation 3 on the interface d.
  • This operation 3 is used to trigger the mobile phone to end the video recording.
  • operation 3 may be the user's click operation on the end recording control.
  • This video file 1 includes video stream a and video stream b.
  • video stream a is a video stream formed by recording video in sub-mode 1
  • video stream b is a video stream formed by recording video in sub-mode 2.
  • video stream a may be composed of n sub-video streams, n is a positive integer, and the value of n is equal to the number of cameras used in sub-mode 1.
  • the n sub-video streams correspond to the n cameras used in sub-mode 1. That is, each sub-video stream in the n sub-video streams is composed of multiple frames of preview images collected by the corresponding camera adopted in sub-mode 1.
  • video stream b may be composed of m sub-video streams, m is a positive integer, and the value of m is equal to the number of cameras used in sub-mode 2.
  • the m sub-video streams correspond to the m cameras used in sub-mode 2. That is, each sub-video stream in the m sub-video streams is composed of multiple frames of preview images collected by the corresponding camera adopted in sub-mode 2.
  • sub-mode 1 as a front-rear dual-mirror mode
  • sub-mode 2 as a rear-rear dual-mirror mode
  • switch to a multi-mirror mode once during video recording as an example.
  • the rear main camera and the front camera are used as front and rear dual mirrors mode to record video.
  • the mobile phone 100 switches the multi-mirror mode to the rear-rear dual-mirror mode, and adopts the rear telephoto camera and the rear wide-angle camera to collect preview images.
  • Video file 1 includes video stream a1, video stream a2, video stream b1, and video stream b2.
  • the video stream a1 includes a multi-frame preview image collected by the rear main camera in the front-rear dual-mirror mode
  • the video stream a2 includes a multi-frame preview image collected by the front camera in the front-rear dual-mirror mode.
  • video stream a includes two sub-video streams, namely, video stream a1 and video stream a2.
  • the video stream b1 includes the multi-frame preview images collected by the rear telephoto camera in the rear-rear dual-lens mode
  • the video stream b2 includes the multi-frame preview images collected by the rear wide-angle camera in the rear-rear dual-lens mode. That is, video stream b includes two sub-video streams, namely, video stream b1 and video stream b2.
  • the zoom control and the panel display control need to be displayed at the same time, and the panel display control may be adjacent to the zoom control.
  • the panel display control 241 and the zoom control 243 are displayed adjacently.
  • the panel display control 244 and the zoom control 245 are displayed adjacently.
  • the response hot zone of the panel display control (referred to as the panel display hot zone, including the panel display control) includes a zoom control
  • the responsive hotspot (referred to simply as the zoom hotspot, which includes the zoom controls) of .
  • the user inputs the line between the start point and the end point of the sliding operation, and the minimum angle between the bottom of the screen and the bottom of the screen is greater than the preset angle (such as 60°), the display selection of the mobile phone 100 can be triggered panel for switching between multi-mirror modes.
  • the mobile phone 100 can be triggered to switch the rear Camera. It should be understood that since the panel display hot zone includes the zoom hot zone, being in the zoom hot zone means being in the panel display area.
  • the panel display hotspot is relatively large, which can facilitate the user to trigger the mobile phone 100 to display the selection panel. Thereby, the difficulty of switching between multi-mirror modes can be reduced.
  • the mobile phone 100 responds to the user's operation based on the size of the smallest angle between the starting point and the end point of the user's input sliding operation and the bottom of the screen, which can accurately respond to the user's operation, and will not occur. confusion.
  • the panel display hotspot includes the zoom hotspot, for example, the height of the panel display hotspot is 60 pixels (dp), and the width is the screen The width of the zoom hotspot is 130dp, and the width is also the width of the screen.
  • Swipe operation 1 Swipe from the starting point A to the end point B along the arrow 1.
  • the mobile phone 100 may display a selection panel for switching the multi-mirror mode. Swipe operation 2 from the starting point A, along the arrow 2, to the end point C, since point A and point C are both in the zoom hot zone, and the minimum angle between the line connecting point A and point C and the bottom of the screen is less than 60°, corresponding Yes, the mobile phone 100 can switch the rear camera for capturing images in response to the sliding operation 2 .
  • the panel display The zoom controls are not displayed adjacent to the controls. In these scenarios, it is enough to divide the corresponding hot zones for the panel display controls separately.
  • different panel display hotspots may be set. For example, set a larger panel display hotspot for a dynamic panel display control.
  • the panel display control and the zoom control are far apart, and the panel display hotspot can be set as a rectangular area as shown in the figure, as shown
  • the height is 60dp and the width is the width of the screen.
  • the multi-mirror mode is mainly switched through mode icons or panel display controls, but in actual implementation, it is not limited thereto.
  • the switching of the multi-mirror mode can also be triggered by a preset gesture.
  • the mobile phone 100 in the vertical screen mode, in the case of using a single camera to capture images, the mobile phone 100 can respond to the user's sliding gesture from the lower edge or upper edge of the screen to the middle of the screen, and can start from the mode of using a single camera to capture images. to switch to the mode that uses two cameras to capture images. For example, switch to front and rear dual-mirror mode.
  • the mobile phone 100 responds to the user's sliding gesture from a position near the intersection area of the two preview images to the upper or lower edge of the screen , to switch from a mode that captures images with two cameras to a mode that captures images with a single camera.
  • the mobile phone 100 can be directly triggered to switch the multi-mirror mode through the preset gesture without displaying mode options, thereby improving the convenience of switching.
  • the multi-mirror mode is mainly switched through mode options, that is, switching of cameras, layout, and the like.
  • the mobile phone 100 is triggered to switch between the front camera and the rear camera through the front and rear camera switching controls.
  • the mobile phone 100 may switch to the single rear mode in response to the user's click operation on the front and rear camera switching control.
  • the mobile phone 100 may switch to the single front mode in response to the user's click operation on the front and rear camera switching controls.
  • the mobile phone 100 can switch the front camera to the rear camera (such as the rear main camera) in response to the user's click operation on the front and rear camera switching controls. .
  • the mobile phone 100 may switch one of the rear cameras to the front camera in response to the user's click operation on the front and rear camera switching controls, thereby switching to the front and rear dual-mirror mode.
  • the mobile phone 100 may display the viewfinder interface 201d shown in (a) in FIG.
  • Method 2 in the case that the currently adopted camera has a rear camera, the mobile phone 100 may be triggered to switch the rear camera through the zoom control.
  • the mobile phone 100 may switch to the corresponding rear-facing camera in response to the user's selection operation of the zoom speed in the zoom control. For example, when a 2x magnification is selected, the mobile phone 100 may switch to a rear 2x telephoto lens.
  • the mobile phone 100 may switch the current rear camera to another rear camera in response to the user's selection operation of the zoom speed in the zoom control. For example, in response to the user's sliding operation on the zoom bar 228 in the viewfinder interface 201d shown in (a) in FIG. Camera. If you slide from 1x to 2x, you can switch from the rear main camera to the rear 2x telephoto camera.
  • the mobile phone 100 may switch one of the rear cameras to the other rear camera in response to the user's selection operation of the zoom ratio in the zoom control. For example, in response to the user's sliding operation on the zoom bar in the viewfinder interface 204d shown in (b) in FIG. for other rear cameras. If you slide from 2x to 4x, you can switch from the rear 2x telephoto camera to the rear 4x telephoto camera.
  • the third way is to trigger the switch of the rear camera by zooming with your fingers. For example, opening the finger triggers switching to the rear telephoto camera. The larger the opening degree, the switch to the rear telephoto camera with a larger magnification. Pinch your fingers together to switch to the wide-angle camera.
  • the mobile phone 100 may switch the display areas of the preview image captured by the front camera and the preview image captured by the rear camera in response to the user's double-click operation on any preview image.
  • the mobile phone 100 can switch the display areas of the preview image 202d and the preview image 203d in response to the user's double-click operation on the preview image 202d or the preview image 203d in the viewfinder interface 201d shown in (a) of FIG. 2D .
  • the preview image 202d is displayed below the preview image 203d.
  • the mobile phone 100 may switch the display areas of the preview images captured by the two rear cameras in response to the user's double-click operation on any preview image.
  • the mobile phone 100 can switch the display areas of the preview image 205d and the preview image 206d in response to the user's double-click operation on the preview image 205d or the preview image 206d in the viewfinder interface 204d shown in (b) of FIG. 2D .
  • the preview image 205d is displayed below the preview image 206d.
  • the mobile phone 100 may switch the display areas of the preview image captured by the front camera and the preview image captured by the rear camera in response to the user's double-click operation on any preview image.
  • the mobile phone 100 can switch the display areas of the preview image 208d and the preview image 209d in response to the user's double-click operation on the preview image 208d or the preview image 209d in the viewfinder interface 207d shown in (c) of FIG. 2D .
  • the preview image 208d is displayed in the small window 209D
  • the preview image 209d is displayed in the large window 208D.
  • the mobile phone 100 in the picture-in-picture mode, can be triggered to zoom the window size of the small window by zooming the small window window with a finger or dragging the edge of the small window.
  • Embodiment 2 beauty function.
  • a video shooting method provided in the embodiment of the present application can be applied to the mobile phone 100 .
  • the mobile phone 100 may display one or more A beauty effect control for users to choose a beauty effect. Then, the mobile phone 100 may set the beauty effect in the multi-camera recording mode in response to the user's operation on the beauty effect control. In this way, the beauty setting can be completed before recording in the multi-camera recording mode.
  • the beauty control is the control 213 in the viewfinder interface 203a shown in (b) of FIG. 2A.
  • the mobile phone 100 may further display a beauty adjustment bar 601 in the viewfinder interface 203a shown in (a) in FIG. 6A , the beautification adjustment bar 601 is recorded as a beautification effect control.
  • the default beauty level in the beauty adjustment bar 601 is level 5.
  • the mobile phone 100 may receive the user's sliding operation on the beautification adjustment bar 601 , that is, a selection operation on the beautification level.
  • the mobile phone 100 may receive the user's selection operation on level 6 in the beauty adjustment bar 601 .
  • the mobile phone 100 may adjust the beautification effect to a level 6 beautification effect in response to the user's selection operation of level 6.
  • the implementation of setting the beautification effect on the mobile phone 100 is described only by taking the beautification effect control bar as an example.
  • the beauty effect control may also be in other forms.
  • the beautifying effect control may also be a plurality of effect options, and the plurality of effect options correspond to various beautifying effects one by one.
  • the solution of the application is mainly described by taking the beauty effect control as a beauty adjustment bar as an example.
  • the mobile phone 100 when the user operates the beauty adjustment bar to adjust the beauty level, the mobile phone 100 only displays the preview image and the beauty adjustment bar. And hide other elements in the viewfinder interface. In this way, it is convenient for the user to accurately adjust the beauty level. For example, as shown in (b) in FIG. 6A, during the user's operation of the beauty adjustment bar, the mobile phone 100 hides interface elements such as the mode icon, the flash icon, the start recording control, and the front and rear camera switching controls, and only displays the preview image. and beauty adjustment bar.
  • the multi-mirror recording mode in the multi-mirror mode that uses two or more cameras to collect images, such as the front and rear dual-mirror mode, the rear-rear dual-mirror mode or the picture-in-picture mode, usually only when the subject is a portrait , there is a need for beauty.
  • the front camera is usually used to collect portraits.
  • the mobile phone 100 may display the beautification control near the image of the front camera in the viewfinder interface. In this way, it is convenient to clarify the target of beauty.
  • the viewing interface 203a shown in (b) of FIG. 2A includes a control 213, and the control 214 is used to trigger the mobile phone 100 to adjust the beauty level.
  • the control 213 is a beauty control.
  • the control 213 is displayed in the display area of the image (such as a face image) collected by the front camera in the front and rear dual-mirror mode.
  • the viewfinder interface 204b shown in (b) of FIG. 2B includes a beautification control, and the beautification control displays the display area ( Such as the bottom of the small window).
  • the images (usually portraits) captured by the front camera support beauty, and after setting the beauty effect through the beauty control, only the front camera captures
  • the beauty effect can be added to the image of . That is to say, in the front and rear dual-mirror mode and the picture-in-picture mode, the beautification control is only used to set the beautification effect of the image captured by the front camera.
  • the viewfinder interface shown in (b) in FIG. 2A before recording in the front and rear dual-mirror mode as an example.
  • the viewfinder interface 602 shown in FIG. 6B can be displayed.
  • the viewfinder interface 602 only the preview image 604 captured by the front camera is added with 6-level beautification effects, while the preview image 603 captured by the rear camera is not added with beautification. Effect.
  • the mobile phone 100 may not display Beautification controls, or display the beautification controls at a position near the bottom of the mobile phone 100 by default.
  • the viewfinder interface 201b shown in (a) in FIG. 2B is the viewfinder interface of the rear and rear dual-mirror mode, and the cameras for collecting images in the rear and rear dual-mirror mode are two rear cameras, that is, the front camera and the mobile phone are not included.
  • the beautification control can be displayed near the bottom of the mobile phone 100.
  • both the front camera and the rear camera support beauty.
  • the mobile phone 100 can display a beauty control on the viewfinder interface. Moreover, after setting the beautification effect through the beautification control, the beautification effect can be added to the preview image displayed in full screen.
  • the single front mode and the single rear mode support beauty
  • the images captured by the front camera in the front and rear dual view mode and the picture-in-picture mode support beauty (also called partial support).
  • Beautification the rear dual mirror mode usually does not support beautification.
  • the mobile phone 100 can switch between multiple multi-mirror modes. On this premise, it is possible to switch from a mode that supports beauty (such as a single rear mode) to a mode that partially supports beauty or does not support beauty; or, it may also switch from a mode that partially supports beauty to one that does not support beauty. color pattern.
  • the embodiment of the present application provides a video shooting method, which can be applied to the mobile phone 100 .
  • the mobile phone 100 can intelligently set the beautification effect according to the multi-mirror mode before and after switching, so as to adapt to the support of the multi-mirror mode for beautification.
  • the following uses several typical scenarios to illustrate the specific implementation of the smart setting beauty effect:
  • Scenario 1 switching from the mode of capturing images with a single camera to capturing images with two cameras, and the switched two cameras include the rear camera.
  • FIG. 6C is a flowchart of a video shooting method provided by the embodiment of the present application, which can be applied to the mobile phone 100 .
  • scene 1 is mainly taken as an example to illustrate the specific implementation of intelligently setting the beautifying effect.
  • the video shooting method of this embodiment may include:
  • the mobile phone 100 displays an interface a, where the interface a is a viewfinder interface for video recording by the first camera.
  • the interface a includes a first preview image displayed in full screen.
  • the first preview image is obtained by the mobile phone 100 after adding a first beauty effect to the first image captured by the first camera.
  • the first camera is a front camera or a rear camera.
  • the viewfinder interface for video recording may be the viewfinder interface before recording, or the viewfinder interface for video recording. That is, interface a (also referred to as the first interface) may be a viewfinder interface before recording, or may be a viewfinder during recording. That is to say, the method of this embodiment can be used to intelligently set the beautifying effect before recording and during recording.
  • the beautification effect in the interface a is set by the mobile phone 100 according to the user's operation on the beautification control and the beautification effect control.
  • the mobile phone 100 before S611, the mobile phone 100 needs to set the beautifying effect recorded by the first camera as the first beautifying effect according to the user's operation on the beautifying control and the beautifying effect control.
  • the specific process of setting the beautification effect has been described above, and will not be repeated here.
  • the mobile phone 100 may display an interface a, and the preview image in the interface a has the first beautifying effect. That is, the screen a is a viewfinder screen before recording.
  • the mobile phone 100 may display interface a in response to the user's operation of starting video recording (such as clicking the start recording control), and the preview image in interface a has the first beautification effect. That is, the screen a is a viewfinder screen currently being recorded.
  • the solution of the present application will be described mainly by taking interface a as an example of a viewfinder interface being recorded.
  • the beautifying effect in interface a may be the result of the mobile phone 100 intelligently setting the beautifying effect according to the switching of the multi-mirror mode after adopting the solution of the present application.
  • the first camera may be a front camera
  • interface a may be the viewfinder interface 621 shown in (a) in FIG. 6D
  • the first preview image may be the viewfinder interface 621 included
  • the preview image 622 is obtained after the mobile phone 100 adds the first beautification effect (such as 6-level beautification) to the image collected by the front camera.
  • the first camera may also be a rear camera
  • interface a may be the viewfinder interface 623 shown in (b) in FIG. 6D
  • the first preview image may be the viewfinder interface 623 includes a preview image 624
  • the preview image 624 is obtained after the mobile phone 100 adds the first beautification effect (such as 6-level beautification) to the image captured by the rear camera.
  • the mobile phone 100 displays multiple mode options on the interface a in response to the user's operation 1 on the interface a.
  • a plurality of mode options corresponds to a plurality of multi-mirror modes one by one.
  • the mobile phone 100 may receive the user's operation 1 on the interface a.
  • Mode option 1 corresponds to the mode in which the second camera and the third camera are used to capture images.
  • Interface b is a viewfinder interface for using the second camera and the third camera to capture images.
  • Interface b includes the second image acquired by processing the second camera.
  • the second preview image and the third preview image obtained by processing the third image captured by the third camera.
  • the preview images captured by the rear camera in the second preview image and the third preview image have no beautification effect added.
  • the mobile phone 100 may receive a user's selection operation on mode option 1.
  • the operation of triggering the mobile phone 100 to switch from capturing images with a single camera to capturing images with two cameras may be referred to as the first operation.
  • the user's selection operation on mode option 1 is the first operation.
  • the interface b may be referred to as the second interface.
  • the mode option 1 may correspond to the front and rear dual-mirror mode, that is, the second camera may be a front camera, and the third camera may be a rear camera.
  • interface b is the viewfinder interface of the front and rear dual-mirror mode.
  • the first camera is a front camera.
  • the rear camera does not support beautification, and the third image captured by the third camera cannot use the beautification effect.
  • the second image captured by the second camera may continue to use the first beautifying effect. That is to say, the first camera is a front camera, the second camera is a front camera, and the third camera is a rear camera.
  • Interface b includes the second preview image and the third preview image, and the second preview image is added with the second preview image.
  • One beautification effect, the third preview image has no beautification effect added. That is, the image captured by the front camera follows the beautifying effect before switching, while the image captured by the rear camera does not use the beautifying effect.
  • the interface a is the viewfinder interface 621 of the single front mode shown in (a) in FIG.
  • the viewfinder interface 625 of the dual-lens mode that is, the viewfinder interface 625 is interface b.
  • the viewing interface 625 includes a preview image 627 and a preview image 626, the preview image 627 is a second preview image, and the preview image 626 is a third preview image.
  • the preview image 627 has the first beautification effect added, and the preview image 626 has no beautification effect added.
  • the first camera is a rear camera.
  • the rear camera does not support beautification, and the third image captured by the third camera cannot use the beautification effect.
  • the first camera is a rear camera
  • the second image captured by the second camera cannot inherit the beautification effect of switching the front and rear cameras. That is to say, the first camera is a rear camera, the second camera is a front camera, and the third camera is a rear camera
  • interface b includes the second preview image and the third preview image, then the second preview image and the third preview image None of the preview images have beautification effects added. That is, the image captured by the front camera does not use the beautification effect, and the image captured by the rear camera no longer uses the beautification effect before switching.
  • interface a is the viewfinder interface 623 shown in (b) of FIG. 6D in the single rear mode.
  • the mobile phone 100 can display the front and rear viewfinder interface 623 shown in (b) in FIG. 6E
  • the viewfinder interface 628 of the dual-lens mode that is, the viewfinder interface 628 is interface b.
  • the viewing interface 628 includes a preview image 630 and a preview image 629, the preview image 630 is a second preview image, and the preview image 629 is a third preview image. Wherein, neither the preview image 630 nor the preview image 629 has a beautifying effect added.
  • mode option 1 may correspond to a picture-in-picture mode
  • the second camera may be a front camera
  • the third camera may be a rear camera.
  • interface b is the viewfinder interface of the front and rear dual-mirror mode.
  • the mobile phone 100 intelligently sets the beautification effect to be different, which is similar to the front and rear dual-lens mode.
  • the specific principle please refer to the previous description about the intelligent setting of the beauty effect in the front and rear dual-mirror mode, which will not be repeated here, but only the following two examples are used to illustrate.
  • Example 1 the first camera is a front camera, and interface a may be the viewfinder interface 621 of the single front mode shown in (a) in FIG. 6D .
  • the mobile phone 100 may display The viewfinder interface 631 of the picture-in-picture mode shown in (a), that is, the viewfinder interface 631 is interface b.
  • the viewfinder interface 631 includes a preview image 632 and a preview image 633 .
  • the preview image 632 is a second preview image, and the preview image 633 is a third preview image. Wherein, the preview image 632 has the first beautifying effect added, and the preview image 633 has no beautifying effect added.
  • Example 2 the first camera is a rear camera, interface a is the viewfinder interface 623 of the single rear mode shown in (b) in Figure 6D, after switching to the picture-in-picture mode, the mobile phone 100 can display the The viewfinder interface 634 of the picture-in-picture mode shown in (b), that is, the viewfinder interface 634 is interface b.
  • the viewing interface 634 includes a preview image 635 and a preview image 636 , the preview image 635 is a second preview image, and the preview image 636 is a third preview image. Wherein, neither the preview image 635 nor the preview image 636 has a beautifying effect added.
  • the mode option 1 can correspond to the rear dual-mirror mode, that is, the second camera and the third camera are both rear cameras.
  • interface b is the viewfinder interface of the rear-rear dual-mirror mode.
  • the interface a is the viewfinder interface 623 of the single rear mode shown in (b) in FIG.
  • the viewfinder interface 204d shown in (b) in FIG. 2D is displayed, that is, the viewfinder interface 204d is interface b.
  • the viewing interface 204d includes a preview image 205d and a preview image 206d, the preview image 205d is a second preview image, and the preview image 206d is a third preview image. Since none of the rear cameras in the rear-rear dual-mirror mode supports beautification, the beautification effect of switching the front-facing camera cannot be applied to the rear-rear dual-mirror mode. That is, neither the preview image 205d nor the preview image 206d has a beautification effect added.
  • the mobile phone 100 can intelligently add a beauty effect to the images captured by different cameras. Then, the mobile phone 100 can switch back to the mode of using a single camera to collect images again.
  • the video shooting method also includes:
  • the mobile phone 100 displays multiple mode options on the interface b in response to the user's operation 1 on the interface b.
  • Mode option 2 corresponds to the mode of using the fourth camera to capture images
  • interface c is a viewfinder interface using the fourth camera to record video.
  • Interface c includes a fourth preview image displayed in full screen, and the fourth preview image is obtained by mobile phone 100 adding the first beauty effect to the fourth image captured by the fourth camera.
  • the fourth camera may be the same as or different from the first camera.
  • the first camera is a rear main camera
  • the fourth camera may be a rear main camera or a front camera.
  • the mobile phone 100 can return from the mode using two cameras to collect images to the mode using a single camera to collect images again, and interface c can be displayed after switching.
  • interface c the first beauty effect can be added to the images captured by a single camera.
  • interface c may be referred to as the third interface, and the operation of triggering the mobile phone 100 to switch from using two cameras to collect images to using a single camera to collect images (such as the user's selection operation for mode option 2) is called the third interface. Two operations.
  • the mobile phone 100 may display the viewfinder interface 621 shown in (a) in FIG. 6D , that is, the viewfinder interface 621 is interface c.
  • the preview image 622 in the viewfinder interface 621 is added with the first beauty effect, that is, the preview image 622 is a fourth preview image.
  • the mobile phone 100 can switch from the mode of capturing images with a single camera to the mode of capturing images with two cameras in the viewfinder interface before recording or in the viewfinder interface that is recording. Finally, intelligently set the beautification effect of the images captured by the two cameras respectively. Thereby improving the rationality of beauty settings.
  • Scenario 2 switching from using one front camera and one rear camera to capture images (such as front and rear dual-mirror mode or picture-in-picture mode) to using two rear cameras to capture images (such as rear and rear dual-mirror mode).
  • FIG. 6G is a flow chart of a video shooting method provided in the embodiment of the present application, which can be applied to the mobile phone 100 .
  • scene 2 is mainly taken as an example to illustrate the specific implementation of intelligently setting the beautifying effect.
  • the video shooting method of this embodiment may include:
  • the mobile phone 100 displays an interface a, where the interface a is a viewfinder interface for video recording in a front-rear dual-mirror mode or a picture-in-picture mode.
  • the interface a includes a first preview image and a fifth preview image.
  • the first preview image is obtained after the mobile phone 100 adds the first beautifying effect to the first image collected by the first camera, and the second preview image does not add the beautifying effect.
  • the interface a may be the viewfinder interface 625 of the front and rear dual-mirror mode shown in (a) in FIG.
  • Preview image 626 is a fifth preview image.
  • the preview image 627 has the first beautification effect added, and the preview image 626 has no beautification effect added.
  • the first beauty effect is added to the image captured by the front camera.
  • the beautifying effect in the interface a may be set according to the user's operation on the beautifying control and the beautifying effect control, or may be intelligently set according to the switching of the multi-mirror mode after adopting the solution of this application.
  • the mobile phone 100 displays multiple mode options on the interface a in response to the user's operation 1 on the interface a.
  • a plurality of mode options corresponds to a plurality of multi-mirror modes one by one.
  • Mode option 1 corresponds to the rear dual mirror mode
  • interface b is the viewfinder interface for recording in the rear dual mirror mode.
  • Interface b includes a second preview image and a third preview image, the second preview image is obtained by the mobile phone 100 processing the second image collected by the second camera, and the third preview image is obtained by the mobile phone 100 processing the third image collected by the third camera . No beautification effect is added to the second preview image and the third preview image.
  • the mobile phone 100 needs to turn off the beauty effect of the front camera before switching (as shown in Section - beautifying effect).
  • the interface a is the viewfinder interface 625 of the front and rear dual-mirror mode shown in (a) in FIG. is a preview image 626, and the preview image 626 does not have the first beauty effect.
  • the mobile phone 100 may display the viewfinder interface 204d shown in (b) of FIG. 2D , that is, the viewfinder interface 204d is interface b.
  • the viewing interface 204d includes a preview image 205d and a preview image 206d, the preview image 205d is a second preview image, and the preview image 206d is a third preview image. Since neither of the rear cameras in the rear-rear dual-mirror mode supports beautification, neither the preview image 205d nor the preview image 206d has a beautification effect added.
  • the mobile phone 100 can intelligently turn off the beautification effect. Then, the mobile phone 100 can switch back to using a front camera and a rear camera to collect images again.
  • the video shooting method also includes:
  • the mobile phone 100 displays multiple mode options on the interface b in response to the user's operation 1 on the interface b.
  • Interface d is the viewfinder interface of the front and rear dual-mirror mode or the picture-in-picture mode.
  • Interface d includes a sixth preview image and a seventh preview image, the sixth preview image is obtained by adding the first beauty effect to the sixth image captured by the sixth camera, and the seventh preview image is obtained by processing the seventh image captured by the seventh camera. image obtained.
  • the sixth camera is the front camera
  • the seventh camera is the rear camera
  • the seventh preview image has no beautification effect added.
  • mode option 3 corresponds to the front and rear dual-mirror mode or the picture-in-picture mode.
  • the display layout of the sixth preview image and the seventh preview image on the interface d may be the same as the display layout of the first preview image and the fifth preview image on the interface a.
  • all are split-screen layouts or all are picture-in-picture layouts.
  • the display layout of the sixth preview image and the seventh preview image in interface d may be the same as the display layout of the first preview image and the fifth preview image in interface a.
  • the sixth preview image and the seventh preview image have a split-screen layout on interface d
  • the first preview image and fifth preview image have a picture-in-picture layout on interface a.
  • interface a is the viewfinder interface 625 of the front and rear dual-mirror mode shown in (a) in FIG.
  • interface d is the viewfinder interface 631 of the picture-in-picture mode shown in (a) in FIG. 6F .
  • the sixth preview image and the seventh preview image are in a picture-in-picture layout on the interface d
  • the first preview image and the fifth preview image are in a split-screen layout on the interface a.
  • interface a is the viewfinder interface 631 in the picture-in-picture mode shown in (a) in FIG. 6F
  • interface d is the viewfinder interface 625 in the front and rear dual-mirror mode shown in (a) in FIG. 6E .
  • the mobile phone 100 after switching from using one front-facing camera and one rear-facing camera to capture images using two rear-facing cameras, the mobile phone 100 can cancel the beauty effect; and then switch back to using one front-facing camera After collecting images with a rear camera, the mobile phone 100 may display interface d.
  • interface d you can resume adding beauty effects to images captured by the front camera.
  • interface d can also be referred to as the fourth interface, which triggers the operation of the mobile phone 100 to switch from using two rear cameras to collect images to adopt one front camera and one rear camera to collect images (such as the user's mode option 3) can be referred to as a third operation.
  • the interface b is the viewfinder interface 204d of the rear-rear dual-mirror mode shown in (b) in FIG.
  • the mobile phone 100 may display the viewfinder interface 631 shown in (a) of FIG. 6F.
  • the viewfinder interface 631 includes a preview image 632 and a preview image 633, the preview image 632 is the sixth preview image, and the preview image 633 is the seventh preview image.
  • the first beauty effect is added to the preview image 632 .
  • the mobile phone 100 can switch from using one front camera and one rear camera to collect images, and switch to using two After the rear camera captures the image, it intelligently turns off the beautification effect. Thereby improving the rationality of beauty settings.
  • the mobile phone 100 may further display prompt 1 on the interface b.
  • the prompt 1 is used to indicate that beauty is turned off.
  • the interface a is the viewfinder interface 623 in the single rear mode shown in (b) of FIG. 6D .
  • the first beauty effect is added to the preview image 624 in the viewfinder interface 623, that is, the first beauty effect is added to the image captured by the rear camera.
  • the mobile phone 100 is switched to the front and rear dual-mirror mode, and the interface b may be the viewfinder interface 651 shown in FIG. 6H .
  • the viewfinder interface 651 includes a preview image 652 , a preview image 653 and a prompt 654 .
  • No beautification effect is added to the preview image 651 and the preview image 652, that is, the first beautification effect is turned off.
  • Prompt 654 is specifically: when two cameras are used to record video, the rear camera does not support beautification, which is used to prompt that beautification has been turned off. That is, prompt 654 is prompt 1 .
  • the mobile phone 100 will only display a prompt 1 when the beauty effect is turned off for the first time during the process of intelligently setting the beauty effect. It will no longer be displayed after that. This avoids affecting the preview.
  • Scenario 3 switching from capturing images with one front camera and one rear camera to capturing images with a single camera.
  • the mode of collecting images by using a front camera and a rear camera may be a front and rear dual-mirror mode or a picture-in-picture mode.
  • the front and rear dual-mirror mode is mainly used as an example to illustrate the principle.
  • the principle of the picture-in-picture mode is similar, and will not be repeated in this article.
  • the first beauty effect is added to the images collected by the front camera. If it is the single front mode after switching, you can continue to use the first beauty effect. That is, in the viewfinder interface after switching, the first beauty effect is added to the preview image. If it is a single rear mode after switching, the first beautifying effect will be cancelled. That is, in the viewfinder interface after switching, the first beauty effect is not added to the preview image.
  • the mobile phone 100 can display the viewfinder interface of the front and rear dual-mirror mode shown in (a) in FIG. 6E 625.
  • the first beauty effect is added to the preview image 627 in the viewfinder interface 625, that is, the first beauty effect is added to the image captured by the front camera.
  • the mobile phone 100 may display a viewfinder interface 621 showing a single rear mode in (a) of FIG. 6D .
  • the first beauty effect is added to the preview image 622 displayed in full screen in the viewfinder interface 621 , that is, the image captured by a single front camera continues to use the first beauty effect.
  • the mobile phone 100 may display the viewfinder interface 203e shown in (b) of FIG. 2E.
  • the preview image 204e displayed in full screen in the viewfinder interface 203e does not have the first beauty effect added. That is, the beauty effect is turned off.
  • Scenario 4 switching from using two rear cameras to capture images (such as rear and rear dual-mirror mode) to other multi-mirror modes.
  • the rear camera does not support beautification
  • the rear dual-lens mode does not support beautification. Therefore, no beautification effect will be added to the preview image in the viewfinder interface of the rear and rear dual-mirror mode. On this basis, after switching to other multi-mirror modes, the beautification effect will still not be added.
  • Scene 3 may appear after S613 of Scene 1, that is, after switching from using a single camera to collect images to using a front camera and a rear camera to collect images, then switch to using a single camera to collect images again.
  • scene 3 appears after S613 of scene 1, it can be processed according to S615; otherwise, it can be processed according to the method in scene 3. In this way, the consistency of the beauty effect of the smart settings can be guaranteed to avoid conflicts.
  • Scene 4 may appear after S613 of Scene 1, that is, after switching from using a single camera to collect images to using two rear cameras, switch to using a single camera to collect images again.
  • Scenario 4 may occur after S643 of Scenario 2, that is, after switching from capturing images with one front camera and one rear camera to capturing images with two rear cameras, switching again to using one front camera and one The rear camera captures images.
  • S643 of scene 2 it can be processed according to S645. Otherwise, proceed as in Scenario 4. In this way, the consistency of the beauty effect of the smart settings can be guaranteed to avoid conflicts.
  • the above-mentioned method of intelligently setting the beautifying effect can realize automatic setting of the beautifying effect during the recording process.
  • the beautification function for various scenarios, only one or two switching processes are used to illustrate the specific realization of the mobile phone's automatic setting of beautification.
  • the beautification can also be automatically set during more than two switching processes.
  • the following uses a complete example to illustrate the specific implementation of the mobile phone's automatic setting of beautification during the process of switching the multi-mirror mode multiple times.
  • the mobile phone collects images through the first camera and displays them in full screen.
  • the first camera is the rear camera. That is, before the first switch, the recording mode adopted by the mobile phone is the single rear mode. In the single rear mode, after adding the first beautifying effect to the mobile phone, the first interface can be displayed.
  • the first interface is the viewfinder interface of the video recording of the mobile phone.
  • the first interface includes the first preview image displayed in full screen.
  • the first preview image is It is obtained by adding the first beauty effect to the first image captured by the first camera.
  • the first interface is the viewfinder interface 623 shown in (b) of FIG. 6D .
  • the first interface also includes a first control (such as a mode icon or a panel display control), and the first control is used to trigger the mobile phone to switch the recording mode (ie, the multi-mirror mode).
  • a first control such as a mode icon or a panel display control
  • the phone can switch the recording mode to front and rear dual mirror mode or picture-in-picture mode through the first control.
  • the mobile phone may receive a user's click operation on the first control in the first interface.
  • the mobile phone can display multiple options (that is, multiple mode options) on the first interface, and the multiple options correspond to multiple recording modes one by one.
  • the mobile phone may receive a user's selection operation on a first option, the first option is one of multiple options, and the first option corresponds to a front-rear dual-mirror mode or a picture-in-picture mode.
  • the mobile phone can display the second interface in response to the selection operation, the second interface is the viewfinder interface of the mobile phone video, the second interface includes the second preview image and the third preview image, and the second preview image is the first preview image collected by the second camera.
  • the second image is processed without adding a beautifying effect
  • the third preview image is obtained after processing the third image captured by the third camera without adding a beautifying effect. That is, in response to the user's selection operation on the first option, the mobile phone can switch to the front and rear dual-mirror mode or the picture-in-picture mode, and in the viewfinder interface after switching, no beauty effect is added to the two preview images.
  • the first interface is the viewfinder interface 623 in single rear mode shown in (b) in FIG. 6D
  • the second interface is the viewfinder interface 628 in front and rear dual-mirror mode shown in (b) in FIG. 6E .
  • the mobile phone can also display the first prompt message on the second interface.
  • the first prompt message is used to prompt that when two cameras are used to collect images, all rear cameras None of the collected images support beauty. This allows the user to be prompted for the reason for canceling the filter.
  • the phone can continue to switch to single front mode or single rear mode.
  • the second interface may also include the first control, and after the second interface is displayed, the mobile phone may receive a user's click operation on the first control in the second interface.
  • the mobile phone displays multiple options on the second interface in response to the click operation.
  • the mobile phone receives a user's selection operation on the second option, the second option is one of multiple options, and the second option corresponds to a single front mode or a single rear mode.
  • the mobile phone displays a third interface in response to the selection operation.
  • the third interface is a viewfinder interface for video recordings of the mobile phone.
  • the third interface includes a fourth preview image displayed in full screen, and the fourth preview image is the fourth image collected by the fourth camera. It is obtained after a beauty effect.
  • the fourth camera is a rear camera or a front camera. That is, the mobile phone can switch to the single front mode or the single rear mode in response to the user's selection operation on the second option, and can restore to the beautifying effect before the first switching, that is, the first beautifying effect.
  • the second interface is the viewfinder interface 628 in front and rear dual-mirror mode shown in (b) in FIG. 6E
  • the third interface is the viewfinder interface 621 in single front mode shown in (a) in FIG. 6D .
  • the third interface may also include the first control, and after the third interface is displayed, the mobile phone may receive a user's click operation on the first control in the third interface.
  • the mobile phone displays multiple options on the third interface in response to the click operation.
  • the mobile phone receives the user's selection operation of the third option, and the third option corresponds to the front and rear dual-mirror mode or the picture-in-picture mode.
  • the recording mode corresponding to the fourth option may be the same as the recording mode corresponding to the first option, for example, both are front and rear dual-mirror modes.
  • the recording mode corresponding to the fourth option may be the same as the recording mode corresponding to the first option.
  • the recording mode corresponding to the fourth option is the picture-in-picture mode
  • the recording mode corresponding to the first option is the front and rear dual-mirror mode.
  • the mobile phone displays a fourth interface, the fourth interface is a viewfinder interface for video recording of the mobile phone, and the fourth interface includes a fifth preview image and a sixth preview image.
  • the fifth preview image is obtained by adding the first beauty effect to the fifth image captured by the fifth camera, where the fifth camera is a front camera.
  • the sixth preview image is obtained after processing the fifth image captured by the sixth camera without adding a beautifying effect, and the sixth camera is a rear camera. That is to say, after switching from single front mode to front and rear dual mirror mode or picture-in-picture mode, the image captured by the front camera can continue to use the first beautification effect before the switch, while the image captured by the rear camera will not add beautification. color effect.
  • the third interface is the viewfinder interface 621 in the single front mode shown in (a) of FIG. 6D
  • the fourth interface is the viewfinder interface 625 in the front and rear dual-mirror mode shown in (a) in FIG. 6E .
  • the mobile phone After switching from the single front mode to the front and rear dual-mirror mode or the picture-in-picture mode, the mobile phone can continue to switch to the rear and rear dual-mirror mode.
  • the recording mode also includes a rear-rear dual-mirror mode
  • the fourth interface may also include the first control.
  • the mobile phone may receive a user's click operation on the first control in the fourth interface.
  • the mobile phone displays multiple options on the fourth interface in response to the click operation.
  • the mobile phone can receive the user's selection operation on the fourth option, the fourth option is one of multiple options, and the fourth option corresponds to the rear and rear dual-mirror mode.
  • the mobile phone displays a fifth interface
  • the fifth interface is a viewfinder interface for video recording of the mobile phone
  • the fifth interface includes the seventh preview image and the eighth preview image.
  • the seventh preview image is obtained after processing the seventh image captured by the seventh camera without adding a beautifying effect
  • the eighth preview image is obtained after processing the eighth image captured by the eighth camera without adding a beautifying effect of.
  • both the seventh camera and the eighth camera are rear cameras. That is to say, after switching from the front and rear dual-mirror mode or the picture-in-picture mode to the rear and rear dual-mirror mode, the images captured by the two rear cameras will not have a beautification effect.
  • the fourth interface is the viewfinder interface 625 in the front and rear dual-mirror mode shown in (a) in FIG. 6E
  • the fifth interface is the viewfinder interface 204d in the rear and rear dual-mirror mode shown in (b) in FIG. 2D .
  • the phone can continue to switch to the rear dual-lens mode.
  • the recording mode also includes a rear-rear dual-mirror mode
  • the third interface also includes a first control. After the third interface is displayed, the mobile phone receives the user's click operation on the first control in the third interface. The mobile phone displays multiple options on the third interface in response to the click operation.
  • the mobile phone receives a user's selection operation on the fourth option, where the fourth option is one of multiple options, and the fourth option corresponds to a rear-rear dual-mirror mode.
  • the mobile phone displays a sixth interface, the sixth interface is a viewfinder interface for video recording of the mobile phone, and the sixth interface includes a ninth preview image and a tenth preview image.
  • the ninth preview image is obtained after processing the ninth image captured by the ninth camera without adding a beautifying effect.
  • the tenth preview image is obtained after processing the tenth image collected by the tenth camera without adding a beautifying effect. Both the ninth camera and the tenth camera are rear cameras.
  • the third interface is the viewfinder interface 621 in the single front mode shown in (a) in FIG. 6D , and the viewfinder interface 204d in the rear-rear dual-mirror mode shown in (b) in FIG. 2D .
  • an electronic device which may include: the above-mentioned display screen (such as a touch screen), a memory, and one or more processors.
  • the display screen, memory and processor are coupled.
  • the memory is used to store computer program code comprising computer instructions.
  • the processor executes the computer instructions, the electronic device can execute various functions or steps performed by the mobile phone in the foregoing method embodiments.
  • the structure of the electronic device reference may be made to the structure of the mobile phone 100 shown in FIG. 1 .
  • the chip system 1300 includes at least one processor 1301 and at least one interface circuit 1302 .
  • the processor 1301 and the interface circuit 1302 may be interconnected through wires.
  • interface circuit 1302 may be used to receive signals from other devices, such as memory of an electronic device.
  • the interface circuit 1302 may be used to send signals to other devices (such as the processor 1301).
  • the interface circuit 1302 can read instructions stored in the memory, and send the instructions to the processor 1301 .
  • the electronic device may be made to execute various steps in the foregoing embodiments.
  • the chip system may also include other discrete devices, which is not specifically limited in this embodiment of the present application.
  • the embodiment of the present application also provides a computer storage medium, the computer storage medium includes computer instructions, and when the computer instructions are run on the above-mentioned electronic device, the electronic device is made to perform the various functions or steps performed by the mobile phone in the above-mentioned method embodiment .
  • the embodiment of the present application also provides a computer program product, which, when the computer program product is run on a computer, causes the computer to execute each function or step performed by the mobile phone in the method embodiment above.
  • 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 technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the software product is stored in a storage medium Among them, several instructions are included to make a device (which may be a single-chip microcomputer, a chip, etc.) or a processor (processor) execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the aforementioned storage medium includes: various media that can store program codes such as U disk, mobile hard disk, read only memory (ROM), random access memory (random access memory, RAM), magnetic disk or optical disk.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)

Abstract

本申请提供一种视频拍摄方法及电子设备,涉及终端技术领域,在切换为采用两个摄像头采集图像的情况下,智能设置美颜效果,以自动关闭后置摄像头的美颜效果。电子设备显示第一界面,第一界面中包括第一预览图像,第一预览图像是对第一摄像头采集的第一图像添加第一美颜效果后得到的。电子设备接收用户对第一界面的第一操作,第一操作用于触发电子设备切换使用第二摄像头和第三摄像头采集图像。电子设备响应于第一操作,显示第二界面,第二界面中包括第二预览图像和第三预览图像,第二预览图像和第三预览图像中对应后置摄像头的预览图像未添加美颜效果。

Description

一种视频拍摄方法及电子设备
本申请要求于2021年6月16日提交国家知识产权局、申请号为202110676709.3、发明名称为“一种基于故事线模式的用户视频创作方法及电子设备”的中国专利申请的优先权,以及于2021年10月9日提交国家知识产权局、申请号为202111178141.9、发明名称为“一种视频拍摄方法及电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及终端技术领域,尤其涉及一种视频拍摄方法及电子设备。
背景技术
目前,手机等电子设备中,不仅可以提供图片拍摄功能,还能提供视频拍摄功能。电子设备采用该视频拍摄功能,可以启动一个摄像头来录制视频。
然而,在多人聚会、亲子互动等具有多个拍摄对象的场景中,若采用上述视频拍摄功能,极有可能出现多个拍摄对象无法同时同框的情况。或者,在演唱会等活动现场中,具有同时拍摄远景和近景的需求,若采用上述视频拍摄功能,也可能无法同时满足用户的多种拍摄需求。
由此可见,亟需一种视频拍摄方案,以灵活适配于各种需要拍摄视频的场景。在此基础上,更缺少一种在各种拍摄场景中,可以灵活设置美颜效果的方案。
发明内容
本申请实施例提供一种视频拍摄方法及电子设备,在切换为采用两个摄像头采集图像的情况下,智能设置美颜效果,以自动关闭后置摄像头的美颜效果。
为达到上述目的,本申请的实施例采用如下技术方案:
第一方面,本申请实施例提供一种视频拍摄方法,该方法可以应用于手机、平板等支持拍摄视频的电子设备。其中,电子设备显示第一界面,第一界面是电子设备录像的取景界面,第一界面中包括第一预览图像,第一预览图像是对第一摄像头采集的第一图像添加第一美颜效果后得到的。第一摄像头是前置摄像头或者后置摄像头。也就是说,在切换前,电子设备为第一摄像头采集的图像添加了第一美颜效果。应注意,该第一美颜效果可以是通过取景界面中的美颜控件(即第一控件)设置的,也可以在采用本申请方案后,自动设置的。而后,电子设备接收用户对第一界面的第一操作,第一操作用于触发电子设备切换使用第二摄像头和第三摄像头采集图像。也就是说,切换后的拍摄模式(即多镜子模式)是采用两个摄像头采集图像的模式。例如,前后双镜模式、后后双镜模式或者画中画模式。在采用两个摄像头采集图像的模式中,通常不会使用后置摄像头来采集人像,因此不需要美颜效果。基于此,在本申请实施例中,电子设备响应于第一操作,显示第二界面,第二界面是电子设备录像的取景界面,第二界面中包括第二预览图像和第三预览图像,第二预览图像是处理第二摄像头采集的第二图像得到的,第三预览图像是处理第三摄像头采集的第二图像得到的。其中,第二预览图像和第三预览图像中对应后置摄像头的预览图像未添加美颜效果。也就是说,在切换后,电子设备不为两个摄像头中的后置摄像头采集的图像 添加美颜效果。
综上所述,采用本实施例的方法,在切换前,电子设备为第一摄像头采集的图像添加了第一美颜效果,而在切换为使用两个摄像头采集图像后,则关闭后置摄像头的美颜效果。从而可以随着拍摄模式的切换,智能的设置美颜效果,提高美颜设置的智能性和合理性。
应注意,在本实施例中,第一摄像头可能与第二摄像头或者第三摄像头相同,例如,第一摄像头是后置主摄像头,第二摄像头是后置主摄像头,第三摄像头是前置摄像头。或者,第一摄像头可能与第二摄像头和第三摄像头都不同,例如,第一摄像头是前置摄像头,第二摄像头是后置广角摄像头,第三摄像头是后置长焦摄像头。本申请实施例对此不作具体限定。
在第一方面的另一种可能的设计方式中,第一界面和第二界面是电子设备录像前的取景界面,或者,第一界面和第二界面是电子设备正在录像的取景界面。
也就是说,采用本实施例的方法,电子设备可以在录像前或者正在录像的过程中,随着拍摄模式的切换,智能的设置美颜效果。其中,通常仅在录像前的取景界面中,提供美颜控件供用户选择美颜效果,而正在录像的取景界面中通常没有。可见,采用本实施例的方法,可以弥补正在录像的过程中,用户不能选择美颜效果的不足,实现自动设置美颜效果。
在第一方面的另一种可能的设计方式中,第一界面全屏显示第一预览图像。
也就是说,采用本实施例的方法,电子设备在从采用单个摄像头采集图像的模式,如单前置模式或者单后置模式,切换到采用两个摄像头采集图像的模式后,可以自动关闭后置摄像头的美颜效果。
在第一方面的另一种可能的设计方式中,第一摄像头是前置摄像头,第二摄像头是前置摄像头,第三摄像头是后置摄像头,第二预览图像是对第二图像添加第一美颜效果后得到的,第三预览图像未添加美颜效果。
也就是说,采用本实施例的方法,电子设备在从采用一个前置摄像头采集图像的模式(如单前置模式),切换为采用一个前置摄像头和一个后置摄像头采集图像的模式(如前后双镜模式、画中画模式)后,切换后的前置摄像头仍沿用切换前的前置摄像头第一美颜效果,而切换后的后置摄像头则关闭美颜效果。从而可以在从采用一个前置摄像头采集图像的模式,切换到采用一个前置摄像头和一个后置摄像头采集图像的模式后,仅为前置摄像头添加美颜效果。
在第一方面的另一种可能的设计方式中,第一摄像头是后置摄像头,第二摄像头是前置摄像头,第三摄像头是后置摄像头,第二预览图像和第三预览图像均未添加美颜效果。
也就是说,采用本实施例的方法,电子设备在从采用一个后置摄像头采集图像的模式(如单后置模式),切换为采用一个前置摄像头和一个后置摄像头采集图像的模式(如前后双镜模式、画中画模式)后,切换后的前置摄像头不继续沿用第一美颜效果。同时,关闭切换后的后置摄像头的美颜效果。从而可以在从采用一个后置摄像头采集图像的模式切换为采用一个前置摄像头和一个后置摄像头采集图像的模式后,同时关闭前置摄像头和后置摄像头的美颜效果。其中,关闭前置摄像头的美颜,可以避免切换前后置摄像头的美颜效果,不匹配切换后前置摄像头采集的图像。以及,关闭后置摄像头的美颜效果,可以避免在采用一个前置摄像头和一个后置摄像头采集图像的模式下,开启后置摄像头的美颜效 果。最终可以提升美颜设置的合理性。
在第一方面的另一种可能的设计方式中,第一界面和第二界面是电子设备录像前的取景界面。第一界面包括第一控件,第一界面中的第一控件用于触发电子设备设置第一图像的美颜效果。第二界面包括第一控件,第二界面中的第一控件用于触发电子设备设置第二图像的美颜效果。
也就是说,采用本实施例的方法,在录像前,电子设备可以在采用单个摄像头采集图像的模式的取景界面中提供美颜控件,以供触发电子设备设置该单个摄像头采集的图像的美颜效果。在录像前,电子设备可以在采用一个前置摄像头和一个后置摄像头采集图像的模式的取景界面中提供美颜控件,以供触发电子设备设置其中前置摄像头采集的图像的美颜效果。
在第一方面的另一种可能的设计方式中,第二摄像头是后置摄像头,第三摄像头是后置摄像头,第二预览图像和第三预览图像均未添加美颜效果。
也就是说,采用本实施例的方法,电子设备在从采用一个摄像头采集图像的模式,如单前置模式或者单后置模式,切换为采用两个后置摄像头采集图像的模式,如后后双镜模式后,则两个后置摄像头采集的图像均不添加美颜效果。
在第一方面的另一种可能的设计方式中,第一界面和第二界面是电子设备录像前的取景界面。第一界面包括第一控件,第二界面不包括第一控件;第一控件用于触发电子设备设置美颜效果。
也就是说,采用本实施例的方法,由于采用两个后置摄像头采集图像的模式中,两个后置摄像头都是不支持的美颜的,本实施例中,在录像前,采用两个后置摄像头采集图像的模式的取景界面中,电子设备不提供美颜控件。从而可以适配于两个后置摄像头不支持美颜的情况。
在第一方面的另一种可能的设计方式中,在电子设备显示第二界面之后,上述方法还包括:电子设备接收用户对第二界面的第二操作,第二操作用于触发电子设备切换使用第四摄像头采集图像。电子设备响应于第二操作,显示第三界面,第三界面中全屏显示第四预览图像,第四预览图像是对第四摄像头采集的第四图像添加第一美颜效果后得到的。
也就是说,采用本实施例的方法,在从采用单个摄像头采集图像的模式切换为采用两个摄像头采集图像的模式后,再次从采用两个摄像头采集图像的模式切回采用单个摄像头采集图像的模式,则可以恢复最初单个摄像头的美颜效果。从而可以在切回采用单个摄像头采集图像的模式后,快速恢复美颜效果。
应注意,第四摄像头可以与第一摄像头相同,例如,第一摄像头和第四摄像头都是后置主摄像头。或者,第四摄像头可以与第一摄像头不同,例如,第一摄像头是前置摄像头,第四摄像头是后置主摄像头。
在第一方面的另一种可能的设计方式中,第一摄像头是前置摄像头,第二摄像头和第三摄像头均是后置摄像头。第一界面中还包括第五预览图像,第五预览图像是处理第五摄像头采集的第五图像得到的,第五摄像头是后置摄像头,第五预览图像未添加美颜效果。
也就是说,采用本实施例的方法,电子设备在从采用一个前置摄像头和一个后置摄像头采集图像的模式,如前后双镜模式、画中画模式,切换为采用两个后置摄像头采集图像的模式,如后后双镜模式后,则两个后置摄像头采集的图像均不添加美颜效果。
应注意,与第一摄像头类似,第五摄像头可以与第二摄像头或者第三摄像头相同,或者,第五摄像头
在第一方面的另一种可能的设计方式中,第一界面和第二界面是电子设备录像前的取景界面。第一界面中包括第一控件,第二界面中不包括第一控件。第一控件用于触发电子设备设置美颜效果。
也就是说,采用本实施例的方法,由于采用两个后置摄像头采集图像的模式中,两个后置摄像头都是不支持的美颜的,本实施例中,在录像前,采用两个后置摄像头采集图像的模式的取景界面中,电子设备不提供美颜控件。从而可以适配于两个后置摄像头不支持美颜的情况。
在第一方面的另一种可能的设计方式中,在电子设备显示第二界面之后,上述方法还包括:电子设备接收用户对第二界面的第三操作,第三操作用于触发电子设备切换使用第六摄像头和第七摄像头采集图像。第六摄像头是前置摄像头,第七摄像头是后置摄像头。电子设备响应于第三操作,显示第四界面,第四界面中包括第六预览图像和第七预览图像,第六预览图像是对第六摄像头采集的第六图像添加第一美颜效果得到的,第七预览图像是处理第七摄像头采集的第七图像得到的,第七预览图像未添加美颜效果。
也就是说,采用本实施例的方法,在从采用一个前置摄像头和一个后置摄像头采集图像的模式切换为采用两个后置摄像头采集图像的模式后,再次切回采用一个前置摄像头和一个后置摄像头采集图像的模式,则可以恢复最初采用一个前置摄像头和一个后置摄像头采集图像时的美颜效果。从而可以在切回采用一个前置摄像头和一个后置摄像头采集图像的模式后,快速恢复美颜效果。
应注意,第六摄像头可以与第一摄像头或者第五摄像头相同,或者,第六摄像头可以与第一摄像头和第五摄像头都不同。第七摄像头可以与第一摄像头或者第五摄像头相同,或者,第七摄像头可以与第一摄像头和第五摄像头都不同。
在第一方面的另一种可能的设计方式中,第二界面中包括第一提示信息,第一提示信息用于提示在使用两个摄像头采集图像的情况下,所有后置摄像头采集的图像均不支持美颜。
也就是说,采用本实施例的方法,可以在不为后置摄像头自动设置美颜效果的情况下,显示不设置美颜的原因的提示消息。从而可以提升人机交互的体验。
第二方面,本申请实施例提供一种视频拍摄方法,该方法可以应用于手机、平板等支持拍摄视频的电子设备。其中,电子设备显示第一界面,第一界面是电子设备录像的取景界面,第一界面中包括全屏显示的第一预览图像,第一预览图像是对第一摄像头采集的第一图像添加第一美颜效果后得到的。第一摄像头是后置摄像头。即,第一界面是以单后置模式录像的取景界面。并且,第一界面中还包括第一控件,该第一控件可以是模式图标或者是面板展示控件。第一控件用于触发电子设备切换录制模式,录制模式包括:采用单个摄像头采集图像并以全屏显示的模式,如单前置模式或者单后置模式;采用一个前置摄像头和一个后置摄像头采集图像,并以分屏显示的模式,如前后双镜模式;和,采用一个前置摄像头和一个后置摄像头采集图像,并以画中画显示的模式,如画中画模式。电子设备接收用户对第一界面中第一控件的点击操作。电子设备响应于点击操作,在第一界面中显示多个选项,多个选项与多种录制模式一一对应。即,提供录制模式供用户选择。电子设 备接收用户对第一选项的选择操作,第一选项是多个选项中的一个,第一选项对应采用一个前置摄像头和一个后置摄像头采集图像,并以分屏显示的模式;或者,第一选项对应采用一个前置摄像头和一个后置摄像头采集图像,并以画中画显示的模式。电子设备响应于选择操作,显示第二界面,第二界面是电子设备录像的取景界面,第二界面中包括第二预览图像和第三预览图像,第二预览图像是对第二摄像头采集的第二图像处理、且未添加美颜效果后得到的,第三预览图像是对第三摄像头采集的第三图像处理、且未添加美颜效果后得到的。
综上所述,采用本申请实施例的方法,在采用单个后置摄像头采集图像,并全屏显示的模式录像的情况下,若为后置摄像头采集的图像添加有第一美颜效果,则在切换为采用一个前置摄像头和一个后置摄像头采集图像后,如切换为前后双镜模式或者画中画模式后,一方面自动取消掉采用两个摄像头采集图像的场景中,后置摄像头的美颜效果;另一方面为了避免将切换前单个后置摄像头的美颜效果,应用到切换后两个摄像头中的前置摄像头采集的图像上,而自动取消掉前置摄像头的美颜效果。即,电子设备不为切换后的前置摄像头和后置摄像头采集的图像添加美颜效果。从而可以自动提升美颜效果设置的合理性。
在第二方面的另一种可能的设计方式中,第一界面和第二界面是电子设备录像前的取景界面,或者,第一界面和第二界面是电子设备正在录像中的取景界面。
也就是说,采用本实施例的方法,电子设备可以在录像前或者正在录像的过程中,随着拍摄模式的切换,智能的设置美颜效果。其中,电子设备通常仅在录像前的取景界面中,提供美颜控件供用户选择美颜效果,而正在录像的取景界面中通常没有。可见,采用本实施例的方法,可以弥补正在录像的过程中,用户不能选择美颜效果的不足,实现自动设置美颜效果。
在第二方面的另一种可能的设计方式中,第二界面中包括第一提示信息,第一提示信息用于提示在使用两个摄像头采集图像的情况下,所有后置摄像头采集的图像均不支持美颜。
也就是说,采用本实施例的方法,可以在不为后置摄像头自动设置美颜效果的情况下,显示不设置美颜的原因的提示消息。从而可以提升人机交互的体验。
在第二方面的另一种可能的设计方式中,在切换为采用一个前置摄像头和一个后置摄像头采集图像的模式后,电子设备还可以进一步切换为采用单个摄像头采集图像的模式。其中,第二界面中包括第一控件。在显示第二界面之后,电子设备可接收用户对第二界面中第一控件的点击操作。电子设备响应于点击操作,在第二界面中显示多个选项。电子设备接收用户对第二选项的选择操作,第二选项是多个选项中的一个,第二选项对应采用单个摄像头采集图像,并以全屏显示的模式。电子设备响应于选择操作,显示第三界面,第三界面是电子设备录像的取景界面,第三界面中包括全屏显示的第四预览图像,第四预览图像是对第四摄像头采集的第四图像添加第一美颜效果后得到的。第四摄像头是后置摄像头或者前置摄像头。
也就是说,采用本实施例的方法,电子设备在从单后置模式切换为采用一个前置摄像头和一个后置摄像头采集图像的模式,并取消美颜效果后,可以继续切换为单前置模式或者单后置模式。在切换为单前置模式或者单后置模式后,则可以恢复单后置模式的美颜效果。从而可以自动的恢复采用单个摄像头采集图像时的美颜效果,提升美颜设置的智能性。
在第二方面的另一种可能的设计方式中,第四摄像头是前置摄像头。即,从采用一个前置摄像头和一个后置摄像头采集图像的模式,切换到单前置模式。此后,电子设备还可以进一步切换为采用一个前置摄像头和一个后置摄像头采集图像的模式。其中,第三界面中还包括第一控件。在显示第三界面之后,电子设备接收用户对第三界面中第一控件的点击操作。电子设备响应于点击操作,在第三界面中显示多个选项。电子设备接收用户对第三选项的选择操作,第三选项对应采用一个前置摄像头和一个后置摄像头采集图像,并以分屏显示的模式,如前后双镜模式;或者,第一选项对应采用一个前置摄像头和一个后置摄像头采集图像,并以画中画显示的模式,如画中画模式。电子设备响应于选择操作,显示第四界面,第四界面是电子设备录像的取景界面,第四界面中包括第五预览图像和第六预览图像。第五预览图像是对第五摄像头采集的第五图像添加第一美颜效果后得到的,第五摄像头是前置摄像头。第六预览图像是对第六摄像头采集的第五图像处理、且未添加美颜效果后得到的,第六摄像头是后置摄像头。
也就是说,采用本实施例的方法,电子设备在从采用一个前置摄像头和一个后置摄像头采集图像、且未添加美颜效果的场景,切换到单前置模式,恢复美颜效果后,可以再次切换为采用一个前置摄像头和一个后置摄像头采集图像的模式。并且,切换后的前置摄像头采集的图像可以沿用切换前单个前置摄像头的美颜效果。从而可以智能的为采用一个前置摄像头和一个后置摄像头采集图像的模式下,前置摄像头采集的图像添加美颜效果,提升美颜设置的智能性。
在第二方面的另一种可能的设计方式中,录制模式还包括采用两个后置摄像头采集图像,并以分屏显示的模式,如后后双镜模式。在切换为采用一个前置摄像头和一个后置摄像头采集图像的模式,并为其中前置摄像头采集的图像添加美颜效果后,电子设备可以继续切换为采用两个后置摄像头采集图像,并以分屏显示的模式。其中,第四界面中还包括第一控件。在显示第四界面之后,电子设备接收用户对第四界面中第一控件的点击操作。电子设备响应于点击操作,在第四界面中显示多个选项。电子设备接收用户对第四选项的选择操作,第四选项是多个选项中的一个,第四选项对应采用两个后置摄像头采集图像,并以分屏显示的模式。电子设备响应于选择操作,显示第五界面,第五界面是电子设备录像的取景界面,第五界面中包括第七预览图像和第八预览图像。第七预览图像是对第七摄像头采集的第七图像处理、且未添加美颜效果后得到的。第八预览图像是对第八摄像头采集的第八图像处理、且未添加美颜效果后得到的。第七摄像头和第八摄像头均是后置摄像头。
也就是说,采用本实施例的方法,电子设备在从单前置模式切换为采用一个前置摄像头和一个后置摄像头采集图像的模式,并且,切换后的前置摄像头采集的图像沿用切换前单个前置摄像头的美颜效果后,电子设备继续切换为采用两个后置摄像头采集图像的模式,则自动取消掉两个后置摄像头采集的图像的美颜效果。从而提升美颜设置的合理性。
在第二方面的另一种可能的设计方式中,录制模式还包括采用两个后置摄像头采集图像,并以分屏显示的模式,如后后双镜模式。在切换为单个摄像头采集图像的模式,并恢复美颜效果后,电子设备可以继续切换为采用两个后置摄像头采集图像的模式。其中,第三界面中还包括第一控件。在显示第三界面之后,电子设备接收用户对第三界面中第一控件的点击操作。电子设备响应于点击操作,在第三界面中显示多个选项。电子设备接收用 户对第四选项的选择操作,第四选项是多个选项中的一个,第四选项对应采用两个后置摄像头采集图像,并以分屏显示的模式。电子设备响应于选择操作,显示第六界面,第六界面是电子设备录像的取景界面,第六界面中包括第九预览图像和第十预览图像。第九预览图像是对第九摄像头采集的第九图像处理、且未添加美颜效果后得到的;第十预览图像是对第十摄像头采集的第十图像处理、且未添加美颜效果后得到的。第九摄像头和第十摄像头均是后置摄像头。
也就是说,采用本实施例的方法,电子设备在从单前置模式或者单后置模式切换为采用两个后置摄像头采集图像的模式后,则自动取消掉两个后置摄像头采集的图像的美颜效果。从而提升美颜设置的合理性。
第三方面,本申请实施例还提供一种电子设备,所述电子设备包括显示屏、存储器和一个或多个处理器。所述显示屏、所述存储器和所述处理器耦合。所述存储器用于存储计算机程序代码,所述计算机程序代码包括计算机指令,当所述计算机指令被所述处理器执行时,使得所述电子设备执行如下步骤:所述电子设备显示第一界面,所述第一界面是所述电子设备录像的取景界面,所述第一界面中包括第一预览图像,所述第一预览图像是对第一摄像头采集的第一图像添加第一美颜效果后得到的。所述第一摄像头是前置摄像头或者后置摄像头。所述电子设备接收用户对所述第一界面的第一操作,所述第一操作用于触发所述电子设备切换使用第二摄像头和第三摄像头采集图像。所述电子设备响应于所述第一操作,显示第二界面,所述第二界面是所述电子设备录像的取景界面,所述第二界面中包括第二预览图像和第三预览图像,所述第二预览图像是处理所述第二摄像头采集的第二图像得到的,所述第三预览图像是处理所述第三摄像头采集的第二图像得到的。其中,所述第二预览图像和所述第三预览图像中对应后置摄像头的预览图像未添加美颜效果。
在第三方面的另一种可能的设计方式中,所述第一界面和所述第二界面是所述电子设备录像前的取景界面,或者,所述第一界面和所述第二界面是所述电子设备正在录像的取景界面。
在第三方面的另一种可能的设计方式中,所述第一界面全屏显示所述第一预览图像。
在第三方面的另一种可能的设计方式中,所述第一摄像头是前置摄像头,所述第二摄像头是前置摄像头,所述第三摄像头是后置摄像头,所述第二预览图像是对所述第二图像添加所述第一美颜效果后得到的,所述第三预览图像未添加美颜效果。
在第三方面的另一种可能的设计方式中,所述第一摄像头是后置摄像头,所述第二摄像头是前置摄像头,所述第三摄像头是后置摄像头,所述第二预览图像和所述第三预览图像均未添加美颜效果。
在第三方面的另一种可能的设计方式中,所述第一界面和所述第二界面是所述电子设备录像前的取景界面。所述第一界面包括第一控件,所述第一界面中的第一控件用于触发所述电子设备设置所述第一图像的美颜效果。所述第二界面包括所述第一控件,所述第二界面中的第一控件用于触发所述电子设备设置所述第二图像的美颜效果。
在第三方面的另一种可能的设计方式中,所述第二摄像头是后置摄像头,所述第三摄像头是后置摄像头,所述第二预览图像和所述第三预览图像均未添加美颜效果。
在第三方面的另一种可能的设计方式中,所述第一界面和所述第二界面是所述电子设备录像前的取景界面。所述第一界面包括第一控件,所述第二界面不包括所述第一控件; 所述第一控件用于触发所述电子设备设置美颜效果。
在第三方面的另一种可能的设计方式中,当所述计算机指令被所述处理器执行时,使得所述电子设备还执行如下步骤:所述电子设备接收用户对所述第二界面的第二操作,所述第二操作用于触发所述电子设备切换使用第四摄像头采集图像。所述电子设备响应于所述第二操作,显示第三界面,所述第三界面中全屏显示第四预览图像,所述第四预览图像是对第四摄像头采集的第四图像添加所述第一美颜效果后得到的。
在第三方面的另一种可能的设计方式中,所述第一摄像头是前置摄像头,所述第二摄像头和所述第三摄像头均是后置摄像头。所述第一界面中还包括第五预览图像,所述第五预览图像是处理第五摄像头采集的第五图像得到的,所述第五摄像头是后置摄像头,所述第五预览图像未添加美颜效果。
在第三方面的另一种可能的设计方式中,所述第一界面和所述第二界面是所述电子设备录像前的取景界面。所述第一界面中包括第一控件,所述第二界面中不包括第一控件;所述第一控件用于触发所述电子设备设置美颜效果。
在第三方面的另一种可能的设计方式中,当所述计算机指令被所述处理器执行时,使得所述电子设备还执行如下步骤:所述电子设备接收用户对所述第二界面的第三操作,所述第三操作用于触发所述电子设备切换使用第六摄像头和第七摄像头采集图像;所述第六摄像头是前置摄像头,所述第七摄像头是后置摄像头。所述电子设备响应于所述第三操作,显示第四界面,所述第四界面中包括第六预览图像和第七预览图像,所述第六预览图像是对所述第六摄像头采集的第六图像添加所述第一美颜效果得到的,所述第七预览图像是处理所述第七摄像头采集的第七图像得到的,所述第七预览图像未添加美颜效果。
在第三方面的另一种可能的设计方式中,所述第二界面中包括第一提示信息,所述第一提示信息用于提示在使用两个摄像头采集图像的情况下,所有后置摄像头采集的图像均不支持美颜。
第四方面,本申请实施例还提供一种电子设备,所述电子设备包括显示屏、存储器和一个或多个处理器。所述显示屏、所述存储器和所述处理器耦合。所述存储器用于存储计算机程序代码,所述计算机程序代码包括计算机指令,当所述计算机指令被所述处理器执行时,使得所述电子设备执行如下步骤:所述电子设备显示第一界面,所述第一界面是所述电子设备录像的取景界面,所述第一界面中包括全屏显示的第一预览图像,所述第一预览图像是对第一摄像头采集的第一图像添加第一美颜效果后得到的。所述第一摄像头是后置摄像头;所述第一界面中还包括第一控件,所述第一控件用于触发所述电子设备切换录制模式,所述录制模式包括:采用单个摄像头采集图像并以全屏显示的模式;采用一个前置摄像头和一个后置摄像头采集图像,并以分屏显示的模式;和,采用一个前置摄像头和一个后置摄像头采集图像,并以画中画显示的模式。所述电子设备接收用户对所述第一界面中所述第一控件的点击操作。所述电子设备响应于所述点击操作,在所述第一界面中显示多个选项,所述多个选项与多种录制模式一一对应。所述电子设备接收用户对第一选项的选择操作,所述第一选项是所述多个选项中的一个,所述第一选项对应采用一个前置摄像头和一个后置摄像头采集图像,并以分屏显示的模式;或者,所述第一选项对应采用一个前置摄像头和一个后置摄像头采集图像,并以画中画显示的模式。所述电子设备响应于所述选择操作,显示第二界面,所述第二界面是所述电子设备录像的取景界面,所述第二 界面中包括第二预览图像和第三预览图像,所述第二预览图像是对所述第二摄像头采集的第二图像处理、且未添加美颜效果后得到的,所述第三预览图像是对所述第三摄像头采集的第三图像处理、且未添加美颜效果后得到的。
在第四方面的另一种可能的设计方式中,所述第一界面和所述第二界面是所述电子设备录像前的取景界面,或者,所述第一界面和所述第二界面是所述电子设备正在录像中的取景界面。
在第四方面的另一种可能的设计方式中,所述第二界面中包括第一提示信息,所述第一提示信息用于提示在使用两个摄像头采集图像的情况下,所有后置摄像头采集的图像均不支持美颜。
在第四方面的另一种可能的设计方式中,所述第二界面中包括所述第一控件。当所述计算机指令被所述处理器执行时,使得所述电子设备还执行如下步骤:所述电子设备接收用户对所述第二界面中所述第一控件的点击操作。所述电子设备响应于所述点击操作,在所述第二界面中显示所述多个选项。所述电子设备接收用户对第二选项的选择操作,所述第二选项是所述多个选项中的一个,所述第二选项对应采用单个摄像头采集图像,并以全屏显示的模式。所述电子设备响应于所述选择操作,显示第三界面,所述第三界面是所述电子设备录像的取景界面,所述第三界面中包括全屏显示的第四预览图像,所述第四预览图像是对第四摄像头采集的第四图像添加所述第一美颜效果后得到的;所述第四摄像头是后置摄像头或者前置摄像头。
在第四方面的另一种可能的设计方式中,所述第四摄像头是前置摄像头,所述第三界面中还包括第一控件。当所述计算机指令被所述处理器执行时,使得所述电子设备还执行如下步骤:所述电子设备接收用户对所述第三界面中所述第一控件的点击操作。所述电子设备响应于所述点击操作,在所述第三界面中显示所述多个选项。所述电子设备接收用户对所述第三选项的选择操作;所述第三选项对应采用一个前置摄像头和一个后置摄像头采集图像,并以分屏显示的模式;或者,所述第一选项对应采用一个前置摄像头和一个后置摄像头采集图像,并以画中画显示的模式。所述电子设备响应于所述选择操作,显示第四界面,所述第四界面是所述电子设备录像的取景界面,所述第四界面中包括第五预览图像和第六预览图像;所述第五预览图像是对第五摄像头采集的第五图像添加所述第一美颜效果后得到的,所述第五摄像头是前置摄像头;所述第六预览图像是对第六摄像头采集的第五图像处理、且未添加美颜效果后得到的,所述第六摄像头是后置摄像头。
在第四方面的另一种可能的设计方式中,所述录制模式还包括采用两个后置摄像头采集图像,并以分屏显示的模式;所述第四界面中还包括第一控件。当所述计算机指令被所述处理器执行时,使得所述电子设备还执行如下步骤:所述电子设备接收用户对所述第四界面中所述第一控件的点击操作。所述电子设备响应于所述点击操作,在所述第四界面中显示所述多个选项。所述电子设备接收用户对所述第四选项的选择操作,所述第四选项是所述多个选项中的一个,所述第四选项对应采用两个后置摄像头采集图像,并以分屏显示的模式。所述电子设备响应于所述选择操作,显示第五界面,所述第五界面是所述电子设备录像的取景界面,所述第五界面中包括第七预览图像和第八预览图像;所述第七预览图像是对第七摄像头采集的第七图像处理、且未添加美颜效果后得到的;所述第八预览图像是对第八摄像头采集的第八图像处理、且未添加美颜效果后得到的;所述第七摄像头和 所述第八摄像头均是后置摄像头。
在第四方面的另一种可能的设计方式中,所述录制模式还包括采用两个后置摄像头采集图像,并以分屏显示的模式;所述第三界面中还包括第一控件。当所述计算机指令被所述处理器执行时,使得所述电子设备还执行如下步骤:所述电子设备接收用户对所述第三界面中所述第一控件的点击操作。所述电子设备响应于所述点击操作,在所述第三界面中显示所述多个选项。所述电子设备接收用户对所述第四选项的选择操作,所述第四选项是所述多个选项中的一个,所述第四选项对应采用两个后置摄像头采集图像,并以分屏显示的模式。所述电子设备响应于所述选择操作,显示第六界面,所述第六界面是所述电子设备录像的取景界面,所述第六界面中包括第九预览图像和第十预览图像;所述第九预览图像是对第九摄像头采集的第九图像处理、且未添加美颜效果后得到的;所述第十预览图像是对第十摄像头采集的第十图像处理、且未添加美颜效果后得到的;所述第九摄像头和所述第十摄像头均是后置摄像头。
第五方面,本申请实施例提供一种芯片系统,该芯片系统应用于包括显示屏和存储器的电子设备;所述芯片系统包括一个或多个接口电路和一个或多个处理器;所述接口电路和所述处理器通过线路互联;所述接口电路用于从所述电子设备的存储器接收信号,并向所述处理器发送所述信号,所述信号包括所述存储器中存储的计算机指令;当所述处理器执行所述计算机指令时,所述电子设备执行如第一方面、第二方面及其任一种可能的设计方式所述的方法。
第六方面,本申请提供一种计算机存储介质,该计算机存储介质包括计算机指令,当所述计算机指令在电子设备上运行时,使得电子设备执行如第一方面、第二方面及其任一种可能的设计方式所述的方法。
第七方面,本申请提供一种计算机程序产品,当所述计算机程序产品在计算机上运行时,使得所述计算机执行如第一方面、第二方面及其任一种可能的设计方式所述的方法。
可以理解地,上述提供的第三方面和第四方面所述的电子设备,第五方面所述的芯片系统,第六方面所述的计算机存储介质,第七方面所述的计算机程序产品所能达到的有益效果,可参考第一方面、第二方面及其任一种可能的设计方式中的有益效果,此处不再赘述。
附图说明
图1为本申请实施例提供的一种手机的硬件结构示意图;
图2A为本申请实施例提供的手机界面的示意图之一;
图2B为本申请实施例提供的手机界面的示意图之二;
图2C为本申请实施例提供的手机界面的示意图之三;
图2D为本申请实施例提供的手机界面的示意图之四;
图2E为本申请实施例提供的手机界面的示意图之五;
图2F为本申请实施例提供的手机界面的示意图之六;
图3A为本申请实施例提供的视频拍摄方法的流程图之一;
图3B为本申请实施例提供的手机界面的示意图之七;
图3C为本申请实施例提供的视频拍摄方法的流程图之二;
图4为本申请实施例提供的手机界面的示意图之八;
图5为本申请实施例提供的视频文件的构成示意图之一;
图6A为本申请实施例提供的手机界面的示意图之九;
图6B为本申请实施例提供的手机界面的示意图之十;
图6C为本申请实施例提供的视频拍摄方法的流程图之三;
图6D为本申请实施例提供的手机界面的示意图之十一;
图6E为本申请实施例提供的手机界面的示意图之十二;
图6F为本申请实施例提供的手机界面的示意图之十三;
图6G为本申请实施例提供的视频拍摄方法的流程图之四;
图6H为本申请实施例提供的手机界面的示意图之十四;
图7为本申请实施例提供的一种芯片系统的结构示意图。
具体实施方式
以下,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个该特征。在本实施例的描述中,除非另有说明,“多个”的含义是两个或两个以上。
下面将结合附图对本实施例的实施方式进行详细描述。
本申请实施例提供的视频拍摄方法,可以应用于支持相机功能的电子设备。示例性的,该电子设备可以是手机、平板电脑、桌面型、膝上型、手持计算机、笔记本电脑、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本,以及蜂窝电话、个人数字助理(personal digital assistant,PDA)、增强现实(augmented reality,AR)\虚拟现实(virtual reality,VR)设备等设备,本申请实施例对该设备的具体形态不作特殊限制。
请参考图1,图1为本申请实施例提供的一种电子设备的结构示意图。如图1所示,以电子设备是手机100为例,手机100可以包括处理器110,外部存储器接口120,内部存储器121,通用串行总线(universal serial bus,USB)接口130,充电管理模块140,电源管理模块141,电池142,天线1,天线2,移动通信模块150,无线通信模块160,音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,传感器模块180,按键190,马达191,指示器192,摄像头193,显示屏194,以及用户标识模块(subscriber identification module,SIM)卡接口195等。
可以理解的是,本实施例示意的结构并不构成对手机100的具体限定。在另一些实施例中,手机100可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,存储器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。
控制器可以是手机100的神经中枢和指挥中心。控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。
处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器110的等待时间,因而提高了系统的效率。
充电管理模块140用于从充电器接收充电输入。其中,充电器可以是无线充电器,也可以是有线充电器。在一些有线充电的实施例中,充电管理模块140可以通过USB接口130接收有线充电器的充电输入。在一些无线充电的实施例中,充电管理模块140可以通过手机100的无线充电线圈接收无线充电输入。充电管理模块140为电池142充电的同时,还可以通过电源管理模块141为手机供电。
电源管理模块141用于连接电池142,充电管理模块140与处理器110。电源管理模块141接收电池142和/或充电管理模块140的输入,为处理器110,内部存储器121,外部存储器,显示屏194,摄像头193,和无线通信模块160等供电。电源管理模块141还可以用于监测电池容量,电池循环次数,电池健康状态(漏电,阻抗)等参数。在其他一些实施例中,电源管理模块141也可以设置于处理器110中。在另一些实施例中,电源管理模块141和充电管理模块140也可以设置于同一个器件中。
手机100的无线通信功能可以通过天线1,天线2,移动通信模块150,无线通信模块160,调制解调处理器以及基带处理器等实现。
手机100通过GPU,显示屏194,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏194和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器110可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。
显示屏194用于显示图像,视频等。该显示屏194是上述折叠屏(如柔性折叠屏或多屏折叠屏)。显示屏194包括显示面板。显示面板可以采用液晶显示屏(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)等。
手机100可以通过ISP,摄像头193,视频编解码器,GPU,显示屏194以及APP处理器等实现拍摄功能。
外部存储器接口120可以用于连接外部存储卡,例如Micro SD卡,实现扩展手机100的存储能力。外部存储卡通过外部存储器接口120与处理器110通信,实现数据存储功能。例如将音乐,视频等媒体文件保存在外部存储卡中。
内部存储器121可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。处理器110通过运行存储在内部存储器121的指令,从而执行手机100的各种功能APP以及数据处理。内部存储器121可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,至少一个功能所需的应用程序(比如声音播放功能,图像播放功能等)等。存储数据区可存储手机100使用过程中所创建的数据(比如音频数据,电话本等)等。此外,内部存储器121可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。
手机100可以通过音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接 口170D,以及应用处理器等实现音频功能。例如音乐播放,录音等。
按键190包括开机键,音量键等。按键190可以是机械按键。也可以是触摸式按键。手机100可以接收按键输入,产生与手机100的用户设置以及功能控制有关的键信号输入。
马达191可以产生振动提示。马达191可以用于来电振动提示,也可以用于触摸振动反馈。例如,作用于不同应用(例如拍照,音频播放等)的触摸操作,可以对应不同的振动反馈效果。作用于显示屏194不同区域的触摸操作,马达191也可对应不同的振动反馈效果。不同的应用场景(例如:时间提醒,接收信息,闹钟,游戏等)也可以对应不同的振动反馈效果。触摸振动反馈效果还可以支持自定义。
指示器192可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息,未接来电,通知等。
SIM卡接口195用于连接SIM卡。SIM卡可以通过插入SIM卡接口195,或从SIM卡接口195拔出,实现和手机100的接触和分离。手机100可以支持1个或N个SIM卡接口,N为大于1的正整数。SIM卡接口195可以支持Nano SIM卡,Micro SIM卡,SIM卡等。同一个SIM卡接口195可以同时插入多张卡。所述多张卡的类型可以相同,也可以不同。SIM卡接口195也可以兼容不同类型的SIM卡。SIM卡接口195也可以兼容外部存储卡。手机100通过SIM卡和网络交互,实现通话以及数据通信等功能。在一些实施例中,手机100采用eSIM,即:嵌入式SIM卡。eSIM卡可以嵌在手机100中,不能和手机100分离。
下文实施例中的视频拍摄方法,可以在具有上述硬件结构的手机100中实现。
本申请实施例提供的视频拍摄方法,可以应用于手机100中各种需要拍摄视频的场景中,例如,婚礼现场、朋友聚会、旅游等场景。并且,近些年来,随着视频平台的发展,出现了各种新型的视频形式,其中一种典型的形式是视频日志(video log,vlog),vlog是以影像代替文字或相片,来承载日志的内容的形式。在拍摄vlog的过程中,通常需要拍摄多个对象,例如,拍摄用户自身和用户所在环境。或者,需要以不同的视觉来拍摄同一对象,例如,以近景和远景拍摄同一舞台现场。
然而,受限于常规技术中视频拍摄功能的限制,通常难以满足上述新型的视频形式中的需求。
基于此,本申请实施例提供了一种视频拍摄方法,该视频拍摄方法基于一种新的视频拍摄功能来实现。其中,该视频拍摄功能也可以称为多镜录像模式,与光圈、夜景、人像、拍照、录像等多种常见的拍摄模式构成相机功能的多种拍摄模式。并且,采用多镜录像模式,手机100可同时开启至少两个摄像头来采集预览图像并在取景界面中同时显示该至少两个摄像头采集的预览图像。
示例性的,图2A中的(a)示出的相机应用的取景界面201a中包括子菜单202a,该子菜单202a中不仅包括光圈、夜景、人像、拍照、录像等多种常见的拍摄模式,还包括多镜录像模式。而后,用户选择该多镜录像模式,则可触发手机100开启多镜录像。例如,手机响应于用户对该多镜录像模式的选择操作,可显示图2A中的(b)示出的取景界面203。该取景界面203a中包括摄像头a采集的预览图像204a和摄像头b采集的预览图像205a。即,有两个摄像头在同时采集预览图像。
应注意,图2A中的(b)示出的取景界面203a中仅包括两个摄像头采集的预览图像。 但是实际实施时,多镜录像模式的取景界面中还可以包括三个摄像头、四个摄像头……采集的预览图像,本申请实施例并不以图2A中的(b)示出的摄像头的数量为限。在下文实施例中,将主要以两个摄像头为例来说明本申请方案。
应理解,在采用摄像头a和摄像头b,即两个摄像头,同时采集预览图像的场景中,该摄像头a和摄像头b可以是手机100的多个摄像头中任两个摄像头的组合。例如,图2A中的(b)示出的取景界面203a中,摄像头a可以是后置主摄像头,摄像头b可以是前置摄像头。又如,图2B中的(a)示出的取景界面201b中,包括后置长焦摄像头采集的预览图像202b和后置广角摄像头采集的预览图像203b。即,摄像头a可以是后置长焦摄像头,摄像头b可以是后置广角摄像头。
应注意,图2A中的(b)示出的取景界面203a中预览图像204a和预览图像205a以分屏布局来显示。实际实施时,在多镜录像模式的取景界面中,两个摄像头采集的预览图像还可以以画中画布局来显示。示例性的,手机还可以显示图2B中的(b)示出的取景界面204b,该取景界面204b中包括摄像头a采集的预览图像205b和摄像头b采集的预览图像206b。其中,预览图像205b显示在大窗(即全屏窗口)205B中,预览图像206b显示在小窗206B中,并且,小窗206B在大窗205B内。即,预览图像205b和预览图像206b以画中画布局显示。
另外,在一些实施例中,在多镜录像模式中,手机100可以响应于用户的操作从两个摄像头切换到单个摄像头来取景(具体的实现方式可参见下文中实施例一的说明)。也就是说,多镜录像模式中也可以提供单个摄像头采集预览图像的功能。
示例性的,在多镜录像模式中,手机100可以显示图2C中的(a)示出的取景界面201c。该取景界面201c中包括单个摄像头(如前置摄像头)采集的预览图像202c。或者,手机可以显示图2C中的(b)示出的取景界面203c。该取景界面203c中包括单个摄像头(如后置主摄像头)采集的预览图像204c。
在多镜录像模式的取景界面中,除包括摄像头采集的预览图像外,通常还包括以下元素(如控件、图标)中的一个或多个:
图库资源控件:图库资源控件用于触发手机100展示已拍摄的图片或者视频。例如,图库资源控件是图2A中的(b)示出的取景界面203a中的控件210。
录制控件:录制控件用于触发手机100开始录制视频。例如,录制控件是图2A中的(b)示出的取景界面203a中的控件211。
前后摄像头切换控件:前后置摄像头控件用于触发手机100切换前置摄像头和后置摄像头。例如,前后摄像头切换控件是图2A中的(b)示出的取景界面203a中的控件212。关于前后置摄像头切换的具体内容可参见下文中实施例一的说明,此处暂不做详细说明。
拍摄模式切换控件:拍摄模式切换控件用于触发手机100切换拍摄模式。例如,图2A中的(b)示出的取景界面203a中包括子菜单202a,子菜单202a中的“拍照”是拍照模式的切换控件,“录像”是录像模式的切换控件,“多镜录像”是多镜录像模式的切换控件。
美颜控件:美颜控件用于触发手机100调节美颜级别。例如,美颜控件是图2A中的(b)示出的取景界面203a中的控件213。关于美颜调节的具体内容可参见下文中实施例二的说明,此处暂不做详细说明。
微电影控件:微电影控件用于触发手机100拍摄微电影。例如,微电影控件是图2A 中的(b)示出的取景界面203a中的控件214。关于微电影拍摄的具体内容化可参见下文中关于实施例六的说明,此处暂不做详细说明。
模式图标:模式图标用于指示手机100当前采用的多镜子模式,即,当前采集预览图像的摄像头,以及预览图像的布局。例如,模式图标是图2A中的(b)示出的取景界面203a中的图标215。该图标215由空白矩形和带有笑脸的矩形构成,空白矩形表示后置摄像头,带有笑脸的矩形表示前置摄像头。并且,空白矩形和带有笑脸的矩形上下排列,表示预览图像以上下布局显示。
应注意,在每种多镜子模式下,手机100可以特定摄像头采集预览图像,并将预览图像以特定布局显示。其中,特定摄像头可以是手机100中的任一个摄像头,或者是手机100中的任意两个摄像头的组合。特定布局包括分屏布局、画中画布局和/或全屏布局。
在下文实施例中,为方便说明,主要以多镜子模式包括:采用一个前置摄像头和一个后置摄像头采集预览图像,并以分屏布局显示的模式(简称为前后双镜模式,如图2A中的(b)示出的取景界面203a对应的多镜子模式);采用两个后置摄像头采集预览图像,并以分屏布局显示的模式(简称为后后双镜模式,如图2B中的(a)示出的取景界面201b对应的多镜子模式);采用一个前置摄像头和一个后置摄像头采集预览图像,并以画中画布局显示的模式(简称为画中画模式,如图2B中的(b)示出的取景界面204b对应的多镜子模式);以及,采用一个前置摄像头或者一个后置摄像头采集预览图像,并以全屏布局显示的模式(若采用前置摄像头,则简称为单前置模式,如图2C中的(a)示出的取景界面201c对应的多镜子模式;若采用后置摄像头,则简称为单后置模式,如图2C中的(b)示出的取景界面203c对应的多镜子模式)。
通常情况下,手机100响应于用户对多镜录像模式的选择操作,则默认进入前后双镜模式的取景界面。也就是说,多镜录像模式中,默认的多镜子模式是前后双镜模式。而其它多镜子模式则是直接或者间接从前后双镜模式切换而得到的。
闪光灯图标:闪光灯图标用于触发手机100设置拍摄时的闪光灯参数。例如,闪光灯图标是图2A中的(b)示出的取景界面203a中的图标216。
滤镜图标:滤镜图标用于触发手机100添加拍摄时的滤镜。例如,滤镜图标是图2A中的(b)示出的取景界面203a中的图标217。
设置图标:设置图标218用于触发手机100设置相机参数。例如,设置图标是图2A中的(b)示出的取景界面203a中的图标218。
变焦控件:变焦控件用于触发手机100调节变焦倍率,从而在多个后置摄像头之间切换。例如,变焦控件是图2A中的(b)示出的取景界面203a中的变焦条219,手机100响应于用户对该变焦条219的滑动操作,可切换到相应的后置摄像头来采集预览图像。关于通过变焦条切换后置摄像头的具体内容可参加下文中关于实施例一的说明,此处暂不做详细说明。
关于多镜录像模式,前文主要以录像前的取景取景界面来示意说明。应理解,在多镜录像模式中,录制中开启的摄像头及其数量、预览图像的布局等,基本与录像前类似。
示例性的,在采用两个摄像头取景的场景中。在录像前,手机100可以显示图2A中的(b)示出的录像前的取景界面203a,在录制中,手机100则可以显示图2D中的(a)示出的取景界面201d。该取景界面201d中包括摄像头a(如后置主摄像头)采集的预览图 像202d和摄像头b(如前置摄像头)采集的预览图像203d。其中,预览图像202d和预览图像203d以分屏布局显示。
或者,在录像前,手机100可以显示图2B中的(a)示出的取景界面201b,在录制中,手机100则可以显示图2D中的(b)示出的取景界面204d。该取景界面204d中包括摄像头a(如后置长焦摄像头)采集的预览图像205d和摄像头b(如后置广角摄像头)采集的预览图像206d。其中,预览图像205d和预览图像206d以分屏布局显示。
或者,在录像前,手机100可以显示图2B中的(b)示出的录像前的取景界面204b,在录制中,手机100则可以显示图2D中的(c)示出的取景界面207d。该取景界面207d中包括摄像头a(如后置主摄像头)采集的预览图像208d和摄像头b(如前置摄像头)采集的预览图像209d。预览图像208d显示在大窗(即全屏窗口)208D中,预览图像209d显示在小窗209D中。其中,大窗208D中包括小窗209D。即,预览图像208d和预览图像209d以画中画布局显示。
又示例性的,在采用单个摄像头取景的场景中。在录像前,手机100可以显示图2C中的(a)示出的取景界面201c,在录制中,手机100则可以显示图2E中的(a)示出的取景界面201e。该取景界面201e中包括单个摄像头(如前置摄像头)采集的预览图像202e。
或者,在录像前,手机100可以显示图2C中的(b)示出的取景界面203c,在录制中,手机100则可以显示图2E中的(b)示出的取景界面203e。该取景界面203e中包括单个摄像头(如后置主摄像头)采集的预览图像204e。
应注意,在多镜录像模式中,录制中的取景界面中的元素和录像前的取景界面中的元素会有所不用。通常情况下,在录制中的取景界面中,还可以包括以下元素中的一个或多个:
拍照控件:拍照控件用于触发手机100在拍摄视频过程中截取视频帧。例如,拍照控件是图2D中的(a)示出的取景界面201d中的控件220。
结束录制控件:结束录制控件用于触发手机100结束视频录制。例如,结束录制控件是图2D中的(a)示出的取景界面201d中的控件221。
暂停录制控件:暂停录制控件用于触发手机100暂停视频录制。例如,暂停录制控件是图2D中的(a)示出的取景界面201d中的控件222。
前后摄像头切换控件:与录像前的取景界面类似的,录制中的取景界面中也包括前后置摄像头控件。例如,前后摄像头切换控件是图2D中的(a)示出的取景界面201d中的控件223。同样的,关于前后置摄像头切换的具体内容可参见下文中实施例一的说明,此处暂不做详细说明。
面板展示控件:面板展示控件用于触发手机100展示多镜子模式的选择面板。例如,面板展示控件是图2D中的(a)示出的取景界面201d中的控件224。其中,该模式面板选择控件可以是静态的,或者,该面板展示控件也可以是动态的。若动态显示面板展示控件,可以吸引用户对该面板展示控件的关注。从而引导用户使用该控件。关于该选择面板,以及通过该选择面板切换多镜子模式的具体内容,可参见下文中实施例一的说明,此处暂不做详细说明。
模式图标:与录像前类似,录制中的取景界面中也包括模式图标。例如,模式图标是图2D中的(a)示出的取景界面201d中的控件225。
倍速标识:倍速标识用于指示手机100播放当前预览帧的倍速。例如,倍速标识是图2D中的(a)示出的取景界面201d中的标识226,该标识226指示手机100将以1倍速播放当前预览帧。应注意,在录像过程中,可以暂停录制,暂停状态下倍速标识处于不可操作的状态,如置灰状态。即,暂停状态下无法调整播放视频的倍速。
闪光灯图标:与录像前类似,录制中的取景界面中也包括闪光灯图标。应注意,视频录制过程中通常不允许调整闪光灯参数,因此,录制中的闪光灯图标是不可操作的。例如,闪光灯图标是图2D中的(a)示出的取景界面201d中的图标227,该图标227置灰,表示不可操作。
变焦控件:与录像前类似,录制中的取景界面中也包括变焦控件。例如,变焦控件是图2D中的(a)示出的取景界面201d中的变焦条228,手机100响应于用户对该变焦条228的滑动操作,可切换到相应的后置摄像头来采集预览图像。关于通过变焦条切换后置摄像头的具体内容可参加下文中关于实施例一的说明,此处暂不做详细说明。
前文中,主要以竖屏形式来说明多镜录像模式。应理解,横屏形式下也基本与竖屏形式类似。关于横屏形式与竖屏形式的细微不同之处,在下文实施例的相关内容中再做说明,此处暂不做详细说明。
下文实施例中,将结合前文对多镜录像模式的说明,并主要以多镜录像模式中的前后双镜模式、后后双镜模式、画中画模式、单前置(或后置)模式为例,来依次进一步说明多镜录像模式中的模式切换功能(如实施例一)和美颜功能(如实施例二)
实施例一,模式切换功能。
本申请实施例提供的一种视频拍摄方法,可应用于手机100。其中,在多镜录像模式的取景界面(包括录像前的取景界面和录制中的取景界面)中,手机100可以响应于用户的操作1而显示多个模式选项供用户选择。其中,每个模式选项对应一种多镜子模式。而后,手机100响应于用户对任一模式选项的选择操作,则可以切换到相应的多镜子模式。从而可以实现在录像前或者录制中灵活的切换多镜子模式。
下面分别以录像前和录制中的切换来说明本申请方案。
第一,录像前切换多镜子模式。在录像前,操作1主要是指用户对模式图标的点击操作。
本申请实施例提供一种视频拍摄方法,可以在多镜录像模式中、开始录像前切换多镜子模式。如图3A所示,该视频拍摄方法包括:
S301a、手机100显示界面a,该界面a是以子模式1录像前的取景界面。该界面a中包括子模式1的模式图标1。其中,子模式1包括前后双镜模式、后后双镜模式、画中画模式、单前置模式或者单后置模式。
S302a、手机100响应于用户对模式图标1的点击操作,在界面a中显示多个模式选项。其中,多个模式选项和多个多镜子模式一一对应。
示例性的,子模式1是前后双镜模式,则界面a可以是图2A中的(b)示出的取景界面203a,模式图标1可以是取景界面203a中的图标215。手机100响应于用户对图标215的点击操作,可在图3B中的(a)示出的取景界面203a中进一步显示选择面板310。该选择面板310中包括前后双镜模式、后后双镜模式、画中画模式、单前置模式和单后置模式共5个模式的模式选项。
在一些实施例中,每个模式选项中可以包括多镜子模式的标识,用于指示不同的多镜子模式。例如,图3B中的(a)的选择面板310中的简称“前/后”表示前后双镜模式。又如,图3B中的(a)的选择面板310中的简称“画中画”表示画中画模式。
在另一些实施例中,每个模式选中可以包括多镜子模式的布局样式,用于指示多镜子模式下摄像头采集的预览图像在取景界面中的布局。其中,手机100可以通过图片、图片大小以及图片的排列来表示布局样式。其中,图片可以是摄像头实时采集的,也可以是预先设置的。采用本实施例,可以在切换多镜子模式前,向用户提供各种多镜子模式的布局样式,可以方便快速、准确的切换。从而提高切换的效率和准确性。
例如,图3B中的(a)的选择面板310中以植物图片表示后置摄像头采集的预览图像,以人像图片表示前置摄像头采集的预览图像,则植物图片和人脸图片上下排列可以指示前后双镜模式的布局效果。
又如,图3B中的(a)的选择面板310中以植物图片表示后置摄像头采集的预览图像,以人像图片表示前置摄像头采集的预览图像,则植物图片显示在人脸图片内可以指示画中画双镜模式的布局效果。
在一些实施例中,在多个模式选项中,当前采用的多镜子模式(如子模式1)的模式选项可突出显示。从而便于指示当前采用的多镜子模式。
仍以子模式1是前后双镜模式为例,图3B中的(a)的选择面板310中。前后双镜模式的模式选项的布局样式边框加粗显示。从而达到突出的效果。
在一些实施例中,在未显示多个模式选项时,手机100以状态1显示模式图标(如模式图标1)。该情况下,手机100响应于用户对模式图标的点击操作,可显示多个模式选项。在显示多个模式选项时,手机100以状态2显示模式图标(如模式图标1)。该情况下,手机100响应于用户对模式图标的点击操作,可关闭多个模式选项的显示。例如,状态1是正常显示的状态,状态2是置灰状态。从而可以通过模式图标的显示状态来指示模式选项的显示与关闭状态,实现界面元素之间的统一。
在一些实施例中,在显示多个模式选项时,手机100关闭前后摄像头切换控件。例如,图3B中的(a)示出的取景界面203a的右下角处不再显示前后摄像头切换控件。在显示多个模式选项的情况下,用户的需求通常是通过模式选项来切换多镜子模式,而不是通过前后摄像头切换控件来切换摄像头。此时,关闭前后摄像头切换控件的显示,一方面不会影响用户的需求,另一方面可以简化界面元素,便于切换多镜子模式的操作。
上述关于S302a的说明中,主要以子模式1是前后双镜模式来说明。应理解,子模式1是后后双镜模式、画中画模式、单前置模式或者单后置模式时的原理也是类似的。下面仅简单的示出子模式1分别是后后双镜模式、画中画模式和单后置模式时,显示多个模式选项的示意图。
示例一,子模式1是后后双镜模式,则界面a可以是图2B中的(a)示出的取景界面201b,模式图标1可以是取景界面201b中的图标230。手机100响应于用户对图标230的点击操作,可在图3B中的(b)示出的取景界面201b中进一步显示选择面板311。该选择面板311中包括前后双镜模式、后后双镜模式、画中画模式、单前置模式和单后置模式共5个模式的模式选项。其中,后后双镜模式的模式选项突出显示。
示例二,子模式1是画中画模式,则界面a可以是图2B中的(b)示出的取景界面204b, 模式图标1可以是取景界面204b中的图标231。手机100响应于用户对图标231的点击操作,可在图3B中的(c)示出的取景界面204b中进一步显示选择面板312。该选择面板312中包括前后双镜模式、后后双镜模式、画中画模式、单前置模式和单后置模式共5个模式的模式选项。其中,画中画模式的模式选项突出显示。
示例三,子模式1是单后置模式(单前置时同理),则界面a可以是图2C中的(b)示出的取景界面203c,模式图标1可以是取景界面203c中的图标232。手机100响应于用户对图标232的点击操作,可在图3B中的(d)示出的取景界面203c中进一步显示选择面板313。该选择面板313中包括前后双镜模式、后后双镜模式、画中画模式、单前置模式和单后置模式共5个模式的模式选项。其中,单后置模式的模式选项突出显示。
应注意,在一些实施例中,在子模式1是单前置模式或者单后置模式的情况下,手机100显示多个模式选项时,可以仅显示前后双镜模式、后后双镜模式和画中画模式的模式选项,同时保留前后摄像头切换控件。如此,在减少对取景界面的改动的前提下,通过多个模式选项,可以切换到前后双镜模式、后后双镜模式或者画中画模式;通过前后摄像头切换控件可以在单前置模式和单后置模式之间切换。
实际中,多个模式选项的显示可能遮挡取景界面中的预览图像,从而影响预览。
基于此,在一些实施例中,在取景界面中显示多个模式选项的情况下,手机100可响应于用户的操作(如操作2)而隐藏多个模式选项,从而灵活关闭多个模式选项的显示,避免对预览图像造成遮挡。
其中,操作2可以是用户在取景界面输入的预设手势1。例如,操作2可以是用户在图3B中的(b)示出的取景界面201b中输入的下滑手势。或者,操作2可以是用户对多个模式选项之外的,且未显示图标、控件等元素的区域的点击操作或者长按操作。或者,取景界面中包括面板隐藏控件,操作2可以是用户对面板隐藏控件的点击操作。其中,该面板隐藏控件可以是模式图标。例如,面板隐藏控件可以是图3B中的(b)示出的取景界面201b中置灰的图标314。或者,该面板隐藏控件可以是选择面板中的预设控件。例如,是面板隐藏控件可以是图3B中的(b)示出的取景界面201b中的控件3111。
在另一些实施例中,在当前的取景界面显示多个模式选项的情况下,手机100从显示该多个模式选项开始,若预设时长内未接收到用户对多个模式选项的操作,则隐藏该多个模式选项。如此,则可以在用户长时间无操作的情况下,隐藏多个模式选项,避免影响预览。
S303a、手机100响应于用户对模式选项1的选择操作,显示界面b。模式选项1对应子模式2,界面b是以子模式2录像前的取景界面。该界面b中包括子模式2的模式图标2,子模2与子模式1不同。
示例性的,以子模式1是前后双镜模式为例,手机100可以显示图3B中的(a)示出的取景界面203a,该取景界面203a中包括选择面板310。
若模式选项1是选择面板310中的选项3101,即子模式2是后后双镜模式。手机100响应于用户对该选项3101的选择操作,可显示图2B中的(a)示出的取景界面201b。
若模式选项1是选择面板310中的选项3102,即子模式2是画中画模式。手机100响应于用户对该选项3102的选择操作,可显示图2B中的(b)示出的取景界面204b。
若模式选项1是选择面板310中的选项3103,即子模式2是单后置模式。手机100响 应于用户对该选项3103的选择操作,可显示图2C中的(b)示出的取景界面203c。
若模式选项1是选择面板310中的选项3104,即子模式2是单前置模式。手机100响应于用户对该选项3104的选择操作,可显示图2C中的(a)示出的取景界面201c。
上述关于S303a的说明中,主要以子模式1是前后双镜模式来说明。应理解,子模式1是后后双镜模式、画中画模式、单前置模式或者单后置模式时的原理也是类似的。即,手机100响应于用户对任一模式选项的选择操作,则可显示该模式选项对应的子模式的取景界面。此处不再一一赘述。
应注意,前述S301a-S303a仅说明了录像前的一次切换过程,实际实施时,多个多镜子模式之间可以两两多次切换,每次的切换过程均可参见S301a-S303a的说明。在每次切换过程中,切换前的多镜子模式记为子模式1,切换后的多镜子模式记为子模式2。
综上所述,采用本实施例的方法,在进入多镜录像模式的取景界面后,开始录像前,手机100可以依据用户对多镜子模式的选择,灵活的在多个多镜子模式之间切换。从而可以在开始录像前切换到满意的多镜子模式。
第二,录制中切换多镜子模式。在录制中,操作1可以是用户对模式图标的点击操作,也可以是用户对面板展示控件的点击操作或者上滑操作。
本申请实施例提供一种视频拍摄方法,可以在多镜录像模式的录制中切换多镜子模式。在本实施例中,主要以操作1是用户对面板展示控件的上滑操作为例来说明。如图3C所示,该视频拍摄方法包括:
S301c、手机100显示界面c,该界面c是以子模式1录制中的取景界面。该界面c中包括面板展示控件。其中,子模式1包括前后双镜模式、后后双镜模式、画中画模式、单前置模式或者单后置模式。面板展示控件用于触发手机100展示选择面板,该选择面板中包括多个模式选项,多个模式选项与多个多镜子模式一一对应。
在一些实施例中,只有录制中才有面板展示控件。从而在录制中提供一种新的切换多镜子模式的快捷入口,方便录制中切换多镜子模式。例如,子模式1是前后双镜模式,则界面c可以是图2D中的(a)示出的取景界面201d,取景界面201d中包括控件224,该控件224可用于触发手机100展示选择面板。即,控件224是面板展示控件。
S302c、手机100响应于用户对面板展示控件的上滑操作,在界面c中显示多个模式选项。
示例性的,子模式1是前后双镜模式,则界面c可以是图2D中的(a)示出的取景界面201d,面板展示控件可以是取景界面201d中的控件224。手机100响应于用户对控件224的上滑操作,可在图4中的(a)示出的取景界面201d中进一步显示选择面板320。该选择面板320中包括前后双镜模式、后后双镜模式、画中画模式、单前置模式和单后置模式共5个模式的模式选项。
其中,关于选择面板、模式选项及其显示,可参见图3A所示的实施例中的相关说明,此处不再赘述。在本实施例中,主要针对录制中与录像前的不同之处进行说明。
在一些实施例中,在显示多个模式选项时,手机100则隐藏面板展示控件。例如,图4中的(a)示出的取景界面201d中不再显示面板展示控件。如此,可以简化界面元素。
在一些实施例中,与录像前类似的,在显示多个模式选项时,手机100关闭前后摄像头切换控件。例如,图4中的(a)示出的取景界面201d的右下角处不再显示前后摄像头 切换控件。
上述关于S302c的说明中,主要以子模式1是前后双镜模式来说明。应理解,子模式1是后后双镜模式、画中画模式、单前置模式或者单后置模式时的原理也是类似的。下面仅简单的示出子模式1分别是后后双镜模式、画中画模式和单后置模式时,显示多个模式选项的示意图。
示例一,子模式1是后后双镜模式,则界面c可以是图2D中的(b)示出的取景界面204d,面板展示控件可以是取景界面204d中的控件240。手机100响应于用户对控件240的上滑操作,可在图4中的(b)示出的取景界面204d中进一步显示选择面板321。该选择面板321中包括前后双镜模式、后后双镜模式、画中画模式、单前置模式和单后置模式共5个模式的模式选项。其中,后后双镜模式的模式选项突出显示。
示例二,子模式1是画中画模式,则界面c可以是图2D中的(c)示出的取景界面207b,面板展示控件可以是取景界面207d中的控件241。手机100响应于用户对控件241的上滑操作,可在图4中的(c)示出的取景界面207d中进一步显示选择面板322。该选择面板322中包括前后双镜模式、后后双镜模式、画中画模式、单前置模式和单后置模式共5个模式的模式选项。其中,画中画模式的模式选项突出显示。
示例三,子模式1是单前置模式(单后置时同理),则界面a可以是图2E中的(a)示出的取景界面201e,面板展示控件可以是取景界面201e中的控件242。手机100响应于用户对控件242的上滑操作,可在图4中的(d)示出的取景界面201e中进一步显示选择面板323。该选择面板323中包括前后双镜模式、后后双镜模式、画中画模式、单前置模式和单后置模式共5个模式的模式选项。其中,单前置模式的模式选项突出显示。
应注意,在一些实施例中,与录像前类似的,在子模式1是单前置模式或者单后置模式的情况下,手机100显示多个模式选项时,可以仅显示前后双镜模式、后后双镜模式和画中画模式的模式选项,同时保留前后摄像头切换控件。
在录制中显示多个模式选项时,多个模式选项也会遮挡取景界面中的预览图像,从而影响预览。因此,手机100也可以采用与录像前类似的方式来隐藏多个模式选项,此处不再赘述。
S303c、手机100响应于用户对模式选项1的选择操作,显示界面d。模式选项1对应子模式2,界面d是以子模式2录制中的取景界面。子模2与子模式1不同。
该S303c的实现原理和过程,与前文S303a类似,具体可参见前文S303a的说明。此处不再赘述。唯一需要注意的是,该界面d是录制中的取景界面,而S303a中的界面b是录像前的取景界面。
应注意,前述S301c-S303c仅说明了录像前的一次切换过程,实际实施时,多个多镜子模式之间可以两两多次切换,每次的切换过程均可参见S301c-S303c的说明。在每次切换过程中,切换前的多镜子模式记为子模式1,切换后的多镜子模式记为子模式2。
综上所述,采用本实施例的方法,在进入多镜录像模式的取景界面,并开始录制后,手机100可以依据用户对多镜子模式的选择,灵活的在多个多镜子模式之间切换。
前述图3C所示的实施例主要以操作1是用户对面板展示控件的点击操作来说明录制中的切换过程。在另一些实施例中,操作1是用户对模式图标的点击操作的实现原理也相同,而只是触发显示多个模式选项的条件不同,此处将不再赘述。另外,在录制中,可以 将上述两种操作1的形式结合。从而可以通过多种方式触发显示多个模式选项,提高切换的灵活性。
应注意,录像前的切换过程不会体现在最终形成的视频文件中。例如,录像前从前后双镜模式切换后后后双镜模式,而后开始录制,则在最终形成的视频文件中不会包括录像前从前后双镜模式切换到后后双镜模式的过程,而只会呈现以后后双镜模式录制的视频。
与上述录像前的切换不同的是,录制中的切换过程会体现在最终形成的视频文件中。示例性的,在S303c之后,手机响应于用户对界面d的操作3,生成视频文件1。该操作3用于触发手机结束视频录制。例如,操作3可以是用户对结束录制控件的点击操作。该视频文件1包括视频流a和视频流b。其中,视频流a是以子模式1录制视频形成的视频流,视频流b是以子模式2录制视频形成的视频流。
进一步的,视频流a可以由n个子视频流组成,n是正整数,n的值等于子模式1采用的摄像头的数量。n个子视频流与子模式1采用的n个摄像头对应。即,n个子视频流中每个子视频流由子模式1采用的相应摄像头采集的多帧预览图像构成。同样的,视频流b可以由m个子视频流组成,m是正整数,m的值等于子模式2采用的摄像头的数量。m个子视频流与子模式2采用的m个摄像头对应。即,m个子视频流中每个子视频流由子模式2采用的相应摄像头采集的多帧预览图像构成。
示例性的,以子模式1是前后双镜模式,子模式2是后后双镜模式,并且录制视频过程中切换一次多镜子模式为例。如图5所示,从00:00:00(第0秒开始)到00:09:59(第9秒结束)的前10秒钟内,采用后置主摄像头和前置摄像头以前后双镜模式录制视频。在00:09:59(或00:10:00),手机100将多镜子模式切换为后后双镜模式,采用后置长焦摄像头和后置广角摄像头采集预览图像。而后,从00:10:00(第10秒开始)到00:14:59(第14秒结束)的5秒钟内,以后后双镜模式录制视频。在00:14:59,手机100结束视频录制,生成视频文件1。视频文件1包括视频流a1、视频流a2、视频流b1和视频流b2。其中,视频流a1包括前后双镜模式下后置主摄像头采集的多帧预览图像,视频流a2包括前后双镜模式下前置摄像头采集的多帧预览图像。也就是说,视频流a包括两个子视频流,即,视频流a1和视频流a2。视频流b1包括后后双镜模式下后置长焦摄像头采集的多帧预览图像,视频流b2包括后后双镜模式下后置广角摄像头采集的多帧预览图像。也就是说,视频流b包括两个子视频流,即,视频流b1和视频流b2。
综上所述,在录制过程中切换多镜子模式,可以录制得到由多种多镜子模式下录制得到的视频流构成的视频文件。从而可以提高视频录制的灵活性和多样性。
进一步的,在录制中的一些场景中,需要同时显示变焦控件和面板展示控件,并且面板展示控件可能与变焦控件邻近。例如,在图2D中的(c)示出的画中画模式的录制中的取景界面207d中,面板展示控件241和变焦控件243相邻显示。又如,在图2E中的(b)示出的单后置模式的录制中的取景界面203e中,面板展示控件244和变焦控件245相邻显示。
针对上述场景,在一些实施例中,通过为不同的控件划分互不干扰的响应机制,以准确响应用户的操作。在一种具体的实现方式中,在单后置模式或者画中画模式录制中的取景界面中,面板展示控件的响应热区(简称为面板展示热区,其中包括面板展示控件)包括变焦控件的响应热区(简称为变焦热区,其中包括变焦控件)。其中,在面板展示热区 内,用户输入滑动操作的起点和终点之间的连线,与屏幕的底部之间的最小夹角大于预设角度(如60°)时,才能触发手机100展示选择面板,以供切换多镜子模式。在变焦热区内,用户输入滑动操作的起点和终点之间的连线,与屏幕的底部之间的最小夹角小于或等于预设角度(如60°)时,才能触发手机100切换后置摄像头。应理解,由于面板展示热区包括变焦热区,则在变焦热区内,就意味着在面板展示区域内。
在该实现方式中,面板展示热区较大,可以方便用户触发手机100展示选择面板。从而可以降低多镜子模式的切换难度。同时,手机100以用户输入滑动操作的起点和终点之间的连线,与屏幕的底部之间的最小夹角的大小,来响应用户的操作,可以准确的响应用户的操作,且不会发生混乱。
示例性的,以单后置模式、预设角度是60°为例。如图2F中的(a)所示,在单后置模式录制中的取景界面中,面板展示热区包括变焦热区,例如,面板展示热区的高度为60像素(dp),宽度为屏幕的宽度,变焦热区的高度为130dp,宽度也是屏幕的宽度。滑动操作1由起点A,沿着箭头1,滑动到终点B,由于A点和B点都在面板展示热区,且A点和B点的连线与屏幕底部的最小夹角大于60°,相应的,手机100响应于该滑动操作1,可以展示选择面板,以供切换多镜子模式。滑动操作2由起点A,沿着箭头2,滑动到终点C,由于A点和C点都在变焦热区,且A点和C点的连线与屏幕底部的最小夹角小于60°,相应的,手机100响应于该滑动操作2,可以切换采集图像的后置摄像头。
另外,在录制前或者录制中的另一些场景中,如在前后双镜模式、后后双镜模式录制中的取景界面中,又如在各种多镜子模式录制前的取景界面中,面板展示控件的邻近位置并未显示变焦控件。在这些场景中,单独为面板展示控件划分相应的热区即可。其中,针对动态的面板展示控件和静态的面板展示控件,可设置不同的面板展示热区。例如,为动态的面板展示控件设置更大的面板展示热区。
示例性的,以前后双镜模式为例。如图2F中的(b)所示,在前后双镜模式录制中的取景界面中,面板展示控件和变焦控件相隔较远,则可以设置面板展示热区为如图所示的矩形区域,如高度为60dp,宽度为屏幕的宽度。
前文关于实施例一的说明中,主要通过模式图标或者面板展示控件来切换多镜子模式,但是实际实施时,并不以此为限。在一些实施例中,还可以通过预设手势来触发切换多镜子模式。示例性的,竖屏形式下,在采用单个摄像头采集图像的模式的情况下,手机100响应于用户从屏幕的下边缘或者上边缘往屏幕中间的滑动手势,可以从采用单个摄像头采集图像的模式,切换为采用两个摄像头采集图像的模式。如,切换为前后双镜模式。又示例性的,竖屏形式下,在采用两个摄像头采集图像的模式的情况下,手机100响应于用户从两个预览图像的相交区域附近的位置向屏幕的上边缘或者下边缘的滑动手势,可以从采用两个摄像头采集图像的模式,切换为采用单个摄像头采集图像的模式。在本实施例中,通过预设手势可以直接触发手机100切换多镜子模式,无需展示模式选项,从而可以提高切换的便捷性。
在下文实施例中,将主要以通过模式图标和面板展示控件来切换多镜子模式的方式来说明本申请方案。
前述实施例一中,主要通过模式选项来切换多镜子模式,即切换摄像头、布局等。
在一些实施例中,为了进一步提高切换的便捷性,还提供有如下切换方式:
方式一,通过前后摄像头切换控件来触发手机100切换前置摄像头和后置摄像头。
示例性的,在单前置模式下,手机100响应于用户对前后摄像头切换控件的点击操作,可以切换到单后置模式。或者,在单后置模式下,手机100响应于用户对前后摄像头切换控件的点击操作,可以切换到单前置模式。
又示例性的,在前后双镜模式或者画中画模式中,手机100响应于用户对前后摄像头切换控件的点击操作,可以将其中的前置摄像头切换为后置摄像头(如后置主摄像头)。
再示例性的,在后后双镜模式中,手机100响应于用户对前后摄像头切换控件的点击操作,可以将其中一个后置摄像头切换为前置摄像头,从而切换为前后双镜模式。例如,手机100响应于用户对图2D中的(b)示出的取景界面204d中前后摄像头切换控件的点击操作,可以显示图2D中的(a)示出的取景界面201d。
方式二,在当前采用的摄像头有后置摄像头的情况下,可以通过变焦控件来触发手机100切换后置摄像头。
示例性的,在单后置模式下,手机100响应于用户对变焦控件中变焦倍速的选择操作,可以切换到相应的后置摄像头。例如,当选择2倍倍率时,手机100可以切换到后置2倍长焦镜头。
又示例性的,在前后双镜模式或者画中画模式中,手机100响应于用户对变焦控件中变焦倍速的选择操作,可以将当前的后置摄像头切换为其他的后置摄像头。例如,手机100响应于用户对图2D中的(a)示出的取景界面201d中变焦条228的滑动操作,可将当前采用的后置摄像头(如后置主摄像头)切换为其他的后置摄像头。如从1x滑动到2x,则可以从后置主摄像头切换到后置2倍长焦摄像头。
再示例性的,在后后双镜模式中,手机100响应于用户对变焦控件中变焦倍率的选择操作,可以将其中一个后置摄像头切换为其他的后置摄像头。例如,手机100响应于用户对图2D中的(b)示出的取景界面204d中变焦条的滑动操作,可以将预览图像显示在上方的后置摄像头(如后置2倍长焦摄像头)切换为其他的后置摄像头。如从2x滑动到4x,则可以从后置2倍长焦摄像头切换到后置4倍长焦摄像头。
方式三,通过手指缩放来触发后置摄像头的切换。例如,手指打开,则触发切换至后置长焦摄像头。打开程度越大,则切换至倍率更大的后置长焦摄像头。手指捏合,则触发切换至广角摄像头。
应注意,若前置摄像头有多个,也可以通过方式二或者方式三来切换。
方式四,通过对双景取景界面中的预览图像的双击操作来对调两个摄像头采集的预览图像的显示区域。
示例性的,在前后双镜模式下,手机100响应于用户对任一预览图像的双击操作,可以对调前置摄像头采集的预览图像和后置摄像头采集的预览图像的显示区域。例如,手机100响应于用户对图2D中的(a)示出的取景界面201d中预览图像202d或者预览图像203d的双击操作,可以对调预览图像202d和预览图像203d的显示区域。对调后,预览图像202d显示在预览图像203d的下方。
又示例性的,在后后双镜模式下,手机100响应于用户对任一预览图像的双击操作,可以对调两个后置摄像头采集的预览图像的显示区域。例如,手机100响应于用户对图2D中的(b)示出的取景界面204d中预览图像205d或者预览图像206d的双击操作,可以对 调预览图像205d和预览图像206d的显示区域。对调后,预览图像205d显示在预览图像206d的下方。
再示例性的,在画中画模式下,手机100响应于用户对任一预览图像的双击操作,可以对调前置摄像头采集的预览图像和后置摄像头采集的预览图像的显示区域。例如,手机100响应于用户对图2D中的(c)示出的取景界面207d中预览图像208d或者预览图像209d的双击操作,可以对调预览图像208d和预览图像209d的显示区域。对调后,预览图像208d显示在小窗209D中,预览图像209d显示在大窗208D中。
方式五,在画中画模式下,通过手指缩放小窗窗口或者拖拽小窗边缘可以触发手机100缩放小窗的窗口尺寸。
实施例二、美颜功能。
本申请实施例提供的一种视频拍摄方法,可应用于手机100。其中,在多镜录像模式中,录像前的取景界面中,手机100可以响应于用户对取景界面中美颜控件(也可以称为第一控件)的操作(如点击操作)而显示一个或多个美颜效果控件,供用户选择美颜效果。而后,手机100响应于用户对美颜效果控件的操作,则可以设置多镜录像模式的美颜效果。从而可以在多镜录像模式的录像前,完成美颜设置。
示例性的,美颜控件是图2A中的(b)示出的取景界面203a中的控件213。手机100响应于用户对图2A中的(b)示出的取景界面203a中的控件213的点击操作,可以在图6A中的(a)示出的取景界面203a中进一步显示美颜调节条601,该美颜调节条601记为美颜效果控件。如图6A中的(a)所示,美颜调节条601中默认的美颜级别是5级。而后,手机100可接收用户对美颜调节条601的滑动操作,即,对美颜级别的选择操作。如图6A中的(b)所示,手机100可接收用户对美颜调节条601中级别6的选择操作。手机100响应于用户对级别6的选择操作,可以调整美颜效果为6级美颜的效果。
应注意,上述图6A中的(a)和图6A中的(b)的举例中,仅以美颜效果控件是美颜调节条为例,来说明了手机100设置美颜效果的实现。实际中,美颜效果控件还可以是其他形式的。例如,美颜效果控件也可以是多个效果选项,多个效果选项与多种美颜效果一一对应。在本文实施例中,主要以美颜效果控件是美颜调节条为例来说明本申请方案。
在一些实施例中,在用户操作美颜调节条而调整美颜级别的过程中,手机100仅显示预览图像和美颜调节条。而隐藏取景界面中的其它元素。从而可以方便用户准确的调节美颜级别。例如,如图6A中的(b)所示,在用户操作美颜调节条的过程中,手机100隐藏模式图标、闪光灯图标、开始录制控件、前后摄像头切换控件等界面元素,而仅显示预览图像和美颜调节条。
应注意,多镜录像模式中,在采用两个及以上摄像头采集图像的多镜子模式中,例如前后双镜模式、后后双镜模式或者画中画模式中,通常仅在拍摄对象为人像时,才存在美颜需求。与此同时,在采用两个及以上摄像头采集图像时,通常使用前置摄像头来采集人像。基于此,在一些实施例中,在采用两个及以上摄像头采集图像的多镜子模式中,仅有前置摄像头采集的图像支持美颜。进一步,在本实施例中,手机100可以将美颜控件显示在取景界面中前置摄像头的图像附近。如此,便于明确美颜针对的对象。
例如,图2A中的(b)示出的取景界面203a中包括控件213,该控件214用于触发手机100调节美颜级别。即,控件213是美颜控件。该控件213显示在前后双镜模式下前置 摄像头采集的图像(如人脸图像)的显示区域内。又如,图2B中的(b)示出的取景界面204b中包括美颜控件,且该美颜控件显示在画中画模式下前置摄像头采集的图像(如人脸图像)的显示区域(如小窗)的下方。
在本实施例中,前后双镜模式和画中画模式中,前置摄像头采集的图像(通常为人像)支持美颜,则在通过美颜控件设置美颜效果后,仅有前置摄像头采集的图像可以添加该美颜效果。也就是说,在前后双镜模式和画中画模式中,美颜控件仅用于设置前置摄像头采集的图像的美颜效果。
示例性的,以图2A中的(b)示出的前后双镜模式录像前的取景界面为例,在通过控件213(即美颜控件)设置美颜效果为6级美颜后,手机100可显示图6B示出的取景界面602,该取景界面602中仅有前置摄像头采集的预览图像604添加有6级美颜的美颜效果,而后置摄像头采集的预览图像603并未添加美颜效果。
另外,在采用两个及以上摄像头采集图像的多镜子模式中,若当前采用的多镜子模式下,采集图像的摄像头不包括前置摄像头(例如后后双镜模式),手机100则可以不显示美颜控件,或者将美颜控件默认显示在手机100的底部附近的位置。例如,图2B中的(a)示出的取景界面201b为后后双镜模式的取景界面,后后双镜模式中采集图像的摄像头是两个后置摄像头,即不包括前置摄像头,手机100则可将美颜控件显示手机100的底部附近的位置。
或者,在单前置模式或者单后置模式中,都有可能使用当前的单个摄像头来采集人像,因此都可能存在美颜的需求。基于此,在一些实施例中,前置摄像头和后置摄像头均支持美颜。进一步的,在单前置模式或者单后置模式中,手机100均可以在取景界面中显示美颜控件。并且,在通过美颜控件设置美颜效果后,美颜效果可以添加在全屏显示的预览图像上。
也就是说,常见的多镜子模式中,单前置模式和单后置模式支持美颜,前后双景模式和画中画模式中前置摄像头采集的图像支持美颜(也可以称为部分支持美颜),后后双镜模式通常不支持美颜。而基于前述实施例一的说明可知,在多镜录像模式中,手机100可以在多个多镜子模式中两两之间切换。以此为前提,则可能从支持美颜的模式(如单后置模式)切换到部分支持美颜或者不支持美颜的模式;或者,也可能从部分支持美颜的模式切换为不支持美颜的模式。
基于此,本申请实施例提供了一种视频拍摄方法,可以应用于手机100。在本实施例中,手机100可以根据切换前后的多镜子模式,来智能的设置美颜效果,以适配多镜子模式对美颜的支持情况。下面以几种典型的场景来说明智能设置美颜效果的具体实现:
场景1,从采用单个摄像头采集图像的模式切换到采用两个摄像头采集图像,且切换后的两个摄像头中包括后置摄像头。
请参见图6C,为本申请实施例提供的一种视频拍摄方法的流程图,可以应用于手机100。在本实施例中,主要以场景1为例,来说明智能设置美颜效果的具体实现。
如图6C所示,本实施例的视频拍摄方法可以包括:
S611、手机100显示界面a,界面a是采用第一摄像头录像的取景界面。该界面a中包括全屏显示的第一预览图像。其中,第一预览图像是手机100对第一摄像头采集的第一图像添加第一美颜效果后得到的。第一摄像头是前置摄像头或者后置摄像头。
其中,录像的取景界面可以是录像前的取景界面,也可以是正在录像的取景界面。即,界面a(也可以称为第一界面)可以是录像前的取景界面,也可以是正在录像的取景。也就是说,在录像前和正在录像的过程中,都可以采用本实施例的方法来智能设置美颜效果。
在一些实施例中,界面a中的美颜效果是手机100根据用户对美颜控件和美颜效果控件的操作,而设置的。
在本实施例中,在S611之前,手机100需要根据用户对美颜控件和美颜效果控件的操作,设置采用第一摄像头录像的美颜效果为第一美颜效果。具体设置美颜效果的过程前文已说明,此处不再赘述。在完成美颜效果设置后,手机100则可显示界面a,界面a中的预览图像具有第一美颜效果。即,界面a是录像前的取景界面的情况。或者,在完成美颜设置后,手机100响应于用户开始录制视频的操作(如点击开始录制控件的操作),可显示界面a,界面a中的预览图像具有第一美颜效果。即,界面a是正在录像的取景界面的情况。下文实施例中,将主要以界面a是正在录像的取景界面为例来说明本申请方案。
在另一些实施例中,界面a中的美颜效果,可以是手机100在采用本申请方案之后,根据多镜子模式的切换,而智能的设置美颜效果的结果。
示例性的,在一种场景中,第一摄像头可以是前置摄像头,则界面a可以是图6D中的(a)示出的取景界面621,第一预览图像可以是该取景界面621中包括预览图像622,该预览图像622是手机100对前置摄像头采集的图像添加第一美颜效果(如6级美颜)后得到的。
示例性的,在另一种场景中,第一摄像头也可以是后置摄像头,则界面a可以是图6D中的(b)示出的取景界面623,第一预览图像可以是该取景界面623中包括预览图像624,该预览图像624是手机100对后置摄像头采集的图像添加第一美颜效果(如6级美颜)后得到的。
S612、手机100响应于用户对界面a的操作1,在界面a中显示多个模式选项。其中,多个模式选项与多个多镜子模式一一对应。
在S612之前,手机100可接收用户对界面a的操作1。
S613、手机100响应于用户对模式选项1的选择操作,显示界面b。模式选项1对应采用第二摄像头和第三摄像头采集图像的模式,界面b是采用第二摄像头和第三摄像头采集图像的取景界面,界面b中包括处理第二摄像头采集的第二图像得到的第二预览图像和处理第三摄像头采集的第三图像得到的第三预览图像。第二预览图像和第三预览图像中后置摄像头采集的预览图像未添加美颜效果。
在S613之前,手机100可接收用户对模式选项1的选择操作。
关于切换多镜子模式(如S612-613中从采用单个摄像头采集图像的模式切换到采用两个摄像头采集图像的模式)的具体实现,可参见前文实施例一中的相关说明,此处不再赘述。另外,为了方便说明,可以将触发手机100从采用单个摄像头采集图像切换到采用两个摄像头(第二摄像头和第三摄像头)采集图像的操作,称为第一操作。例如,用户对模式选项1的选择操作为第一操作。同样为了方便说明,界面b可以称为第二界面。
其中,模式选项1可以对应前后双镜模式,即第二摄像头可以是前置摄像头,第三摄像头可以是后置摄像头。相应的,界面b是前后双镜模式的取景界面。进一步的,针对不同的第一摄像头,手机100智能设置美颜效果的结果具体如下:
第一种,第一摄像头为前置摄像头。
前后双镜模式中的后置摄像头不支持美颜,则第三摄像头采集的第三图像不能使用美颜效果。同时,第一摄像头是前置摄像头,则第二摄像头采集的第二图像可以继续沿用第一美颜效果。也就是说,第一摄像头是前置摄像头,第二摄像头是前置摄像头,第三摄像头是后置摄像头,界面b中包括第二预览图像和第三预览图像,则第二预览图像添加有第一美颜效果,第三预览图像未添加美颜效果。即,前置摄像头采集的图像沿用切换前的美颜效果,而后置摄像头采集的图像不使用美颜效果。
示例性的,界面a是图6D中的(a)示出的单前置模式的取景界面621,在切换为前后双镜模式后,手机100可以显示图6E中的(a)示出的前后双镜模式的取景界面625,即取景界面625是界面b。该取景界面625中包括预览图像627和预览图像626,预览图像627是第二预览图像,预览图像626是第三预览图像。预览图像627添加有第一美颜效果,预览图像626未添加美颜效果。
第二种,第一摄像头为后置摄像头。
前后双镜模式中的后置摄像头不支持美颜,则第三摄像头采集的第三图像不能使用美颜效果。同时,第一摄像头是后置摄像头,则第二摄像头采集的第二图像不能沿用切换前后置摄像头的美颜效果。也就是说,第一摄像头是后置摄像头,第二摄像头是前置摄像头,第三摄像头是后置摄像头,界面b中包括第二预览图像和第三预览图像,则第二预览图像和第三预览图像均未添加美颜效果。即,前置摄像头采集的图像不使用美颜效果,后置摄像头采集的图像也不再沿用切换前的美颜效果。
示例性的,界面a是图6D中的(b)示出的单后置模式的取景界面623,在切换为前后双镜模式后,手机100可以显示图6E中的(b)示出的前后双镜模式的取景界面628,即取景界面628是界面b。该取景界面628中包括预览图像630和预览图像629,预览图像630是第二预览图像,预览图像629是第三预览图像。其中,预览图像630和预览图像629中均未添加美颜效果。
其中,模式选项1可以对应画中画模式,第二摄像头可以是前置摄像头,第三摄像头可以是后置摄像头。相应的,界面b是前后双镜模式的取景界面。进一步的,针对不同的第一摄像头,手机100智能设置美颜效果的结果也不同,其具体与前后双镜模式类似。具体原理可参见前文关于前后双镜模式中智能设置美颜效果的说明,此处将不再赘述,而仅以如下两个示例来说明。
示例一,第一摄像头为前置摄像头,界面a可以是图6D中的(a)示出的单前置模式的取景界面621,在切换为画中画模式后,手机100可以显示图6F中的(a)示出的画中画模式的取景界面631,即取景界面631是界面b。该取景界面631中包括预览图像632和预览图像633。预览图像632是第二预览图像,预览图像633是第三预览图像。其中,预览图像632添加有第一美颜效果,预览图像633未添加美颜效果。
示例二,第一摄像头为后置摄像头,界面a是图6D中的(b)示出的单后置模式的取景界面623,在切换为画中画模式后,手机100可以显示图6F中的(b)示出的画中画模式的取景界面634,即取景界面634是界面b。该取景界面634中包括预览图像635和预览图像636,预览图像635是第二预览图像,预览图像636是第三预览图像。其中,预览图像635和预览图像636中均未添加美颜效果。
其中,模式选项1可以对应后后双镜模式,即第二摄像头和第三摄像头都是后置摄像头。相应的,界面b是后后双镜模式的取景界面。进一步的,后后双镜模式中两个后置摄像头采集的图像都不支持美颜,则无论第一摄像头是前置摄像头还是后置摄像头,第二预览图像和第三预览图像中均未添加美颜。
示例性的,以第一摄像头是后置摄像头为例,界面a是图6D中的(b)示出的单后置模式的取景界面623,在切换为后后双镜模式后,手机100可以显示图2D中的(b)示出的取景界面204d,即取景界面204d是界面b。该取景界面204d中包括预览图像205d和预览图像206d,预览图像205d是第二预览图像,预览图像206d是第三预览图像。由于后后双镜模式中的后置摄像头均不支持美颜,则切换前后置摄像头的美颜效果无法沿用到后后双镜模式中。即,预览图像205d和预览图像206d均未添加美颜效果。
进一步的,在一些实施例中,在从采用单个摄像头采集图像的模式,切换为采用两个摄像头采集图像的模式后,手机100可以智能的针对不同的摄像头采集的图像添加美颜效果。而后,手机100可以再次切换回采用单个摄像头采集图像的模式。针对这种情况,在本实施例中,视频拍摄方法还包括:
S614、手机100响应于用户对界面b的操作1,在界面b中显示多个模式选项。
S615、手机100响应于用户对模式选项2的选择操作,显示界面c。模式选项2对应采用第四摄像头采集图像的模式,界面c是采用第四摄像头录像的取景界面。界面c中包括全屏显示的第四预览图像,第四预览图像是手机100对第四摄像头采集的第四图像添加第一美颜效果后得到的。
其中,第四摄像头可以与第一摄像头相同,也可以与第一摄像头不同。例如,第一摄像头是后置主摄像头,第四摄像头可以是后置主摄像头,也可以是前置摄像头。
通过上述S614-S615,手机100可以从采用两个摄像头采集图像的模式,再次恢复为采用单个摄像头采集图像的模式,在切换后,可以显示界面c。在界面c中,可以为单个摄像头采集的图像添加第一美颜效果。另外,为了方便说明,可以将界面c称为第三界面,将触发手机100从采用两个摄像头采集图像切换为采用单个摄像头采集图像的操作(如用户对模式选项2的选择操作)称为第二操作。
示例性的,以界面b是图6E中的(a)示出的取景界面625为例,在切换为单前置模式后,手机100可以显示图6D中的(a)示出的取景界面621,即取景界面621是界面c。该取景界面621中的预览图像622添加有第一美颜效果,即预览图像622是第四预览图像。
综上所述,采用本实施例的方法,在录像前的取景界面或者在正在录像的取景界面中,手机100可以在从采用单个摄像头采集图像的模式,切换为采用两个摄像头采集图像的模式后,智能的设置两个摄像头分别采集的图像的美颜效果。从而提高美颜设置的合理性。
场景2,从采用一个前置摄像头和一个后置摄像头采集图像(如前后双镜模式或者画中画模式)切换到采用两个后置摄像头采集图像(如后后双镜模式)。
请参见图6G,为本申请实施例提供的一种视频拍摄方法的流程图,可以应用于手机100。在本实施例中,主要以场景2为例,来说明智能设置美颜效果的具体实现。
如图6G所示,本实施例的视频拍摄方法可以包括:
S641、手机100显示界面a,界面a是以前后双镜模式或者画中画模式录像的取景界面。该界面a中包括第一预览图像和第五预览图像。第一预览图像是手机100对第一摄像 头采集的第一图像添加第一美颜效果后得到的,第二预览图像未添加美颜效果。
示例性的,界面a可以是图6E中的(a)示出的前后双镜模式的取景界面625,该取景界面625中包括预览图像626和预览图像627,预览图像627是第一预览图像,预览图像626是第五预览图像。预览图像627添加有第一美颜效果,预览图像626未添加美颜效果。
也就是说,在本实施例中,切换前的前后双镜模式中,为前置摄像头采集的图像添加了第一美颜效果。同样的,该界面a中的美颜效果可以是根据用户对美颜控件和美颜效果控件的操作而设置的,也可以是在采用本申请方案之后,根据多镜子模式的切换而智能设置的。
S642、手机100响应于用户对界面a的操作1,在界面a中显示多个模式选项。其中,多个模式选项与多个多镜子模式一一对应。
S643、手机100响应于用户对模式选项1的选择操作,显示界面b。模式选项1对应后后双镜模式,界面b是以后后双镜模式录像的取景界面。界面b中包括第二预览图像和第三预览图像,第二预览图像是手机100处理第二摄像头采集的第二图像得到,第三预览图像是手机100处理第三摄像头采集的第三图像得到的。第二预览图像和第三预览图像均未添加美颜效果。
由于后后双镜模式完全不支持美颜,则在从前后双镜模式或者画中画模式切换到后后双镜模式后,手机100则需关闭切换前前置摄像头的美颜效果(如第一美颜效果)。
示例性的,界面a是图6E中的(a)示出的前后双镜模式的取景界面625,第一预览图像是预览图像627,该预览图像627具有第一美颜效果;第五预览图像是预览图像626,预览图像626不具有第一美颜效果。在切换为后后双镜模式后,手机100可以显示图2D中的(b)示出的取景界面204d,即取景界面204d是界面b。该取景界面204d中包括预览图像205d和预览图像206d,预览图像205d是第二预览图像,预览图像206d是第三预览图像。由于后后双镜模式中的后置摄像头均不支持美颜,则预览图像205d和预览图像206d均未添加美颜效果。
进一步的,在一些实施例中,在从采用一个前置摄像头和一个后置摄像头采集图像切换到采用两个后置摄像头采集图像后,手机100可以智能的关闭美颜效果。而后,手机100可以再次切换回采用一个前置摄像头和一个后置摄像头采集图像。针对这种情况,在本实施例中,视频拍摄方法还包括:
S644、手机100响应于用户对界面b的操作1,在界面b中显示多个模式选项。
S645、手机100响应于用户对模式选项3的选择操作,显示界面d。界面d是前后双镜模式或者画中画模式的取景界面。界面d中包括第六预览图像和第七预览图像,第六预览图像是对第六摄像头采集的第六图像添加第一美颜效果得到的,第七预览图像是处理第七摄像头采集的第七图像得到的。第六摄像头是前置摄像头,第七摄像头是后置摄像头,第七预览图像未添加美颜效果。
也就是说,模式选项3对应采用前后双镜模式或者画中画模式。
其中,第六预览图像和第七预览图像在界面d中的显示布局,可以与第一预览图像和第五预览图像在界面a中的显示布局相同。示例性的,均为分屏布局或者均为画中画布局。或者,第六预览图像和第七预览图像在界面d中的显示布局,可以与第一预览图像和第五 预览图像在界面a中的显示布局相同。示例性的,第六预览图像和第七预览图像在界面d中为分屏布局,第一预览图像和第五预览图像在界面a为画中画布局。如,界面a为图6E中的(a)示出的前后双镜模式的取景界面625,界面d为图6F中的(a)示出的画中画模式的取景界面631。又示例性的,第六预览图像和第七预览图像在界面d中为画中画布局,第一预览图像和第五预览图像在界面a为分屏布局。如,界面a为图6F中的(a)示出的画中画模式的取景界面631,界面d为图6E中的(a)示出的前后双镜模式的取景界面625。
在本实施例中,在从采用一个前置摄像头和一个后置摄像头采集图像切换到采用两个后置摄像头采集图像后,手机100可以取消美颜效果;而后,再次切回采用一个前置摄像头和一个后置摄像头采集图像后,手机100可以显示界面d。在界面d中,可以恢复为前置摄像头采集的图像添加美颜效果。另外,为了方便说明,界面d也可以称为第四界面,触发手机100从采用两个后置摄像头采集图像切换为采用一个前置摄像头和一个后置摄像头采集图像的操作(如用户对模式选项3的选择操作)可以称为第三操作。
示例性的,界面b是图2D中的(b)示出的后后双镜模式的取景界面204d,在切换为采用一个前置摄像头和一个后置摄像头采集图像后,例如,切回画中画模式后,手机100可显示图6F中的(a)示出的取景界面631。取景界面631中包括预览图像632和预览图像633,预览图像632为第六预览图像,预览图像633为第七预览图像。预览图像632添加有第一美颜效果。
综上所述,采用本实施例的方法,在录像前的取景界面或者在正在录像的取景界面中,手机100可以在从采用一个前置摄像头和一个后置摄像头采集图像,切换为采用两个后置摄像头采集图像后,智能的关闭美颜效果。从而提高美颜设置的合理性。
在上述场景1和场景2的一些实施例中,在手机100智能的关闭掉全部或者部分摄像头采集的图像的美颜效果后,手机100还可以进一步在界面b中显示提示1。该提示1用于提示已关闭美颜。
示例性的,界面a是图6D中的(b)示出的单后置模式的取景界面623。该取景界面623中的预览图像624添加有第一美颜效果,即为后置摄像头采集的图像添加了第一美颜效果。而后,手机100切换为前后双镜模式,则界面b可以是图6H示出的取景界面651。该取景界面651中包括预览图像652、预览图像653和提示654。预览图像651和预览图像652均未添加美颜效果,即关闭了第一美颜效果。提示654具体为:采用两个摄像头录像时,后置摄像头不支持美颜,用于提示已关闭美颜。即,提示654是提示1。
应注意,在进入多镜录像模式至退出多镜录像模式的一次录像过程中,手机100仅在智能设置美颜效果的过程中,第一次关闭美颜效果时,显示提示1。此后则不再显示。从而避免影响预览。
场景3,从采用一个前置摄像头和一个后置摄像头采集图像切换到采用单个摄像头采集图像。
其中,采用一个前置摄像头和一个后置摄像头采集图像的模式可以为前后双镜模式或者画中画模式。下文关于场景3的说明中,主要以前后双镜模式为例来说明,画中画模式的原理与之类似,本文中将不再赘述。
切换前是前后双镜模式,并且为前置摄像头采集的图像添加了第一美颜效果。若切换后是单前置模式,则可以继续沿用第一美颜效果。即,切换后的取景界面中,预览图像添 加有第一美颜效果。若切换后是单后置模式,则取消第一美颜效果。即,切换后的取景界面中,预览图像未添加第一美颜效果。
示例性的,切换前是前后双镜模式,并且为前置摄像头采集的图像添加了第一美颜效果,则手机100可以显示图6E中的(a)示出的前后双镜模式的取景界面625。该取景界面625中的预览图像627添加有第一美颜效果,即为前置摄像头采集的图像添加了第一美颜效果。若切换后的是单前置模式,则手机100可以显示图6D中的(a)示出单后置模式的取景界面621。该取景界面621中全屏显示的预览图像622添加有第一美颜效果,即单个前置摄像头采集的图像继续沿用第一美颜效果。若切换后的是前后置模式,则手机100可以显示图2E中的(b)示出的取景界面203e。该取景界面203e中全屏显示的预览图像204e未添加第一美颜效果。即,关闭了美颜效果。
场景4,从采用两个后置摄像头采集图像(如后后双镜模式)切换到其它多镜子模式。
采用两个摄像头采集图像的情况下,后置摄像头不支持美颜,则后后双镜模式是不支持美颜的。因此,后后双镜模式的取景界面中的预览图像不会添加有美颜效果,在此基础上,切换到其它多镜子模式后,依然不会添加有美颜效果。
关于上述场景3和场景4,需要说明如下:
场景3可能出现在场景1的S613之后,即在从采用单个摄像头采集图像切换为采用一个前置摄像头和一个后置摄像头采集图像之后,再次切换为采用单个摄像头采集图像。针对场景3出现在场景1的S613之后的情况,则可以按照S615来处理,否则,则按照场景3中的方式来处理。从而可以保证智能设置美颜效果的一致性,避免发生冲突。
类似的,场景4可能出现在场景1的S613之后,即在从采用单个摄像头采集图像切换为采用两个后置摄像头采集图像之后,再次切换为采用单个摄像头采集图像。针对场景4出现在场景1的S613之后的情况,则可以按照S615来处理。或者,场景4可能出现在场景2的S643之后,即在从采用一个前置摄像头和一个后置摄像头采集图像切换为采用两个后置摄像头采集图像之后,再次切换为采用一个前置摄像头和一个后置摄像头采集图像。针对场景4出现在场景2的S643之后的情况,则可以按照S645来处理。否则,则按照场景4中的方式来处理。从而可以保证智能设置美颜效果的一致性,避免发生冲突。
另外,由于正在录像的过程中无法通过用户手动来设置美颜级别,采用上述智能设置美颜效果的方式,可以实现录像过程中美颜效果的自动设置。
在前述关于美颜功能的说明中,针对各种场景,仅以一次或者两次切换过程来说明了手机自动设置美颜的具体实现。实际中,两次以上的切换过程中,也可以自动设置美颜。下面以一个完整的示例来说明多次切换多镜子模式的过程中,手机自动设置美颜的具体实现。
在首次切换前,手机通过第一摄像头采集图像,并以全屏显示。其中,第一摄像头是后置摄像头。即,首次切换前,手机采用的录制模式是单后置模式。在单后置模式下,手机添加第一美颜效果后,可显示第一界面,第一界面是手机录像的取景界面,第一界面中包括全屏显示的第一预览图像,第一预览图像是对第一摄像头采集的第一图像添加第一美颜效果后得到的。例如,第一界面是图6D中的(b)示出的取景界面623。
该第一界面中还包括第一控件(如模式图标或者面板展示控件),第一控件用于触发手机切换录制模式(即多镜子模式)。
在单后置模式下,手机可通过第一控件将录制模式切换为前后双镜模式或者画中画模式。具体的,手机可接收用户对第一界面中第一控件的点击操作。手机响应于点击操作,可在第一界面中显示多个选项(即多个模式选项),多个选项与多种录制模式一一对应。手机可接收用户对第一选项的选择操作,第一选项是多个选项中的一个,第一选项对应前后双镜模式或者画中画模式。手机响应于该选择操作,可显示第二界面,第二界面是手机录像的取景界面,第二界面中包括第二预览图像和第三预览图像,第二预览图像是对第二摄像头采集的第二图像处理、且未添加美颜效果后得到的,第三预览图像是对第三摄像头采集的第三图像处理、且未添加美颜效果后得到的。即,手机响应于用户对第一选项的选择操作,则可切换到前后双镜模式或者画中画模式,并且切换后的取景界面中,两个预览图像均未添加美颜效果。例如,第一界面是图6D中的(b)示出的单后置模式的取景界面623,第二界面是图6E中的(b)示出的前后双镜模式的取景界面628。
在切换为前后双镜模式或者画中画模式后,手机还可以在第二界面中显示第一提示信息,第一提示信息用于提示在使用两个摄像头采集图像的情况下,所有后置摄像头采集的图像均不支持美颜。从而可以提示用户取消滤镜的原因。
在切换为前后双镜模式或者画中画模式,并取消美颜后,手机可继续切换为单前置模式或者单后置模式。具体的,第二界面中也可以包括第一控件,在显示第二界面之后,手机可接收用户对第二界面中第一控件的点击操作。手机响应于点击操作,在第二界面中显示多个选项。手机接收用户对第二选项的选择操作,第二选项是多个选项中的一个,第二选项对应单前置模式或者单后置模式。手机响应于选择操作,显示第三界面,第三界面是手机录像的取景界面,第三界面中包括全屏显示的第四预览图像,第四预览图像是对第四摄像头采集的第四图像添加第一美颜效果后得到的。第四摄像头是后置摄像头或者前置摄像头。即,手机响应于用户对第二选项的选择操作,则可切换到单前置模式或者单后置模式,并且可恢复至首次切换前的美颜效果,即第一美颜效果。例如,第二界面是图6E中的(b)示出的前后双镜模式的取景界面628,第三界面是图6D中的(a)示出的单前置模式的取景界面621。
若第四摄像头是前置摄像头,即切换到单前置模式,并美颜效果后,手机还可以继续切换为前后双镜模式或者画中画模式。具体的,第三界面中也可以包括第一控件,在显示第三界面之后,手机可接收用户对第三界面中第一控件的点击操作。手机响应于点击操作,在第三界面中显示多个选项。手机接收用户对第三选项的选择操作,第三选项对应前后双镜模式或者画中画模式。应注意,第四选项对应的录制模式和第一选项对应的录制模式可以相同,例如,均为前后双镜模式。或者,第四选项对应的录制模式和第一选项对应的录制模式也可以相同,例如,第四选项对应的录制模式为画中画模式,第一选项对应的录制模式为前后双镜模式。手机响应于选择操作,显示第四界面,第四界面是手机录像的取景界面,第四界面中包括第五预览图像和第六预览图像。第五预览图像是对第五摄像头采集的第五图像添加第一美颜效果后得到的,第五摄像头是前置摄像头。第六预览图像是对第六摄像头采集的第五图像处理、且未添加美颜效果后得到的,第六摄像头是后置摄像头。也就是说,在从单前置模式切换为前后双镜模式或者画中画模式后,前置摄像头采集的图像可以沿用切换前的第一美颜效果,而后置摄像头采集的图像则不添加美颜效果。例如,第三界面是图6D中的(a)示出的单前置模式的取景界面621,第四界面是图6E中的(a) 示出的前后双镜模式的取景界面625。
在从单前置模式切换为前后双镜模式或者画中画模式后,手机可以继续切换到后后双镜模式。具体的,录制模式还包括后后双镜模式,第四界面中也可以包括第一控件。在显示第四界面之后,手机可接收用户对第四界面中第一控件的点击操作。手机响应于点击操作,在第四界面中显示多个选项。手机可接收用户对第四选项的选择操作,第四选项是多个选项中的一个,第四选项对应后后双镜模式。手机响应于选择操作,显示第五界面,第五界面是手机录像的取景界面,第五界面中包括第七预览图像和第八预览图像。第七预览图像是对第七摄像头采集的第七图像处理、且未添加美颜效果后得到的,第八预览图像是对第八摄像头采集的第八图像处理、且未添加美颜效果后得到的。其中,第七摄像头和第八摄像头均是后置摄像头。也就是说,在从前后双镜模式或者画中画模式切换为后后双镜模式后,两个后置摄像头采集的图像均不添加美颜效果。例如,第四界面是图6E中的(a)示出的前后双镜模式的取景界面625,第五界面是图2D中的(b)示出的后后双镜模式的取景界面204d。
或者,在切换为前后双镜模式或者画中画模式,并取消美颜,而后继续切换为单前置模式或者单后置模式,并恢复美颜效果后,手机还可继续切换到后后双镜模式。具体的,录制模式还包括后后双镜模式,第三界面中还包括第一控件。在显示第三界面之后,手机接收用户对第三界面中第一控件的点击操作。手机响应于点击操作,在第三界面中显示多个选项。手机接收用户对第四选项的选择操作,第四选项是多个选项中的一个,第四选项对应后后双镜模式。手机响应于选择操作,显示第六界面,第六界面是手机录像的取景界面,第六界面中包括第九预览图像和第十预览图像。第九预览图像是对第九摄像头采集的第九图像处理、且未添加美颜效果后得到的。第十预览图像是对第十摄像头采集的第十图像处理、且未添加美颜效果后得到的。第九摄像头和第十摄像头均是后置摄像头。也就是说,在从单前置模式或者单后置模式切换为后后双镜式后,两个后置摄像头采集的图像均不添加美颜效果。例如,第三界面是图6D中的(a)示出的单前置模式的取景界面621,图2D中的(b)示出的后后双镜模式的取景界面204d。
本申请另一些实施例提供了一种电子设备,该电子设备可以包括:上述显示屏(如触摸屏)、存储器和一个或多个处理器。该显示屏、存储器和处理器耦合。该存储器用于存储计算机程序代码,该计算机程序代码包括计算机指令。当处理器执行计算机指令时,电子设备可执行上述方法实施例中手机执行的各个功能或者步骤。该电子设备的结构可以参考图1所示的手机100的结构。
本申请实施例还提供一种芯片系统,如图7所示,该芯片系统1300包括至少一个处理器1301和至少一个接口电路1302。处理器1301和接口电路1302可通过线路互联。例如,接口电路1302可用于从其它装置(例如电子设备的存储器)接收信号。又例如,接口电路1302可用于向其它装置(例如处理器1301)发送信号。示例性的,接口电路1302可读取存储器中存储的指令,并将该指令发送给处理器1301。当所述指令被处理器1301执行时,可使得电子设备执行上述实施例中的各个步骤。当然,该芯片系统还可以包含其他分立器件,本申请实施例对此不作具体限定。
本申请实施例还提供一种计算机存储介质,该计算机存储介质包括计算机指令,当所 述计算机指令在上述电子设备上运行时,使得该电子设备执行上述方法实施例中手机执行的各个功能或者步骤。
本申请实施例还提供一种计算机程序产品,当所述计算机程序产品在计算机上运行时,使得所述计算机执行上述方法实施例中手机执行的各个功能或者步骤。
通过以上实施方式的描述,所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。
在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个装置,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是一个物理单元或多个物理单元,即可以位于一个地方,或者也可以分布到多个不同地方。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该软件产品存储在一个存储介质中,包括若干指令用以使得一个设备(可以是单片机,芯片等)或处理器(processor)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(read only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。
以上内容,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何在本申请揭露的技术范围内的变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。

Claims (22)

  1. 一种视频拍摄方法,其特征在于,应用于电子设备,包括:
    所述电子设备显示第一界面,所述第一界面是所述电子设备录像的取景界面,所述第一界面中包括全屏显示的第一预览图像,所述第一预览图像是对第一摄像头采集的第一图像添加第一美颜效果后得到的;所述第一摄像头是后置摄像头;所述第一界面中还包括第一控件,所述第一控件用于触发所述电子设备切换录制模式,所述录制模式包括:采用单个摄像头采集图像并以全屏显示的模式;采用一个前置摄像头和一个后置摄像头采集图像,并以分屏显示的模式;和,采用一个前置摄像头和一个后置摄像头采集图像,并以画中画显示的模式;
    所述电子设备接收用户对所述第一界面中所述第一控件的点击操作;
    所述电子设备响应于所述点击操作,在所述第一界面中显示多个选项,所述多个选项与多种录制模式一一对应;
    所述电子设备接收用户对第一选项的选择操作,所述第一选项是所述多个选项中的一个,所述第一选项对应采用一个前置摄像头和一个后置摄像头采集图像,并以分屏显示的模式;或者,所述第一选项对应采用一个前置摄像头和一个后置摄像头采集图像,并以画中画显示的模式;
    所述电子设备响应于所述选择操作,显示第二界面,所述第二界面是所述电子设备录像的取景界面,所述第二界面中包括第二预览图像和第三预览图像,所述第二预览图像是对所述第二摄像头采集的第二图像处理、且未添加美颜效果后得到的,所述第三预览图像是对所述第三摄像头采集的第三图像处理、且未添加美颜效果后得到的。
  2. 根据权利要求1所述的方法,其特征在于,所述第一界面和所述第二界面是所述电子设备录像前的取景界面,或者,所述第一界面和所述第二界面是所述电子设备正在录像中的取景界面。
  3. 根据权利要求1或2所述的方法,其特征在于,所述第二界面中包括第一提示信息,所述第一提示信息用于提示在使用两个摄像头采集图像的情况下,所有后置摄像头采集的图像均不支持美颜。
  4. 根据权利要求1-3中任一项所述的方法,其特征在于,所述第二界面中包括所述第一控件;
    其中,在所述显示所述第二界面之后,所述方法还包括:
    所述电子设备接收用户对所述第二界面中所述第一控件的点击操作;
    所述电子设备响应于所述点击操作,在所述第二界面中显示所述多个选项;
    所述电子设备接收用户对第二选项的选择操作,所述第二选项是所述多个选项中的一个,所述第二选项对应采用单个摄像头采集图像,并以全屏显示的模式;
    所述电子设备响应于所述选择操作,显示第三界面,所述第三界面是所述电子设备录像的取景界面,所述第三界面中包括全屏显示的第四预览图像,所述第四预览图像是对第四摄像头采集的第四图像添加所述第一美颜效果后得到的;所述第四摄像头是后置摄像头或者前置摄像头。
  5. 根据权利要求4所述的方法,其特征在于,所述第四摄像头是前置摄像头,所述第三界面中还包括第一控件;
    其中,在所述显示所述第三界面之后,所述方法还包括:
    所述电子设备接收用户对所述第三界面中所述第一控件的点击操作;
    所述电子设备响应于所述点击操作,在所述第三界面中显示所述多个选项;
    所述电子设备接收用户对所述第三选项的选择操作;所述第三选项对应采用一个前置摄像头和一个后置摄像头采集图像,并以分屏显示的模式;或者,所述第一选项对应采用一个前置摄像头和一个后置摄像头采集图像,并以画中画显示的模式;
    所述电子设备响应于所述选择操作,显示第四界面,所述第四界面是所述电子设备录像的取景界面,所述第四界面中包括第五预览图像和第六预览图像;所述第五预览图像是对第五摄像头采集的第五图像添加所述第一美颜效果后得到的,所述第五摄像头是前置摄像头;所述第六预览图像是对第六摄像头采集的第五图像处理、且未添加美颜效果后得到的,所述第六摄像头是后置摄像头。
  6. 根据权利要求5所述的方法,其特征在于,所述录制模式还包括采用两个后置摄像头采集图像,并以分屏显示的模式;所述第四界面中还包括第一控件;
    其中,在所述显示所述第四界面之后,所述方法还包括:
    所述电子设备接收用户对所述第四界面中所述第一控件的点击操作;
    所述电子设备响应于所述点击操作,在所述第四界面中显示所述多个选项;
    所述电子设备接收用户对所述第四选项的选择操作,所述第四选项是所述多个选项中的一个,所述第四选项对应采用两个后置摄像头采集图像,并以分屏显示的模式;
    所述电子设备响应于所述选择操作,显示第五界面,所述第五界面是所述电子设备录像的取景界面,所述第五界面中包括第七预览图像和第八预览图像;所述第七预览图像是对第七摄像头采集的第七图像处理、且未添加美颜效果后得到的;所述第八预览图像是对第八摄像头采集的第八图像处理、且未添加美颜效果后得到的;所述第七摄像头和所述第八摄像头均是后置摄像头。
  7. 根据权利要求5所述的方法,其特征在于,所述录制模式还包括采用两个后置摄像头采集图像,并以分屏显示的模式;所述第三界面中还包括第一控件;
    其中,在所述显示所述第三界面之后,所述方法还包括:
    所述电子设备接收用户对所述第三界面中所述第一控件的点击操作;
    所述电子设备响应于所述点击操作,在所述第三界面中显示所述多个选项;
    所述电子设备接收用户对所述第四选项的选择操作,所述第四选项是所述多个选项中的一个,所述第四选项对应采用两个后置摄像头采集图像,并以分屏显示的模式;
    所述电子设备响应于所述选择操作,显示第六界面,所述第六界面是所述电子设备录像的取景界面,所述第六界面中包括第九预览图像和第十预览图像;所述第九预览图像是对第九摄像头采集的第九图像处理、且未添加美颜效果后得到的;所述第十预览图像是对第十摄像头采集的第十图像处理、且未添加美颜效果后得到的;所述第九摄像头和所述第十摄像头均是后置摄像头。
  8. 一种视频拍摄方法,其特征在于,应用于电子设备,包括:
    所述电子设备显示第一界面,所述第一界面是所述电子设备录像的取景界面,所述第一界面中包括第一预览图像,所述第一预览图像是对第一摄像头采集的第一图像添加第一美颜效果后得到的;所述第一摄像头是前置摄像头或者后置摄像头;
    所述电子设备接收用户对所述第一界面的第一操作,所述第一操作用于触发所述电子设备切换使用第二摄像头和第三摄像头采集图像;
    所述电子设备响应于所述第一操作,显示第二界面,所述第二界面是所述电子设备录像的取景界面,所述第二界面中包括第二预览图像和第三预览图像,所述第二预览图像是处理所述第二摄像头采集的第二图像得到的,所述第三预览图像是处理所述第三摄像头采集的第二图像得到的;其中,所述第二预览图像和所述第三预览图像中对应后置摄像头的预览图像未添加美颜效果。
  9. 根据权利要求8所述的方法,其特征在于,所述第一界面和所述第二界面是所述电子设备录像前的取景界面,或者,所述第一界面和所述第二界面是所述电子设备正在录像的取景界面。
  10. 根据权利要求8或9所述的方法,其特征在于,所述第一界面全屏显示所述第一预览图像。
  11. 根据权利要求10所述的方法,其特征在于,所述第一摄像头是前置摄像头,所述第二摄像头是前置摄像头,所述第三摄像头是后置摄像头,所述第二预览图像是对所述第二图像添加所述第一美颜效果后得到的,所述第三预览图像未添加美颜效果。
  12. 根据权利要求11所述的方法,其特征在于,所述第一摄像头是后置摄像头,所述第二摄像头是前置摄像头,所述第三摄像头是后置摄像头,所述第二预览图像和所述第三预览图像均未添加美颜效果。
  13. 根据权利要求11或12所述的方法,其特征在于,所述第一界面和所述第二界面是所述电子设备录像前的取景界面;
    所述第一界面包括第一控件,所述第一界面中的第一控件用于触发所述电子设备设置所述第一图像的美颜效果;
    所述第二界面包括所述第一控件,所述第二界面中的第一控件用于触发所述电子设备设置所述第二图像的美颜效果。
  14. 根据权利要求10所述的方法,其特征在于,所述第二摄像头是后置摄像头,所述第三摄像头是后置摄像头,所述第二预览图像和所述第三预览图像均未添加美颜效果。
  15. 根据权利要求14所述的方法,其特征在于,所述第一界面和所述第二界面是所述电子设备录像前的取景界面;
    所述第一界面包括第一控件,所述第二界面不包括所述第一控件;所述第一控件用于触发所述电子设备设置美颜效果。
  16. 根据权利要求10-15中任一项所述的方法,其特征在于,在所述电子设备显示第二界面之后,所述方法还包括:
    所述电子设备接收用户对所述第二界面的第二操作,所述第二操作用于触发所述电子设备切换使用第四摄像头采集图像;
    所述电子设备响应于所述第二操作,显示第三界面,所述第三界面中全屏显示第四预览图像,所述第四预览图像是对第四摄像头采集的第四图像添加所述第一美颜效果后得到的。
  17. 根据权利要求8或9所述的方法,其特征在于,所述第一摄像头是前置摄像头,所述第二摄像头和所述第三摄像头均是后置摄像头;
    所述第一界面中还包括第五预览图像,所述第五预览图像是处理第五摄像头采集的第五图像得到的,所述第五摄像头是后置摄像头,所述第五预览图像未添加美颜效果。
  18. 根据权利要求17所述的方法,其特征在于,所述第一界面和所述第二界面是所述电子设备录像前的取景界面;
    所述第一界面中包括第一控件,所述第二界面中不包括第一控件;所述第一控件用于触发所述电子设备设置美颜效果。
  19. 根据权利要求17或18所述的方法,其特征在于,在所述电子设备显示第二界面之后,所述方法还包括:
    所述电子设备接收用户对所述第二界面的第三操作,所述第三操作用于触发所述电子设备切换使用第六摄像头和第七摄像头采集图像;所述第六摄像头是前置摄像头,所述第七摄像头是后置摄像头;
    所述电子设备响应于所述第三操作,显示第四界面,所述第四界面中包括第六预览图像和第七预览图像,所述第六预览图像是对所述第六摄像头采集的第六图像添加所述第一美颜效果得到的,所述第七预览图像是处理所述第七摄像头采集的第七图像得到的,所述第七预览图像未添加美颜效果。
  20. 根据权利要求8-19中任一项所述的方法,其特征在于,所述第二界面中包括第一提示信息,所述第一提示信息用于提示在使用两个摄像头采集图像的情况下,所有后置摄像头采集的图像均不支持美颜。
  21. 一种电子设备,其特征在于,所述电子设备包括显示屏、存储器和一个或多个处理器;所述显示屏、所述存储器和所述处理器耦合;所述存储器用于存储计算机程序代码,所述计算机程序代码包括计算机指令,当所述计算机指令被所述处理器执行时,使得所述电子设备执行如权利要求1-20中任一项所述的方法。
  22. 一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,其特征在于,当所述指令在电子设备上运行时,使得所述电子设备执行如权利要求1-20中任一项所述的方法。
PCT/CN2022/091048 2021-06-16 2022-05-05 一种视频拍摄方法及电子设备 Ceased WO2022262452A1 (zh)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN202110676709.3 2021-06-16
CN202110676709 2021-06-16
CN202111178141.9A CN115484386B (zh) 2021-06-16 2021-10-09 一种视频拍摄方法及电子设备
CN202111178141.9 2021-10-09

Publications (1)

Publication Number Publication Date
WO2022262452A1 true WO2022262452A1 (zh) 2022-12-22

Family

ID=84420764

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/091048 Ceased WO2022262452A1 (zh) 2021-06-16 2022-05-05 一种视频拍摄方法及电子设备

Country Status (2)

Country Link
CN (1) CN115484386B (zh)
WO (1) WO2022262452A1 (zh)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103945045A (zh) * 2013-01-21 2014-07-23 联想(北京)有限公司 一种数据处理的方法及装置
WO2014175616A1 (ko) * 2013-04-25 2014-10-30 주식회사 모리아타운 다중 카메라를 이용한 이미지 합성 장치 및 방법
CN105120172A (zh) * 2015-09-07 2015-12-02 青岛海信移动通信技术股份有限公司 一种移动终端前后置摄像头拍照方法及移动终端
CN110072070A (zh) * 2019-03-18 2019-07-30 华为技术有限公司 一种多路录像方法及设备
CN111107281A (zh) * 2019-12-30 2020-05-05 维沃移动通信有限公司 图像处理方法、装置、电子设备及介质
CN112532854A (zh) * 2019-09-17 2021-03-19 华为技术有限公司 一种图像处理方法与电子设备

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103905707A (zh) * 2012-12-24 2014-07-02 腾讯科技(深圳)有限公司 一种摄像装置的控制方法及装置
KR102158214B1 (ko) * 2014-05-19 2020-09-22 엘지전자 주식회사 이동 단말기 및 그것의 제어방법
CN105554364A (zh) * 2015-07-30 2016-05-04 宇龙计算机通信科技(深圳)有限公司 一种图像处理方法及终端
CN106657757B (zh) * 2015-11-04 2020-06-09 阿里巴巴集团控股有限公司 一种相机应用的图像预览方法、装置及相机应用系统
CN106326849A (zh) * 2016-08-17 2017-01-11 北京小米移动软件有限公司 美颜处理方法及装置
CN107580209B (zh) * 2017-10-24 2020-04-21 维沃移动通信有限公司 一种移动终端的拍照成像方法及装置
CN109698908A (zh) * 2018-12-29 2019-04-30 努比亚技术有限公司 智能调用前后摄像头成像的方法、终端及存储介质
CN110213478A (zh) * 2019-04-25 2019-09-06 深圳市泰衡诺科技有限公司 相机控制方法、计算机可读存储介质及终端
WO2020237545A1 (zh) * 2019-05-29 2020-12-03 深圳市欢太科技有限公司 相机启动方法及相关装置

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103945045A (zh) * 2013-01-21 2014-07-23 联想(北京)有限公司 一种数据处理的方法及装置
WO2014175616A1 (ko) * 2013-04-25 2014-10-30 주식회사 모리아타운 다중 카메라를 이용한 이미지 합성 장치 및 방법
CN105120172A (zh) * 2015-09-07 2015-12-02 青岛海信移动通信技术股份有限公司 一种移动终端前后置摄像头拍照方法及移动终端
CN110072070A (zh) * 2019-03-18 2019-07-30 华为技术有限公司 一种多路录像方法及设备
CN112532854A (zh) * 2019-09-17 2021-03-19 华为技术有限公司 一种图像处理方法与电子设备
CN111107281A (zh) * 2019-12-30 2020-05-05 维沃移动通信有限公司 图像处理方法、装置、电子设备及介质

Also Published As

Publication number Publication date
CN115484386A (zh) 2022-12-16
CN115484386B (zh) 2023-10-31

Similar Documents

Publication Publication Date Title
US11832022B2 (en) Framing method for multi-channel video recording, graphical user interface, and electronic device
EP4199499A1 (en) Image capture method, graphical user interface, and electronic device
CN115514874B (zh) 一种视频拍摄方法及电子设备
CN113727015B (zh) 一种视频拍摄方法及电子设备
CN113596316B (zh) 拍照方法及电子设备
WO2021093793A1 (zh) 一种拍摄方法及电子设备
US20230412535A1 (en) Message display method and electronic device
CN112153272B (zh) 一种图像拍摄方法与电子设备
CN115473996B (zh) 一种视频拍摄方法及电子设备
WO2023226699A9 (zh) 录像方法、装置及存储介质
CN115442509B (zh) 拍摄方法、用户界面及电子设备
WO2022262451A1 (zh) 一种视频拍摄方法及电子设备
CN115484390B (zh) 一种拍摄视频的方法及电子设备
CN115484386B (zh) 一种视频拍摄方法及电子设备
WO2023226695A1 (zh) 录像方法、装置及存储介质
CN117939287A (zh) 一种异常提示方法及电子设备
CN116368813A (zh) 一种拍摄方法和终端设备
RU2809660C1 (ru) Способ кадрирования для записи многоканального видео, графический пользовательский интерфейс и электронное устройство
JP7860305B2 (ja) 撮影方法、デバイス、電子デバイス及び記憶媒体
CN115811656B (zh) 一种拍摄视频的方法及电子设备
WO2023226694A1 (zh) 录像方法、装置及存储介质
CN120075601A (zh) 一种图片分辨率配置方法、电子设备及存储介质
WO2025011094A1 (zh) 拍照方法和电子设备
CN118377401A (zh) 窗口操作方法及电子设备
CN111835960A (zh) 图像生成方法及装置、电子设备、可读存储介质

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: 22823935

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 22823935

Country of ref document: EP

Kind code of ref document: A1