CN111031221A - Shooting method and electronic equipment - Google Patents

Shooting method and electronic equipment Download PDF

Info

Publication number
CN111031221A
CN111031221A CN201911377998.6A CN201911377998A CN111031221A CN 111031221 A CN111031221 A CN 111031221A CN 201911377998 A CN201911377998 A CN 201911377998A CN 111031221 A CN111031221 A CN 111031221A
Authority
CN
China
Prior art keywords
input
light
electronic device
image
rotary camera
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.)
Granted
Application number
CN201911377998.6A
Other languages
Chinese (zh)
Other versions
CN111031221B (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 CN201911377998.6A priority Critical patent/CN111031221B/en
Publication of CN111031221A publication Critical patent/CN111031221A/en
Application granted granted Critical
Publication of CN111031221B publication Critical patent/CN111031221B/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/56Cameras or camera modules comprising electronic image sensors; Control thereof provided with illuminating means
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/50Constructional details
    • H04N23/53Constructional details of electronic viewfinders, e.g. rotatable or detachable
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/57Mechanical or electrical details of cameras or camera modules specially adapted for being embedded in other devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/62Control of parameters via user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/695Control of camera direction for changing a field of view, e.g. pan, tilt or based on tracking of objects

Landscapes

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

Abstract

The embodiment of the invention provides a shooting method and electronic equipment, relates to the technical field of communication, and aims to solve the problem that the shooting effect of the electronic equipment is poor. The method is applied to electronic equipment comprising a body and a rotary camera, wherein a light supplement lamp is arranged on the body, and the specific method comprises the following steps: receiving a first input of rotating the electronic device by a target angle in a first direction under the condition of displaying a first preview image acquired by a rotary camera; responding to the first input, controlling the rotary camera to rotate to a target angle in a second direction, and displaying a second preview image acquired by the rotary camera, wherein the second direction is opposite to the first direction; in the case of first object fill lighting using a fill lighting lamp, a first image including the first object is photographed. The scheme is applied to a scene where the light supplement lamp is used for shooting images.

Description

Shooting method and electronic equipment
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a shooting method and electronic equipment.
Background
With the development of mobile communication technology, more and more electronic devices have a shooting function, and as the requirements of users on shooting effects are higher and higher, the shooting function of the electronic devices is also continuously improved.
Generally, in the environment that light is darker, for satisfying the requirement of user to the shooting effect, the user can make electronic equipment show and shoot the preview picture when using electronic equipment to shoot to open the light filling lamp function, later, the user can input the shooting controlling part, under the condition of receiving the user to the input of shooting controlling part, electronic equipment can open the light filling lamp and carry out the light filling to the shooting object and shoot, so that the shooting effect of shooting object is more clear.
However, since the power of the fill-in light is limited, the light beam of the fill-in light is mostly concentrated in a partial area of the photographed preview picture, for example, the central area of the photographed preview picture, so that the fill-in light effect of the partial area of the photographed picture is better, and the photographing effect of another partial area of the photographed picture is poorer. Therefore, if the shooting main body is not located in the area irradiated by the light beam of the light supplement lamp in a concentrated mode, the shot shooting main body is not clear enough, and therefore the shooting effect of the electronic equipment is poor.
Disclosure of Invention
The embodiment of the invention provides a shooting method and electronic equipment, and aims to solve the problem that the shooting effect of the electronic equipment is poor.
In order to solve the above technical problem, the embodiment of the present invention is implemented as follows:
in a first aspect, an embodiment of the present invention provides a shooting method. The method is applied to the electronic equipment, the electronic equipment comprises a body and a rotary camera, and a light supplement lamp is arranged on the body. The method can comprise the following steps: receiving a first input of rotating the electronic device by a target angle in a first direction under the condition of displaying a first preview image acquired by a rotary camera; responding to the first input, controlling the rotary camera to rotate to a target angle in a second direction, and displaying a second preview image acquired by the rotary camera, wherein the second direction is opposite to the first direction; in the case of supplementing light to the first object using a light supplementing lamp, a first image including the first object is photographed.
In a second aspect, an embodiment of the present invention provides an electronic device. This electronic equipment includes body and rotation type camera, is provided with the light filling lamp on the body. The electronic device comprises a receiving module, a processing module and a display module. The receiving module is used for receiving a first input of rotating the electronic equipment to a first direction by a target angle under the condition that the display module displays a first preview image collected by the rotary camera; the processing module is used for responding to the first input and controlling the rotary camera to rotate the target angle to the second direction; the display module is used for responding to the first input received by the receiving module and displaying a second preview image acquired by the rotary camera, and the second direction is opposite to the first direction; the processing module is further used for shooting a first image including the first object under the condition that the first object is supplemented with light by the light supplementing lamp.
In a third aspect, an embodiment of the present invention provides an electronic device, which includes a processor, a memory, and a computer program stored on the memory and operable on the processor, and when executed by the processor, the electronic device implements the steps of the shooting method in the first aspect.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the steps of the shooting method as in the first aspect described above.
In the embodiment of the invention, under the condition of displaying the first preview image collected by the rotary camera, the electronic equipment can receive a first input of rotating the electronic equipment to a first direction by a target angle; responding to the first input, controlling the rotary camera to rotate to a target angle in a second direction, and displaying a second preview image acquired by the rotary camera, wherein the second direction is opposite to the first direction; in the case of supplementing light to the first object using a light supplementing lamp, a first image including the first object is photographed. Through the scheme, when a user wants to fill light in the first object and the first object is in the range with weak illuminating light of the light filling lamp, the user can rotate the electronic equipment of the electronic equipment in the direction where the first object is located, so that the electronic equipment can control the rotary camera to rotate by the same angle in the direction opposite to the direction of the first object, and the electronic equipment can keep displaying the same view range as the view range before rotation. Therefore, under the condition that the light beams of the light supplement lamp intensively irradiate the first object and the view finding range is kept unchanged, the electronic equipment can control the light supplement lamp to supplement light for the first object and shoot a first image comprising the first object. Therefore, even if the first object is in the range with weak illuminating light of the light supplement lamp, the electronic equipment can supplement light for the first object on the basis of not changing the view finding range, and therefore the shooting effect of the image is improved.
Drawings
Fig. 1 is a schematic diagram of an architecture of an android operating system according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a shooting method according to an embodiment of the present invention;
fig. 3 is a schematic diagram of controlling rotation of a rotary camera according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a light supplement area according to an embodiment of the present invention;
fig. 5 is a second schematic diagram of a photographing method according to an embodiment of the invention;
fig. 6 is a third schematic diagram of a shooting method according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of a composite image provided by an embodiment of the invention;
FIG. 8 is a fourth schematic diagram of a photographing method according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
fig. 10 is a hardware schematic diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the described embodiments without making any inventive step, fall within the scope of protection of the present application.
The term "and/or" herein is an association relationship describing an associated object, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. The symbol "/" herein denotes a relationship in which the associated object is or, for example, a/B denotes a or B.
The terms "first" and "second," etc. herein are used to distinguish between different objects and are not used to describe a particular order of objects. For example, the first input and the second input, etc. are for distinguishing different inputs, rather than for describing a particular order of inputs.
In the embodiments of the present invention, words such as "exemplary" or "for example" are used to mean serving as examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "e.g.," an embodiment of the present invention is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
The following first explains some of the nouns or terms referred to in the claims and the specification of the present invention.
A light supplement lamp: also called a flash, is a photographic accessory that emits intense light in a short period of time. Generally, the light supplement lamp is a photographic accessory with photographic sensitivity, and can be used for instantly illuminating a shot object under the condition of dark light, and also can be used for locally supplementing light to the shot object under the condition of bright light.
Rotation type camera: the camera is mounted on the electronic device and can rotate relative to the electronic device.
In the embodiment of the invention, under the condition of displaying the first preview image collected by the rotary camera, the electronic equipment can receive a first input of rotating the electronic equipment to a first direction by a target angle; responding to the first input, controlling the rotary camera to rotate to a target angle in a second direction, and displaying a second preview image acquired by the rotary camera, wherein the second direction is opposite to the first direction; in the case of supplementing light to the first object using a light supplementing lamp, a first image including the first object is photographed. Through the scheme, when a user wants to fill light in the first object and the first object is in the range with weak illuminating light of the light filling lamp, the user can rotate the electronic equipment of the electronic equipment in the direction where the first object is located, so that the electronic equipment can control the rotary camera to rotate by the same angle in the direction opposite to the direction of the first object, and the electronic equipment can keep displaying the same view range as the view range before rotation. Therefore, under the condition that the light beams of the light supplement lamp intensively irradiate the first object and the view finding range is kept unchanged, the electronic equipment can control the light supplement lamp to supplement light for the first object and shoot a first image comprising the first object. Therefore, even if the first object is in the range with weak illuminating light of the light supplement lamp, the electronic equipment can supplement light for the first object on the basis of not changing the view finding range, and therefore the shooting effect of the image is improved.
The electronic device in the embodiment of the present invention may be an electronic device 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 invention are not limited in particular.
The following describes a software environment applied to the shooting method provided by the embodiment of the present invention, taking an android operating system as an example.
Fig. 1 is a schematic diagram of an architecture of a possible android operating system according to an embodiment of the present invention. In fig. 1, the architecture of the android operating system includes 4 layers, which are respectively: an application layer, an application framework layer, a system runtime layer, and a kernel layer (specifically, a Linux kernel layer).
The application program layer comprises various application programs (including system application programs and third-party application programs) in an android operating system. For example, the electronic device in the embodiment of the present invention may specifically capture a first image including a first object through a capture application. The shooting application program can be a shooting application program in a system of the electronic equipment, such as a camera application program; alternatively, the shooting application may be a third-party application, such as a american type application, a video-enabled type application, or the like; alternatively, the photographing application may be a sub-program in a third party application.
The application framework layer is a framework of the application, and a developer can develop some applications based on the application framework layer under the condition of complying with the development principle of the framework of the application.
In general, an application program may include two parts, one part refers to content displayed on a screen of an electronic device, for example, the electronic device displays a first preview image and a second preview image captured by a rotary camera; the other part refers to a service (service) running in the background of the electronic device, and is used for detecting an input of a user for an application program and performing a corresponding action in response to the input, for example, if a first input of the user is detected, the rotary camera may be controlled to rotate by a target angle in a second direction in response to the first input.
The system runtime layer includes libraries (also called system libraries) and android operating system runtime environments. The library mainly provides various resources required by the android operating system. The android operating system running environment is used for providing a software environment for the android operating system.
The kernel layer is an operating system layer of an android operating system and belongs to the bottommost layer of an android operating system software layer. The kernel layer provides kernel system services and hardware-related drivers for the android operating system based on the Linux kernel.
Taking an android operating system as an example, in the embodiment of the present invention, a developer may develop a software program for implementing the shooting method provided in the embodiment of the present invention based on the system architecture of the android operating system shown in fig. 1, so that the shooting method may run based on the android operating system shown in fig. 1. That is, the processor or the electronic device may implement the shooting method provided by the embodiment of the present invention by running the software program in the android operating system.
The electronic device in the embodiment of the invention can be a terminal device. The terminal device may be a mobile terminal device or a non-mobile terminal device. For example, the mobile terminal device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted terminal, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile terminal device may be a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiment of the present invention is not particularly limited.
The executing subject of the shooting method provided by the embodiment of the present invention may be the electronic device, or may also be a functional module and/or a functional entity capable of implementing the shooting method in the electronic device, which may be determined specifically according to actual use requirements, and the embodiment of the present invention is not limited. The following takes an electronic device as an example to exemplarily describe the shooting method provided by the embodiment of the invention.
Generally, in the darker shooting environment of light, when the user used electronic equipment to shoot, for satisfying the user to the requirement of shooting effect, the user can trigger electronic equipment and open the light filling lamp function of shooting application to make the light that can adopt the light filling lamp shine the shooting object, carry out the light filling to the shooting object promptly and shoot.
The following describes an exemplary photographing method and an exemplary electronic device according to an embodiment of the present invention with reference to the drawings.
As shown in fig. 2, an embodiment of the present invention provides a photographing method. The method can be applied to electronic equipment, the electronic equipment comprises a body and a rotary camera, and a light supplement lamp is arranged on the body. The method may include S201 to S203 described below.
S201, under the condition that a first preview image collected through a rotary camera is displayed, the electronic equipment receives a first input of rotating the electronic equipment to a first direction by a target angle.
In an embodiment of the present invention, the first direction may be a direction in which the first object in the first preview image is located. Specifically, the electronic device may call the rotary camera to acquire a first preview image of the viewing range through the shooting application program, and display the first preview image. If the first object in the first preview image is located in an area with poor supplementary lighting effect in the view range, for example, in an edge area of the view range, the user may rotate the electronic device by a target angle in the first direction, so that the electronic device may receive a first input that the user rotates the electronic device by the target angle in the first direction.
Optionally, the first input refers to an input of a user to rotate the electronic device in a first direction, and the first direction may be any direction around the center of the electronic device.
Optionally, the electronic device may include multiple light supplement modes, for example, a common light supplement mode, a first light supplement mode, and a second light supplement mode. Under the ordinary light filling mode, the electronic equipment can carry out light filling shooting to the shooting object that is located central zone in the scope of finding a view. Under first light filling mode, electronic equipment can adopt the light filling lamp to carry out the light filling and shoot to a shooting object that is located arbitrary region in the rotary camera range of framing according to user's first input. Under the second light filling mode, the orientation of the light filling lamp can be changed for many times by the electronic equipment according to the first input of the user, so that light filling shooting is carried out on a plurality of shooting objects in the view finding range of the rotary camera by the light filling lamp, and the plurality of shooting objects can be located in different areas in the view finding range.
Optionally, the interface of the shooting application program may include a first control, and the first control may be used to trigger the electronic device to start different fill-in light modes. Under the condition that a first preview image acquired through the rotary camera is displayed, a user can perform first supplementary lighting mode starting input on a first control in an interface of the shooting application program, so that the electronic equipment responds to the first supplementary lighting mode starting input and starts a first supplementary lighting mode; then, the user may rotate the electronic device by the target angle to the first direction, so that the electronic device may receive a first input to rotate the electronic device by the target angle to the first direction.
In the above-described configuration, the display of the first preview image captured by the rotary camera is an image including a subject captured by directing the rotary camera to the subject within the viewing range.
Optionally, after displaying the first preview image captured by the rotary camera, before the electronic device receives a first input to rotate the electronic device by a target angle in the first direction, the electronic device may further turn on a viewing range lock function in response to the received input. The view range locking function is used for controlling the rotary camera to rotate by the same angle in the direction opposite to the rotation direction of the electronic equipment under the condition that the electronic equipment rotates so as to lock the view range acquired by the rotary camera before the electronic equipment rotates, namely controlling the rotary camera to always face a shooting object in the view range.
Specifically, under the condition that a first preview image is displayed on a shooting preview interface of the shooting application program, if the first preview image meets the user's mind, the user can perform a third input to the electronic device, and the electronic device can receive the third input and open a viewing range locking function in response to the third input. For example, in a case where the viewing range lock function is in the on state, the electronic apparatus may detect a rotation direction and a rotation angle of the electronic apparatus main body by a gyroscope located inside the electronic apparatus, and thereafter, the electronic apparatus may control the rotary camera to rotate by the same angle as the rotation angle in a direction opposite to the rotation direction of the electronic apparatus, thereby always directing the rotary camera toward the viewing range.
In the case where the electronic device controls the rotary camera to maintain the orientation of the rotary camera in the viewing range that matches the user's mind, the subject in the viewing range may or may not change. For example, when the scene in the viewing range is a relatively static object such as a building, an article, and the like, the scene in the viewing range may not be changed; when the scenery within the viewing range includes uncontrollable moving objects, such as birds, sunlight, fallen leaves, etc., the scenery within the viewing range may change. It is to be understood that locking the viewing range in the embodiment of the present invention in conformity with the user's mind means keeping the viewing range as a whole unchanged.
Optionally, after the electronic device starts the view range locking function, the electronic device may further close the view range locking function, and when the electronic device closes the view range locking function, the rotary camera and the electronic device may be kept relatively stationary, that is, in a process that a user rotates the electronic device, the rotary camera may not rotate in a direction opposite to a rotation direction of the electronic device. The electronic apparatus can turn off the viewing range lock function in the following two ways.
Mode 1: the electronic device may receive a fourth input from the user and turn off the viewing range lock function in response to the fourth input.
Optionally, the third input and the fourth input may be touch input, voice input, gesture input, or the like. For example, the touch input may be a click input or a long press input of the user on a second control displayed by the electronic device, and so on. The second control can be used for triggering the electronic equipment to turn on and turn off the view range locking function.
Mode 2: after the viewing range is locked and an image of the viewing range is captured, the electronic device may automatically turn off the viewing range locking function.
S202, the electronic equipment responds to the first input, controls the rotary camera to rotate to a target angle in a second direction, and displays a second preview image acquired through the rotary camera.
Wherein the second direction is opposite to the first direction. Since the angle of rotation of the rotary camera in the second direction is the same as the angle of rotation of the electronic device in the first direction by the user, the viewing range of the second preview image is the same as that of the first preview image.
Optionally, the controlling the rotary camera to rotate the target angle to the second direction specifically may include: in the process that a user rotates the electronic equipment to a first direction by a target angle, the electronic equipment can respond to a first input and control the rotary camera to rotate by the target angle to a second direction, namely, in the process of rotating the electronic equipment, the rotary camera rotates, and therefore the view range of a preview image acquired by the rotary camera is always the same as that of the first preview image; or, after the user rotates the electronic device to the first direction by the first angle, the electronic device may control the rotary camera to rotate to the second direction by the first angle in response to the first input, and the electronic device may control the rotary camera to rotate to the second direction by the first angle in response to the first input every time the user rotates the electronic device to the first angle in the first direction, that is, the rotation of the rotary camera is performed after the rotation of the electronic device, where the first angle may be a minimum unit of the rotation angle.
It should be noted that, in the embodiment of the present invention, when the user rotates the electronic device in the first direction, the rotary camera may rotate in a second direction opposite to the first direction, and since the light supplement lamp is disposed on the electronic device body, the light supplement lamp may rotate along with the rotation of the electronic device, that is, the rotary camera and the electronic device generate relative motion, and the light supplement lamp and the electronic device are kept relatively stationary.
As shown in fig. 3 (a), the fill-in light 36 may be located on a first surface of the electronic device body, for example, the first surface may be a surface opposite to a screen of the electronic device, or a surface on which the screen of the electronic device is located. Because the fill-in light 36 can be located on the body of the electronic device, when the user rotates the electronic device, the orientation of the fill-in light 36 changes along with the rotation angle of the electronic device. The rotary camera 32 can rotate inside the electronic device or can extend from the inside of the electronic device to the outside of the electronic device. Whether the rotary camera 32 is located inside the electronic apparatus or outside the electronic apparatus, the electronic apparatus can control the rotation angle of the rotary camera 32 through a driving structure (e.g., a stepping motor).
In addition, the displaying of the second preview image captured by the rotary camera means to keep the rotary camera facing the subject within the viewing range.
Optionally, the angle of the rotation of the rotary camera to the second direction may be the same as the angle of the rotation of the electronic device to the first direction by the user, and may also be within a preset error range. In this way, when the subject in the finder range is used as the reference object, the rotary camera is relatively stationary, and the rotary camera can be held facing the subject in the finder range.
For example, as shown in (b) of fig. 3, the rotating camera protrudes from the inside of the electronic device to the outside of the electronic device, and the preset error range is 0.5 degrees. When the electronic device is in the first fill-in mode, the user may rotate the electronic device by 45 degrees toward the first direction 31. After the electronic device receives a first input to rotate the electronic device 45 degrees in a first direction 31, the electronic device may control the rotary camera 32 to rotate by any one angle between 44.5 degrees and 45.5 degrees in a second direction 33 opposite to the first direction 31 in response to the first input, so that the second preview image 34 is substantially the same as the viewing range of the first preview image 35.
S203, under the condition that the first object is supplemented with light by the light supplementing lamp, the electronic equipment shoots a first image comprising the first object.
Optionally, after the electronic device displays the second preview image acquired by the rotary camera, the light supplement lamp may be turned on before the first image is shot; the light supplement lamp can also be turned on before the first input is performed, and the light supplement lamp is kept normally on until the first image is shot.
Under the condition that the light supplement lamp faces the first object, the electronic device can supplement light to the first object by the light supplement lamp.
Illustratively, the first object is the person in fig. 4. As shown in fig. 4, after displaying the first preview image captured by the rotary camera, a fill light on the electronic device may be directed toward an area 41 between a big tree and a character before the electronic device receives the first input; after the electronic device receives the first input, the fill-in light on the electronic device may face the area 42 where the person is located, so that the electronic device may fill in the area 42 where the person is located by using the fill-in light on the basis of keeping the viewing range unchanged.
Alternatively, after capturing a first image including a first object, the electronic device may display and automatically store the first image in one manner; alternatively, the electronic device may display a first image and store the first image after receiving an input from a user; alternatively, the electronic device may display the first image and delete the first image after receiving another input from the user.
The embodiment of the invention provides a shooting method, when a user wants to fill light in a first object and the first object is in a range with weak illuminating light of a light filling lamp, the user can rotate an electronic device in the direction of the first object, so that the electronic device can control a rotary camera to rotate by the same angle in the direction opposite to the direction of the first object, and the electronic device can keep displaying a view range which is the same as the view range before rotation. Therefore, under the condition that the light beams of the light supplement lamp intensively irradiate the first object and the view finding range is kept unchanged, the electronic equipment can control the light supplement lamp to supplement light for the first object and shoot a first image comprising the first object. Therefore, even if the first object is in the range with weak illuminating light of the light supplement lamp, the electronic equipment can supplement light for the first object on the basis of not changing the view finding range, and therefore the shooting effect of the image is improved.
Optionally, the electronic device uses a fill-in light lamp to fill in light for the first object, and shoots the first image including the first object, which may be implemented by the following first scheme, second scheme, or third scheme, respectively.
Scheme one
Under the condition that the electronic equipment responds to the first input and controls the rotary camera to rotate by the target angle in a second direction opposite to the first direction, if the user is satisfied with the second preview image, the user can trigger the electronic equipment to carry out supplementary lighting shooting on the first object through the second input.
For example, referring to fig. 2, as shown in fig. 5, after the above S202 and before the above S203, the shooting method provided by the embodiment of the present invention may further include the following S204, and the above S203 may be specifically implemented by the following S203 a.
And S204, the electronic equipment receives a second input.
Optionally, the second input may be a physical key input, a touch input, a voice input, a gesture input, or the like. For example, the physical key input may be a press input of the Home key by the user; the touch input may be a click input or a long-press input of a third control in an interface of the shooting application by a user, and the third control may be used to trigger the electronic device to shoot an image.
S203a, responding to the second input, the electronic device supplements light to the first object by using a light supplement lamp, and shoots a first image including the first object.
The second input may be used to trigger the electronic device to control the rotary camera to capture an image. Specifically, in one mode, the electronic device may turn on the light supplement lamp in response to the received second input, supplement light to the first object using the light supplement lamp, and capture a first image including the first object. In another mode, when the fill-in light is turned on, the electronic device may fill in light for the first object by using the fill-in light in response to the received second input, and capture a first image including the first object.
In the embodiment of the invention, under the condition that the electronic equipment displays the second preview image with the same view finding range as the first preview image, if the user is satisfied with the second preview image, under the condition that the fill-in light lamp faces the first object in the view finding range, the user can trigger the electronic equipment to fill in light for the first object through the second input, and shoot the first image comprising the first object, so that the shooting effect of the image is improved.
Scheme two
After receiving a first input that a user confirms to control the rotary camera to shoot an image and rotate the electronic device to a first direction by a target angle, the electronic device may respectively fill in light for a plurality of first objects according to a preset time interval in response to the first input, and shoot an image including the filled-in first objects. After obtaining a plurality of images of a preset number, the electronic device may synthesize a first image with uniform light supplement according to the plurality of images.
Illustratively, referring to fig. 2, as shown in fig. 6, in the photographing method provided by the embodiment of the present invention, the above S203 may be specifically implemented by S203b to S203c described below.
S203b, responding to the first input, the electronic device adopts the light supplement lamp to supplement light to the ith first object according to a preset time interval, and shoots the ith image comprising the ith first object.
Wherein the first input may include: and confirming a sub-input for controlling the rotary camera to shoot the image and a sub-input for rotating the electronic equipment to a target angle in the first direction.
Optionally, the user may first perform a sub-input for confirming and controlling the rotary camera to capture an image on the electronic device, and then the user may perform a sub-input for rotating the electronic device by a target angle in the first direction on the electronic device, so that the electronic device captures an ith image including an ith first object at preset time intervals.
Optionally, the sub-input for rotating the electronic device to the first direction by the target angle may be a sub-input for rotating the electronic device to the first direction at a constant speed by the user. The electronic equipment can carry out even light filling to whole viewing range promptly to make the light filling effect of first image keep unanimous.
After a first preview image acquired through the rotary camera is displayed, before the electronic device receives a first input of rotating the electronic device to a first direction by a target angle, a user can perform a second supplementary lighting mode starting input on a first control in an interface of the shooting application program, so that the electronic device responds to the second supplementary lighting mode starting input and starts a second supplementary lighting mode. In the second light supplement mode, the electronic device may respond to the first input, and in a case where the light supplement lamp faces the ith first object, use the light supplement lamp to supplement light to the ith first object, and shoot an ith image including the ith first object at a preset time interval.
Illustratively, taking i as 1 and 2, respectively, a plurality of first objects may be included in the viewing range. The electronic equipment can respond to a first input, fill light for a 1 st first object 1 in a view range by adopting a light filling lamp at a first moment, and shoot a 1 st image comprising the 1 st first object; and supplementing light to a 2 nd first object in a view range by using a light supplementing lamp at a second moment, and shooting a 2 nd image comprising the 2 nd first object, wherein the time interval between the first moment and the second moment is a preset time interval.
And S203c, when the number of the shot images reaches the preset number, the electronic equipment synthesizes all the shot images into the first image.
In the embodiment of the present invention, the number of continuous shots of the electronic device may be the same as the number of images captured by the electronic device, and therefore, the preset number is the number of continuous shots of the electronic device.
Optionally, the preset number may be determined by a user, for example, the user may input that the number of continuous shots of the electronic device is 5 times; the preset number may also be determined by the electronic device, for example, the number of continuous shots preset in the electronic device is 5; the preset number may also be determined by both the user and the electronic device. For example, if the preset number of continuous shots in the electronic device includes 2, 5, and 10, the user may select the number of continuous shots as 5.
In the case where the number of captured images reaches the preset number, the electronic device may synthesize all captured images into the first image. For example, if the preset number is M, the first image may include M first objects subjected to light supplement. The electronic equipment can respectively extract the picture of the light supplement area of each image in the M images, and the picture of the light supplement area of each image can comprise a first object subjected to light supplement; then, the electronic device may synthesize the pictures of the M fill-in light regions into a first image. Each of the M images includes a fill-in region.
Illustratively, i is 1 and 2, and M is 2. In the case where 2 images are captured, the electronic device may synthesize the 2 images into a first image.
Specifically, when the fill light on the electronic device faces the 1 st first object 1, the electronic device may capture the 1 st image as shown in (a) of fig. 7, and the capture effect of the area 71 in the 1 st image is better. When the fill light on the electronic device faces the 2 nd first object 2, the electronic device can capture the 2 nd image as shown in (b) of fig. 7, and the capture effect of the area 72 in the 2 nd image is better. The electronic apparatus may synthesize the left image screen of the 1 st image and the right image screen of the 2 nd image into the first image as shown in (c) of fig. 7. Because 2 images contain different areas supplemented by the supplementary lighting lamp, the supplementary lighting effect of the first image synthesized by the 2 images is more uniform.
In addition, i is a positive integer.
In the embodiment of the invention, after the first input is received, the electronic device can shoot a plurality of images with different light supplement areas and synthesize the first image with a relatively uniform light supplement effect according to the images, so that even if a plurality of first objects in different areas are included in a view finding range, the electronic device can still adopt the light supplement lamp to supplement light for the first objects in the different areas, and the first image with the relatively uniform light supplement effect is generated.
Scheme three
After the user rotates the electronic device each time, the user may trigger the electronic device to take one image including the first object after the supplementary lighting in response to one input to the electronic device. Therefore, after obtaining the plurality of images, the electronic device may synthesize a first image with uniform supplementary lighting according to the plurality of images.
Exemplarily, in combination with fig. 2, as shown in fig. 8, in the photographing method provided by the embodiment of the present invention, the above S202 may be specifically realized by S202a described below, and the above S203 may be specifically realized by S203d to S203e described below.
S202a, the electronic equipment responds to the jth first sub-input, controls the rotary camera to rotate to the jth sub-angle in the second direction, and displays a jth second preview image acquired by the rotary camera.
In an embodiment of the present invention, the first input may include: the method comprises N first sub-inputs for rotating the electronic equipment to a first direction by a target angle and N second sub-inputs for controlling the rotary camera to shoot images. Wherein one second sub-input may be an input received after one first sub-input. The target angle may comprise N sub-angles, i.e. the sum of the N sub-angles may be the target angle. Each of the N first sub-inputs may rotate the electronic device by one sub-angle in the first direction.
Specifically, after the jth first sub-input that the electronic device is rotated to the jth sub-angle in the first direction is performed on the electronic device, the user may perform a jth second sub-input that confirms and controls the rotary camera to capture an image on the electronic device, so that the electronic device captures a jth image including a jth first object. After receiving the jth first sub-input, the electronic device can respond to the jth first sub-input, control the rotary camera to rotate the jth sub-angle in the second direction, and display a jth second preview image acquired by the rotary camera, so that a light supplement area of the light supplement lamp can be changed on the basis of not changing a view finding range.
For example, with continued reference to FIG. 7, take j as 1 and 2, respectively, for example. When a user performs a first sub-input of 1 st to the electronic device, the electronic device may respond to the first sub-input of 1 st, and perform light supplement on an area where the first object 1 of 1 st is located by using a light supplement lamp; when the user performs the 2 nd first sub-input to the electronic device, the electronic device may adopt the light supplement lamp to supplement light to the area where the 2 nd first object 2 is located in response to the 2 nd first sub-input.
S203d, after controlling the rotary camera to rotate to the second direction by the jth sub-angle, the electronic device uses a light supplement lamp to supplement light to the jth first object, and shoots a jth image including the jth first object.
When the electronic device responds to the jth first sub-input, the light supplement area of the light supplement lamp is changed, and the light supplement lamp supplements light to the jth first object, the electronic device can receive the jth second sub-input; thereafter, the electronic device may capture a jth first image including a jth first object in response to the jth second sub-input.
For example, with continued reference to fig. 7, the user may perform a 1 st first sub-input on the electronic device, and in a case where the electronic device performs supplementary lighting on the area where the first object 1 is located by using a supplementary lighting in response to the 1 st first sub-input, the user may perform a 1 st second sub-input on the electronic device, so that the electronic device may capture a 1 st image including the first object 1 as shown in (a) of fig. 7 in response to the received 1 st second sub-input. After that, the user may perform a 2 nd first sub-input on the electronic device, and in a case that the electronic device supplements light to the area where the first object 2 is located by using the fill-in light lamp in response to the 2 nd first sub-input, the user may perform a 2 nd second sub-input on the electronic device, so that the electronic device may receive and capture a 2 nd image including the first object 2 as shown in (b) of fig. 7 in response to the 2 nd second sub-input. In this way, the electronic device can obtain 2 images.
S203e, when the N images are captured, the electronic device synthesizes the N images into the first image.
The first image may include N first objects subjected to light supplement. The j and the N are positive integers, and the j is less than or equal to the N.
One possible implementation manner is that N is a preset value, and the electronic device may automatically synthesize N images into the first image when the number of images captured by the electronic device reaches N.
Another possible implementation is that, in the case that N images are captured, the user may trigger the electronic composition of the N images into the first image through a determination input.
It should be noted that, for a specific implementation manner in which the electronic device synthesizes the N images into the first image, reference may be made to the specific implementation manner in which the electronic device synthesizes the M images into the first image in S203c, which is not described herein again.
In the embodiment of the invention, on one hand, under the condition that the electronic equipment can include a plurality of first objects in different areas in a view finding range, after a user rotates the electronic equipment each time, the electronic equipment can adopt a light supplement lamp to supplement light for the plurality of first objects in different areas, so that a first image with a relatively uniform light supplement effect is generated; on the other hand, because the electronic equipment can shoot the image containing different light supplement areas according to the second sub-input of the user, the electronic equipment can avoid the repetition or omission of the light supplement areas in the shot image.
In the embodiment of the present invention, the photographing methods shown in the above-mentioned method drawings are all exemplarily described with reference to one drawing in the embodiment of the present invention. In specific implementation, the message notification method shown in each method drawing may also be implemented in combination with any other drawing that may be combined, which is illustrated in the foregoing embodiments, and is not described here again.
As shown in fig. 9, an embodiment of the invention provides an electronic device 900. This electronic equipment includes body and rotation type camera, is provided with the light filling lamp on the body, and this electronic equipment 900 can include receiving module 901, processing module 902 and display module 903. The receiving module 901 may be configured to receive a first input of rotating the electronic device by a target angle in a first direction when the display module 903 displays a first preview image captured by the rotary camera. The processing module 902 may be configured to control the rotating camera to rotate by the target angle in the second direction in response to the first input received by the receiving module 901. The display module 903 may be configured to display a second preview image captured by the rotary camera after the processing module 902 controls the rotary camera to rotate in a second direction, where the second direction is opposite to the first direction. The processing module 902 may further be configured to capture a first image including the first object when the first object is supplemented with light by the light supplement lamp.
Optionally, in this embodiment of the present invention, the receiving module 901 may be further configured to receive a second input before the processing module 902 captures a first image including a first object. The processing module 902 may be specifically configured to fill in light for the first object by using a fill-in light lamp in response to the second input received by the receiving module 901, and capture a first image including the first object.
Optionally, in an embodiment of the present invention, the first input includes: and confirming a sub-input for controlling the rotary camera to shoot the image and a sub-input for rotating the electronic equipment to a target angle in the first direction. The processing module 902 may be specifically configured to: responding to the first input, adopting a light supplement lamp to supplement light for an ith first object in a view finding range according to a preset time interval, and shooting an ith image comprising the ith first object; and synthesizing all the shot images into a first image under the condition that the number of the shot images reaches a preset number, wherein the first image comprises all the first objects subjected to light supplement. Wherein i is a positive integer.
Optionally, in an embodiment of the present invention, the first input includes: the method comprises N first sub-inputs for rotating the electronic equipment to a first direction by a target angle and N second sub-inputs for controlling the rotary camera to shoot images. The target angle includes N sub-angles. A second sub-input is the input received after a first sub-input. The processing module 902 may be specifically configured to control the rotary camera to rotate by a jth sub-angle in the second direction in response to the jth first sub-input received by the receiving module 901. The display module 903 may be specifically configured to display a jth second preview image acquired by the rotary camera after the processing module 902 controls the rotary camera to rotate to the jth sub-angle in the second direction. The processing module 902 may be specifically configured to: in response to the jth second sub-input received by the receiving module 901, a fill-in light is used for filling in light for the jth first object, and a jth image including the jth first object is shot; and under the condition that the N images are shot, the N images are synthesized into a first image, and the first image comprises the N first objects subjected to light supplement. Wherein j and N are positive integers, and j is less than or equal to N.
Optionally, in this embodiment of the present invention, the receiving module 901 may be further configured to receive a third input before receiving the first input of rotating the electronic device to the first direction by the target angle. The processing module 902 may further be configured to start the viewing range locking function in response to the third input received by the receiving module 901. The view range locking function can be used for controlling the rotary camera to rotate by the same angle in the direction opposite to the rotation direction of the electronic equipment under the condition that the electronic equipment rotates so as to lock the view range.
The electronic device provided by the embodiment of the present invention can implement each process implemented by the electronic device in the above method embodiments, and is not described herein again to avoid repetition.
The embodiment of the invention provides electronic equipment, when a user wants to fill light in a first object and the first object is in a range with weak illuminating light of a light filling lamp, the user can rotate the electronic equipment in the direction of the first object, so that the electronic equipment can control a rotary camera to rotate by the same angle in the direction opposite to the direction of the first object, and the electronic equipment can keep displaying the same view range as the view range before rotation. Therefore, under the condition that the light beams of the light supplement lamp intensively irradiate the first object and the view finding range is kept unchanged, the electronic equipment can control the light supplement lamp to supplement light for the first object and shoot a first image comprising the first object. Therefore, even if the first object is in the range with weak illuminating light of the light supplement lamp, the electronic equipment can supplement light for the first object on the basis of not changing the view finding range, and therefore the shooting effect of the image is improved.
Fig. 10 is a schematic diagram of a hardware structure of an electronic device implementing various embodiments of the present invention. As shown in fig. 10, the electronic device 100 includes, but is not limited to: radio frequency unit 101, network module 102, audio output unit 103, input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 10 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
It should be noted that the electronic device provided in the embodiment of the present invention may include a rotary camera and a fill-in light.
The processor 110 may be configured to control the user input unit 107 to receive a first input of rotating the electronic device by a target angle in a first direction, while controlling the display unit 106 to display the first preview image captured by the rotary camera. The processor 110 may be further configured to control the rotary camera to rotate by the target angle in a second direction in response to the first input, and control the display unit 106 to display a second preview image captured by the rotary camera, where the second direction is opposite to the first direction. The processor 110 may be further configured to capture a first image including the first object when the first object is supplemented with light by the light supplement lamp.
It can be understood that, in the embodiment of the present invention, the receiving module 901 in the structural schematic diagram of the electronic device (for example, fig. 9) may be implemented by the user input unit 107, the processing module 902 may be implemented by the processor 110, and the display module 903 may be implemented by the display unit 106.
The embodiment of the invention provides electronic equipment, when a user wants to fill light in a first object and the first object is in a range with weak illuminating light of a light filling lamp, the user can rotate the electronic equipment in the direction of the first object, so that the electronic equipment can control a rotary camera to rotate by the same angle in the direction opposite to the direction of the first object, and the electronic equipment can keep displaying the same view range as the view range before rotation. Therefore, under the condition that the light beams of the light supplement lamp intensively irradiate the first object and the view finding range is kept unchanged, the electronic equipment can control the light supplement lamp to supplement light for the first object and shoot a first image comprising the first object. Therefore, even if the first object is in the range with weak illuminating light of the light supplement lamp, the electronic equipment can supplement light for the first object on the basis of not changing the view finding range, and therefore the shooting effect of the image is improved.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 101 may be used for receiving and sending signals during a message transmission or call process, and specifically, after receiving downlink data from a base station, the downlink data is processed by the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 102, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the network module 102 or stored in the memory 109 into an audio signal and output as sound. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the electronic apparatus 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 includes a speaker, a buzzer, a receiver, and the like.
The input unit 104 is used to receive an audio or video signal. The input unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, and the graphics processor 1041 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the network module 102. The microphone 1042 may receive sound and may be capable of processing such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode.
The electronic device 100 also includes at least one sensor 105, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or the backlight when the electronic device 100 is moved to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 105 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 106 is used to display information input by a user or information provided to the user. 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 (LCD), an organic light-emitting diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 107 includes a touch panel 1071 and other input devices 1072. Touch panel 1071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 1071 (e.g., operations by a user on or near touch panel 1071 using a finger, stylus, or any suitable object or attachment). The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and receives and executes commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. Specifically, 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.
Further, the touch panel 1071 may be overlaid on the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although in fig. 10, the touch panel 1071 and the display panel 1061 are two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the electronic device, and is not limited herein.
The interface unit 108 is an interface for connecting an external device to the electronic apparatus 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic apparatus 100 or may be used to transmit data between the electronic apparatus 100 and the external device.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 109 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 110 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, performs various functions of the electronic device and processes data by operating or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the electronic device. Processor 110 may include one or more processing units; optionally, the processor 110 may integrate an application processor and a modem processor, wherein the application processor mainly handles the operating system, the first user interface, the application program, and the like, and the modem processor mainly handles the wireless communication. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The electronic device 100 may further include a power supply 111 (e.g., a battery) for supplying power to each component, and optionally, the power supply 111 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.
In addition, the electronic device 100 includes some functional modules that are not shown, and are not described in detail herein.
Optionally, an embodiment of the present invention further provides an electronic device, which includes the processor 110 shown in fig. 10, the memory 109, and a computer program that is stored in the memory 109 and is executable on the processor 110, and when the computer program is executed by the processor 110, the processes of the shooting method embodiment are implemented, and the same technical effect can be achieved, and details are not described here again to avoid repetition.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the above-mentioned shooting method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may include a read-only memory (ROM), a Random Access Memory (RAM), a magnetic or optical disk, and the like.
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.
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 an electronic device (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 (12)

1. The shooting method is applied to electronic equipment and is characterized in that the electronic equipment comprises a body and a rotary camera, a light supplement lamp is arranged on the body, and the method comprises the following steps:
receiving a first input of rotating the electronic device by a target angle in a first direction while displaying a first preview image acquired by the rotary camera;
in response to the first input, controlling the rotary camera to rotate the target angle in a second direction, and displaying a second preview image acquired by the rotary camera, wherein the second direction is opposite to the first direction;
and shooting a first image including the first object under the condition of supplementing light to the first object by using the light supplementing lamp.
2. The method of claim 1, wherein before capturing the first image including the first object while filling the first object with the fill light, the method further comprises:
receiving a second input;
the shooting a first image including a first object under the condition of supplementing light to the first object by using the light supplementing lamp includes:
and responding to the second input, supplementing light to the first object by using the light supplementing lamp, and shooting the first image comprising the first object.
3. The method of claim 1, wherein the first input comprises: confirming a sub-input for controlling the rotary camera to shoot an image and a sub-input for rotating the electronic equipment to the first direction by the target angle;
the shooting a first image including a first object under the condition of supplementing light to the first object by using the light supplementing lamp includes:
responding to the first input, adopting the light supplement lamp to supplement light for the ith first object according to a preset time interval, and shooting the ith image comprising the ith first object;
under the condition that the number of the shot images reaches a preset number, synthesizing all the shot images into the first image, wherein the first image comprises all the first objects subjected to light supplement;
wherein i is a positive integer.
4. The method of claim 1, wherein the first input comprises: rotating the electronic equipment to the first direction by N first sub-inputs of the target angle, and controlling the rotary camera to shoot N second sub-inputs of the image; the target angle comprises N sub-angles; a second sub-input being the input received after a first sub-input;
the responding to the first input, controlling the rotary camera to rotate the target angle to a second direction, and displaying a second preview image collected by the rotary camera, including:
responding to the jth first sub-input, controlling the rotary camera to rotate to the second direction by a jth sub-angle, and displaying a jth second preview image acquired by the rotary camera;
the shooting a first image including a first object under the condition of supplementing light to the first object by using the light supplementing lamp includes:
responding to a jth second sub-input, supplementing light to a jth first object by using the light supplementing lamp, and shooting a jth image including the jth first object;
under the condition that N images are shot, the N images are synthesized into the first image, and the first image comprises N first objects subjected to light supplement;
wherein j and N are positive integers, and j is less than or equal to N.
5. The method of any of claims 1-4, wherein prior to receiving the first input rotating the electronic device a target angle in a first direction, the method further comprises:
receiving a third input;
turning on a viewing range lock function in response to the third input;
the view range locking function is used for controlling the rotary camera to rotate by the same angle in the direction opposite to the rotation direction of the electronic equipment under the condition that the electronic equipment rotates so as to lock the view range.
6. An electronic device is characterized by comprising a body and a rotary camera, wherein a light supplement lamp is arranged on the body, and the electronic device comprises a receiving module, a processing module and a display module;
the receiving module is used for receiving a first input of rotating the electronic equipment to a first direction by a target angle under the condition that the display module displays a first preview image acquired by the rotary camera;
the processing module is used for responding to the first input received by the receiving module and controlling the rotary camera to rotate the target angle to a second direction;
the display module is used for displaying a second preview image acquired by the rotary camera after the processing module controls the rotary camera to rotate towards the second direction, wherein the second direction is opposite to the first direction;
the processing module is further configured to shoot a first image including the first object under the condition that the light supplement lamp is used for supplementing light to the first object.
7. The electronic device of claim 6, wherein the receiving module is further configured to receive a second input before the processing module captures the first image including the first object;
the processing module is specifically configured to supplement light for the first object by using the light supplement lamp in response to the second input received by the receiving module, and capture the first image including the first object.
8. The electronic device of claim 6, wherein the first input comprises: confirming a sub-input for controlling the rotary camera to shoot an image and a sub-input for rotating the electronic equipment to the first direction by the target angle;
the processing module is specifically configured to supplement light for an ith first object by using the light supplement lamp according to a preset time interval in response to the first input, and capture an ith image including the ith first object; synthesizing all the shot images into the first image under the condition that the number of the shot images reaches a preset number, wherein the first image comprises all the first objects subjected to light supplement;
wherein i is a positive integer.
9. The electronic device of claim 6, wherein the first input comprises: rotating the electronic equipment to the first direction by N first sub-inputs of the target angle, and controlling the rotary camera to shoot N second sub-inputs of the image; the target angle comprises N sub-angles; a second sub-input being the input received after a first sub-input;
the processing module is specifically configured to control the rotary camera to rotate a jth sub-angle in the second direction in response to the jth first sub-input received by the receiving module;
the display module is specifically configured to display a jth second preview image acquired by the rotary camera after the processing module controls the rotary camera to rotate in the second direction by the jth sub-angle;
the processing module is specifically configured to fill light for a jth first object by using the light filling lamp in response to the jth second sub-input received by the receiving module, and capture a jth image including the jth first object; under the condition that N images are shot, the N images are synthesized into the first image, and the first image comprises N first objects subjected to light supplement;
wherein j and N are positive integers, and j is less than or equal to N.
10. The electronic device of any of claims 6-9,
the receiving module is further configured to receive a third input before receiving the first input of rotating the electronic device to the first direction by the target angle;
the processing module is further configured to start a viewing range locking function in response to the third input received by the receiving module;
the view range locking function is used for controlling the rotary camera to rotate by the same angle in the direction opposite to the rotation direction of the electronic equipment under the condition that the electronic equipment rotates so as to lock the view range.
11. An electronic device, comprising a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the photographing method according to any of claims 1 to 5.
12. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, carries out the steps of the photographing method according to any one of claims 1 to 5.
CN201911377998.6A 2019-12-27 2019-12-27 Shooting method and electronic equipment Active CN111031221B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911377998.6A CN111031221B (en) 2019-12-27 2019-12-27 Shooting method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911377998.6A CN111031221B (en) 2019-12-27 2019-12-27 Shooting method and electronic equipment

Publications (2)

Publication Number Publication Date
CN111031221A true CN111031221A (en) 2020-04-17
CN111031221B CN111031221B (en) 2021-12-07

Family

ID=70194508

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911377998.6A Active CN111031221B (en) 2019-12-27 2019-12-27 Shooting method and electronic equipment

Country Status (1)

Country Link
CN (1) CN111031221B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112291471A (en) * 2020-10-28 2021-01-29 维沃移动通信有限公司 Shooting control method, shooting control device, electronic device and readable storage medium
CN113727011A (en) * 2020-05-26 2021-11-30 杭州海康威视数字技术股份有限公司 Video monitoring method, image acquisition system, electronic device and storage medium
CN113724368A (en) * 2021-07-23 2021-11-30 北京百度网讯科技有限公司 Image acquisition system, three-dimensional reconstruction method, device, equipment and storage medium

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060007965A (en) * 2004-07-23 2006-01-26 주식회사 팬택앤큐리텔 Flash movement device of camera for close-up shot
CN101373308A (en) * 2007-08-23 2009-02-25 鸿富锦精密工业(深圳)有限公司 Image viewfinding device and flash lamp control method thereof
CN104601870A (en) * 2015-02-15 2015-05-06 广东欧珀移动通信有限公司 Rotating camera shooting method and mobile terminal
CN104853111A (en) * 2015-04-30 2015-08-19 广东欧珀移动通信有限公司 Shooting method and terminal
CN104980657A (en) * 2015-06-29 2015-10-14 青岛海信移动通信技术股份有限公司 Method and photographing device performing photographing by using flash lamp
CN105049737A (en) * 2015-05-20 2015-11-11 广东欧珀移动通信有限公司 Light supplement control method, apparatus and mobile terminal
CN105049715A (en) * 2015-06-30 2015-11-11 广东欧珀移动通信有限公司 Flash photographing method and mobile terminal
EP3001349A2 (en) * 2014-09-24 2016-03-30 Fujitsu Limited Illumination device and biometric authentication apparatus
CN107241535A (en) * 2017-05-26 2017-10-10 北京小米移动软件有限公司 Flash lamp adjusting means and terminal device
CN107623819A (en) * 2015-04-30 2018-01-23 广东欧珀移动通信有限公司 A kind of method taken pictures and mobile terminal and related media production
CN107786817A (en) * 2017-10-20 2018-03-09 维沃移动通信有限公司 A kind of photographic method and mobile terminal
CN108900780A (en) * 2018-06-28 2018-11-27 努比亚技术有限公司 A kind of screen light compensation method, mobile terminal and storage medium
CN110290331A (en) * 2019-07-24 2019-09-27 维沃移动通信(杭州)有限公司 A kind of screen control method and terminal

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060007965A (en) * 2004-07-23 2006-01-26 주식회사 팬택앤큐리텔 Flash movement device of camera for close-up shot
CN101373308A (en) * 2007-08-23 2009-02-25 鸿富锦精密工业(深圳)有限公司 Image viewfinding device and flash lamp control method thereof
EP3001349A2 (en) * 2014-09-24 2016-03-30 Fujitsu Limited Illumination device and biometric authentication apparatus
CN104601870A (en) * 2015-02-15 2015-05-06 广东欧珀移动通信有限公司 Rotating camera shooting method and mobile terminal
CN107623819A (en) * 2015-04-30 2018-01-23 广东欧珀移动通信有限公司 A kind of method taken pictures and mobile terminal and related media production
CN104853111A (en) * 2015-04-30 2015-08-19 广东欧珀移动通信有限公司 Shooting method and terminal
CN105049737A (en) * 2015-05-20 2015-11-11 广东欧珀移动通信有限公司 Light supplement control method, apparatus and mobile terminal
CN104980657A (en) * 2015-06-29 2015-10-14 青岛海信移动通信技术股份有限公司 Method and photographing device performing photographing by using flash lamp
CN105049715A (en) * 2015-06-30 2015-11-11 广东欧珀移动通信有限公司 Flash photographing method and mobile terminal
CN107241535A (en) * 2017-05-26 2017-10-10 北京小米移动软件有限公司 Flash lamp adjusting means and terminal device
CN107786817A (en) * 2017-10-20 2018-03-09 维沃移动通信有限公司 A kind of photographic method and mobile terminal
CN108900780A (en) * 2018-06-28 2018-11-27 努比亚技术有限公司 A kind of screen light compensation method, mobile terminal and storage medium
CN110290331A (en) * 2019-07-24 2019-09-27 维沃移动通信(杭州)有限公司 A kind of screen control method and terminal

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113727011A (en) * 2020-05-26 2021-11-30 杭州海康威视数字技术股份有限公司 Video monitoring method, image acquisition system, electronic device and storage medium
CN112291471A (en) * 2020-10-28 2021-01-29 维沃移动通信有限公司 Shooting control method, shooting control device, electronic device and readable storage medium
CN113724368A (en) * 2021-07-23 2021-11-30 北京百度网讯科技有限公司 Image acquisition system, three-dimensional reconstruction method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN111031221B (en) 2021-12-07

Similar Documents

Publication Publication Date Title
CN109639970B (en) Shooting method and terminal equipment
CN110913132B (en) Object tracking method and electronic equipment
CN110971823B (en) Parameter adjusting method and terminal equipment
CN109743498B (en) Shooting parameter adjusting method and terminal equipment
CN110719402B (en) Image processing method and terminal equipment
CN111031221B (en) Shooting method and electronic equipment
CN109190356B (en) Screen unlocking method and terminal
EP4057618A1 (en) Camera starting method and electronic device
CN109241832B (en) Face living body detection method and terminal equipment
CN111339515A (en) Application program starting method and electronic equipment
CN110769174B (en) Video viewing method and electronic equipment
CN109246351B (en) Composition method and terminal equipment
CN111083374B (en) Filter adding method and electronic equipment
CN110769154B (en) Shooting method and electronic equipment
CN110505660B (en) Network rate adjusting method and terminal equipment
CN109859718B (en) Screen brightness adjusting method and terminal equipment
CN109104573B (en) Method for determining focusing point and terminal equipment
CN111246105B (en) Photographing method, electronic device, and computer-readable storage medium
CN110913133B (en) Shooting method and electronic equipment
CN111093033B (en) Information processing method and device
CN110958387B (en) Content updating method and electronic equipment
CN110493457B (en) Terminal device control method and terminal device
CN109521981B (en) Graphic code display method and terminal
CN109359460B (en) Face recognition method and terminal equipment
CN109272549B (en) Method for determining position of infrared hotspot and terminal 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
GR01 Patent grant
GR01 Patent grant