CN109040611B - Method and device for shooting supplementary lighting, computer equipment and storage medium - Google Patents

Method and device for shooting supplementary lighting, computer equipment and storage medium Download PDF

Info

Publication number
CN109040611B
CN109040611B CN201811052052.8A CN201811052052A CN109040611B CN 109040611 B CN109040611 B CN 109040611B CN 201811052052 A CN201811052052 A CN 201811052052A CN 109040611 B CN109040611 B CN 109040611B
Authority
CN
China
Prior art keywords
illumination intensity
shooting
light
instruction
equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811052052.8A
Other languages
Chinese (zh)
Other versions
CN109040611A (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.)
Xi'an Fengyu Information Technology Co ltd
Original Assignee
Xi'an Fengyu Information Technology 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 Xi'an Fengyu Information Technology Co ltd filed Critical Xi'an Fengyu Information Technology Co ltd
Priority to CN201811052052.8A priority Critical patent/CN109040611B/en
Publication of CN109040611A publication Critical patent/CN109040611A/en
Application granted granted Critical
Publication of CN109040611B publication Critical patent/CN109040611B/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/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

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)
  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

The invention relates to a shooting supplementary lighting method and device, computer equipment and a storage medium. Detecting a first illumination intensity in a working environment according to a first shooting instruction input by a user; acquiring an illumination intensity difference value between the first illumination intensity and a preset second illumination intensity; and controlling the light supplementing device to output the compensation light according to the illumination intensity difference, and sending a second shooting instruction to the shooting device connected with the light supplementing device, wherein the second shooting instruction is used for indicating the shooting device to acquire the image information. According to the method for shooting the supplementary lighting, the supplementary lighting equipment is controlled to output the compensating light according to the illumination intensity difference value between the first illumination intensity and the preset second illumination intensity in the acquired working environment, so that the supplementary lighting equipment can accurately output the compensating light according to the illumination intensity of the current environment, and the shooting supplementary lighting effect is improved.

Description

