CN112702531B - Shooting method and device and electronic equipment - Google Patents

Shooting method and device and electronic equipment Download PDF

Info

Publication number
CN112702531B
CN112702531B CN202011591816.8A CN202011591816A CN112702531B CN 112702531 B CN112702531 B CN 112702531B CN 202011591816 A CN202011591816 A CN 202011591816A CN 112702531 B CN112702531 B CN 112702531B
Authority
CN
China
Prior art keywords
area
image
region
special effect
preview
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.)
Active
Application number
CN202011591816.8A
Other languages
Chinese (zh)
Other versions
CN112702531A (en
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 CN202011591816.8A priority Critical patent/CN112702531B/en
Publication of CN112702531A publication Critical patent/CN112702531A/en
Application granted granted Critical
Publication of CN112702531B publication Critical patent/CN112702531B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/62Control of parameters via user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/74Circuitry for compensating brightness variation in the scene by influencing the scene brightness using illuminating means
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • H04N5/2621Cameras specially adapted for the electronic generation of special effects during image pickup, e.g. digital cameras, camcorders, video cameras having integrated special effects capability

Landscapes

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

Abstract

The application discloses a shooting method, a shooting device and electronic equipment, belongs to the technical field of electronics, and can shoot to obtain personalized pictures while a screen of the electronic equipment is used for supplementing light for a shooting environment. The method comprises the following steps: under the condition that a preview area and a supplementary lighting area are included in a screen of the electronic equipment, if a preset condition is met, adding a target special effect in the supplementary lighting area; the preview area displays a preview image, and the light supplement area is used for supplementing light to a shooting environment; receiving a first input; and responding to a first input, and superposing the target special effect on the preview image to obtain a target image. The method and the device are applied to shooting scenes using the screen for light supplement.

Description

Shooting method and device and electronic equipment
Technical Field
The application belongs to the technical field of electronics, and particularly relates to a shooting method and device and electronic equipment.
Background
With the development of electronic devices, the use frequency of the photographing function in the electronic devices is higher and higher. Generally, the electronic device uses a front camera to realize a photographing function.
In the related art, when a user uses a front camera of an electronic device to shoot, if light in a current shooting environment is dark, the electronic device generally adjusts screen brightness of a screen to supplement light for the current shooting environment in order to guarantee shooting quality.
However, as the requirement of the user on the shooting effect in the dark environment is continuously increased, how to use the screen to supplement light for the shooting environment and obtain a personalized picture by shooting is a problem to be solved urgently.
Disclosure of Invention
The embodiment of the application aims to provide a shooting method, a shooting device and electronic equipment, which can shoot personalized pictures while a screen of the electronic equipment is used for supplementing light for a shooting environment.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a shooting method, where the method includes: under the condition that a screen of the electronic equipment comprises a preview area and a supplementary lighting area, if a preset condition is met, adding a target special effect in the supplementary lighting area; the preview area displays a preview image, and the light supplement area is used for supplementing light to a shooting environment; receiving a first input; and responding to the first input, and superposing the target special effect on the preview image to obtain a target image.
In a second aspect, an embodiment of the present application provides a shooting device, including: the adding module is used for adding a target special effect in the light supplement area if a preset condition is met under the condition that the screen of the electronic equipment comprises a preview area and the light supplement area; the preview area displays a preview image, and the light supplement area is used for supplementing light to a shooting environment; a receiving module for receiving a first input; and the execution module is used for responding to the first input received by the receiving module, and superposing the target special effect added by the adding module on the preview image to obtain a target image.
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 shooting method according to the first aspect.
In a fourth aspect, the present application provides a readable storage medium, on which a program or instructions are stored, and when executed by a processor, the program or instructions implement the steps of the shooting 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 shooting method according to the first aspect.
In a sixth aspect, the present application provides a computer program product stored in a non-volatile storage medium, where the program product is executed by at least one processor to implement the shooting method according to the first aspect.
In the embodiment of the application, under the condition that a screen of the electronic device includes a preview area (for displaying a preview picture) and a supplementary lighting area (for supplementing lighting to a shooting environment), if a predetermined condition is met, the electronic device adds a target special effect in the supplementary lighting area, so that the electronic device can receive a first input of a user, and superimpose the target special effect on the preview image to obtain a target image including the target special effect. Therefore, through secondary utilization of the light supplement area, a proper special effect can be added to the light supplement area according to the preference of a user, personalized pictures are provided for the user, the light supplement area of the screen can be used for supplementing light for a shooting environment, the special effect added to the light supplement area is reserved, and more pictures with personal styles and personal characteristics can be shot.
Drawings
Fig. 1 is a schematic interface diagram of a shooting method according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of a method of a shooting method according to an embodiment of the present disclosure;
fig. 3 is a second schematic interface diagram applied to a shooting method according to an embodiment of the present disclosure;
fig. 4 is a third schematic interface diagram of an application of a shooting method according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of a shooting device according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure;
fig. 7 is a hardware schematic diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described 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, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
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 is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or described herein. 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.
The shooting method provided by the embodiment of the application is applied to the electronic equipment, in other words, the shooting method can be executed by software or hardware installed in the electronic equipment.
For example, the screen of the electronic device has a light supplement function, and when the electronic device is in a dark shooting environment, the electronic device can supplement light for a shooting area in front of the screen by adjusting screen brightness of a light supplement area of the screen, such as the light supplement area 11 and the preview area 12 shown in fig. 1. Further, the light supplement area of the screen may be any area in the screen, which is not limited in the embodiment of the present application. In an example, in order to ensure that a user can view a shooting preview picture and simultaneously achieve the purpose of supplementing light for a camera, the electronic device may set an annular light supplementing region on a screen, so that the shooting preview region may be within an enclosing range of the annular light supplementing region.
According to the shooting method and the shooting device, after the light effect display is carried out in the light supplement area, the display special effect in the light supplement area is added to the shot photo, so that the light supplement can be realized, the characteristic effect of the light supplement area is kept in the photo, and the photo with personal characteristics and style can be shot when a user uses a screen to carry out light supplement shooting in a dark environment.
As shown in fig. 2, the photographing method provided in the embodiment of the present application may include steps 201 to 203 described below.
Step 201: under the condition that a screen of the electronic equipment comprises a preview area and a supplementary lighting area, if a preset condition is met, adding a target special effect in the supplementary lighting area.
In this embodiment of the application, the preview area displays a preview image, that is, the preview area is a shooting preview area and is mainly used for displaying the preview image, the supplementary lighting area is used for supplementing lighting to a shooting environment, and in general, the screen brightness of the supplementary lighting area is higher than the screen brightness of other areas in a screen of the electronic device. For example, the supplementary lighting area may be any area in the screen, and the supplementary lighting area is usually located in a boundary area of the screen of the electronic device, so that it is avoided that the user cannot carefully view the preview image due to the fact that the supplementary lighting area is too bright.
It should be noted that the supplementary lighting region and the preview region in the screen of the electronic device may be different regions in the screen of the electronic device, or a partial region in the supplementary lighting region and a partial region in the preview region in the screen of the electronic device overlap with each other (for example, the supplementary lighting region in the screen of the electronic device may be a partial region of the preview region, that is, the supplementary lighting region displays the shooting preview picture while supplementing lighting for the shooting environment).
Optionally, in this embodiment of the application, the region pattern of the supplementary lighting region may be a plurality of preset region patterns such as a circle, a heart, a triangle, and the like. Specific region style types are not limited in the embodiments of the present application.
Optionally, in an embodiment of the present application, the predetermined condition includes any one of: receiving a second input, and detecting that the image displayed in the light supplement area meets a first condition. Wherein the first condition includes any one of: the image displayed in the patch area does not include a subject, and the image displayed in the patch area is a pure color image.
Illustratively, the second input is used for triggering the shooting device to add the target special effect in the fill-in light area. Further, the second input may be: the user may perform touch input on the display screen, or perform other feasible input, which is not limited in the embodiments of the present application. It can be understood that, when the shooting device receives the second input, it indicates that the user has triggered the operation of adding the special effect in the supplementary lighting area.
Optionally, in this embodiment of the application, the target special effect may include at least one of the following: animation, pictures, filters, characters and other multimedia special effects. Further, the filter may be various types of filters, for example, a movie character type filter, a neon lamp filter, and the like. For example, the animation may be a floating feather, a jumping bubble, a cartoon animation, or the like.
It should be noted that the target special effect may be a dynamic special effect or a static special effect, which is not limited in the embodiment of the present application.
Optionally, in this embodiment of the application, when the shooting device adds the target special effect in the light supplement region, the region shape, the light supplement color, and the like of the light supplement region may be adjusted according to a user requirement or an actual scene.
For example, the user may select different region styles (e.g., multiple region styles such as a square shape, a star shape, a heart shape, and the like) for the fill-in region, and the photographing device may recommend a suitable region style for the user according to the gesture of the user, for example, when the photographing device recognizes that the user is more than a heart-shaped gesture, the region style of the fill-in region may be correspondingly changed to a heart shape.
For example, the user may select different fill light colors for the fill light regions. In an example, the photographing device can display a color selection control on a photographing preview interface of the electronic device, and a user can replace the light supplement color through the color selection control, for example, the photographing device displays a color wheel on the photographing preview interface, and the user can preview different color effects in real time by shifting the color wheel, so that the user can select the favorite color. In another example, the camera may automatically switch the fill-in color based on the current shooting environment, for example, taking a picture at a low color temperature in a coffee shop, and the camera may automatically adjust the fill-in color of the fill-in area to a warm color.
Step 202: a first input is received.
In the embodiment of the present application, the first input is a photographing input. For example, the shooting input may be a touch input (click input to a shooting control), a voice input of a user, and other feasibility inputs.
Step 203: and responding to the first input, and superposing the target special effect on the preview image to obtain a target image.
In the embodiment of the application, after receiving the first input, the shooting device acquires a preview image, and then superimposes the target special effect on the preview image to generate an image with special effects.
Optionally, in this embodiment of the application, if the preview area of the screen of the electronic device is a partial area of the screen, after the image is captured by the capturing device, the image size of the image is adjusted to an image that is consistent with the screen size of the screen of the electronic device, and then the target special effect added in the fill-in light area is added to the image. In one example, in the case that the supplementary lighting area and the preview area in the screen of the electronic device are different areas in the screen, the photographing apparatus may adjust the image size of the photographed image to an image that is consistent with the screen size of the screen of the electronic device.
For example, referring to fig. 2, taking an annular fill-in area as an example, as shown in (a) of fig. 3, in the case of displaying the preview interface 11, a user may add a special effect of a floating bubble on the fill-in area 12. Then, in a case where the user clicks the photographing control, the electronic device acquires the photographed image a, then, the electronic device adjusts the image size of the image a so that the image size of the image a is the same as the screen size of the screen, and finally, the floating bubbles in the light supplement region 12 are superimposed on the image a after the size adjustment, so as to obtain an image b as shown in (b) in fig. 3.
Optionally, in this embodiment of the application, when the electronic device is in a specific mode (e.g., a continuous shooting mode, a stop motion animation mode, a dynamic photo mode, etc.), the shooting device may acquire a plurality of images after receiving a shooting input, and at this time, the shooting device may add the same special effect to each image, but the special effect position in each image may be the same or different. For example, in the stop motion animation mode, the shooting device may prompt the user to take 2 pictures at intervals, positions of the heart-shaped special effects added in the 2 pictures may be changed randomly, and after the shooting is completed, the shooting device may make the 2 pictures into a dynamic image (e.g., GIF), and at this time, because positions of the heart-shaped special effects in the 2 pictures are different, the heart-shaped special effect in the made dynamic image may also appear as if it is moving.
Optionally, in this embodiment of the application, when the shooting device adds the target special effect to the light compensation region, the target special effect may be added in at least two ways:
a first possible implementation:
illustratively, the step 201 may include the following steps 201 a:
step 201 a: and adding a target special effect corresponding to the region style of the supplementary light region to the supplementary light region.
The region patterns of different light supplement regions correspond to different special effects, that is, the region pattern of one light supplement region corresponds to at least one special effect, or the region pattern of one light supplement region corresponds to one special effect type (for example, a circular region corresponds to a warm and lovely special effect).
In an example, the special effect shape of the special effect corresponding to the region style of each light supplement region is the same as the corresponding region style, e.g., a circular light supplement region corresponds to a circular special effect.
A second possible implementation:
illustratively, the step 201 may include the following steps 201b1 to 201b 3:
step 201b 1: and if the preset conditions are met, displaying M special effect identifications, wherein different special effect identifications correspond to different target special effects.
Step 201b 2: receiving a fourth input to a target special effect identifier of the M special effect identifiers.
Step 201b 3: and responding to the fourth input, and adding the target special effect corresponding to the target special effect identification in the light supplement area.
For example, the fourth input may be a touch input or other feasibility input of the user on the target special effect identifier. For example, a click input to the target special effect identification.
In the shooting method provided by the application, under the condition that a screen of the electronic device comprises a preview area (used for displaying a preview picture) and a light supplement area (used for supplementing light to a shooting environment), if a preset condition is met, the electronic device adds a target special effect in the light supplement area, so that the electronic device can receive a first input of a user, and superimpose the target special effect on the preview image to obtain a target image containing the target special effect. Therefore, through secondary utilization of the light supplement area, a proper special effect can be added to the light supplement area according to the preference of a user, personalized pictures are provided for the user, the light supplement area of the screen can be used for supplementing light for a shooting environment, the special effect added to the light supplement area is reserved, and more pictures with personal styles and personal characteristics can be shot.
Optionally, in this embodiment of the application, before adding the target special effect to the light supplement region in the step 201, the scheme provided in this embodiment of the application may further include the following step 204:
step 204: and if the preview image is displayed in the preview area of the screen, and the image corresponding to the target area in the preview area is detected to meet a second condition, taking the target area as the supplementary lighting area.
The preview area comprises a light supplement area; the second condition may include any one of: the image in the target area does not contain the subject, and the image in the target area is a solid image.
For example, when the electronic device is in the shooting mode, if the current shooting environment is dark, the electronic apparatus may determine the position of the supplementary lighting area in the screen according to the image content of the preview image in the preview area of the screen of the electronic device, that is, the position of the supplementary lighting area in the screen of the electronic device is determined by the preview picture in the preview area. Therefore, the shooting device can avoid the key preview picture to set a light supplement area, and effectively utilizes a blank space in a display screen during light supplement shooting, so that the light supplement area does not shield the preview picture of a shooting object while light supplement is realized.
Example 1: in a scene in which a user uses a front camera of an electronic device to take a picture, as shown in fig. 4, when a shooting device detects that a face image in a preview picture is located at a lower right corner of the preview picture and a blank region with a large area exists at an upper left corner of the preview picture, the shooting device may use the blank region at the upper left corner as a supplementary lighting region (e.g. 31 in fig. 4). It can be understood that, after the blank area at the upper left corner is used as the light supplement area, the shooting device can adjust the screen brightness of the area so as to achieve the purpose of supplementing light for the front camera.
Therefore, the shooting device adjusts the position of the light supplement area based on the preview picture, so that the light supplement effect is improved, the shooting effect is improved, and the finally obtained image effect is better.
Optionally, in this embodiment of the present application, before the step 202, the scheme provided in this embodiment of the present application may further include the following steps 205 and 206:
step 205: a third input is received.
Step 206: and responding to a third input, and adjusting the region style of the supplementary lighting region.
Wherein, the target special effect is as follows: and the special effect corresponds to the region style of the adjusted supplementary lighting region. The region patterns of different light supplement regions correspond to different special effects, and under a general condition, the special effect shape of the special effect corresponding to the region pattern of each light supplement region is the same as the corresponding region pattern. For example, a circular fill-in area corresponds to a circular special effect.
For example, the third input is used to trigger the shooting device to adjust the region style of the fill-in light region. In one example, the third input may include: a user touch input on the display screen, or other actionable input. For example, the third input may be a user's left-right sliding input on the display screen, and the camera may switch between different region styles based on the sliding direction of the sliding input.
Therefore, the user can intuitively select the special effect required by the user by adjusting the region style of the light supplement region, the efficiency of selecting the special effect is improved, and the man-machine interaction performance of the electronic equipment is also improved.
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 loading shooting method. In the embodiment of the present application, a shooting method executed by a shooting device is taken as an example, and the shooting device provided in the embodiment of the present application is described. However, in practical applications, the executing subject of the shooting method may also be other devices or apparatuses that can execute the shooting method, and this is not limited in this embodiment of the application.
An embodiment of the present application provides a shooting device, as shown in fig. 5, the device includes: an adding module 401, a receiving module 402, and an executing module 403, wherein:
an adding module 401, configured to add a target special effect in a light supplement area if a predetermined condition is met when a preview area and the light supplement area are included in a screen of an electronic device; and the light supplement area is used for supplementing light to the shooting environment. A receiving module 402, configured to receive a first input. An executing module 403, configured to, in response to the first input received by the receiving module 402, superimpose the target special effect added by the adding module on the preview image to obtain a target image.
Optionally, the predetermined condition includes any one of: receiving a second input, and detecting that the image displayed in the supplementary lighting area meets a first condition; wherein the first condition comprises any one of: the image displayed in the light compensation area does not include the subject, and the image displayed in the light compensation area is a pure color image.
Optionally, the executing module 403 is further configured to: under the condition that a preview image is displayed in a preview area of a screen, if the condition that an image corresponding to a target area in the preview area meets a second condition is detected, taking the target area as a light supplementing area; wherein the first condition includes any two of: the image in the target region does not include a subject, and the image in the target region is a solid image.
Optionally, the adding module 401 is specifically configured to: and adding a target special effect corresponding to the region style of the light supplement region in the light supplement region.
Optionally, the receiving module 402 is further configured to receive a third input; the executing module 403 is further configured to adjust a region style of the supplementary lighting region in response to the third input received by the receiving module 402; wherein, the target special effect is as follows: and the special effect corresponds to the region style of the adjusted supplementary lighting region.
In the shooting device provided by the application, under the condition that a preview area (for displaying a preview picture) and a supplementary lighting area (for supplementing lighting to a shooting environment) are included in a screen of an electronic device, if a predetermined condition is met, the shooting device adds a target special effect in the supplementary lighting area, so that the shooting device can receive a first input of a user, and superimpose the target special effect on the preview image to obtain a target image containing the target special effect. Therefore, through secondary utilization of the light supplement area, a proper special effect can be added to the light supplement area according to the preference of a user, personalized pictures are provided for the user, the light supplement area of the screen can be used for supplementing light for a shooting environment, the special effect added to the light supplement area is reserved, and more pictures with personal styles and personal characteristics can be shot.
The beneficial effects of the various implementation manners in this embodiment may specifically refer to the beneficial effects of the corresponding implementation manners in the above method embodiments, and are not described herein again to avoid repetition.
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 in the embodiment of the present application can implement each process implemented by the shooting device in the method embodiment shown in fig. 1, and is not described here again to avoid repetition.
Optionally, as shown in fig. 6, an electronic device is further provided in this embodiment of the present application, and includes a processor 501, a memory 502, and a program or an instruction stored in the memory 502 and executable on the processor 501, where the program or the instruction is executed by the processor 501 to implement each process of the foregoing shooting method embodiment, and can achieve the same technical effect, and no further description is provided here to avoid repetition.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and the non-mobile electronic devices described above.
Fig. 7 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 100 includes, but is not limited to: a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, and a processor 110.
Those skilled in the art will appreciate that the electronic device 100 may further comprise a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 110 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 7 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 omitted here.
The processor 110 is configured to, in a case that a preview area and a supplementary lighting area are included in a screen of the electronic device 100, add a target special effect to the supplementary lighting area if a predetermined condition is satisfied; and displaying a preview image in the preview area, wherein the light supplement area is used for supplementing light to a shooting environment. A user input unit 107 for receiving a first input of a user. And the processor 110 is configured to, in response to the first input received by the user input unit 107, superimpose the target special effect added by the adding module on the preview image to obtain a target image.
Optionally, the predetermined condition includes any one of: receiving a second input of the user, and detecting that the image displayed in the supplementary lighting area meets a first condition; wherein the first condition comprises any one of: the image displayed in the light compensation area does not include the subject, and the image displayed in the light compensation area is a pure color image.
Optionally, the processor 110 is further configured to: under the condition that a preview image is displayed in a preview area of a screen, if the condition that an image corresponding to a target area in the preview area meets a second condition is detected, taking the target area as a supplementary lighting area; the preview area comprises a light supplement area; the second condition may include any one of: the image in the target area does not include a subject, and the image in the target area is a solid image.
Optionally, the processor 110 is specifically configured to: and adding a target special effect corresponding to the region style of the light supplement region in the light supplement region.
Optionally, the user input unit 107 is further configured to receive a second input from the user; the processor 110 is further configured to adjust a region style of the supplementary lighting region in response to a second input received by the user input unit 107; wherein, the target special effect is as follows: and matching the adjusted region style of the light supplement region with the special effect.
In the electronic device provided by the application, under the condition that a screen of the electronic device includes a preview area (for displaying a preview picture) and a light supplement area (for supplementing light to a shooting environment), if a predetermined condition is met, the electronic device adds a target special effect in the light supplement area, so that the electronic device can receive a first input of a user, superimpose the target special effect on the preview image, and obtain a target image including the target special effect. Therefore, through secondary utilization of the light supplement area, a proper special effect can be added to the light supplement area according to the preference of a user, personalized pictures are provided for the user, the light supplement area of the screen can be used for supplementing light for a shooting environment, the special effect added to the light supplement area is reserved, and more pictures with personal styles and personal characteristics can be shot.
The beneficial effects of the various implementation manners in this embodiment may specifically refer to the beneficial effects of the corresponding implementation manners in the above method embodiments, and are not described herein again to avoid repetition.
It should be understood that, in the embodiment of the present application, the input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, and the Graphics Processing Unit 1041 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. It should be noted that the holder 111 is used for carrying and fixing the camera. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 107 includes a touch panel 1071 and other input devices 1072. The touch panel 1071 is also referred to as a touch screen. The touch panel 1071 may include two parts of a touch detection device and a touch controller. Other input devices 1072 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. The memory 109 may be used to store software programs as well as various data including, but not limited to, application programs and an operating system. The processor 110 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored, and when the program or the instruction is executed by a processor, the program or the instruction implements the processes of the foregoing shooting method embodiment, and can achieve the same technical effects, 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.
The present application provides a computer program product, which is stored in a non-volatile storage medium and executed by at least one processor to implement the processes of the method embodiment of the foregoing shooting method, and the same technical effects can be achieved, and in order to avoid repetition, details are not repeated here.
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 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, an air conditioner, 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 screen of the electronic equipment comprises a preview area and a supplementary lighting area, if a preset condition is met, adding a target special effect in the supplementary lighting area; the preview area displays a preview image, and the light supplement area is used for supplementing light to a shooting environment;
receiving a first input;
responding to the first input, and overlaying the target special effect on the preview image to obtain a target image;
the predetermined condition includes any one of: receiving a second input, and detecting that the image displayed in the supplementary lighting area meets a first condition;
wherein the first condition comprises any one of: the image displayed in the fill-in region does not include a subject, and the image displayed in the fill-in region is a pure color image.
2. The method of claim 1, wherein before adding the target special effect in the fill-in region, the method further comprises:
under the condition that the preview image is displayed in the preview area of the screen, if the image corresponding to the target area in the preview area is detected to meet a second condition, taking the target area as the light supplement area;
wherein the second condition comprises any one of: the image in the target area does not contain the photographed object, and the image in the target area is a solid image.
3. The method of claim 1, wherein the adding a target special effect in the fill-in light region comprises:
and adding a target special effect corresponding to the region style of the light supplement region in the light supplement region.
4. The method of claim 1 or 3, wherein prior to receiving the first input, the method further comprises:
receiving a third input of the user;
adjusting a region style of the supplementary lighting region in response to the third input;
wherein the target special effect is as follows: and a special effect corresponding to the adjusted region style of the light supplement region.
5. A camera, characterized in that the camera comprises:
the device comprises an adding module, a display module and a display module, wherein the adding module is used for adding a target special effect in a light supplement area if a preset condition is met under the condition that a screen of the electronic equipment comprises a preview area and the light supplement area; the preview area displays a preview image, and the light supplement area is used for supplementing light to a shooting environment;
a receiving module for receiving a first input;
the execution module is used for responding to the first input received by the receiving module, and superposing the target special effect added by the adding module on the preview image to obtain a target image;
the predetermined condition includes any one of: receiving a second input, and detecting that the image displayed in the supplementary lighting area meets a first condition;
wherein the first condition comprises any one of: the image displayed in the fill-in region does not include a subject, and the image displayed in the fill-in region is a pure color image.
6. The apparatus of claim 5, wherein the execution module is further configured to:
under the condition that the preview image is displayed in the preview area of the screen, if the image corresponding to the target area in the preview area is detected to meet a second condition, taking the target area as the light supplement area;
wherein the second condition comprises any one of: the image in the target area does not contain the photographed object, and the image in the target area is a solid image.
7. The apparatus according to claim 5, wherein the adding module is specifically configured to:
and adding a target special effect corresponding to the region style of the light supplement region in the light supplement region.
8. The apparatus of claim 5 or 7,
the receiving module is further used for receiving a second input of the user;
the execution module is further configured to adjust a region style of the supplementary lighting region in response to the second input received by the receiving module;
wherein the target special effect is as follows: and the special effect corresponds to the region style of the adjusted supplementary lighting region.
9. An electronic device comprising a processor, a memory and a program or instructions stored on the memory and executable on the processor, the program or instructions when executed by the processor implementing the steps of the photographing method according to any one of claims 1-5.
10. A readable storage medium, characterized in that it 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 to 5.
CN202011591816.8A 2020-12-29 2020-12-29 Shooting method and device and electronic equipment Active CN112702531B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011591816.8A CN112702531B (en) 2020-12-29 2020-12-29 Shooting method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011591816.8A CN112702531B (en) 2020-12-29 2020-12-29 Shooting method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN112702531A CN112702531A (en) 2021-04-23
CN112702531B true CN112702531B (en) 2022-06-17

Family

ID=75511664

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011591816.8A Active CN112702531B (en) 2020-12-29 2020-12-29 Shooting method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN112702531B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113840062B (en) * 2021-07-27 2023-08-22 深圳传音控股股份有限公司 Camera control method, mobile terminal and readable storage medium
CN117666859A (en) * 2022-08-23 2024-03-08 脸萌有限公司 Information display method, information display device, electronic equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108377336A (en) * 2018-04-26 2018-08-07 青岛海信移动通信技术股份有限公司 A kind of method and apparatus that screen light filling is taken pictures
CN111479068A (en) * 2020-04-22 2020-07-31 维沃移动通信(杭州)有限公司 Photographing method, electronic device, and computer-readable storage medium

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007013283A (en) * 2005-06-28 2007-01-18 Canon Inc Imaging apparatus with display apparatus
CN107743197B (en) * 2016-02-15 2020-05-12 Oppo广东移动通信有限公司 Screen light supplementing method and device and mobile terminal
CN105554411B (en) * 2016-02-15 2018-03-06 广东欧珀移动通信有限公司 A kind of photographic method based on screen light filling, device and mobile terminal
CN107277388A (en) * 2017-07-27 2017-10-20 青岛海信移动通信技术股份有限公司 Mobile terminal and its light compensation method
CN107566695B (en) * 2017-08-14 2019-07-02 厦门美图之家科技有限公司 A kind of light compensation method and mobile terminal
CN111480333B (en) * 2017-09-13 2021-09-24 深圳传音通讯有限公司 Light supplementing photographing method, mobile terminal and computer readable storage medium
US11200408B2 (en) * 2017-11-28 2021-12-14 Fingerprint Cards Anacatum Ip Ab Biometric imaging system and method for controlling the system
CN110113536B (en) * 2019-05-17 2021-03-02 Oppo广东移动通信有限公司 Screen light supplementing method and device, storage medium and intelligent terminal
CN111246121B (en) * 2020-02-10 2021-12-24 维沃移动通信有限公司 Shooting light supplement method, electronic equipment and medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108377336A (en) * 2018-04-26 2018-08-07 青岛海信移动通信技术股份有限公司 A kind of method and apparatus that screen light filling is taken pictures
CN111479068A (en) * 2020-04-22 2020-07-31 维沃移动通信(杭州)有限公司 Photographing method, electronic device, and computer-readable storage medium

Also Published As

Publication number Publication date
CN112702531A (en) 2021-04-23

Similar Documents

Publication Publication Date Title
CN111654635A (en) Shooting parameter adjusting method and device and electronic equipment
CN112135049B (en) Image processing method and device and electronic equipment
CN112135046B (en) Video shooting method, video shooting device and electronic equipment
CN113766129B (en) Video recording method, video recording device, electronic equipment and medium
WO2023045857A1 (en) Image processing method and apparatus, electronic device and storage medium
CN112702531B (en) Shooting method and device and electronic equipment
US20230345113A1 (en) Display control method and apparatus, electronic device, and medium
CN112532881B (en) Image processing method and device and electronic equipment
CN113126862B (en) Screen capture method and device, electronic equipment and readable storage medium
CN112637515B (en) Shooting method and device and electronic equipment
CN112911147B (en) Display control method, display control device and electronic equipment
CN112399237A (en) Screen display control method and device and electronic equipment
WO2023083089A1 (en) Photographing control display method and apparatus, and electronic device and medium
CN112312019A (en) Light supplementing method and device and electronic equipment
CN112437232A (en) Shooting method, shooting device, electronic equipment and readable storage medium
CN112449110B (en) Image processing method and device and electronic equipment
CN113379866A (en) Wallpaper setting method and device
CN112419218A (en) Image processing method and device and electronic equipment
CN112541955A (en) Image processing method, device and equipment
CN111968605A (en) Exposure adjusting method and device
CN113794831B (en) Video shooting method, device, electronic equipment and medium
CN114143461B (en) Shooting method and device and electronic equipment
CN111654623B (en) Photographing method and device and electronic equipment
CN113962840A (en) Image processing method, image processing device, electronic equipment and storage medium
CN113961113A (en) Image processing method and device, electronic equipment and readable storage medium

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
GR01 Patent grant
GR01 Patent grant