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

Shooting method and device and electronic equipment Download PDF

Info

Publication number
CN116437185A
CN116437185A CN202310304027.9A CN202310304027A CN116437185A CN 116437185 A CN116437185 A CN 116437185A CN 202310304027 A CN202310304027 A CN 202310304027A CN 116437185 A CN116437185 A CN 116437185A
Authority
CN
China
Prior art keywords
target
frame image
control
control parameter
camera module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310304027.9A
Other languages
Chinese (zh)
Inventor
陈文辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN202310304027.9A priority Critical patent/CN116437185A/en
Publication of CN116437185A publication Critical patent/CN116437185A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/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/70Circuitry for compensating brightness variation in the scene
    • H04N23/71Circuitry for evaluating the brightness variation
    • 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
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/95Computational photography systems, e.g. light-field imaging systems
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection

Landscapes

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

Abstract

The embodiment of the application provides a shooting method, a shooting device and electronic equipment, wherein the method comprises the following steps: obtaining a first frame image, wherein the first frame image comprises first acquired data obtained by controlling a target camera module to be in a first working state based on a first control parameter in a flash lamp module; obtaining a second frame image, wherein the second frame image comprises second acquired data obtained by controlling the target camera module to be in a second working state based on second control parameters at the flash lamp module; creating a target file, wherein the target file comprises the first frame image and the second frame image; the first control parameter is related to a control position of a light source array of the flash lamp module, the second control parameter is related to a control position of the light source array, and at least one of the control position represented by the first control parameter and the control position represented by the second control parameter is different.

Description

