CN113873168A - Shooting method, shooting device, electronic equipment and medium - Google Patents

Shooting method, shooting device, electronic equipment and medium Download PDF

Info

Publication number
CN113873168A
CN113873168A CN202111258344.9A CN202111258344A CN113873168A CN 113873168 A CN113873168 A CN 113873168A CN 202111258344 A CN202111258344 A CN 202111258344A CN 113873168 A CN113873168 A CN 113873168A
Authority
CN
China
Prior art keywords
light effect
light source
shooting
light
effect
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.)
Pending
Application number
CN202111258344.9A
Other languages
Chinese (zh)
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202111258344.9A priority Critical patent/CN113873168A/en
Publication of CN113873168A publication Critical patent/CN113873168A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/63Control of cameras or camera modules by using electronic viewfinders
    • H04N23/631Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters
    • H04N23/632Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters for displaying or modifying preview images prior to image capturing, e.g. variety of image resolutions or capturing parameters

Abstract

The application discloses a shooting method, a shooting device, electronic equipment and a shooting medium, and belongs to the technical field of camera shooting. The method comprises the following steps: under the condition that a shooting preview interface is displayed, acquiring the light source type of a first light source in a shooting scene according to a preview image; displaying a first light effect in a first area of the preview image according to a light source type of the first light source; based on the first light effect, shooting to obtain a target file, wherein the target file comprises at least one of the following items: images, videos.

Description