Method and device for shooting supplementary lighting, computer equipment and storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for supplementary lighting during shooting, a computer device, and a storage medium.
Background
Along with the improvement of people's standard of living, the scene that needs to shoot is also more and more, when the user need shoot at night, needs carry out the light filling to the environment.
Common shooting light filling technique adopts shooting equipment self integrated flash lamp to carry out the light filling, promotes the effect of shooing night, for example, take a picture to the cell-phone, when shooing under the environment that illumination intensity is low, use integrated flash lamp on the cell-phone to shoot night and carry out the light filling.
However, because of the flash lamp integrated on the shooting device, the supplementary illumination intensity is limited, the expected effect cannot be achieved, and the shooting supplementary illumination effect is poor.
Disclosure of Invention
Therefore, it is necessary to provide a method, an apparatus, a computer device, and a storage medium for supplementing light for shooting, aiming at the problem of poor effect of supplementing light for shooting.
In a first aspect, a method for supplementary lighting during shooting includes:
detecting a first illumination intensity in a working environment according to a first shooting instruction input by a user;
acquiring an illumination intensity difference value between the first illumination intensity and a preset second illumination intensity;
and controlling the light supplementing equipment to output compensating light according to the illumination intensity difference, and sending a second shooting instruction to shooting equipment connected with the light supplementing equipment, wherein the second shooting instruction is used for indicating the shooting equipment to acquire image information.
According to the method for shooting the supplementary lighting, a first illumination intensity in a working environment is detected according to a first shooting instruction input by a user, an illumination intensity difference value between the first illumination intensity and a preset second illumination intensity is obtained, the supplementary lighting equipment is controlled to output the compensating light according to the illumination intensity difference value, and a second shooting instruction is sent to the shooting equipment connected with the supplementary lighting equipment so as to instruct the shooting equipment to obtain the image information. Through the illumination intensity difference between the first illumination intensity and the preset second illumination intensity in the acquired working environment, the light supplementing device is controlled to output the compensation light according to the illumination intensity difference, so that the light supplementing device can output the compensation light accurately according to the illumination intensity of the current environment, and the shooting light supplementing effect is improved.
In one embodiment, the detecting a first illumination intensity in a working environment according to a first shooting instruction input by a user comprises:
if the light supplementing device is detected to be connected with the shooting device, detecting a third illumination intensity in the working environment according to a preset time period;
and detecting the first illumination intensity according to the third illumination intensity and the first shooting instruction.
In one embodiment, the detecting the first illumination intensity according to the third illumination intensity and the first shooting instruction includes:
determining a first Pulse Width Modulation (PWM) adjusting value according to the third illumination intensity;
and controlling the light supplementing equipment to output detection light according to the first PWM adjusting value, and detecting the first illumination intensity when the first shooting instruction is received.
In one embodiment, the controlling the light supplement device to output the compensation light according to the illumination intensity difference includes:
compensating the first PWM regulating value according to the illumination intensity difference value to obtain a second PWM regulating value;
and controlling the light supplementing equipment to output compensation light according to the second PWM adjusting value.
In one embodiment, after the controlling, according to the illumination intensity difference, a light supplement device to output compensation light and sending the second shooting instruction to a shooting device connected to the light supplement device, the method further includes:
and if a shooting completion instruction sent by the shooting equipment is received, controlling the light supplementing equipment to stop outputting the compensation light.
In one embodiment, if it is detected that the light supplement device is connected to the shooting device and the shooting application of the shooting device is in an open state, the function of a button on the light supplement device is set to be a shutter function.
In one embodiment, the sending the second shooting instruction to the shooting device connected to the fill-in light device includes:
and sending the second shooting instruction to the shooting equipment in a wireless communication mode.
In a second aspect, an apparatus for supplementary lighting in photography, the apparatus comprising:
the detection module is used for detecting first illumination intensity in a working environment according to a first shooting instruction input by a user;
the first acquisition module is used for acquiring an illumination intensity difference value between the first illumination intensity and a preset second illumination intensity;
and the output module is used for controlling the light supplementing equipment to output the compensating light according to the illumination intensity difference value and sending a second shooting instruction to the shooting equipment connected with the light supplementing equipment, wherein the second shooting instruction is used for indicating the shooting equipment to acquire image information.
In a third aspect, a computer device comprises a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program:
detecting a first illumination intensity in a working environment according to a first shooting instruction input by a user;
acquiring an illumination intensity difference value between the first illumination intensity and a preset second illumination intensity;
and controlling the light supplementing equipment to output compensating light according to the illumination intensity difference, and sending a second shooting instruction to shooting equipment connected with the light supplementing equipment, wherein the second shooting instruction is used for indicating the shooting equipment to acquire image information.
In a fourth aspect, a computer readable storage medium having stored thereon a computer program which when executed by a processor implements the steps of:
detecting a first illumination intensity in a working environment according to a first shooting instruction input by a user;
acquiring an illumination intensity difference value between the first illumination intensity and a preset second illumination intensity;
and controlling the light supplementing equipment to output compensating light according to the illumination intensity difference, and sending a second shooting instruction to shooting equipment connected with the light supplementing equipment, wherein the second shooting instruction is used for indicating the shooting equipment to acquire image information.
In a fifth aspect, a method for shooting supplementary lighting, the method comprising:
receiving a shooting instruction sent by a light supplementing device connected with a shooting device;
and acquiring image information according to the shooting instruction.
In one embodiment, after the acquiring the image information according to the shooting instruction, the method further includes:
sending a shooting completion instruction to the light supplement equipment; and the shooting completion instruction is used for indicating the light supplementing equipment to stop outputting the compensation light.
In a sixth aspect, an apparatus for supplemental lighting during shooting, the apparatus comprising:
the receiving module is used for receiving a shooting instruction sent by the light supplementing equipment connected with the shooting equipment;
and the second acquisition module is used for acquiring the image information according to the shooting instruction.
In a seventh aspect, a computer device comprises a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program:
receiving a shooting instruction sent by a light supplementing device connected with a shooting device;
and acquiring image information according to the shooting instruction.
In an eighth aspect, a computer device comprises a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program:
receiving a shooting instruction sent by a light supplementing device connected with a shooting device;
and acquiring image information according to the shooting instruction.
According to the method and the device for shooting the supplementary lighting, the computer equipment and the storage medium, the first illumination intensity in the working environment is detected according to the first shooting instruction input by the user, the illumination intensity difference between the first illumination intensity and the preset second illumination intensity is obtained, the supplementary lighting equipment is controlled to output the compensating light according to the illumination intensity difference, and the second shooting instruction is sent to the shooting equipment connected with the supplementary lighting equipment so as to indicate the shooting equipment to obtain the image information. Through the illumination intensity difference between the first illumination intensity and the preset second illumination intensity in the acquired working environment, the light supplementing device is controlled to output the compensation light according to the illumination intensity difference, the compensation light can be accurately output according to the illumination intensity of the current environment, and the shooting light supplementing effect is improved.
Drawings
FIG. 1 is a schematic diagram of a light supplement system for photography;
fig. 2 is a schematic flowchart of a method for supplementary lighting during shooting according to an embodiment;
fig. 3 is a schematic flowchart of a method for supplementary lighting during shooting according to an embodiment;
fig. 4 is a schematic flowchart of a method for supplementary lighting during shooting according to an embodiment;
fig. 5 is a schematic flowchart of a method for supplementary lighting during shooting according to an embodiment;
fig. 6 is a schematic flowchart of a method for supplementary lighting during shooting according to an embodiment;
fig. 7 is a schematic structural diagram of an apparatus for supplementary lighting in shooting according to an embodiment;
fig. 8 is a schematic structural diagram of an apparatus for supplementary lighting in shooting according to an embodiment;
fig. 9 is a schematic structural diagram of an apparatus for supplementary lighting in shooting according to an embodiment;
fig. 10 is a schematic structural diagram of an apparatus for supplementary lighting in shooting according to an embodiment;
fig. 11 is a schematic structural diagram of an apparatus for supplementary lighting in shooting according to an embodiment;
fig. 12 is an internal structural diagram of a computer terminal according to an embodiment.
Detailed Description
Along with the improvement of people's standard of living, the scene that needs to shoot is also more and more, when the user needs shoot at night, needs carry out the light filling to the environment to reach good shooting effect. Common shooting light filling technique adopts the flash light of shooting equipment self integration to carry out the light filling to promote the shooting effect under the environment that illumination intensity is low. However, because the flash lamp integrated on the shooting device mostly adopts a low-power light emitting diode, the output light intensity is low, and the output light intensity cannot be adjusted, so that the phenomenon that the object to be shot is dark or the object to be shot reflects light easily occurs during shooting at night, and the shooting effect cannot be expected.
The embodiment of the invention provides a method and a device for shooting supplementary lighting, computer equipment and a storage medium, and aims to solve the problem of poor shooting supplementary lighting effect in the prior art.
It should be noted that, in the method for supplementary lighting for shooting provided by the embodiment of the present invention, an execution main body of the method may be a terminal, and the terminal may be implemented as part or all of terminal equipment in a software, hardware, or a combination of software and hardware. The execution subject of the following method embodiments is described by taking a terminal device as an example.
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
Fig. 1 is a schematic diagram of a shooting light supplement system, as shown in fig. 1, the system includes a light supplement device 100 and a shooting device 200, the light supplement device 100 may be connected to the shooting device 200 in a wireless transmission manner, the light supplement device 100 may be connected to the shooting device 200 in a wired transmission manner, in the process of shooting a shot object 300, when a shooting instruction is received, the light supplement device 100 is controlled to detect the illumination intensity of a working environment, compensation light is output according to the detection result, and when an ideal shooting illumination intensity is reached, the shooting device 200 is controlled to obtain an image.
Fig. 2 is a schematic flow chart of a method for supplementing light during shooting according to an embodiment, where an execution subject of the method is a light supplementing device, and this embodiment relates to a specific process of supplementing light during shooting according to an illumination intensity in a working environment, and as shown in fig. 2, the method includes the following steps:
s101, detecting a first illumination intensity in a working environment according to a first shooting instruction input by a user.
In this embodiment, the first shooting instruction may be used to instruct the light supplement device to detect the illumination intensity in the working environment; the first illumination intensity may be illumination intensity of natural light, illumination intensity obtained by superimposing natural light and illumination light, illumination intensity of reflected light by a device such as a reflector, or the like.
For example, the user may input the first shooting instruction through a voice command, may also input the first shooting instruction by clicking a function button on a display screen of the light supplement device, and may also input the first shooting instruction through a text command, which is not limited in this embodiment of the present application. Taking night shooting as an example, in a working environment of natural light, a user inputs a first shooting instruction by clicking a function button on a display screen, and a shooting device captures the illumination intensity of the natural light in the working environment to obtain first illumination intensity.
S102, acquiring an illumination intensity difference value between the first illumination intensity and a preset second illumination intensity.
In this embodiment, the second illumination intensity represents an illumination intensity capable of obtaining an ideal shooting effect, and the second illumination intensity may be a fixed empirical value or a numerical value selected by the user. For example, the illumination intensity may be obtained by statistics according to historical shooting data, or the illumination intensity may be continuously adjusted to perform shooting to obtain the illumination intensity when the user has a satisfactory shooting effect, which is not limited in the embodiments of the present application,
s103, controlling the light supplementing device to output the compensating light according to the illumination intensity difference, and sending a second shooting instruction to the shooting device connected with the light supplementing device, wherein the second shooting instruction is used for indicating the shot device to acquire image information.
In this embodiment, the compensation light is light output by the light supplement device and used for compensating the illumination intensity of the current environment, and the illumination intensity may be equal to the illumination intensity difference obtained in S102, or may be an illumination intensity range set according to the illumination intensity difference obtained in S102. The shooting device may be a photographing device or an image capturing device, which is not limited in the embodiment of the present application. Further, the image information acquired by the shooting device may be a picture or a video, which is not limited in the embodiment of the present application. Optionally, a second shooting instruction is sent to the shooting device in a wireless communication manner, and the second shooting instruction may be sent to the shooting device in a manner of bluetooth transmission, WiFi, Mesh, bluetooth, ZigBee, Thread, Z-Wave, NFC, UWB, LiFi, or the like, which is not limited in this embodiment of the application. Taking the shooting device as a shooting device, on the basis of the above S102, acquiring an illumination intensity difference between the first illumination intensity and a preset second illumination intensity, controlling the light supplement device to output compensation light with an illumination intensity equal to the illumination intensity difference according to the illumination intensity difference, and sending a second shooting instruction for acquiring a picture to the shooting device wirelessly connected to the light supplement device in a wireless transmission manner.
In the above embodiment, a first illumination intensity in a working environment is detected according to a first shooting instruction input by a user, an illumination intensity difference between the first illumination intensity and a preset second illumination intensity is obtained, a light supplement device is controlled to output compensation light according to the illumination intensity difference, and a second shooting instruction is sent to a shooting device connected to the light supplement device to instruct the shooting device to obtain image information. The light supplementing device can obtain the illumination intensity difference between the first illumination intensity and the preset second illumination intensity in the working environment in real time, and the light supplementing device is controlled to output the compensation light according to the illumination intensity difference, so that the light supplementing device can output the compensation light accurately according to the illumination intensity of the current environment, and the shooting light supplementing effect is improved.
Optionally, after the second shooting instruction is sent to the shooting device connected to the light supplement device, if a shooting completion instruction sent by the shooting device is received, the light supplement device is controlled to stop outputting the compensation light.
In this embodiment, the light supplementing device outputs the compensation light, so that when the illumination intensity in the shooting environment reaches the ideal shooting illumination intensity, the light supplementing device sends a second shooting instruction to the shooting device at the same time, the shooting device is instructed to shoot images, and after the shooting device finishes shooting, the shooting device can also send a shooting completion instruction to the light supplementing device, so that the light supplementing device stops outputting the compensation light, and thus energy consumption of the light supplementing device is reduced.
Fig. 3 is a schematic flowchart of a method for supplementary lighting during shooting according to an embodiment, where the method relates to a specific process of detecting a first illumination intensity in a working environment, and as shown in fig. 3, S101 "detecting the first illumination intensity in the working environment according to a first shooting instruction input by a user" includes:
s201, if the light supplementing device is connected with the shooting device, detecting third illumination intensity in the working environment according to a preset time period.
In this embodiment, the preset time period may be a fixed time interval or a time interval adjusted according to a change of the illumination intensity, which is not limited in this embodiment of the application. The third illumination intensity may be a real-time illumination intensity of the work environment, which may vary as an illumination intensity of the light source in the work environment varies. For example, taking a light source in a working environment as an illumination light as an example, the preset time interval is a fixed value T, when at time T1, the illumination intensity detected by the light supplement device is L1, and at this time, the third illumination intensity is L1; when the time T is added at T1, the illumination intensity of the illumination light is increased due to the increase of the output power of the illumination light, the illumination intensity detected by the fill-in light device for the second time is L2, and at this time, the third illumination intensity is L2.
Optionally, if it is detected that the light supplement device is connected with the shooting device and the shooting application of the shooting device is in an open state, setting a function of a button on the light supplement device to be a shutter function.
S202, detecting the first illumination intensity according to the third illumination intensity and the first shooting instruction.
In this embodiment, based on the above S201, the first illumination intensity is detected when the first photographing instruction input by the user is received according to the obtained third illumination intensity. Optionally, as shown in fig. 4, one possible implementation method of S202 "detecting the first illumination intensity according to the third illumination intensity and the first shooting instruction" includes:
and S301, determining a first Pulse Width Modulation (PWM) adjusting value according to the third illumination intensity.
In this embodiment, the output power of the light supplement device is obtained according to the illumination intensity of light to be supplemented, and the PWM adjustment value is adjusted according to the output power. Specifically, on the basis of the above S201, a third illumination intensity used for representing the real-time illumination intensity of the working environment is obtained, the output power of the light supplement device may be obtained according to an illumination intensity difference between the third illumination intensity and a preset second illumination intensity, and a first PWM adjustment value is determined according to the output power.
S302, controlling the light supplementing device to output detection light according to the first PWM adjusting value, and detecting the first illumination intensity when receiving a first shooting instruction.
In this embodiment, the light intensity of the detection light output by the light supplement device is determined according to the first PWM adjustment value obtained in S301, specifically, the light supplement device outputs the detection light, and when receiving the first shooting instruction, detects the first light intensity obtained by superimposing the detection light and the illumination intensity of the natural light.
In the above embodiment, if it is detected that the light supplement device is connected to the shooting device, the third illumination intensity in the working environment is detected according to the preset time period, and the first illumination intensity is detected according to the third illumination intensity and the first shooting instruction. The real-time third illumination intensity is obtained before the first illumination intensity is detected, the first PWM adjusting value is determined according to the third illumination intensity, the light supplementing device is controlled to output the detection light according to the first PWM adjusting value, and the first illumination intensity is detected in the environment of detecting light and natural light when the first shooting instruction is received, namely, before the first illumination intensity is detected, the light supplementing device already obtains the illumination intensity range of the working environment, the detection light is output according to the illumination intensity range, so that the obtained first illumination intensity is more accurate.
Fig. 5 is a schematic flow chart of a method for shooting supplementary lighting according to an embodiment, where the method relates to a specific process of controlling a supplementary lighting device to output compensation light according to an illumination intensity difference, and on the basis of the embodiment, as shown in fig. 5, a possible implementation method of S103 "controlling the supplementary lighting device to output compensation light according to the illumination intensity difference" includes:
s401, compensating the first PWM adjusting value according to the illumination intensity difference value to obtain a second PWM adjusting value.
In this embodiment, the first PWM adjustment value is compensated according to an illumination intensity difference between the first illumination intensity and a preset second illumination intensity, so as to obtain a second PWM adjustment value. For example, when the illumination intensity difference is a positive value, the first PWM adjustment value is positively compensated to obtain the second PWM adjustment value, and when the illumination intensity difference is a negative value, the first PWM adjustment value is negatively compensated to obtain the second PWM adjustment value.
And S402, controlling the light supplementing device to output the compensation light according to the second PWM adjusting value.
In this embodiment, according to the second PWM adjustment value obtained in S401, the pulse width of the light supplement device is adjusted, so as to adjust the output power of the light supplement device, and further adjust the illumination intensity of the compensation light output by the light supplement device.
By adopting the method for shooting the light supplement in the embodiment, the first PWM adjusting value is compensated according to the illumination intensity difference value to obtain the second PWM adjusting value, and then the light supplement equipment is controlled to output the compensation light according to the second PWM adjusting value. The second PWM adjusting value is obtained on the basis of the first PWM adjusting value, so that the light supplementing equipment can be quickly controlled to output the compensation light according to the second PWM adjusting value, the shooting light supplementing speed is improved, and the shooting light supplementing effect is further improved.
Fig. 6 is a schematic flowchart of a method for supplementary lighting in shooting according to an embodiment, where an execution subject of the method is a shooting device, and this embodiment relates to a process of acquiring image information according to a shooting instruction sent by the supplementary lighting device, and as shown in fig. 6, the method includes:
and S501, receiving a shooting instruction sent by a light supplementing device connected with the shooting device.
In this embodiment, the shooting instruction may be received when the shooting device is connected to the light supplement device, or may be received when shooting needs to be started.
And S502, acquiring image information according to the shooting instruction.
In this embodiment, the image information may be a picture or a video, which is not limited in this embodiment. The shooting device may obtain the image information immediately after obtaining the shooting instruction, or may obtain the image information after pausing for a preset time interval, which is not limited in the embodiment of the present application.
After the step S502 "acquiring image information according to the shooting instruction", optionally, the method further includes sending a shooting completion instruction to the light supplement device; and the shooting completion instruction is used for indicating the light supplementing equipment to stop outputting the compensation light.
Specifically, when the shooting device receives a shooting instruction sent by the light supplement device, the shooting device is controlled to acquire image information according to the shooting instruction, after shooting is completed, the shooting device sends a shooting completion instruction to the light supplement device, and when the light supplement device receives the shooting completion instruction, the light supplement device stops outputting the compensation light. For example, when the shooting device and the light supplement device are connected, the shooting device receives a shooting instruction sent by the light supplement device, the shooting device is controlled to obtain a photo according to the shooting instruction, when the shooting device finishes shooting the photo, the shooting device sends a shooting completion instruction to the light supplement device, and the light supplement device stops outputting the compensation light after receiving the shooting completion instruction.
It should be understood that although the various steps in the flow charts of fig. 2-6 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2-6 may include multiple sub-steps or phases that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or phases is not necessarily sequential.
Fig. 7 is a schematic structural diagram of a device for supplementary lighting during shooting according to an embodiment. As shown in fig. 7, the apparatus for supplementary lighting in photography includes: a detection module 10, a first acquisition module 20 and an output module 30, wherein:
the detection module 10 is used for detecting a first illumination intensity in a working environment according to a first shooting instruction input by a user;
a first obtaining module 20, configured to obtain an illumination intensity difference between the first illumination intensity and a preset second illumination intensity;
and the output module 30 is configured to control the light supplement device to output the compensation light according to the illumination intensity difference, and send the second shooting instruction to the shooting device connected to the light supplement device, where the second shooting instruction is used to instruct the shooting device to acquire image information.
Fig. 8 is a schematic structural diagram of a device for supplementary lighting during shooting according to an embodiment. On the basis of the above-described embodiment shown in fig. 7, as shown in fig. 8, the detection module 10 includes: a first detection unit 101 and a second detection unit 102, wherein:
the first detection unit 101 is configured to detect a third illumination intensity in the working environment according to a preset time period if it is detected that the light supplement device is connected with the shooting device;
the second detection unit 102 detects the first illumination intensity according to the third illumination intensity and the first shooting instruction.
In an embodiment, the second detecting unit 102 is specifically configured to determine a first PWM adjusting value according to the third illumination intensity; and the light supplementing device is used for controlling the light supplementing device to output detection light according to the first PWM regulating value, and detecting the first illumination intensity when the first shooting instruction is received.
In an embodiment, the output module 30 is specifically configured to compensate the first PWM adjustment value according to the illumination intensity difference, so as to obtain a second PWM adjustment value; and controlling the light supplementing equipment to output compensation light according to the second PWM adjusting value.
In an embodiment, the output module 30 is further configured to control the light supplement device to stop outputting the compensation light if a shooting completion instruction sent by the shooting device is received.
The device for shooting light supplement provided by the embodiment of the invention can execute the method embodiment, the realization principle and the technical effect are similar, and the detailed description is omitted.
Fig. 9 is a schematic structural diagram of a device for supplementary lighting during shooting according to an embodiment. In addition to the above-mentioned embodiments shown in fig. 8 or fig. 7, as shown in fig. 9, the apparatus for shooting supplementary lighting further includes: a stop module 40, wherein:
and the stopping module 40 is configured to set a function of a button on the light supplement device to a shutter function if it is detected that the light supplement device is connected with the shooting device and the shooting application of the shooting device is in an open state.
In an embodiment, the output module 30 is further configured to set a function of a button on the light supplement device as a shutter function if it is detected that the light supplement device is connected to the shooting device and the shooting application of the shooting device is in an open state.
In one embodiment, the second shooting instruction is sent to the shooting device in a wireless communication mode.
It should be noted that fig. 9 is shown based on fig. 8, but fig. 9 may also be shown based on the configuration of fig. 7, and this is merely an example.
The device for shooting light supplement provided by the embodiment of the invention can execute the method embodiment, the realization principle and the technical effect are similar, and the detailed description is omitted.
Fig. 10 is a schematic structural diagram of a device for supplementary lighting during shooting according to an embodiment. As shown in fig. 10, the apparatus for supplementary lighting in photography includes: the receiving module 50 and the second obtaining module 60:
the receiving module 50 is configured to receive a shooting instruction sent by a light supplement device connected to the shooting device;
and a second obtaining module 60, configured to obtain image information according to the shooting instruction.
Fig. 11 is a schematic structural diagram of a device for supplementary lighting during shooting according to an embodiment. As shown in fig. 11, the apparatus for supplementary lighting in photography further includes: a sending module 70.
A sending module 70, configured to send a shooting completion instruction to the light supplement device; and the shooting completion instruction is used for indicating the light supplementing equipment to stop outputting the compensation light.
The device for shooting light supplement provided by the embodiment of the invention can execute the method embodiment, the realization principle and the technical effect are similar, and the detailed description is omitted.
For specific limitations of a device for supplementing light during shooting, reference may be made to the above limitations of the method for supplementing light during shooting, and details thereof are not repeated herein. All or part of the modules in the device for shooting supplementary lighting can be realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a terminal device, and its internal structure diagram may be as shown in fig. 12. The computer device includes a processor, a memory, a network interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a method for supplementary lighting for photographing. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 12 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, there is provided a terminal device comprising a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program:
detecting a first illumination intensity in a working environment according to a first shooting instruction input by a user;
acquiring an illumination intensity difference value between the first illumination intensity and a preset second illumination intensity;
and controlling the light supplementing equipment to output compensating light according to the illumination intensity difference, and sending the second shooting instruction to shooting equipment connected with the light supplementing equipment, wherein the second shooting instruction is used for indicating the shooting equipment to acquire image information.
In one embodiment, the processor, when executing the computer program, further performs the steps of: if the light supplementing device is detected to be connected with the shooting device, detecting a third illumination intensity in the working environment according to a preset time period; and detecting the first illumination intensity according to the third illumination intensity and the first shooting instruction.
In one embodiment, the processor, when executing the computer program, further performs the steps of: determining a first Pulse Width Modulation (PWM) adjusting value according to the third illumination intensity; and controlling the light supplementing equipment to output detection light according to the first PWM adjusting value, and detecting the first illumination intensity when the first shooting instruction is received.
In one embodiment, the processor, when executing the computer program, further performs the steps of: compensating the first PWM regulating value according to the illumination intensity difference value to obtain a second PWM regulating value; and controlling the light supplementing equipment to output compensation light according to the second PWM adjusting value.
In an embodiment, after the controlling the light supplement device to output the compensation light according to the illumination intensity difference and sending the second shooting instruction to the shooting device connected to the light supplement device, the processor further implements the following steps when executing a computer program: and if a shooting completion instruction sent by the shooting equipment is received, controlling the light supplementing equipment to stop outputting the compensation light.
In one embodiment, if it is detected that the light supplement device is connected to the shooting device and the shooting application of the shooting device is in an on state, the processor further implements the following steps when executing a computer program: and setting the function of the button on the light supplement equipment as a shutter function.
In one embodiment, the second shooting instruction is sent to the shooting device in a wireless communication mode.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
receiving a shooting instruction sent by a light supplementing device connected with a shooting device;
and acquiring image information according to the shooting instruction.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
the implementation principle and technical effect of the terminal device provided in this embodiment are similar to those of the method embodiments described above, and are not described herein again.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
detecting a first illumination intensity in a working environment according to a first shooting instruction input by a user;
acquiring an illumination intensity difference value between the first illumination intensity and a preset second illumination intensity;
and controlling the light supplementing equipment to output compensating light according to the illumination intensity difference, and sending a second shooting instruction to shooting equipment connected with the light supplementing equipment, wherein the second shooting instruction is used for indicating the shooting equipment to acquire image information.
In one embodiment, the computer program when executed by the processor implements the steps of: if the light supplementing device is detected to be connected with the shooting device, detecting a third illumination intensity in the working environment according to a preset time period; and detecting the first illumination intensity according to the third illumination intensity and the first shooting instruction.
In one embodiment, the computer program when executed by the processor implements the steps of: determining a first Pulse Width Modulation (PWM) adjusting value according to the third illumination intensity; and controlling the light supplementing equipment to output detection light according to the first PWM adjusting value, and detecting the first illumination intensity when the first shooting instruction is received.
In one embodiment, the computer program when executed by the processor implements the steps of: compensating the first PWM regulating value according to the illumination intensity difference value to obtain a second PWM regulating value; and controlling the light supplementing equipment to output compensation light according to the second PWM adjusting value.
In one embodiment, the computer program when executed by the processor implements the steps of: and if a shooting completion instruction sent by the shooting equipment is received, controlling the light supplementing equipment to stop outputting the compensation light.
In one embodiment, the computer program when executed by the processor implements the steps of: and if the light supplement device is connected with the shooting device and the shooting application of the shooting device is in an open state, setting the function of a button on the light supplement device as a shutter function.
In one embodiment, the computer program when executed by the processor implements the steps of: and sending the second shooting instruction to the shooting equipment in a wireless communication mode.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
receiving a shooting instruction sent by a light supplementing device connected with a shooting device;
and acquiring image information according to the shooting instruction.
In one embodiment, the computer program when executed by the processor implements the steps of: sending a shooting completion instruction to the light supplement equipment; and the shooting completion instruction is used for indicating the light supplementing equipment to stop outputting the compensation light.
The implementation principle and technical effect of the computer-readable storage medium provided by this embodiment are similar to those of the above-described method embodiment, and are not described herein again.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A method for supplementary lighting during shooting, the method comprising:
detecting a first illumination intensity in a working environment according to a first shooting instruction input by a user;
acquiring an illumination intensity difference value between the first illumination intensity and a preset second illumination intensity;
controlling a light supplementing device to output compensation light according to the illumination intensity difference, and sending a second shooting instruction to a shooting device connected with the light supplementing device, wherein the second shooting instruction is used for indicating the shooting device to acquire image information;
wherein, according to the first instruction of shooing of user input, detect first illumination intensity in operational environment, include:
if the light supplementing device is detected to be connected with the shooting device, detecting a third illumination intensity in the working environment according to a preset time period; the third illumination intensity represents a real-time illumination intensity in the work environment;
and detecting the first illumination intensity according to the third illumination intensity and the first shooting instruction.
2. The method of claim 1, wherein detecting the first illumination intensity from the third illumination intensity and the first capture instruction comprises:
determining a first Pulse Width Modulation (PWM) adjusting value according to the third illumination intensity;
and controlling the light supplementing equipment to output detection light according to the first PWM adjusting value, and detecting the first illumination intensity when the first shooting instruction is received.
3. The method according to claim 2, wherein the controlling a fill-in device to output compensated light according to the illumination intensity difference comprises:
compensating the first PWM regulating value according to the illumination intensity difference value to obtain a second PWM regulating value;
and controlling the light supplementing equipment to output compensation light according to the second PWM adjusting value.
4. The method according to any one of claims 1 to 3, wherein after controlling a fill-in light device to output compensation light according to the illumination intensity difference and sending the second shooting instruction to a shooting device connected to the fill-in light device, the method further comprises:
and if a shooting completion instruction sent by the shooting equipment is received, controlling the light supplementing equipment to stop outputting the compensation light.
5. The method according to any one of claims 1-3, further comprising:
and if the light supplement device is connected with the shooting device and the shooting application of the shooting device is in an open state, setting the function of a button on the light supplement device as a shutter function.
6. The method according to any one of claims 1 to 3, wherein the sending the second shooting instruction to the shooting device connected to the fill-in light device includes:
and sending the second shooting instruction to the shooting equipment in a wireless communication mode.
7. An apparatus for supplementing light for photographing, the apparatus comprising:
the detection module is used for detecting first illumination intensity in a working environment according to a first shooting instruction input by a user;
the first acquisition module is used for acquiring an illumination intensity difference value between the first illumination intensity and a preset second illumination intensity;
the output module is used for controlling the light supplementing equipment to output the compensation light according to the illumination intensity difference value and sending a second shooting instruction to the shooting equipment connected with the light supplementing equipment, wherein the second shooting instruction is used for indicating the shooting equipment to acquire image information;
the detection module comprises: a first detection unit and a second detection unit, wherein:
the first detection unit is used for detecting a third illumination intensity in the working environment according to a preset time period if the light supplementing device is detected to be connected with the shooting device; the third illumination intensity represents a real-time illumination intensity in the work environment;
and the second detection unit is used for detecting the first illumination intensity according to the third illumination intensity and the first shooting instruction.
8. The apparatus according to claim 7, wherein the second detection unit is specifically configured to determine a first PWM adjustment value according to the third illumination intensity; and controlling the light supplementing equipment to output detection light according to the first PWM adjusting value, and detecting the first illumination intensity when the first shooting instruction is received.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor realizes the steps of the method according to any of claims 1-6 when executing the computer program.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 6.
CN201811052052.8A 2018-09-10 2018-09-10 Method and device for shooting supplementary lighting, computer equipment and storage medium Active CN109040611B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811052052.8A CN109040611B (en) 2018-09-10 2018-09-10 Method and device for shooting supplementary lighting, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811052052.8A CN109040611B (en) 2018-09-10 2018-09-10 Method and device for shooting supplementary lighting, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN109040611A CN109040611A (en) 2018-12-18
CN109040611B true CN109040611B (en) 2020-12-29