Shooting method and device and electronic equipment
Technical Field
The application relates to the technical field of terminals, and relates to a shooting method, a shooting device and electronic equipment.
Background
In the related art, a flash lamp is used to take an image, and a lighting brightness is determined by ambient light, thereby obtaining a photograph. Even if different images are obtained by different brightness of the flash lamps with different ambient light in the recorded video, there is no effective solution how to obtain the different images based on the adjustment of the brightness of the flash lamps.
Disclosure of Invention
In view of this, the embodiments of the present application at least provide a shooting method, a shooting device and an electronic device.
The technical scheme of the embodiment of the application is realized as follows:
the embodiment of the application provides a shooting method, which comprises the following steps:
obtaining a first frame image, wherein the first frame image comprises first acquired data obtained by controlling a target camera module to be in a first working state based on a first control parameter in a flash lamp module;
obtaining a second frame image, wherein the second frame image comprises second acquired data obtained by controlling the target camera module to be in a second working state based on second control parameters at the flash lamp module;
creating a target file, wherein the target file comprises the first frame image and the second frame image;
the first control parameter is related to a control position of a light source array of the flash lamp module, the second control parameter is related to a control position of the light source array, and at least one of the control position represented by the first control parameter and the control position represented by the second control parameter is different.
In some embodiments, the target camera module is the same camera module;
or the target camera module for obtaining the first acquired data is a first camera module;
the target camera module for obtaining the second acquired data is a second camera module; the first camera module and the second camera module are two different camera modules.
In some embodiments, the first control parameter is determined based on a position of a target object in an acquisition space corresponding to the target camera module;
the second control parameter is determined based on the position of the target object in the acquisition space corresponding to the target camera module;
the target object is the same target object, or the target object for determining the first control parameter is a first object, the target object for determining the second control parameter is a second object, and the first object and the second object are two different objects.
In some embodiments, the method further comprises:
obtaining position information, wherein the position information is used for representing the position of a target object in an acquisition space corresponding to the target camera module;
configuring control parameters of the flash lamp module based on the position information, so that a light emitting unit corresponding to a control position represented by the control parameters in the light source array is in a working state to emit light beams to irradiate the target object;
wherein the position information is different, and the control positions for the light source arrays are different.
In some embodiments, the first frame image includes a first target region having a brightness that is better than a brightness of a region other than the first target region; the first target area corresponds to the target object;
the second frame image includes a second target area having a brightness that is better than a brightness of an area other than the second target area, the second target area corresponding to the target object.
In some embodiments, the obtaining location information comprises:
obtaining location information based on a target time period such that tracking is directed to the target object; the target time period is the time from the acquisition of the recording start instruction to the acquisition of the recording end instruction.
In some embodiments, if the target object changes in position in the first dimension in the acquisition space, a change in position of a light emitting unit in the light source array corresponding to a control position characterized by the control parameter; or/and the combination of the two,
and if the position of the target object in a second dimension different from the first dimension in the acquisition space changes, the number of the light emitting units corresponding to the control positions represented by the control parameters in the light source array changes.
In some embodiments, the control parameters further comprise control brightness.
The embodiment of the application provides a shooting device, which comprises:
the first acquisition module is used for acquiring a first frame image, and the first frame image comprises first acquired data acquired by controlling the target camera module to be in a first working state based on a first control parameter in the flash lamp module;
the second obtaining module is used for obtaining a second frame image, and the second frame image comprises second acquired data obtained by controlling the target camera module to be in a second working state based on a second control parameter in the flash lamp module;
the creating module is used for creating a target file, wherein the target file comprises the first frame image and the second frame image;
the first control parameter is related to a control position of a light source array of the flash lamp module, the second control parameter is related to a control position of the light source array, and at least one of the control position represented by the first control parameter and the control position represented by the second control parameter is different.
An embodiment of the present application provides an electronic device, including:
a flash lamp module group, wherein the flash lamp module group comprises a flash lamp module group,
the processor is used for obtaining a first frame image, and the first frame image comprises first acquired data obtained by controlling the target camera module to be in a first working state based on a first control parameter in the flash lamp module;
obtaining a second frame image, wherein the second frame image comprises second acquired data obtained by controlling the target camera module to be in a second working state based on second control parameters at the flash lamp module;
creating a target file, wherein the target file comprises the first frame image and the second frame image;
the first control parameter is related to a control position of a light source array of the flash lamp module, the second control parameter is related to a control position of the light source array, and at least one of the control position represented by the first control parameter and the control position represented by the second control parameter is different.
According to the shooting method, the shooting device and the electronic equipment, the first frame image is obtained, and the first frame embodies first acquired data obtained by controlling the target camera module to be in the first working state based on the first control parameter in the flash lamp module; obtaining a second frame image, wherein the second frame image comprises second acquired data obtained by controlling a target camera in a second working state of the flash lamp module based on a second control parameter, and a target file is created, and the target file comprises the first frame image and the second frame image, wherein the first control parameter is related to a control position of a light source array of the flash lamp module, the second control parameter is related to the control position of the light source array, the control position represented by the first control parameter is different from the control position represented by the second parameter by at least one, and the control position represented by the first control parameter is different from the control position represented by the second control parameter by at least one.
Drawings
Fig. 1 is a schematic diagram of a light supplementing effect according to an embodiment of the present application;
FIG. 2 is a schematic diagram of another light supplementing effect according to an embodiment of the present disclosure;
fig. 3 is a schematic diagram of a design of a flashlight of a different mobile phone according to an embodiment of the present application;
fig. 4 is a schematic diagram of a design of a flashlight of another mobile phone according to an embodiment of the present disclosure;
fig. 5 is a schematic flow implementation diagram of a shooting method provided in an embodiment of the present application;
fig. 6 is a schematic diagram of a preview screen and a display area of a color camera according to an embodiment of the present application;
fig. 7 is a schematic diagram of a preview screen and a display area of an infrared camera according to an embodiment of the present application;
fig. 8 is a schematic diagram of a light source array of a flash lamp according to an embodiment of the disclosure;
fig. 9 is a schematic diagram before a position of a target object in an acquisition space corresponding to a target camera module provided in an embodiment of the present application is moved;
fig. 10 is a schematic diagram of a corresponding flash module before moving a position of a target object according to an embodiment of the present application;
fig. 11 is a schematic diagram of a target object in an acquisition space corresponding to a target camera module after moving the position of the target object;
fig. 12 is a schematic diagram of a corresponding flash module after a position of a target object is moved according to an embodiment of the present application;
fig. 13 is a schematic diagram of two target objects in an acquisition space corresponding to a target camera module provided in an embodiment of the present application;
fig. 14 is a schematic diagram of a flash module corresponding to two target objects in an acquisition space according to an embodiment of the present application;
FIG. 15 is a schematic diagram of a position of a target object after moving forward in an acquisition space according to an embodiment of the present disclosure;
fig. 16 is a schematic diagram of a corresponding flash module after a target object moves forward according to an embodiment of the present application;
fig. 17 is a schematic structural diagram of a photographing device according to an embodiment of the present application.
Detailed Description
The present application will now be described in further detail with reference to the accompanying drawings and specific examples.
In the video recording process, local supplement is achieved by polishing the local part of the preview picture, such as real-time tracking of the main body character, fig. 1 is a schematic diagram of a light supplementing effect provided in an embodiment of the present application, fig. 2 is a schematic diagram of another light supplementing effect provided in an embodiment of the present application, and fig. 1 and fig. 2 are light supplementing effect diagrams to be achieved in an embodiment of the present application.
The general solution is that the light path part is a main light source and lens mode through an independent stage professional light-following lamp, the tracking mode is that a person directly controls a rocker arm of the light-following lamp, or the person controls a computer mouse to a target position, and the light-following lamp follows the mouse. This approach requires additional expertise equipment investment, and requires more manual intervention, and also relies on the site, additional power supplies. At the mobile phone end, no mobile phone can achieve the effect.
Fig. 3 is a schematic diagram of a design of a flashlight of a different mobile phone according to the embodiment of the present application, which can be seen to be provided with a single, double color temperature, or even a three-color temperature flashlight, but no matter the design of a single or multiple flashlights, more starting points are to better adapt to the color temperature, better illuminance, and all the flashlights work simultaneously each time. FIG. 4 is a schematic diagram of a flashlight design of another mobile phone according to the embodiment of the present application, as shown in FIG. 4, where FIG. 4 is related to zooming, and when the tele camera is operated, the large central light emitting diode (Light Emitting Diode, LED) is individually emitted to cause a relatively narrow beam to be emitted from the flashlight; when the main camera works, a middle-grade zoom is created by emitting a middle-grade LED at the top and bottom of the center and at the left and right sides of the center; when all eight outer edge LEDs are lit, instead of the center LED, a flash is generated to perform wide-angle photographing. The wide angle lens deliberately uses all LED segments except the middle. Avoiding overexposure caused by bright flash at the center.
Based on the problems existing in the related art, the embodiment of the application provides a shooting method, a shooting device and electronic equipment, wherein the first frame represents first acquired data obtained by controlling a target camera module to be in a first working state based on a first control parameter in a flash lamp module by obtaining a first frame image; the second frame image is obtained, the second frame image comprises second acquired data obtained by controlling the target camera to be in a second working state based on a second control parameter in the flash lamp module, a target file is created, the target file comprises the first frame image and the second frame image, the first control parameter is related to the control position of the light source array of the flash lamp module, the second control parameter is related to the control position of the light source array, the control position represented by the first control parameter is different from the control position represented by the second parameter, at least one of the control positions represented by the first control parameter and the control position represented by the second control parameter is different, different first frame images and second frame images are obtained, namely, the target file comprises different two frame images, and recording effect can be improved.
An exemplary application of the photographing method provided by the embodiment of the present application is described below, and fig. 5 is a schematic flowchart of implementation of the photographing method provided by the embodiment of the present application, as shown in fig. 5, where the photographing method provided by the embodiment of the present application is implemented through steps S501 to S503:
s501: and obtaining a first frame image, wherein the first frame image comprises first acquired data obtained by controlling the target camera module to be in a first working state based on a first control parameter in the flash lamp module.
S502: and obtaining a second frame image, wherein the second frame image comprises second acquired data obtained by controlling the target camera module to be in a second working state based on a second control parameter at the flash lamp module.
S503: creating a target file, wherein the target file comprises the first frame image and the second frame image.
The first control parameter is related to a control position of a light source array of the flash lamp module, the second control parameter is related to control of the light source array, and at least one of the control position represented by the first control parameter and the control position represented by the second control parameter is different.
In the embodiment of the application, the shooting method can be applied to electronic equipment, and the electronic equipment can be a mobile phone.
The target camera module may include a color camera and an infrared camera, where a display area of the color camera is matched with a display area of the infrared camera, fig. 6 is a schematic diagram of a preview image and a display area of the color camera provided in an embodiment of the present application, as shown in fig. 6, the preview image is divided into a plurality of horizontal and vertical areas, such as 5×5, and fig. 7 is a schematic diagram of a preview image and a display area of the infrared camera provided in an embodiment of the present application, as shown in fig. 7, the preview image is a 5×5 area, and the display area of the infrared camera is matched with the display area of the color camera.
The light source array of the flash lamp module may include a light emitting unit, the light emitting unit may be an LED, fig. 8 is a schematic diagram of the light source array of the flash lamp provided in the application embodiment, as shown in fig. 8, the flash lamp is a 5×5 LED array, and an irradiation area of the flash lamp is matched with a display area of the color camera.
The first frame image and the second frame image are obtained at the moment when the flash lamp is in a lighting state; the first working state is a working state corresponding to the lighting of the flash light source when the first frame image is obtained, and the second working state is a working state corresponding to the lighting of the flash light source when the second frame image is obtained.
The data captured by the camera module during the working of the flash lamp is pure data, the pure data can be used as a first frame image, in the related processing process, the image captured by the camera module can be adjusted by using an algorithm, such as adjusting an imaging index, the finally obtained image possibly is different from the original acquired data, but contains the acquired data, so that the first frame image comprises the first acquired data, and the second frame image comprises the second acquired data.
The creation target file comprises a first frame image and a second frame image, and because the control positions represented by the first control parameter and the second control parameter are at least one different, the first frame image obtained based on the first control parameter and the second frame image obtained based on the second control parameter are two different images, namely, the two frames of images in one file are obtained. Here, it is exemplified that at least two different images can be obtained by changing the control position in creating a file.
It should be noted that, the creation timing of the target file is not limited herein, and as an example, in the video recording process, a file is already created when recording is started, and data is recorded in the file in real time from the start of recording to the end of video recording; as another example, video recording has ended, and data buffered from the video start recording to the video end recording device is created as a target file.
The embodiment of the application provides a shooting method, a shooting device and electronic equipment, wherein a first frame image is obtained, and the first frame embodiment comprises first acquired data obtained by controlling a target camera module to be in a first working state based on a first control parameter in a flash lamp module; the second frame image is obtained, the second frame image comprises second acquired data obtained by controlling the target camera to be in a second working state based on a second control parameter in the flash lamp module, a target file is created, the target file comprises the first frame image and the second frame image, the first control parameter is related to the control position of the light source array of the flash lamp module, the second control parameter is related to the control position of the light source array, the control position represented by the first control parameter is different from the control position represented by the second parameter, at least one of the control positions represented by the first control parameter and the control position represented by the second control parameter is different, different first frame images and second frame images are obtained, namely, the target file comprises different two frame images, and recording effect can be improved.
In some embodiments, the target camera module is the same camera module; or the target camera module for obtaining the first acquired data is a first camera module; the target camera module for obtaining the second acquired data is a second camera module; the first camera module and the second camera module are two different camera modules.
It should be noted that, the first camera module and the second camera module may be understood as different camera modules on the same electronic device.
In this embodiment, when the target camera module is the same camera, the first collected data and the second collected data are obtained through the same camera.
The target camera module for obtaining the first acquired data is a first camera module; the target camera module for obtaining the second acquired data is a second camera module; for convenience in understanding, this example illustrates that two different camera modules are set up on an electronic device, and can be a main camera module and a wide-angle camera module, and main camera module corresponds a light source array, and the wide-angle camera module corresponds another kind of light source array, at the in-process of recording video, can switch the camera module according to the demand, and the switching of camera module changes based on control parameter.
The control parameters can be determined by different camera modules or manually. The method is characterized in that a manual process is assumed, a camera module is used for recording, in the recording process, the size of a preview area and an array of LED flash lamps have a corresponding or mapping relation, a track is manually slid, a first point is a first control parameter, a second point is a second control parameter, in the recording process, the control parameters are changed consistently, the sliding track can be mapped into the control parameters, and the control parameters are determined based on the track points of manual operation. For ease of understanding, it is illustrated herein that in a completely black room, only a portion of the flash is turned on, and the manual trajectory drives the LED lamp corresponding to the flash to light up, so that the course of the trajectory of the lamp change can be drawn.
In some embodiments, the first control parameter is determined based on a position of a target object in an acquisition space corresponding to the target camera module; the second control parameter is determined based on the position of the target object in the acquisition space corresponding to the target camera module; the target object is the same target object, or the target object for determining the first control parameter is a first object, the target object for determining the second control parameter is a second object, and the first object and the second object are two different objects.
In this embodiment, the first control parameter is determined based on a position of a target object in an acquisition space corresponding to the target camera module, the second control parameter is determined based on a position of a target object in an acquisition space corresponding to the target camera module, the target object is the same target object, it may be understood that the first control parameter and the second control parameter are determined based on a position of the same target object, and at least one of a control position represented by the first control parameter and a control position represented by the second control parameter is different, which represents that the target object is moving, and tracking of the target object may be achieved.
It should be noted that the first object and the second object may be a person at the same time; one may be a person and the other an object.
For easy understanding, the first object and the second object are illustrated herein as being required to be illuminated by light at the same time, for example, when two people are handshaking or talking, chorus, and the first control parameter at this time is required to cover the positions of the two target objects, and corresponds to the light source array so that both the first object and the second object can be illuminated by light; in the case where only one of the first object and the second object is irradiated with light, if the first object needs to be switched to the second object, the control parameter may be changed by changing the position of the target object.
In some embodiments, the method further comprises: obtaining position information, wherein the position information is used for representing the position of a target object in an acquisition space corresponding to the target camera module; based on the control parameters of the flash lamp module based on the position information, the light emitting units corresponding to the control positions represented by the control parameters in the light source array are in a working state to emit light beams to irradiate the target object; wherein the position information is different, and the control positions for the light source arrays are different.
In this embodiment, the position information may be obtained through a camera module, the camera module collects an image, and a face or a specific feature is separated through the image to determine a target object; specifically, the method can be that the collected image contains characteristics, the camera is provided with an induction array and a flash lamp array in a mapping relation, and the target characteristics, namely the target object, are identified through an image identification mode and correspond to the flash lamp array.
The position information can be determined in another mode of the camera module, under the condition of insufficient light, the infrared camera is used for imaging, the outline of a person is displayed, the outline is lightened through the light source array of the flash lamp, and after the outline is lightened, namely under the condition of sufficient light, the color camera is used for more accurate shooting, so that the position information is obtained.
The location information may also be determined by sound detection, at least two microphones are mounted on the hardware of the electronic device, the microphones are not located at one place, the specific location is not limited herein, as an example, one microphone may be located at the left and one microphone may be located at the right. When at least one object exists in the display area of the camera module and the speaking target object is to be polished, the position of the target object is determined according to the sequence of receiving the sound by the microphone on the electronic equipment.
It should be noted that the light emitting unit may be an LED lamp. For convenience of understanding, the position of the target object in the acquisition space corresponding to the camera module is acquired, corresponding LED lamps to be turned on in the light source array of the flash lamp module are determined according to the position information, and the LED lamps are lightened and irradiated to the target object. When the position information of the target object is different, the light source array corresponding to the position information may also be different.
Fig. 9 is a schematic diagram before a position of a target object in an acquisition space corresponding to a target camera module provided in an embodiment of the present application is moved, fig. 10 is a schematic diagram of a flash module corresponding to a target object before a position of a target object is moved provided in an embodiment of the present application, in fig. 9, a position of a target object in a 5×5 space is detected by an infrared camera, fig. 10 is a light source array of the flash module corresponding to fig. 9, and in fig. 10, an LED lamp at a position corresponding to fig. 9 is turned on; fig. 11 is a schematic diagram of a target object in an acquisition space corresponding to a target camera module according to an embodiment of the present application after a position of the target object is moved, fig. 12 is a schematic diagram of a flash module corresponding to the target object in the embodiment of the present application after the position of the target object is moved, the position of the target object in fig. 11 may be understood as a position of the target object in fig. 9 after the movement, fig. 12 is a light source array of the flash module corresponding to fig. 11, in fig. 12, an LED lamp corresponding to the position of fig. 11 is turned on, and the LED lamp corresponding to the position before the movement needs to be turned off.
Fig. 13 is a schematic diagram of two target objects existing in an acquisition space corresponding to a target camera module provided in an embodiment of the present application, fig. 14 is a schematic diagram of a flash module corresponding to two target objects existing in an acquisition space provided in an embodiment of the present application, fig. 14 is a light source array of the flash module corresponding to fig. 13, in fig. 13, two target objects exist, an electronic device identifies a target object speaking (talk), and an X direction and a Y direction in fig. 13 can be understood as a horizontal direction; in fig. 14, the LED lamp at the position corresponding to the target object speaking in fig. 13 is turned on, while the LED lamp at the position corresponding to the target object not speaking is not turned on.
By adopting the technical scheme of the embodiment of the application, the position information of the target object can be obtained in a completely black environment, and the target object is polished based on the position information.
In some embodiments, the first frame image includes a first target region having a brightness that is better than a brightness of a region other than the first target region; the first target area corresponds to the target object; the second frame image includes a second target area having a brightness that is better than a brightness of an area other than the second target area, the second target area corresponding to the target object.
In this embodiment, the first frame image includes a first target area having a brightness that is better than a brightness of an area other than the first target area; it is understood that the first frame image includes a first target area having a brightness that is better than a brightness of an area other than the first target area. The second frame image includes a second target area having a brightness that is better than a brightness of an area other than the second target area, which may be understood as the second frame image includes a second target area having a brightness that is better than a brightness of an area other than the second target area.
For ease of understanding, it is exemplified here that in a moving image (Live photo) or video, only the target object is lit, that is, only partial lighting of the screen is ensured, and at this time, not a real person in space, but an image formed by the first frame image and the second frame image.
In some embodiments, the obtaining location information comprises: obtaining location information based on a target time period such that tracking is directed to the target object; the target time period is the time from the acquisition of the recording start instruction to the acquisition of the recording end instruction.
In this embodiment, position information is obtained based on a target period so that tracking is performed for the target object; the target time period is a time period from when the recording start instruction is obtained to when the recording end instruction is obtained, and it can be understood that the position information of the target object can be obtained in real time through the sensor in the time period from when the recording starts to when the recording ends.
In order to better track the target object, it is necessary to predict the movement trajectory of the target object.
In some embodiments, if the target object changes in position in the first dimension in the acquisition space, a change in position of a light emitting unit in the light source array corresponding to a control position characterized by the control parameter; or/and, if the position of the target object in the second dimension different from the first dimension in the acquisition space changes, the number of the light emitting units corresponding to the control positions represented by the control parameters in the light source array changes.
In this embodiment, the first dimension represents that the target object moves left and right or up and down in the acquisition space. If the position of the target object in the first dimension in the acquisition space changes, the position of the light emitting unit corresponding to the control position represented by the control parameter in the light source array changes, which can be understood as that the position of the target object in the acquisition space changes, and the position of the light emitting unit in the corresponding light source array also changes.
The second dimension indicates that the target object moves back and forth in the acquisition space. If the position of the target object in the second dimension, which is different from the first dimension, in the acquisition space changes, the number of the light emitting units corresponding to the control positions represented by the control parameters in the light source array changes, which can be understood as that when the target object moves forwards, the distance between the target object and the camera module decreases, the proportion of the target object occupied in the display area of the camera increases, and the number of the light emitting units corresponding to the control positions represented by the control parameters in the light source array increases; when the target object moves backwards, the distance between the target object and the camera module is increased, the proportion of the target object occupied in the display area of the camera is reduced, and the number of light emitting units corresponding to the control position represented by the control parameter in the light source array is reduced.
Here, for example, fig. 15 is a schematic diagram of a position of a target object after moving forward in an acquisition space, fig. 16 is a schematic diagram of a flash module corresponding to the target object after moving forward, fig. 16 is a light source array of the flash module corresponding to fig. 15, fig. 15 shows that when the target object moves forward, an area covering the acquisition space is enlarged, and fig. 16 shows that an LED lamp at a position corresponding to the target object in fig. 15 is turned on, so that more LED lamps need to be turned on.
In some embodiments, the control parameters further comprise control brightness.
In this embodiment, the control parameter further includes controlling brightness of the light emitting units in the light source array. The light emitting unit may be an LED lamp. For ease of understanding, it is exemplified herein that the brightness of the light emitting unit is not changed when the position of the target object in the first dimension in the acquisition space is changed; when the position of the target object in the second dimension in the acquisition space changes, the brightness of the light-emitting units changes, specifically, when the target object moves forwards, the distance between the target object and the camera module decreases, the number of the light-emitting units increases, and in order to prevent overexposure, the working current of the light-emitting units, namely the brightness of the LEDs, is reduced, and the power consumption is also reduced; when the target object moves backwards, the distance between the target object and the camera module is increased, the number of the light-emitting units is reduced, and in order to ensure that the light of the target object is sufficient, the working current of the light-emitting units is increased, namely the brightness of the LEDs is increased.
An embodiment of the present application provides a photographing device, fig. 17 is a schematic structural diagram of the photographing device provided in the embodiment of the present application, as shown in fig. 17, the photographing device 1700 includes:
a first obtaining module 1701, configured to obtain a first frame image, where the first frame image includes first acquired data obtained by controlling the target camera module to be in a first working state based on a first control parameter at the flash module;
a second obtaining module 1702 configured to obtain a second frame image, where the second frame image includes second acquired data obtained by controlling, at the flash module, the target camera module to be in a second working state based on a second control parameter;
a creating module 1703, configured to create a target file, where the target file includes the first frame image and the second frame image;
the first control parameter is related to a control position of a light source array of the flash lamp module, the second control parameter is related to a control position of the light source array, and at least one of the control position represented by the first control parameter and the control position represented by the second control parameter is different.
In some embodiments, the target camera module is the same camera module; or alternatively, the process may be performed,
the target camera module for obtaining the first acquired data is a first camera module;
the target camera module for obtaining the second acquired data is a second camera module; the first camera module and the second camera module are two different camera modules.
In some embodiments, the apparatus 1700 further includes a determining unit, configured to determine the first control parameter based on a position of a target object in an acquisition space corresponding to the target camera module; the second control parameter is determined based on the position of the target object in the acquisition space corresponding to the target camera module; the target object is the same target object, or the target object for determining the first control parameter is a first object, the target object for determining the second control parameter is a second object, and the first object and the second object are two different objects.
In some embodiments, the apparatus 1700 further includes a third obtaining module configured to obtain location information, where the location information is used to characterize a location of the target object in the acquisition space corresponding to the target camera module; configuring control parameters of the flash lamp module based on the position information, so that a light emitting unit corresponding to a control position represented by the control parameters in the light source array is in a working state to emit light beams to irradiate the target object; wherein the position information is different, and the control positions for the light source arrays are different.
In some embodiments, the first frame image includes a first target region having a brightness that is better than a brightness of a region other than the first target region; the first target area corresponds to the target object; the second frame image includes a second target area having a brightness that is better than a brightness of an area other than the second target area, the second target area corresponding to the target object.
In some embodiments, the third obtaining module is further configured to obtain location information based on a target time period, such that tracking is performed for the target object; the target time period is the time from the acquisition of the recording start instruction to the acquisition of the recording end instruction.
In some embodiments, the apparatus 1700 further comprises a change unit for, if the position of the target object in the first dimension in the acquisition space changes, changing the position of the light emitting unit in the array of light sources corresponding to the control position characterized by the control parameter; or/and, if the position of the target object in the second dimension different from the first dimension in the acquisition space changes, the number of the light emitting units corresponding to the control positions represented by the control parameters in the light source array changes.
In some embodiments, the apparatus 1700 further comprises a control unit for controlling the parameters further comprising controlling brightness.
It should be noted that, the description of the apparatus in the embodiment of the present application is similar to the description of the embodiment of the method described above, and has similar beneficial effects as the embodiment of the method, so that a detailed description is omitted. For technical details not disclosed in the embodiments of the present apparatus, please refer to the description of the embodiments of the method of the present application for understanding.
An embodiment of the present application provides an electronic device, including: the processor is used for obtaining a first frame image, and the first frame image comprises first acquired data obtained by controlling the target camera module to be in a first working state based on a first control parameter in the flash module; obtaining a second frame image, wherein the second frame image comprises second acquired data obtained by controlling the target camera module to be in a second working state based on second control parameters at the flash lamp module; creating a target file, wherein the target file comprises the first frame image and the second frame image; the first control parameter is related to a control position of a light source array of the flash lamp module, the second control parameter is related to a control position of the light source array, and at least one of the control position represented by the first control parameter and the control position represented by the second control parameter is different.
It should be noted that the electronic device may include a mobile phone, and the shooting method may be applied to the electronic device. The target camera module and the flash module included in the electronic device may be the camera module and the flash module described above.