Shooting method, shooting device, electronic equipment and medium
Technical Field
The present application belongs to the field of shooting technologies, and in particular, to a shooting method, an apparatus, an electronic device, and a medium.
Background
With the popularization and application of social networks, people have higher and higher requirements on the photographing effect. Generally, a mobile phone camera is provided with a plurality of portrait lighting effects, such as simulated rainbow light, portrait blurring, black-white conversion, etc., but the actual utilization rate of these lighting effects is not high, and the quality of images or videos obtained by shooting is often poor due to the influence of a light source in a shooting scene.
Disclosure of Invention
The embodiment of the application aims to provide a shooting method, a shooting device, electronic equipment and a shooting medium, which can solve the problem that the quality of a shot image or video is poor due to the influence of a light source in a shooting scene.
In a first aspect, an embodiment of the present application provides a shooting method, which includes:
under the condition that a shooting preview interface is displayed, acquiring the light source type of a first light source in a shooting scene according to a preview image;
displaying a first light effect in a first area of the preview image according to a light source type of the first light source;
based on the first light effect, shooting to obtain a target file, wherein the target file comprises at least one of the following items: images, videos.
In a second aspect, an embodiment of the present application provides a shooting device, which includes:
the acquisition module is used for acquiring the light source type of a first light source in a shooting scene under the condition of displaying a shooting preview interface;
the display module is used for displaying a first light effect in a first area of the preview image according to the light source type of the first light source;
the shooting module is used for shooting to obtain a target file based on the first light effect, and the target file comprises at least one of the following items: images, videos.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In the embodiment of the application, when a shooting preview interface is displayed, a light source type of a first light source in a shooting scene is acquired according to a preview image, and a first light effect is displayed in a first area of the preview image according to the light source type of the first light source. Namely, the method is used for pushing the first light effect matched with the light source type of the first light source in the shooting scene, so that the defect of the current environment light source effect can be effectively overcome, the quality of the shot image or video is improved, the user can be more interesting, the user does not need to manually select the light effect, and the method is more practical and convenient.
Drawings
Fig. 1 is a schematic flowchart of a shooting method according to an embodiment of the present disclosure;
fig. 2 is a first schematic interface display diagram of an electronic device according to an embodiment of the present disclosure;
fig. 3 is a schematic view of an interface display of an electronic device according to an embodiment of the present application;
fig. 4 is a third schematic view of an interface display of an electronic device according to an embodiment of the present application;
fig. 5 is a schematic view of an interface display of an electronic device according to an embodiment of the present application;
fig. 6 is a schematic view of an interface display of an electronic device according to an embodiment of the present application;
fig. 7 is a sixth schematic structural diagram of a shooting device according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of an electronic device according to another embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present disclosure.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The shooting method provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
Please refer to fig. 1, which is a flowchart illustrating a photographing method according to an embodiment of the present application. The method can be applied to electronic equipment, and the electronic equipment can be a mobile phone, a tablet computer, a notebook computer and the like. As shown in fig. 1, the method may include steps 1100-1300, which are described in detail below.
And 1100, under the condition that a shooting preview interface is displayed, acquiring the light source type of a first light source in a shooting scene according to a preview image.
The shooting preview interface is an interface displayed after the shooting application program is entered. Here, the camera application may be entered in different manners, for example, the user may click an icon of the camera application displayed on a display screen of the electronic device to enter a shooting preview interface of the camera application. For another example, the camera application may be called through a camera call interface of another application in the process of running the other application in the electronic device, so as to enter a shooting preview interface of the camera application. The preview image is an image displayed on the shooting preview interface.
The photographing scene may reflect a photographing environment in the preview image. The first light source is a light source in the current shooting environment. The first light source may have different light source types including, for example, but not limited to, sunlight, rainbow, light, and the like.
In this embodiment, under the condition that the shooting preview interface is displayed, the image capturing device of the electronic device may perform intelligent scene recognition on the preview image, and recognize the light source type of the first light source in the current shooting environment.
In example 1, after the electronic device starts to run the photographing application, a photographing preview interface may be displayed on a display screen of the electronic device, as shown in fig. 2, in a case that the photographing preview interface 201 is displayed, an image capturing device of the electronic device performs intelligent scene recognition on a preview image, and recognizes that a light source type of a first light source in a current photographing environment is sunlight 202.
Under the condition that a shooting preview interface is displayed, after the light source type of a first light source in a shooting scene is acquired according to a preview image, the following steps are carried out:
step 1200, displaying a first light effect in a first area of the preview image according to a light source type of the first light source.
The first light effect may be a light effect corresponding to the portrait. Vivid light and shadow such as sunlight, studio light, contour light and the like can be added to the portrait.
The first area of the preview image may be a partial area of the preview image or may be the entire area of the preview image, which may be determined according to the position of the first light source in the preview image. Since the first light effect is determined according to the light source type of the first light source, that is, the first light effect is associated with the light source type of the first light source, that is, in the case of displaying the shooting preview interface, the first light effect is displayed in the first area of the preview image displayed on the shooting preview interface. For example, the light source type of the first light source is sunlight, and the first light effect is sunlight effect. For another example, the light source type of the first light source is a rainbow, and the first light effect is a rainbow light effect.
In this embodiment, in this step 1200, displaying the first light effect in the first area of the preview image according to the light source type of the first light source may further include the following steps 1210 to 1230:
and 1210, displaying light effect recommendation information on the shooting preview interface according to the light source type of the first light source.
The light effect recommendation information displays first prompt information for a user to select light effects, and the user can select the first light effects related to the light source types of the first light sources through the first prompt information. Second prompt information for the user to close the light effect is further displayed in the light effect recommendation information, and the user can close the first light effect associated with the light source type of the first light source through the second prompt information.
Continuing with the above example 1, as shown in fig. 2, after the electronic device identifies the light source type of the first light source in the shooting scene, the light effect recommendation information 203 can be displayed on the shooting preview interface 201, where the light effect recommendation information 203 includes a first prompt information 2031 and a second prompt information 2032, where the first prompt information 2031 displays a prompt information "the current scene is suitable for the light effect", and the second prompt information 2032 displays a prompt information "x".
Step 1220, receiving a first input of the light effect recommendation information from a user.
The first input may be: the light effect recommendation method and device can be used for specifically determining the light effect recommendation information according to actual use requirements by clicking input of the light effect recommendation information by a user, or a voice instruction input by the user, or a specific gesture input by the user, and the light effect recommendation information is not limited by the embodiment of the application.
The specific gesture in the embodiment of the application can be any one of a single-click gesture, a sliding gesture, a dragging gesture, a pressure identification gesture, a long-press gesture, an area change gesture, a double-press gesture and a double-click gesture; the click input in the embodiment of the application can be click input, double-click input, click input of any number of times and the like, and can also be long-time press input or short-time press input.
Continuing with example 1 above, as shown in fig. 2, the user may click on the prompt message "the current scene is appropriate for light effect" displayed by the first prompt message 2031.
Step 1230, in response to the first input, displaying the first light effect in the first area of the preview image.
Continuing with the above example 1, after the user can click the prompt message "the current scene is suitable for the light effect" displayed by the first prompt message 2031, as shown in fig. 3, the sunlight effect 301 can be automatically displayed in the first area of the preview image.
According to the steps 1210 to 1230, after the electronic device acquires the light source type of the first light source in the shooting scene, the light effect recommendation information is displayed on the shooting preview interface according to the light source type of the first light source, and the user can directly open the first light effect through the light effect recommendation information, so that the interestingness of displaying the light effect is increased.
In this embodiment, after the step 1230 is executed, in response to the first input, and after the first light effect is displayed in the first area of the preview image, the shooting method according to the embodiment of the present disclosure may further include the following steps 2100 to 2200:
step 2100, receiving a second input of the light effect recommendation information from the user.
The second input may be: the light effect recommendation method and device can be used for specifically determining the light effect recommendation information according to actual use requirements by clicking input of the light effect recommendation information by a user, or a voice instruction input by the user, or a specific gesture input by the user, and the light effect recommendation information is not limited by the embodiment of the application.
The specific gesture in the embodiment of the application can be any one of a single-click gesture, a sliding gesture, a dragging gesture, a pressure identification gesture, a long-press gesture, an area change gesture, a double-press gesture and a double-click gesture; the click input in the embodiment of the application can be click input, double-click input, click input of any number of times and the like, and can also be long-time press input or short-time press input.
As shown in fig. 2, the light effect recommendation information 203 further includes a second prompt information 2032 for the user to turn off the light effect, and the user can turn off the first light effect by clicking the second prompt information 2032.
Continuing with the example 1, as shown in fig. 2, after the electronic device identifies the light source type of the first light source in the shooting scene, the shooting preview interface may display a first prompt message 2031 and a second prompt message 2032, where the first prompt message 2031 displays a prompt message "the current scene is suitable for lighting effect", the second prompt message 2032 displays a prompt message "x", and after the user clicks the prompt message "the current scene is suitable for lighting effect" displayed by the first prompt message, as shown in fig. 3, the electronic device may automatically display a sunlight effect 301 in the first area of the preview image. When the user is not satisfied with the sunlight effect, the user can click the indication message "x" displayed by the second indication message 2032.
Step 2200, in response to the second input, canceling the displaying of the first light effect.
Continuing with example 1 above, when the user clicks the prompt message "x" displayed by the second prompt message, the display of the first light effect may be cancelled.
According to the steps 2100 to 2200, after the first light effect is displayed, if the user is not satisfied with the first light effect, the first light effect can be manually turned off, and the interaction feeling between the user and the electronic device is increased.
After performing displaying a first light effect in a first area of the preview image according to a light source type of the first light source, entering:
step 1300, based on the first light effect, shooting to obtain a target file, wherein the target file comprises at least one of the following items: images, videos.
In this embodiment, after the first light effect is displayed, the electronic device may shoot a picture or a video displaying the first light effect based on the first light effect, so as to provide a stronger interest to the user.
Continuing with example 1 above, the user would typically select a capture mode at the capture preview interface, and in the case that the capture mode is a capture mode, the user can click on a capture control of the capture preview interface to capture an image. Or, when the shooting mode is the video recording mode, the user may click a shooting control of the shooting preview interface to record a video.
For example, continuing with the above example 1, after the shooting mode is the video recording mode and the user clicks the shooting control of the shooting preview interface, as shown in fig. 3, the electronic device can record a video according to the sunlight effect, and each video frame in the obtained target video is a video frame of the girl 302 with the sunlight effect 301.
It can be understood that, when the shooting mode is the video recording mode, after the light source type of the first light source in the shooting scene is acquired in the shooting preview interface, the electronic device can display the first light effect in the first area of the preview image according to the light source type of the first light source, after the shooting control is clicked, the first light effect is used in the whole video recording process, and if the light source types of other light sources in the shooting scene are acquired in the video recording process, the electronic device does not display any more, and only uses the first light effect to continue video recording.
For another example, continuing with the above example 1, after the shooting mode is the shooting mode and the user clicks the shooting control of the shooting preview interface, as shown in fig. 3, the electronic device can shoot an image according to the sunlight effect, and the obtained target image is an image with the sunlight effect, as shown in fig. 3, a girl 302 in the image has the sunlight effect 301.
According to the embodiment, when the shooting preview interface is displayed, the light source type of the first light source in the shooting scene is acquired according to the preview image, and the first light effect is displayed in the first area of the preview image according to the light source type of the first light source. Namely, the method is used for pushing the first light effect matched with the light source type of the first light source in the shooting scene, so that the defect of the current environment light source effect can be effectively overcome, the quality of the shot image or video is improved, the user can be more interesting, the user does not need to manually select the light effect, and the method is more practical and convenient.
In an embodiment, before the above step 1300 is executed, based on the first light effect, to capture the target file, the capture method of the present disclosure may further include the following steps 3100 to 3200:
at step 3100, a third input from the user is received.
The third input may be: the lighting effect setting method and device can be used for specifically determining the lighting effect setting window according to actual use requirements by clicking input of a user on the lighting effect setting window, or voice instructions input by the user, or specific gestures input by the user, and the method and device are not limited in the embodiment of the application.
The specific gesture in the embodiment of the application can be any one of a single-click gesture, a sliding gesture, a dragging gesture, a pressure identification gesture, a long-press gesture, an area change gesture, a double-press gesture and a double-click gesture; the click input in the embodiment of the application can be click input, double-click input, click input of any number of times and the like, and can also be long-time press input or short-time press input.
For example, the electronic device is provided with a light effect setting window in which a light effect start control and a light effect display time control are provided, where a user can open the light effect start control and set a light effect display time as a target display period through the light effect display time control.
The target display time period may be a light effect display time preset in the electronic device, or a light effect display time input by a user in advance. The set light effect display time may be 10s or 20s, which is not limited herein.
Step 3200, in response to the third input, obtaining a target display time period.
And under the condition that the target file is a video, the target file displays the first light effect within the target display time period.
Continuing with the above example, when the light effect starting control is in the on state, indicating that the timed light effect display is already on, the target display time period may be obtained, and after the user clicks the shooting control of the shooting preview interface to perform video recording to obtain the target video, the target file displays the first light effect within the target display time period.
According to the embodiment, before a user starts to click the camera shooting control, the lighting effect can be opened at regular time, and then in the process of video recording, the first lighting effect can be displayed according to the target display time period, so that the user can complete a section of video creation with or without the lighting effect, and the personalized requirements of the user are met.
In one embodiment, after the first light effect is displayed in the first region of the preview image according to the light source type of the first light source in the above step 1200, the photographing method of the embodiment of the present disclosure may further include steps 4100 to 4200 of:
step 4100, receiving a fourth input of the user to the shooting preview interface.
The fourth input may be: the user may specifically determine the specific gesture input by the user, which is not limited in the embodiment of the present application, according to the actual use requirement.
The specific gesture in the embodiment of the application can be any one of a single-click gesture, a sliding gesture, a dragging gesture, a pressure identification gesture, a long-press gesture, an area change gesture, a double-press gesture and a double-click gesture; the click input in the embodiment of the application can be click input, double-click input, click input of any number of times and the like, and can also be long-time press input or short-time press input.
In one example, the receiving of the fourth input of the user to the photographing preview interface in this step 4100 may further include: and receiving fourth input of the first light effect displayed in the shooting preview interface by the user.
In example 2, as shown in fig. 4, in order to avoid the first light effect 301, that is, the sunlight light effect, from blocking the girl 302 in the preview image too much, the user can control zooming in and out of the display area of the first light effect 301 by two fingers 401, and the display size of the first light effect 301 is adjusted appropriately. For example, the two fingers 401 divide and enlarge the display area of the first light effect 301, and the two fingers 401 collapse and reduce the display area of the first light effect 301.
In one example, before the fourth input of the user to the shooting preview interface is received in the step 4100, the shooting method according to the embodiment of the present disclosure may further include: and displaying a light effect adjusting control on the shooting preview interface. In this example, the step 4100 of receiving a fourth input from the user to the shooting preview interface may further include: receiving a fourth input of the light effect adjustment control by a user.
The light effect adjusting control comprises a first light effect adjusting control and a second light effect adjusting control, wherein the first light effect adjusting control is used for adjusting light effect intensity and/or light effect transparency of a first light effect. The second light effect adjusting control is used for adjusting the incident angle of the first light effect. The first and second light effect adjustment controls may both be in the form of slide bars.
Example 3, as shown in fig. 5, in the case that the displayed first light effect 301 is a sunlight effect, if the user considers that the current sunlight effect is too strong, the intensity of the sunlight effect may be adjusted in real time by the slide bar 501 on the left side to achieve a suitable sheeting effect.
In example 4, as shown in fig. 5, if the first light effect 301 displayed is the sunlight effect, if the user is not satisfied with the current incident angle of the sunlight effect, the light source incident angle may be adjusted by the slide bar 502 on the lower side, and the slide bar 0 indicates the initial position of the light source incident angle.
Step 4200, in response to said fourth input, adjusting a light effect parameter of said first light effect.
The light effect parameters comprise at least one of: light effect transparency, light effect angles and light effect areas. The light effect angle is an incident angle of light effect, and the light effect area corresponds to the first area.
Continuing with example 2 described above, as shown in fig. 4, when the user performs the operation of two-finger division in the sunlight effect displayed on the shooting preview interface, the display area in which the first light effect 301 is displayed is enlarged. When the user performs the operation of folding the two fingers in the sunlight effect displayed on the shooting preview interface, the display area for displaying the first light effect 301 is reduced.
Continuing with example 3 above, as shown in fig. 5, when the user slides the left slide bar 501 downward, the intensity of the sunlight effect is reduced, and when the user slides the left slide bar upward, the intensity of the sunlight effect is increased.
Continuing with example 4 above, as shown in fig. 5, when the user slides the slide rod 502 on the lower side to the left, the incident angle of the sunlight effect is adjusted to be large, and when the user moves the adjusting light source incident to the upper left corner to the upper right corner, the range is such that the incident angle is large.
According to the embodiment, the light effect adjusting control is provided, and the user is supported to manually adjust the displayed first light effect to obtain a satisfactory light effect, so that the shooting quality is improved, and the interestingness of light effect display can be increased.
In one embodiment, the shooting method of the embodiment of the present disclosure may further include steps 5100 to 5200 of:
in step 5100, the light source type of the second light source in the shooting scene is obtained according to the preview image.
The second light source is another light source in the current shooting environment except the first light source. The second light source may have different light source types including, for example, but not limited to, sunlight, rainbow, light, and the like.
In this embodiment, in the case of displaying the shooting preview interface, the image capturing device of the electronic device may perform intelligent scene recognition on the preview image, and recognize the light source type of the second light source in the current shooting environment.
Example 5, in a case where the shooting preview interface is displayed, the acquired light sources in the shooting scene include a first light source and a second light source, where the first light source 1 is sunlight and the second light source is a rainbow.
Step 5200, displaying a second light effect in a second area of the preview image according to a light source type of the second light source.
The second light effect can add light effect to the portrait. Vivid light and shadow such as sunlight, studio light, contour light and the like can be added to the portrait.
The second area of the preview image may be a partial area of the preview image, and may be specifically determined according to a position of the second light source in the preview image. Since the second light effect is determined according to the light source type of the second light source, that is, the second light effect is associated with the light source type of the second light source, that is, in the case of displaying the shooting preview interface, the second light effect is displayed in the second area of the preview image displayed on the shooting preview interface. As shown in fig. 6, if the light source type of the second light source is a rainbow, the second light effect 601 is a rainbow.
Here, the capturing the target file based on the first light effect in step 1300 above may further include: and shooting to obtain the target file based on the first light effect and the second light effect.
Continuing with example 5 above, as shown in fig. 6, the girl 302 and the boy 602 are displayed in the shooting preview interface, and it is recognized that the first light source and the second light source are included in the shooting scene, where the distances between the first light source and the girl 302 and the boy 602 are calculated, respectively, and the distance between the second light source and the girl 302 and the boy 602 are calculated, and the light source closest to the girl 302 is taken as the light source corresponding to the girl 302, and the light source closest to the boy 602 is taken as the light source corresponding to the boy 602. For example, the first light source may be the light source for girl 302 because of its closest proximity to girl 302. Since the second light source is closest to the boy 602, the second light source can be used as the light source of the boy 602. Meanwhile, a first light effect 301 can be added to the girl 302 in the shooting preview interface, namely, a sunlight light effect is added to the girl 302, and a second light effect 601 is added to the boy 602 in the shooting preview interface, namely, a rainbow light effect is added to the boy 602.
For example, continuing with the above example 1, after the shooting mode is the video recording mode and the user clicks the shooting control of the shooting preview interface, as shown in fig. 6, the electronic device can record video according to the first light effect 301 and the second light effect 601, and then the girl 302 in each video frame in the obtained target video has the sunlight light effect, and the boy 602 has the video frame with the rainbow light effect.
For another example, continuing with the above example 1, after the shooting mode is the photographing mode and the user clicks the photographing control of the photographing preview interface, as shown in fig. 6, the electronic device can photograph the image according to the first light effect 301 and the second light effect 601, and the obtained target image has the sunlight light effect for the girl 302 and the rainbow light effect for the boy 602.
According to the embodiment, under the condition that a plurality of objects/a plurality of light sources are displayed in the shooting preview interface, different light effects can be matched with different objects in the shooting preview, and personalized requirements of users are met.
In the shooting method provided by the embodiment of the present application, the execution subject may be a shooting device, or a control module in the shooting device for executing the shooting method. The embodiment of the present application takes an example in which a shooting device executes a shooting method, and the shooting device provided in the embodiment of the present application is described.
Corresponding to the above embodiment, referring to fig. 7, an embodiment of the present application further provides a photographing apparatus 700, including:
and the obtaining module 710 is configured to, in a case that the shooting preview interface is displayed, obtain a light source type of the first light source in the shooting scene according to the preview image.
A display module 720, configured to display a first light effect in a first area of the preview image according to a light source type of the first light source;
a shooting module 730, configured to obtain a target file by shooting based on the first light effect, where the target file includes at least one of the following items: images, videos.
In the embodiment of the application, when a shooting preview interface is displayed, a light source type of a first light source in a shooting scene is acquired according to a preview image, and a first light effect is displayed in a first area of the preview image according to the light source type of the first light source. Namely, the method is used for pushing the first light effect matched with the light source type of the first light source in the shooting scene, so that the defect of the current environment light source effect can be effectively overcome, the quality of the shot image or video is improved, the user is more interesting, the user does not need to manually select the light effect, and the method is more practical and convenient.
In an embodiment, the display module 720 is specifically configured to: displaying light effect recommendation information on the shooting preview interface according to the light source type of the first light source; receiving a first input of the light effect recommendation information by a user; in response to the first input, displaying the first light effect in a first area of the preview image.
In the embodiment of the application, after the electronic equipment acquires the light source type of the first light source in the shooting scene, the light effect recommendation information is displayed on the shooting preview interface according to the light source type of the first light source, and a user can directly open the first light effect through the light effect recommendation information so as to increase the interestingness of light effect display.
In one embodiment, the display module 720 is further configured to: receiving a second input of the light effect recommendation information by a user; canceling the display of the first light effect in response to the second input.
In the embodiment of the application, after the first light effect is displayed, if a user is not satisfied with the first light effect, the first light effect can be manually turned off, and the interaction feeling between the user and the electronic device is increased.
In one embodiment, the apparatus 700 further comprises a first receiving module (not shown). The first receiving module is configured to: a third input by the user is received.
An obtaining module 710, further configured to obtain a target display time period in response to the third input; wherein, when the object file is a video, the object file displays the first light effect within the object display time period.
In the embodiment of the application, before a user starts to click the camera shooting control, the lighting effect can be opened at regular time, and then in the process of video recording, the first lighting effect can be displayed according to the target display time period, so that the user can complete a section of video creation with and without the lighting effect, and the personalized requirements of the user are met.
In one embodiment, the apparatus 700 further comprises a second receiving module and a regulating module (neither shown in the figures).
The second receiving module is configured to: and receiving a fourth input of the shooting preview interface from the user.
The adjusting module is used for: adjusting a light effect parameter of the first light effect in response to the fourth input; wherein the light effect parameters comprise at least one of: light effect transparency, light effect angles and light effect areas.
In the embodiment of the application, the user is supported to manually adjust the displayed first light effect to obtain the satisfactory light effect, the shooting quality is improved, and the interestingness of light effect display can be increased.
In one embodiment, the display module 720 is further configured to: and displaying a light effect adjusting control on the shooting preview interface.
The second receiving module is specifically configured to: receiving a fourth input of the light effect adjustment control by a user.
In the embodiment of the application, the light effect adjusting control is provided, and a user is supported to manually adjust the displayed first light effect to obtain a satisfactory light effect, so that the shooting quality is improved, and the interestingness of light effect display can be increased.
In one embodiment, the obtaining module 710 is further configured to: and acquiring the light source type of a second light source in the shooting scene according to the preview image.
The display module 720 is further configured to: and displaying a second light effect in a second area of the preview image according to the light source type of the second light source.
A shooting module 730, further configured to: and shooting to obtain the target file based on the first light effect and the second light effect.
In the embodiment of the application, under the condition that a plurality of objects/a plurality of light sources are displayed in a shooting preview interface, different light effects can be matched with different objects in shooting preview, and personalized requirements of users are met.
The shooting device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The photographing apparatus in the embodiment of the present application may be an apparatus having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The shooting device provided by the embodiment of the application can realize each process realized by the method embodiment, and is not repeated here for avoiding repetition.
Corresponding to the above embodiments, optionally, as shown in fig. 8, an electronic device 800 is further provided in the embodiments of the present application, and includes a processor 801, a memory 802, and a program or an instruction stored in the memory 802 and capable of running on the processor 801, where the program or the instruction is executed by the processor 801 to implement each process of the above shooting method embodiments, and can achieve the same technical effect, and no further description is provided here to avoid repetition.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 9 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 900 includes, but is not limited to: a radio frequency unit 901, a network module 902, an audio output unit 903, an input unit 904, a sensor 905, a display unit 906, a user input unit 907, an interface unit 908, a memory 909, and a processor 910.
Those skilled in the art will appreciate that the electronic device 900 may further include a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 510 via a power management system, so as to implement functions of managing charging, discharging, and power consumption via the power management system. The electronic device structure shown in fig. 9 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is not repeated here.
The processor 910 is configured to, in a case that a shooting preview interface is displayed, obtain a light source type of a first light source in a shooting scene according to a preview image.
A display unit 906 configured to display a first light effect in a first region of the preview image according to a light source type of the first light source.
The processor 910 is further configured to obtain an object file by shooting based on the first light effect, where the object file includes at least one of: images, videos.
In the embodiment of the application, under the condition that a shooting preview interface is displayed, the light source type of a first light source in a shooting scene is acquired according to a preview image, and a first light effect is displayed in a first area of the preview image according to the light source type of the first light source. Namely, the method is used for pushing the first light effect matched with the light source type of the first light source in the shooting scene, so that the defect of the current environment light source effect can be effectively overcome, the quality of the shot image or video is improved, the user is more interesting, the user does not need to manually select the light effect, and the method is more practical and convenient.
In one embodiment, the display unit 906 is further configured to: and displaying light effect recommendation information on the shooting preview interface according to the light source type of the first light source.
A user input unit 907 for receiving a first input of the light effect recommendation information by a user.
A display unit 906 further configured to display the first light effect in a first area of the preview image in response to the first input.
In the embodiment of the application, after the electronic equipment acquires the light source type of the first light source in the shooting scene, the light effect recommendation information is displayed on the shooting preview interface according to the light source type of the first light source, and a user can directly open the first light effect through the light effect recommendation information so as to increase the interestingness of light effect display.
In an embodiment, the user input unit 907 is further configured to receive a second input of the light effect recommendation information from the user.
A display unit 906 further configured to cancel displaying the first light effect in response to the second input.
In the embodiment of the application, after the first light effect is displayed, if a user is not satisfied with the first light effect, the first light effect can be manually turned off, and the interaction feeling between the user and the electronic device is increased.
In one embodiment, the user input unit 907 is further configured to receive a third input from the user.
The processor 910 is further configured to obtain a target display time period in response to the third input.
Wherein, when the object file is a video, the object file displays the first light effect within the object display time period.
In this application embodiment, before the user starts to click the button of making a video recording, can set up regularly to open the light efficiency, then at the in-process of carrying out the video recording, first light efficiency can show according to setting for the light efficiency display time for the user can accomplish a section and have the light efficiency appear and take the video creation of light efficiency not, satisfies user's individualized demand.
In an embodiment, the user input unit 907 is further configured to receive a fourth input from the user to the shooting preview interface.
A processor 910 further configured to adjust a light effect parameter of the first light effect in response to the fourth input. Wherein the light effect parameters comprise at least one of: light effect transparency, light effect angles and light effect areas.
In the embodiment of the application, the user is supported to manually adjust the displayed first light effect to obtain the satisfactory light effect, the shooting quality is improved, and the interestingness of light effect display can be increased.
In an embodiment, the display unit 906 is further configured to display a light effect adjustment control on the shooting preview interface.
A user input unit 907, further configured to receive a fourth input to the light effect adjustment control from the user.
In the embodiment of the application, the light effect adjusting control is provided, and a user is supported to manually adjust the displayed first light effect to obtain a satisfactory light effect, so that the shooting quality is improved, and the interestingness of light effect display can be increased.
In one embodiment, the processor 910 is further configured to obtain a light source type of a second light source in the captured scene according to the preview image.
The display unit 906 is further configured to display a second light effect in a second area of the preview image according to a light source type of the second light source.
The processor 910 is further configured to obtain the object file by shooting based on the first light effect and the second light effect.
In the embodiment of the application, under the condition that a plurality of objects/a plurality of light sources are displayed in a shooting preview interface, different light effects can be matched with different objects in shooting preview, and personalized requirements of users are met.
It should be understood that, in the embodiment of the present application, the input Unit 904 may include a Graphics Processing Unit (GPU) 9041 and a microphone 9042, and the Graphics Processing Unit 9041 processes image data of a still picture or a video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 906 may include a display panel 9061, and the display panel 9061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 907 includes a touch panel 9071 and other input devices 9072. A touch panel 9071 also referred to as a touch screen. The touch panel 9071 may include two parts, a touch detection device and a touch controller. Other input devices 9072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. Memory 909 can be used to store software programs as well as various data including, but not limited to, application programs and operating systems. The processor 910 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It is to be appreciated that the modem processor described above may not be integrated into processor 910.
The embodiments of the present application further provide a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the video processing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement each process of the above shooting method embodiment, and can achieve the same technical effect, and the details are not repeated here to avoid repetition.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. A photographing method, characterized in that the method comprises:
under the condition that a shooting preview interface is displayed, acquiring the light source type of a first light source in a shooting scene according to a preview image;
displaying a first light effect in a first area of the preview image according to a light source type of the first light source;
based on the first light effect, shooting to obtain a target file, wherein the target file comprises at least one of the following items: images, videos.
2. The method of claim 1, wherein displaying a first light effect in a first area of the preview image according to a light source type of the first light source comprises:
displaying light effect recommendation information on the shooting preview interface according to the light source type of the first light source;
receiving a first input of the light effect recommendation information by a user;
in response to the first input, displaying the first light effect in a first area of the preview image.
3. The method of claim 2, further comprising, after the displaying the first light effect in the first region of the preview image in response to the first input:
receiving a second input of the light effect recommendation information by a user;
canceling the display of the first light effect in response to the second input.
4. The method according to claim 1, wherein before the photographing of the object file based on the first light effect, further comprising:
receiving a third input of the user;
in response to the third input, acquiring a target display time period;
wherein, when the object file is a video, the object file displays the first light effect within the object display time period.
5. The method of claim 1, further comprising, after the first light effect is displayed in the first region of the preview image:
receiving a fourth input of the shooting preview interface by the user;
adjusting a light effect parameter of the first light effect in response to the fourth input;
wherein the light effect parameters comprise at least one of: light effect transparency, light effect angles and light effect areas.
6. The method of claim 5, wherein prior to receiving a fourth input from the user to the capture preview interface, further comprising:
displaying a light effect adjusting control on the shooting preview interface;
the receiving of the fourth input of the user to the shooting preview interface includes:
receiving a fourth input of the light effect adjustment control by a user.
7. The method of claim 1, further comprising:
acquiring the light source type of a second light source in the shooting scene according to the preview image;
displaying a second light effect in a second area of the preview image according to the light source type of the second light source;
based on the first light effect, shooting to obtain a target file, including:
and shooting to obtain the target file based on the first light effect and the second light effect.
8. A camera, characterized in that the camera comprises:
the acquisition module is used for acquiring the light source type of a first light source in a shooting scene under the condition of displaying a shooting preview interface;
the display module is used for displaying a first light effect in a first area of the preview image according to the light source type of the first light source;
the shooting module is used for shooting to obtain a target file based on the first light effect, and the target file comprises at least one of the following items: images, videos.
9. An electronic device comprising a processor, a memory and a program or instructions stored on the memory and executable on the processor, which program or instructions, when executed by the processor, carry out the steps of the photographing method according to any one of claims 1-7.
10. A readable storage medium, characterized in that the readable storage medium stores thereon a program or instructions which, when executed by a processor, implement the steps of the photographing method according to any one of claims 1-7.
CN202111258344.9A 2021-10-27 2021-10-27 Shooting method, shooting device, electronic equipment and medium Pending CN113873168A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111258344.9A CN113873168A (en) 2021-10-27 2021-10-27 Shooting method, shooting device, electronic equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111258344.9A CN113873168A (en) 2021-10-27 2021-10-27 Shooting method, shooting device, electronic equipment and medium