Family

ID=64621140

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811052052.8A Active CN109040611B (en) 2018-09-10 2018-09-10 Method and device for shooting supplementary lighting, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109040611B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108200355A (en) * 2018-03-29 2018-06-22 四川斐讯信息技术有限公司 A kind of light compensation method, system and control system suitable for internet of things equipment shooting
CN110198416A (en) * 2019-06-11 2019-09-03 威海德盛电子有限公司 Light compensating apparatus and its control method
CN110456371B (en) * 2019-08-28 2022-07-22 上海禾赛科技有限公司 Laser radar system and related measurement method
CN110855900B (en) * 2019-11-20 2021-04-20 何建军 Photographing control method and system based on external flash light source and storage medium
CN111935415B (en) * 2020-08-18 2022-02-08 浙江大华技术股份有限公司 Brightness adjusting method and device, storage medium and electronic device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI382752B (en) * 2008-12-19 2013-01-11 Hon Hai Prec Ind Co Ltd Image capturing device and light compensating method thereof
CN103685902A (en) * 2012-09-03 2014-03-26 联想(北京)有限公司 Mobile phone using camera photosensitive chip to control flashlight
CN104683702A (en) * 2015-03-25 2015-06-03 广东欧珀移动通信有限公司 Method and device for supplementing light during photographing as well as mobile terminal
CN205545395U (en) * 2015-02-17 2016-08-31 张造伦 flash lighting device for electronic equipment
CN105959582A (en) * 2016-04-28 2016-09-21 乐视控股(北京)有限公司 Light supplement method and device based on selfie stick
CN107820025A (en) * 2017-12-13 2018-03-20 北京小米移动软件有限公司 Take pictures the method and apparatus of processing

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8976257B2 (en) * 2012-07-31 2015-03-10 Jadak, Llc Automatic exposure calibration and compensation for machine vision

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI382752B (en) * 2008-12-19 2013-01-11 Hon Hai Prec Ind Co Ltd Image capturing device and light compensating method thereof
CN103685902A (en) * 2012-09-03 2014-03-26 联想(北京)有限公司 Mobile phone using camera photosensitive chip to control flashlight
CN205545395U (en) * 2015-02-17 2016-08-31 张造伦 flash lighting device for electronic equipment
CN104683702A (en) * 2015-03-25 2015-06-03 广东欧珀移动通信有限公司 Method and device for supplementing light during photographing as well as mobile terminal
CN105959582A (en) * 2016-04-28 2016-09-21 乐视控股(北京)有限公司 Light supplement method and device based on selfie stick
CN107820025A (en) * 2017-12-13 2018-03-20 北京小米移动软件有限公司 Take pictures the method and apparatus of processing