Claims (10)

1. A photographing method, the method comprising:
obtaining a first frame image, wherein the first frame image comprises first acquired data obtained by controlling a target camera module to be in a first working state based on a first control parameter in a flash lamp module;
obtaining a second frame image, wherein the second frame image comprises second acquired data obtained by controlling the target camera module to be in a second working state based on second control parameters at the flash lamp module;
creating a target file, wherein the target file comprises the first frame image and the second frame image;
the first control parameter is related to a control position of a light source array of the flash lamp module, the second control parameter is related to a control position of the light source array, and at least one of the control position represented by the first control parameter and the control position represented by the second control parameter is different.
2. The method of claim 1, the target camera modules being the same camera module;
or alternatively, the process may be performed,
the target camera module for obtaining the first acquired data is a first camera module;
the target camera module for obtaining the second acquired data is a second camera module; the first camera module and the second camera module are two different camera modules.
3. The method of claim 1, wherein the first control parameter is determined based on a position of a target object in an acquisition space corresponding to the target camera module;
the second control parameter is determined based on the position of the target object in the acquisition space corresponding to the target camera module;
the target object is the same target object, or the target object for determining the first control parameter is a first object, the target object for determining the second control parameter is a second object, and the first object and the second object are two different objects.
4. The method of claim 1, the method further comprising:
obtaining position information, wherein the position information is used for representing the position of a target object in an acquisition space corresponding to the target camera module;
configuring control parameters of the flash lamp module based on the position information, so that a light emitting unit corresponding to a control position represented by the control parameters in the light source array is in a working state to emit light beams to irradiate the target object;
wherein the position information is different, and the control positions for the light source arrays are different.
5. The method of claim 1 or 4, the first frame image comprising a first target region having a brightness that is better than a brightness of a region other than the first target region; the first target area corresponds to the target object;
the second frame image includes a second target area having a brightness that is better than a brightness of an area other than the second target area, the second target area corresponding to the target object.
6. The method of claim 4, the obtaining location information comprising:
obtaining location information based on a target time period such that tracking is directed to the target object; the target time period is the time from the acquisition of the recording start instruction to the acquisition of the recording end instruction.
7. The method of claim 4, wherein if the position of the target object in the first dimension in the acquisition space changes, the position of the light emitting unit in the light source array corresponding to the control position characterized by the control parameter changes; or/and the combination of the two,
and if the position of the target object in a second dimension different from the first dimension in the acquisition space changes, the number of the light emitting units corresponding to the control positions represented by the control parameters in the light source array changes.
8. The method of claim 7, the control parameter further comprising controlling brightness.
9. A photographing apparatus comprising:
the first acquisition module is used for acquiring a first frame image, and the first frame image comprises first acquired data acquired by controlling the target camera module to be in a first working state based on a first control parameter in the flash lamp module;
the second obtaining module is used for obtaining a second frame image, and the second frame image comprises second acquired data obtained by controlling the target camera module to be in a second working state based on a second control parameter in the flash lamp module;
the creating module is used for creating a target file, wherein the target file comprises the first frame image and the second frame image;
the first control parameter is related to a control position of a light source array of the flash lamp module, the second control parameter is related to a control position of the light source array, and at least one of the control position represented by the first control parameter and the control position represented by the second control parameter is different.
10. An electronic device, the electronic device comprising:
a flash lamp module group, wherein the flash lamp module group comprises a flash lamp module group,
the processor is used for obtaining a first frame image, and the first frame image comprises first acquired data obtained by controlling the target camera module to be in a first working state based on a first control parameter in the flash lamp module;
obtaining a second frame image, wherein the second frame image comprises second acquired data obtained by controlling the target camera module to be in a second working state based on second control parameters at the flash lamp module;
creating a target file, wherein the target file comprises the first frame image and the second frame image;
the first control parameter is related to a control position of a light source array of the flash lamp module, the second control parameter is related to a control position of the light source array, and at least one of the control position represented by the first control parameter and the control position represented by the second control parameter is different.
CN202310304027.9A 2023-03-27 2023-03-27 Shooting method and device and electronic equipment Pending CN116437185A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310304027.9A CN116437185A (en) 2023-03-27 2023-03-27 Shooting method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310304027.9A CN116437185A (en) 2023-03-27 2023-03-27 Shooting method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN116437185A true CN116437185A (en) 2023-07-14