Publications (1)

Publication Number Publication Date
CN113873168A true CN113873168A (en) 2021-12-31

Family

ID=78998562

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111258344.9A Pending CN113873168A (en) 2021-10-27 2021-10-27 Shooting method, shooting device, electronic equipment and medium

Country Status (1)

Country Link
CN (1) CN113873168A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114500833A (en) * 2022-01-13 2022-05-13 西安维沃软件技术有限公司 Shooting method and device and electronic equipment

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020118294A1 (en) * 2001-02-28 2002-08-29 Misao Takano Image processing device, image processing method, recording medium having image processing program recorded therein and program product, for processing image using information on light source corresponding to lighting at shooting
JP2007129622A (en) * 2005-11-07 2007-05-24 Konica Minolta Holdings Inc Imaging apparatus, image processor, image processing method, and image processing program
JP2014168120A (en) * 2013-02-28 2014-09-11 Nikon Corp Image processing apparatus, image processing program and electronic camera
CN104780353A (en) * 2015-03-26 2015-07-15 广东欧珀移动通信有限公司 Image processing method and device
WO2017016030A1 (en) * 2015-07-30 2017-02-02 宇龙计算机通信科技(深圳)有限公司 Image processing method and terminal
CN107993191A (en) * 2017-11-30 2018-05-04 腾讯科技(深圳)有限公司 A kind of image processing method and device
CN111932641A (en) * 2020-09-27 2020-11-13 北京达佳互联信息技术有限公司 Image processing method and device, electronic equipment and storage medium
CN112672036A (en) * 2020-12-04 2021-04-16 北京达佳互联信息技术有限公司 Shot image processing method and device and electronic equipment
CN112738420A (en) * 2020-12-29 2021-04-30 北京达佳互联信息技术有限公司 Special effect implementation method and device, electronic equipment and storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020118294A1 (en) * 2001-02-28 2002-08-29 Misao Takano Image processing device, image processing method, recording medium having image processing program recorded therein and program product, for processing image using information on light source corresponding to lighting at shooting
JP2007129622A (en) * 2005-11-07 2007-05-24 Konica Minolta Holdings Inc Imaging apparatus, image processor, image processing method, and image processing program
JP2014168120A (en) * 2013-02-28 2014-09-11 Nikon Corp Image processing apparatus, image processing program and electronic camera
CN104780353A (en) * 2015-03-26 2015-07-15 广东欧珀移动通信有限公司 Image processing method and device
WO2017016030A1 (en) * 2015-07-30 2017-02-02 宇龙计算机通信科技(深圳)有限公司 Image processing method and terminal
CN107993191A (en) * 2017-11-30 2018-05-04 腾讯科技(深圳)有限公司 A kind of image processing method and device
CN111932641A (en) * 2020-09-27 2020-11-13 北京达佳互联信息技术有限公司 Image processing method and device, electronic equipment and storage medium
CN112672036A (en) * 2020-12-04 2021-04-16 北京达佳互联信息技术有限公司 Shot image processing method and device and electronic equipment
CN112738420A (en) * 2020-12-29 2021-04-30 北京达佳互联信息技术有限公司 Special effect implementation method and device, electronic equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114500833A (en) * 2022-01-13 2022-05-13 西安维沃软件技术有限公司 Shooting method and device and electronic equipment
CN114500833B (en) * 2022-01-13 2024-02-02 西安维沃软件技术有限公司 Shooting method and device and electronic equipment