Also Published As

Publication number Publication date
CN109040611A (en) 2018-12-18

Similar Documents

Publication Publication Date Title
CN109040611B (en) Method and device for shooting supplementary lighting, computer equipment and storage medium
US11363179B2 (en) System, method, and computer program for capturing a flash image based on ambient and flash metering
WO2016086549A1 (en) Method and device for controlling flash lamp
EP3364645A3 (en) Mobile terminal and method of controlling the same
JP2015184522A5 (en)
CN103402291A (en) External flash light, photo taking system and working method of external flash light
US10218913B2 (en) HDR/WDR image time stamps for sensor fusion
KR102124598B1 (en) Image acquisition method and apparatus
MX2018011719A (en) Electronic device and operating method thereof.
CN105472269A (en) Self-timer light supplementing method and device, system, mobile terminal and self-timer stick
WO2016131329A1 (en) Photography method and device
CN107205126B (en) Control method and processing device
CN105578068A (en) High-dynamic-range image generation method, device and mobile terminal
EP3136708A3 (en) Mobile terminal and controlling method thereof
JP2009296245A (en) Backlight adjustment device of portable terminal with camera
CN113497879B (en) Photographing light supplementing method and device, terminal and storage medium
EP3249462A1 (en) Flash unit and emitted light amount control method
CN110913538A (en) Desk lamp control method, system and device, desk lamp and desk lamp controller
US10264169B2 (en) System to synchronize flashes between mobile devices
CN105472245A (en) Photographing method and electronic device
CN105323382B (en) A kind of screen light compensation method, device and mobile terminal
US9143669B2 (en) Imaging device and method, and program
US9179056B2 (en) Image capturing systems with context control and related methods
CN108156733B (en) Street lamp brightness control system
CN203407048U (en) External flash lamp and shooting system

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