Family

ID=87084751

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310304027.9A Pending CN116437185A (en) 2023-03-27 2023-03-27 Shooting method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN116437185A (en)

Similar Documents

Publication Publication Date Title
US7920205B2 (en) Image capturing apparatus with flash device having an LED array
CN103019014B (en) Projection apparatus, and projection control method
CN101213831B (en) Digital image capturing device with scan type flash
US10194129B2 (en) Method of taking pictures for generating three-dimensional image data
US20140285699A1 (en) Image-capture apparatus controlling display at photographing time
KR20050085226A (en) Illumination apparatus and illumination method for an imaging apparatus
CN106210524B (en) A kind of image pickup method and camera module of camera module
JP2022022079A (en) Image acquisition module, electronic device, image acquisition method, and storage medium
JP2003114462A (en) Flashing device for imaging system, imaging system with flashing device and imaging method
CN208459748U (en) A kind of film studio
JP2014137482A (en) Photographing device and photographing illumination device
JP2007127768A (en) Imaging apparatus
US20120320238A1 (en) Image processing system, camera system and image capture and synthesis method thereof
JP2008145905A (en) Imaging apparatus and flush device for imaging apparatus
CN116437185A (en) Shooting method and device and electronic equipment
JP2009071404A (en) Subject illumination control device and program thereof
JP2003066519A (en) Camera device, and method for controlling emission of light in camera device
JP2000023026A (en) Image pickup microscope
CN108770146B (en) Multi-scene-change intelligent control lighting device
JP2013026656A (en) Photographing device, photographing method, and photographing program
JP2009009069A (en) Face photographing device
JPH1027505A (en) Automatic probe type lighting system
CN214954998U (en) Palm print image acquisition equipment
JP4333643B2 (en) Presentation device
KR102655214B1 (en) System for automatic shooting and method thereof

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