Similar Documents

Publication Publication Date Title
CN112135046B (en) Video shooting method, video shooting device and electronic equipment
CN112954210B (en) Photographing method and device, electronic equipment and medium
CN112714253B (en) Video recording method and device, electronic equipment and readable storage medium
CN112672061B (en) Video shooting method and device, electronic equipment and medium
CN113794829B (en) Shooting method and device and electronic equipment
CN113840070A (en) Shooting method, shooting device, electronic equipment and medium
CN113873151A (en) Video recording method and device and electronic equipment
CN112269522A (en) Image processing method, image processing device, electronic equipment and readable storage medium
CN112911147A (en) Display control method, display control device and electronic equipment
CN113794834A (en) Image processing method and device and electronic equipment
CN113259743A (en) Video playing method and device and electronic equipment
CN114025092A (en) Shooting control display method and device, electronic equipment and medium
CN112565610B (en) Continuous shooting method and device and electronic equipment
CN113923350A (en) Video shooting method and device, electronic equipment and readable storage medium
CN113873168A (en) Shooting method, shooting device, electronic equipment and medium
CN113852756B (en) Image acquisition method, device, equipment and storage medium
CN113852757B (en) Video processing method, device, equipment and storage medium
CN113794831B (en) Video shooting method, device, electronic equipment and medium
CN112383708B (en) Shooting method and device, electronic equipment and readable storage medium
CN112492205B (en) Image preview method and device and electronic equipment
CN113596331B (en) Shooting method, shooting device, shooting equipment and storage medium
CN115499589A (en) Shooting method, shooting device, electronic equipment and medium
CN114245017A (en) Shooting method and device and electronic equipment
CN113962840A (en) Image processing method, image processing device, electronic equipment and storage medium
CN113923392A (en) Video recording method, video recording device and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination