CN113992853A - Light supplement lamp control method, module, equipment, system and device and electronic equipment - Google Patents

Light supplement lamp control method, module, equipment, system and device and electronic equipment Download PDF

Info

Publication number
CN113992853A
CN113992853A CN202111255034.1A CN202111255034A CN113992853A CN 113992853 A CN113992853 A CN 113992853A CN 202111255034 A CN202111255034 A CN 202111255034A CN 113992853 A CN113992853 A CN 113992853A
Authority
CN
China
Prior art keywords
frame
light supplement
light
lamp
identifier
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202111255034.1A
Other languages
Chinese (zh)
Other versions
CN113992853B (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.)
Beijing Sensetime Technology Development Co Ltd
Original Assignee
Beijing Sensetime Technology Development 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 Beijing Sensetime Technology Development Co Ltd filed Critical Beijing Sensetime Technology Development Co Ltd
Priority to CN202111255034.1A priority Critical patent/CN113992853B/en
Publication of CN113992853A publication Critical patent/CN113992853A/en
Priority to PCT/CN2022/095005 priority patent/WO2023071165A1/en
Application granted granted Critical
Publication of CN113992853B publication Critical patent/CN113992853B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/65Control of camera operation in relation to power supply
    • H04N23/651Control of camera operation in relation to power supply for reducing power consumption by affecting camera operations, e.g. sleep mode, hibernation mode or power off of selective parts of the camera
    • GPHYSICS
    • G03PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
    • G03BAPPARATUS OR ARRANGEMENTS FOR TAKING PHOTOGRAPHS OR FOR PROJECTING OR VIEWING THEM; APPARATUS OR ARRANGEMENTS EMPLOYING ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ACCESSORIES THEREFOR
    • G03B15/00Special procedures for taking photographs; Apparatus therefor
    • G03B15/02Illuminating scene
    • G03B15/03Combinations of cameras with lighting apparatus; Flash units
    • G03B15/05Combinations of cameras with electronic flash apparatus; Electronic flash units
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/30Individual registration on entry or exit not involving the use of a pass
    • G07C9/32Individual registration on entry or exit not involving the use of a pass in combination with an identity check
    • G07C9/37Individual registration on entry or exit not involving the use of a pass in combination with an identity check using biometric data, e.g. fingerprints, iris scans or voice recognition
    • 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
    • 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)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Studio Devices (AREA)

Abstract

The disclosure relates to a method, a module, equipment, a system, a device and an electronic device for controlling a light supplement lamp, wherein the method comprises the following steps: acquiring a video stream acquired by image acquisition equipment; under the condition that a preset processing process starts to process a current processing frame in a video stream, determining a frame identifier of a current exposure frame currently exposed by image acquisition equipment; determining a frame identifier of a target frame to be skipped for light supplement according to the frame identifier of the current processing frame, the frame identifier of the current exposure frame and the frame number corresponding to the single frame processing duration of the preset processing process, wherein the target frame is a video frame to be acquired after the current exposure frame; and according to the frame identifier of the target frame, controlling a light supplement lamp of the image acquisition equipment to be turned off during the period of acquiring the target frame by the image acquisition equipment. The embodiment of the disclosure can realize low power consumption control of the light supplement lamp.

Description

Light supplement lamp control method, module, equipment, system and device and electronic equipment
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a method, a module, a device, a system, a device, an electronic device, and a storage medium for controlling a fill-in light.
Background
At present, intelligent entrance guard based on face recognition has become popular. Wherein, because the tunnel scene is many in intelligent entrance guard's the use scene, consequently need set up the light filling lamp and carry out the light filling usually. Because intelligent entrance guard is battery powered usually, and generally requires to have certain duration of use (like half a year or a year), and the power consumption of light filling lamp is usually more, consequently to the low-power consumption control of light filling lamp, can effectively reduce intelligent entrance guard's whole consumption, improve intelligent entrance guard's duration of use.
Disclosure of Invention
The present disclosure provides a light supplement lamp control technical scheme.
According to an aspect of the present disclosure, a method for controlling a fill-in light is provided, which is applied to a main control chip, and the method includes: acquiring a video stream acquired by image acquisition equipment; under the condition that a preset processing process starts to process a current processing frame in the video stream, determining a frame identifier of a current exposure frame currently exposed by the image acquisition equipment; determining a frame identifier of a target frame to be skipped for light supplement according to the frame identifier of the current processing frame, the frame identifier of the current exposure frame and a frame number corresponding to the single frame processing duration of the preset processing process, wherein the target frame is a video frame to be acquired after the current exposure frame; and controlling a light supplement lamp of the image acquisition equipment to be turned off during the period of acquiring the target frame by the image acquisition equipment according to the frame identifier of the target frame. Through this mode, can reduce the electric quantity consumption of light filling lamp, also realize the low-power consumption control of light filling lamp.
In a possible implementation manner, the determining, according to the frame identifier of the current processing frame, the frame identifier of the current exposure frame, and the frame number corresponding to the single-frame processing duration of the preset processing process, the frame identifier of the target frame to be skipped for light supplement includes: updating a frame identifier set of the light supplement to be skipped, which corresponds to the preset processing process, according to the frame number and the frame identifier of the current processing frame; and determining the frame identifier of the target frame according to the frame identifier of the current exposure frame and the frame identifier set. By the method, the frame identifier of the target frame to be skipped for supplementary lighting can be rapidly determined.
In one possible implementation manner, the preset processing procedure includes: at least one of an image processing process and an exposure parameter processing process; the number of frames includes: at least one of a first frame number corresponding to the single-frame processing duration of the image processing process and a second frame number corresponding to the single-frame processing duration of the exposure parameter processing process; the current processing frame includes: at least one of a first video frame which is started to be processed by the image processing process and a second video frame which is started to be processed by the exposure parameter processing process; wherein, the updating the frame identifier set of the light supplement to be skipped corresponding to the preset processing process according to the frame number and the frame identifier of the current processing frame includes: updating a first frame identification set of the supplementary lighting to be skipped, which corresponds to the image processing process, according to the first frame number and the frame identification of the first video frame; and/or updating a second frame identifier set of the supplementary lighting to be skipped, which corresponds to the exposure parameter processing process, according to the second frame number and the frame identifier of the second video frame; the set of frame identifications includes at least one of the first set of frame identifications and the second set of frame identifications. By the method, the frame identifier set can be effectively updated under the condition that the preset processing process comprises a plurality of processes, and the frame identifier of the target frame can be conveniently determined later.
In one possible implementation manner, the preset processing procedure includes: at least one of an image processing procedure and an exposure parameter processing procedure, the set of frame identifications comprising: at least one of a first frame identifier set of light supplement to be skipped, which corresponds to the image processing process, and a second frame identifier set of light supplement to be skipped, which corresponds to the exposure parameter processing process; wherein, the determining the frame identifier of the target frame according to the frame identifier of the current exposure frame and the frame identifier set includes: determining at least one first frame identifier in the first frame identifier set, wherein the acquisition sequence of the at least one first frame identifier is arranged after the frame identifier of the current exposure frame; determining at least one second frame identifier in the second frame identifier set, wherein the acquisition sequence of the second frame identifier set is arranged after the frame identifier of the current exposure frame; and determining the intersection between the at least one first frame identifier and the at least one second frame identifier as the frame identifier of the target frame. By the method, the frame identification of the target frame can be quickly and effectively determined according to various preset processing processes.
In a possible implementation manner, the controlling module is connected to the main control chip, and the controlling module controls the fill light of the image capturing device to be turned off during the period when the image capturing device captures the target frame according to the frame identifier of the target frame includes: sending a first control signal to the supplementary lighting lamp control module according to the frame identifier of the target frame, wherein the first control signal comprises a supplementary lighting lamp closing signal; the light supplement lamp control module is used for controlling the on-off of the light supplement lamp according to the first control signal, so that the light supplement lamp is turned off during the period that the image acquisition equipment acquires the target frame. Through this mode, can make light filling lamp control module group control light filling lamp close during image acquisition equipment gathers the target frame to reduce the electric quantity consumption of light filling lamp, also realize the low-power consumption control of light filling lamp.
In one possible implementation, the preset processing procedure includes an image processing procedure, the current processing frame includes a first video frame processed by the image processing procedure, and the method further includes: sending a light supplement lamp closing signal to the light supplement lamp control module under the condition that the image processing process processes the first video frame to obtain an image processing result, so that the light supplement lamp control module responds to the light supplement lamp closing signal and controls a light supplement lamp to be closed; and/or sending a device closing signal to the image acquisition device, so that the image acquisition device stops acquiring video frames in response to the device closing signal; the image processing process comprises a face recognition process, and the image processing result comprises a face recognition result. Through this mode, can realize closing the light filling lamp in advance, save the electric quantity consumption of light filling lamp.
According to an aspect of the present disclosure, a light supplement lamp control method is provided, which is applied to a light supplement lamp control module, where the light supplement lamp control module is connected to a light supplement lamp of an image acquisition device, and the method includes: receiving a first control signal sent by a main control chip; and controlling the on-off of the light supplement lamp according to a first control signal sent by the main control chip so as to enable the light supplement lamp to be turned off during the period that the image acquisition equipment acquires the target frame, wherein the first control signal comprises a light supplement lamp turning-off signal. Through this mode, can make light filling lamp control module group control light filling lamp close during image acquisition equipment gathers the target frame to reduce the electric quantity consumption of light filling lamp, also realize the low-power consumption control of light filling lamp.
In one possible implementation, the method further includes: receiving a second control signal sent by the image acquisition equipment, wherein the second control signal comprises a light supplement lamp starting signal; according to the first control signal that main control chip sent, control opening and close of light filling lamp includes: and controlling the on-off of the light supplement lamp according to the first control signal and the second control signal. Through this mode, utilize opening and close of first control signal and second control signal control light filling lamp comprehensively, not only can make opening and close of light filling lamp synchronous with image acquisition equipment's collection frame rate, can also save the electric quantity consumption of light filling lamp to effectively reduce whole consumption.
In a possible implementation manner, the controlling the on and off of the light supplement lamp according to the first control signal and the second control signal includes: controlling the light supplement lamp to be turned on under the condition that the first control signal and the second control signal are both light supplement lamp turning-on signals, wherein the light supplement lamp turning-on signals comprise high level signals; or, under the condition that a light supplement lamp closing signal exists in the first control signal and the second control signal, the light supplement lamp is controlled to be closed, and the light supplement lamp closing signal comprises a low level signal. Through this mode, can utilize the opening and close of first control signal and second control signal control light filling lamp comprehensively, not only can make opening and close of light filling lamp synchronous with image acquisition equipment's collection frame rate, can also save the electric quantity consumption of light filling lamp to effectively reduce whole consumption.
According to one aspect of the disclosure, a light supplement lamp control module is provided, and is connected with a light supplement lamp, and comprises a logic control circuit, wherein the logic control circuit is used for controlling the on and off of the light supplement lamp according to a first control signal sent by a main control chip and a second control signal sent by an image acquisition device; wherein the logic control circuit comprises: an AND gate circuit and a drive circuit; two input ends of the AND gate circuit are respectively connected with the main control chip and the image acquisition equipment so as to receive the first control signal and the second control signal; the driving circuit includes: the light supplementing lamp comprises a first transistor, a second transistor, a capacitor, a first resistor and a second resistor, wherein the grid electrode of the first transistor is connected with the output end of the AND gate circuit, the source electrode of the first transistor is grounded, the drain electrode of the first transistor is connected with the grid electrode of the second transistor, the drain electrode of the second transistor is connected with an external power supply through the first resistor connected in parallel, the source electrode of the second transistor is connected with the light supplementing lamp through the second resistor connected in series, and the source electrode of the second transistor is grounded through the second resistor and the capacitor connected in series. Through this mode, can realize the mode through the soft or hard combination, control opening and close of light filling lamp, especially can make the light filling lamp skip the video frame of unnecessary light filling, also make the light filling lamp close during image acquisition equipment gathers the target frame to reduce the electric quantity consumption of light filling lamp, also realize the low-power consumption control of light filling lamp.
According to an aspect of the present disclosure, a light supplement lamp control device is provided, the light supplement lamp control device includes the above light supplement lamp control module, a main control chip and a light supplement lamp, the light supplement lamp control module is connected to the main control chip, the light supplement lamp control module is connected to the light supplement lamp, wherein the main control chip is configured to perform the above method, and the light supplement lamp control module is configured to perform the above method.
According to an aspect of the present disclosure, there is provided a light supplement lamp control system, including: above-mentioned light filling lamp controlgear and image acquisition equipment, wherein, image acquisition equipment with light filling lamp controlgear's main control chip and light filling lamp control module group are connected respectively.
According to an aspect of the present disclosure, a light filling lamp control device is provided, which is applied to a main control chip, and includes: the acquisition module is used for acquiring the video stream acquired by the image acquisition equipment; an exposure frame determining module, configured to determine, when a preset processing process starts to process a currently processed frame of the video stream, a frame identifier of the currently exposed frame of the image acquisition device; a target frame determining module, configured to determine, according to the frame identifier of the current processing frame, the frame identifier of the current exposure frame, and a frame number corresponding to a single-frame processing duration of the preset processing procedure, a frame identifier of a target frame to be skipped for light supplement, where the target frame is a video frame to be acquired after the current exposure frame; and the control module is used for controlling a light supplement lamp of the image acquisition equipment to be turned off during the period that the image acquisition equipment acquires the target frame according to the frame identifier of the target frame.
In one possible implementation, the target frame determination module includes: the updating submodule is used for updating a frame identifier set of the light supplement to be skipped, which corresponds to the preset processing process, according to the frame number and the frame identifier of the current processing frame; and the frame identifier determining submodule is used for determining the frame identifier of the target frame according to the frame identifier of the current exposure frame and the frame identifier set.
In one possible implementation manner, the preset processing procedure includes: at least one of an image processing process and an exposure parameter processing process; the number of frames includes: at least one of a first frame number corresponding to the single-frame processing duration of the image processing process and a second frame number corresponding to the single-frame processing duration of the exposure parameter processing process; the current processing frame includes: at least one of a first video frame which is started to be processed by the image processing process and a second video frame which is started to be processed by the exposure parameter processing process; wherein, the updating the frame identifier set of the light supplement to be skipped corresponding to the preset processing process according to the frame number and the frame identifier of the current processing frame includes: updating a first frame identification set of the supplementary lighting to be skipped, which corresponds to the image processing process, according to the first frame number and the frame identification of the first video frame; and/or updating a second frame identifier set of the supplementary lighting to be skipped, which corresponds to the exposure parameter processing process, according to the second frame number and the frame identifier of the second video frame; the set of frame identifications includes at least one of the first set of frame identifications and the second set of frame identifications.
In one possible implementation manner, the preset processing procedure includes: at least one of an image processing procedure and an exposure parameter processing procedure, the set of frame identifications comprising: at least one of a first frame identifier set of light supplement to be skipped, which corresponds to the image processing process, and a second frame identifier set of light supplement to be skipped, which corresponds to the exposure parameter processing process; wherein, the determining the frame identifier of the target frame according to the frame identifier of the current exposure frame and the frame identifier set includes: determining at least one first frame identifier in the first frame identifier set, wherein the acquisition sequence of the at least one first frame identifier is arranged after the frame identifier of the current exposure frame; determining at least one second frame identifier in the second frame identifier set, wherein the acquisition sequence of the second frame identifier set is arranged after the frame identifier of the current exposure frame; and determining the intersection between the at least one first frame identifier and the at least one second frame identifier as the frame identifier of the target frame.
In a possible implementation manner, the main control chip is connected to the light supplement lamp control module, and the control module includes: the signal sending submodule is used for sending a first control signal to the supplementary lighting lamp control module according to the frame identifier of the target frame, wherein the first control signal comprises a supplementary lighting lamp closing signal; the light supplement lamp control module is used for controlling the on-off of the light supplement lamp according to the first control signal, so that the light supplement lamp is turned off during the period that the image acquisition equipment acquires the target frame.
In one possible implementation manner, the preset processing procedure includes an image processing procedure, the current processing frame includes a first video frame processed by the image processing procedure, and the apparatus further includes: a turn-off signal sending module, configured to send a light supplement lamp turn-off signal to the light supplement lamp control module when the image processing process processes the first video frame to obtain an image processing result, so that the light supplement lamp control module controls a light supplement lamp to turn off in response to the light supplement lamp turn-off signal; and/or, the device closing signal is used for sending a device closing signal to the image acquisition device, so that the image acquisition device stops acquiring video frames in response to the device closing signal; the image processing process comprises a face recognition process, and the image processing result comprises a face recognition result.
According to an aspect of the present disclosure, a light filling lamp control device is provided, is applied to light filling lamp control module group, light filling lamp control module group is connected with the light filling lamp of image acquisition equipment, includes: the first receiving module is used for receiving a first control signal sent by the main control chip; and the light supplement lamp control module is used for controlling the on-off of the light supplement lamp according to the first control signal sent by the main control chip so as to enable the light supplement lamp to be turned off during the period that the image acquisition equipment acquires the target frame, and the first control signal comprises a light supplement lamp turn-off signal.
In one possible implementation, the apparatus further includes: the second receiving module is used for receiving a second control signal sent by the image acquisition equipment, wherein the second control signal comprises a light supplement lamp starting signal; light filling lamp control module includes: and the light supplement lamp control submodule is used for controlling the on-off of the light supplement lamp according to the first control signal and the second control signal.
In a possible implementation manner, the controlling the on and off of the light supplement lamp according to the first control signal and the second control signal includes: controlling the light supplement lamp to be turned on under the condition that the first control signal and the second control signal are both light supplement lamp turning-on signals, wherein the light supplement lamp turning-on signals comprise high level signals; or, under the condition that a light supplement lamp closing signal exists in the first control signal and the second control signal, the light supplement lamp is controlled to be closed, and the light supplement lamp closing signal comprises a low level signal.
According to an aspect of the present disclosure, there is provided an electronic device including: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to invoke the memory-stored instructions to perform the above-described method.
According to an aspect of the present disclosure, there is provided a computer readable storage medium having stored thereon computer program instructions which, when executed by a processor, implement the above-described method.
In the embodiment of the disclosure, by determining the frame identifier of the target frame to be skipped for light supplement, it is equivalent to determining the frame identifier of the video frame to be acquired without starting a light supplement lamp for light supplement; and then according to the frame sign of target frame, control the light filling lamp of image acquisition equipment and close during image acquisition equipment gathers the target frame to reduce the electric quantity consumption of light filling lamp, also realize the low-power consumption control of light filling lamp.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure. Other features and aspects of the present disclosure will become apparent from the following detailed description of exemplary embodiments, which proceeds with reference to the accompanying drawings.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure.
Fig. 1 shows a block diagram of a fill-light control device according to an embodiment of the present disclosure.
Fig. 2 shows a schematic diagram of a fill light control method according to an embodiment of the present disclosure.
Fig. 3 shows a schematic diagram of a fill light control method according to an embodiment of the present disclosure.
FIG. 4 shows a schematic diagram of a logic control circuit according to an embodiment of the disclosure.
Fig. 5 shows a schematic diagram of a fill-light control system according to an embodiment of the disclosure.
Fig. 6 illustrates a block diagram of a fill light control device according to an embodiment of the present disclosure.
Fig. 7 shows a block diagram of a fill light control device according to an embodiment of the present disclosure.
FIG. 8 shows a block diagram of an electronic device in accordance with an embodiment of the disclosure.
Fig. 9 shows a block diagram of another electronic device in accordance with an embodiment of the disclosure.
Detailed Description
Various exemplary embodiments, features and aspects of the present disclosure will be described in detail below with reference to the accompanying drawings. In the drawings, like reference numbers can indicate functionally identical or similar elements. While the various aspects of the embodiments are presented in drawings, the drawings are not necessarily drawn to scale unless specifically indicated.
The word "exemplary" is used exclusively herein to mean "serving as an example, embodiment, or illustration. Any embodiment described herein as "exemplary" is not necessarily to be construed as preferred or advantageous over other embodiments.
The term "and/or" herein is merely an association describing an associated object, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the term "at least one" herein means any one of a plurality or any combination of at least two of a plurality, for example, including at least one of A, B, C, and may mean including any one or more elements selected from the group consisting of A, B and C.
Furthermore, in the following detailed description, numerous specific details are set forth in order to provide a better understanding of the present disclosure. It will be understood by those skilled in the art that the present disclosure may be practiced without some of these specific details. In some instances, methods, means, elements and circuits that are well known to those skilled in the art have not been described in detail so as not to obscure the present disclosure.
Fig. 1 shows a block diagram of a fill-light control device according to an embodiment of the present disclosure, as shown in fig. 1, the device includes: the light supplement lamp control module 201 is connected with the main control chip 101 (for example, wired connection), and the light supplement lamp control module 201 is connected with the light supplement lamp 301 (for example, wired connection).
In a possible implementation manner, the main control chip 101 may at least include: the present disclosure relates to a system and method for Processing images, and more particularly, to a system and method for Processing images, which can include a processor and a memory, wherein the processor can include at least one processor such as a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a Neural Network Processing Unit (NPU), and the like, and the embodiments of the present disclosure are not limited thereto. It should be understood that the processor may be configured to implement the method steps performed by the main control chip 101 by calling computer readable instructions stored in the memory to send a control signal for the fill light 301 to the fill light control module 201.
In a possible implementation manner, the light supplement lamp control module 201 may include a logic control circuit and a light supplement lamp, and the logic control circuit may be configured to control the light supplement lamp 301 to turn on or off in response to a control signal sent by the main control chip 101; the fill-in light lamp 301 is used for performing fill-in light during the period of acquiring video frames by the image acquisition device, wherein the fill-in light lamp 301 may include at least one of an infrared light lamp and a visible light lamp.
In a possible implementation manner, the fill light control module 201 may further include at least: the present disclosure relates to a system and method for Processing images, and more particularly, to a system and method for Processing images, which can include a processor and a memory, wherein the processor can include at least one processor such as a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a Neural Network Processing Unit (NPU), and the like, and the embodiments of the present disclosure are not limited thereto. It should be understood that the processor may be configured to implement the method steps executed by the fill-in light control module 101 by calling computer readable instructions stored in the memory, so as to control on/off (i.e., turn on or off) of the fill-in light 301 according to the control signal sent by the main control chip 101.
In a possible implementation manner, the light supplement lamp control device may be applied to various hardware devices as a component, for example, the light supplement lamp control device may be applied to at least one of an intelligent access control device and a face-brushing payment device based on face recognition.
According to the embodiment of the disclosure, the light supplement lamp is integrally controlled to be opened and closed through the main control chip and the light supplement lamp control module, low power consumption control over the light supplement lamp is facilitated, further, the overall power consumption of hardware equipment (such as intelligent access control equipment based on face recognition and face brushing payment equipment) is facilitated to be reduced, and the service life of the hardware equipment is prolonged.
Fig. 2 is a schematic diagram illustrating a method for controlling a fill-in light according to an embodiment of the present disclosure, where the method is applied to a main control chip (such as the main control chip 101 described above), and as shown in fig. 2, the method includes:
in step S11, a video stream captured by the image capturing apparatus is acquired.
The image capturing device may include various cameras, such as a monocular camera, a binocular camera, an infrared camera, and the like, which is not limited to the embodiments of the present disclosure.
In a possible implementation manner, the image capturing device may be disposed on the terminal device, that is, the terminal device may include the image capturing device; of course, the image capturing device may also be deployed independently in the actual scene, and the embodiment of the present disclosure is not limited thereto.
The image acquisition device and the main control chip can establish communication connection in a wired connection (such as an external USB line and internal circuit wiring) or wireless connection (such as a wireless network). It should be understood that the image capturing device may capture image data of an actual scene according to a preset capturing frame rate (i.e., an image capturing frequency), and transmit the image data to the main control chip in a video stream manner.
It can be known that, the acquisition frame rate of the image acquisition device is in positive correlation with the power consumption, and the lower the acquisition frame rate, the lower the power consumption, but the lower acquisition frame rate can make the time of face identification unlocking in, for example, an intelligent access control scene longer, because the lower the acquisition frame rate, the longer the exposure time. Therefore, a person skilled in the art may set an appropriate acquisition frame rate to balance the power consumption of the image acquisition device with the user requirement, and the embodiment of the present disclosure is not limited to a specific value of the acquisition frame rate of the image acquisition device.
In step S12, in a case where the preset processing procedure starts processing the currently processed frame of the video stream, the frame identification of the currently exposed frame currently exposed by the image capturing apparatus is determined.
The preset processing process may be a process for implementing a preset task, and the preset task may at least include at least one of a face recognition task and an exposure parameter calculation task.
It should be understood that technicians may pre-write algorithms for various preset tasks and deploy the algorithms in the main control chip, so that the algorithms for various preset tasks may be executed in the main control chip, that is, a preset processing process is run to process a video stream, thereby implementing various preset tasks.
As described above, the image capturing device may capture image data of an actual scene according to a preset capturing frame rate, and transmit the image data to the main control chip in a video stream manner, that is, the video stream may include multiple frames of video frames. The preset processing process starts to process the current processing frame of the video stream, which may be understood as that the preset processing process starts to use the current processing frame for operation, or that is, the preset processing process starts to use the video frame used in the current operation.
It can be understood that the current processing frame processed by the preset processing process is a video frame already acquired by the image acquisition device, or a video frame completed by the image acquisition device. The current processing frame may be a video frame that is newly acquired in the video stream, or may be a video frame that has been acquired before the newly acquired video frame, and may specifically be determined according to a processing time of a preset processing process for each frame of the video frame, a frame identifier of the video frame that is processed when the preset processing process is started, and the like, which is not limited in this embodiment of the disclosure.
It should be understood that the video frames captured by the image capture device may be provided with a frame identifier (FrameID), which may be used to characterize the capture sequence, or capture timing, of the video frames. The frame identifier may be, for example, a timestamp, a character string, a combination of a timestamp and a character string, and the like, and the embodiments of the present disclosure are not limited thereto.
The currently exposed frame currently exposed by the image capturing device may be understood as a video frame currently being shot by the image capturing device, or a video frame currently being generated by the image capturing device. It should be understood that the acquisition timing of the current exposure frame is arranged after the current processing frame.
In a possible implementation manner, a frame identifier of a currently exposed frame may be determined by acquiring a Start of frame (SOF) signal sent by the image capturing device, where the SOF signal is a timing signal sent by the image capturing device when the image capturing device starts capturing any video frame, and the SOF signal may be used to know that the image capturing device is currently exposed to a few video frames, so that the frame identifier of the currently exposed frame may be determined.
In step S13, a frame identifier of a target frame to be skipped for light supplement is determined according to the frame identifier of the current processing frame, the frame identifier of the current exposure frame, and the frame number corresponding to the single frame processing duration of the preset processing procedure, where the target frame is a video frame to be acquired after the current exposure frame.
It should be understood that the running of the algorithm is time-consuming, i.e. the pre-set processing procedure for running the algorithm is time-consuming for processing a frame of video. The preset single-frame processing duration of the processing process may be understood as a processing duration required by the preset processing process to process one frame of video frame, or an operation duration required by the preset processing process to perform an operation using one frame of video frame.
It can be understood that the single frame processing time lengths corresponding to different preset processing processes can be different; a person skilled in the art may estimate the processing time duration of a single frame corresponding to different preset processing procedures by using a method known in the art, and the embodiment of the present disclosure is not limited thereto.
In a possible implementation manner, for example, the single-frame processing duration of the preset processing process of the running algorithm may be obtained by running the algorithm corresponding to a certain preset task for multiple times through experiments in advance. Considering that, for any preset processing process, the experiment may obtain a duration set, and then the maximum duration in the duration set may be taken as the single-frame processing duration of the preset processing process; of course, the average value of the time length set can be taken, and the embodiment of the present disclosure is not limited thereto.
The frame number corresponding to the single-frame processing duration of the preset processing process may be understood as the frame number of the video frame that the image capturing device can capture during the processing of one frame of video frame in the preset processing process. For example, if the single frame processing duration of the preset processing procedure is 100ms, and the frame rate of the image capturing apparatus is 30fps, that is, approximately 33ms, to capture one frame, the number of frames corresponding to the single frame processing duration of the preset processing procedure may be at least 3 frames.
It can be known that, in the related art, the image acquisition device can send a Strobe signal to the fill light according to a preset acquisition frame rate to control the Strobe of the fill light, that is, the fill light is controlled to be turned on according to a certain frequency, so as to save the power consumption of the fill light; the preset processing process can be a video frame which does not need light supplement in practice in the process of processing a frame of video frame, for example, a video frame which is acquired latest in a video stream is acquired and processed after the preset processing process is finished processing the frame of video frame, so that a stroboscopic mode of a light supplement lamp is controlled only by sending a gating pulse signal to the light supplement lamp through the image acquisition device, the problem of electric quantity waste still exists, and the power consumption of the light supplement lamp cannot be effectively reduced.
Based on this, the number of frames corresponding to the single-frame processing duration of the preset processing process can also be understood as the number of frames of the video frame to be skipped for supplementary lighting corresponding to the preset processing process; or, the video frame acquired by the image acquisition device during processing of one frame of video frame in the preset processing process may be a video frame with the light supplement skipped.
As described above, the currently processed frame is a video frame that is processed by the preset processing process, the currently exposed frame is a video frame currently exposed by the image capturing device, and the frame identifier may represent the capturing order of the video frames. In a possible implementation manner, determining, according to a frame identifier of a currently processed frame, a frame identifier of a currently exposed frame, and a frame number corresponding to a single-frame processing duration of a preset processing procedure, a frame identifier of a target frame to be skipped for light supplement may include: updating a frame identifier set to be skipped for light supplement corresponding to a preset processing process according to the frame identifier of the current processing frame and the frame number corresponding to the single frame processing duration of the preset processing process; and determining at least one frame identifier which is sequentially arranged after the frame identifier of the current exposure frame in the frame identifier set as the frame identifier of the target frame.
As described above, the frame identification may be in the form of, for example, a timestamp, a character string, a combination of a timestamp and a character string, and the like. Wherein, according to the frame identifier of the current processing frame and the frame number corresponding to the single frame processing duration of the preset processing process, the frame identifier of the current video frame to be skipped for light supplement corresponding to the preset processing process can be determined, for example, assuming that the frame identifier adopts a timestamp form, the frame number is 2 frames, the image acquisition device acquires one frame every 20ms, and the frame identifier of the current processing frame is "time-division-second millisecond: 1202120120 ", it may be determined that the frame identifier of the currently to-be-skipped fill light corresponding to the preset processing procedure may include" 1202120140 "and" 1202120160 "; and further, the frame identifier set of the supplementary lighting to be skipped corresponding to the preset processing process can be updated according to the 1202120140 and 1202120160.
The frame identifier set of the supplementary lighting to be skipped corresponding to the preset processing process includes the determined frame identifier of the video frame to be skipped. It should be understood that the process of determining the frame identifier of the video frame to be skipped for supplementary lighting may be performed for multiple rounds, and according to the frame identifier of the video frame to be skipped for supplementary lighting determined in each round, the frame identifier currently included in the frame identifier set may be updated.
As described above, the frame identifier may represent an acquisition sequence of the video frame, and the frame identifier whose acquisition sequence is arranged after the frame identifier of the current exposure frame may be determined according to the frame identifier, so that at least one frame identifier whose acquisition sequence is arranged after the frame identifier of the current exposure frame in the frame identifier set may be used as the frame identifier of the target frame. For example, the frame identification set includes "1202120140" and "1202120160", the frame identification of the current exposure frame is "1202120140", and the frame identification of the target frame is "1202120160".
In step S14, the fill-in light of the image capture device is turned off during the period when the image capture device captures the target frame according to the frame id of the target frame.
In a possible implementation manner, controlling a fill-in light of an image capture device to turn off during a period when the image capture device captures a target frame according to a frame identifier of the target frame may include: and sending a control signal to the light supplement lamp according to the frame identifier of the target frame so as to control the light supplement lamp to be turned off during the period of acquiring the target frame by the image acquisition equipment.
In a possible implementation manner, sending a control signal to the fill-in lamp according to the frame identifier of the target frame may include: sending a closing signal to a light supplement lamp under the condition that the target frame to be exposed of the image acquisition equipment is determined according to the SOF signal; and sending a starting signal to the light supplement lamp under the condition that the image acquisition equipment finishes exposing the target frame according to the SOF signal. Through this mode, can effectively control the light filling lamp and close during image acquisition equipment gathers the target frame.
In the embodiment of the disclosure, by determining the frame identifier of the target frame to be skipped for light supplement, it is equivalent to determining the frame identifier of the video frame to be acquired without starting a light supplement lamp for light supplement; and then according to the frame sign of target frame, control the light filling lamp of image acquisition equipment and close during image acquisition equipment gathers the target frame to reduce the electric quantity consumption of light filling lamp, also realize the low-power consumption control of light filling lamp.
In one possible implementation manner, in step S13, determining a frame identifier of a target frame to be skipped for supplementary lighting according to a frame identifier of a currently processed frame, a frame identifier of a currently exposed frame, and a frame number corresponding to a single frame processing duration of a preset processing procedure, includes:
step S131: updating a frame identifier set of the light supplement to be skipped, which corresponds to a preset processing process, according to the frame number and the frame identifier of the current processing frame;
step S132: and determining the frame identifier of the target frame according to the frame identifier and the frame identifier set of the current exposure frame.
In step S131, the frame identifier set can be updated by referring to the above-mentioned manner of updating the frame identifier set according to the embodiment of the present disclosure, which is not described herein again. Step S132: determining the frame identifier of the target frame according to the frame identifier and the frame identifier set of the current exposure frame, which may include: and determining at least one frame identifier which is sequentially arranged after the frame identifier of the current exposure frame in the frame identifier set as the frame identifier of the target frame.
For example, assuming that the frame identifier is in the form of a character string, the number of frames is 3, and the frame identifier of the currently processed frame is "frame 00010009", it can be determined that the frame identifiers of the video frame to be currently skipped for supplemental lighting may include "frame 00010010", "frame 00010011", and "frame 00010012"; further, the frame identifier set of the light supplement to be skipped corresponding to the preset processing procedure may be updated, and the updated frame identifier set includes "frame 00010010", "frame 00010011", and "frame 00010012"; if the frame identification of the current exposure frame is "frame 00010011", the frame identification of the target frame is "frame 00010012".
It should be understood that the currently processed frame that the preset processing process starts to process may not be the video frame that the image capturing device has last acquired, for example, when the preset processing process starts to process the first frame of video frame, the image capturing device has acquired the fifth frame of video frame, and the number of frames is 3 frames, in this case, the frame identifiers of the groups of video frames to be skipped for supplementary lighting may be calculated according to the frame number and the frame identifier of the currently processed frame, and the first identifier set may be continuously updated. By the method, the effective frame identification of the target frame can be obtained in advance.
For example, assuming that the frame identifier is in the form of a character string, the number of frames is 3, and the frame identifier of the currently processed frame is "frame 00010009", it may be determined that the frame identifiers of a group of video frames to be skipped by the supplemental lighting include "frame 00010010", "frame 00010011", and "frame 00010012", and if the frame identifier of the currently exposed frame is "frame 00010013", it may be determined that the frame identifiers of a group of video frames to be skipped by the supplemental lighting include "frame 00010014", "frame 00010015", and "frame 00010016", that is, the frame identifier of the target frame includes "frame 00010014", "frame 00010015", and "frame 00010016".
In the embodiment of the disclosure, the frame identifier of the target frame to be skipped for supplementary lighting can be quickly determined.
As described above, the preset processing process may be a process for implementing a preset task, and the preset task may at least include at least one of a face recognition task and an exposure parameter calculation task, for example; in one possible implementation, the preset processing procedure may include: at least one of an image processing process and an exposure parameter processing process; the number of frames corresponding to a single frame processing duration of the preset processing procedure may include: at least one of a first frame number corresponding to a single frame processing duration of the image processing process and a second frame number corresponding to a single frame processing duration of the exposure parameter processing process; the currently processed frame may include: the image processing process begins processing at least one of a first video frame of the video stream and the exposure parameter processing process begins processing a second video frame of the video stream.
In a possible implementation manner, in step S131, updating, according to the frame number and the frame identifier of the currently processed frame, a frame identifier set of the light supplement to be skipped, which corresponds to a preset processing procedure, includes:
updating a first frame identification set of the supplementary lighting to be skipped, which corresponds to the image processing process, according to the first frame number and the frame identification of the first video frame; and/or updating a second frame identifier set of the light supplement to be skipped, which corresponds to the exposure parameter processing process, according to the second frame number and the frame identifier of the second video frame; the frame identification set includes at least one of a first frame identification set and a second frame identification set.
The image processing process may be used to implement a face recognition task, and the exposure parameter processing process may be used to implement an exposure parameter calculation task. In a possible implementation manner, the single-frame processing duration corresponding to the image processing process may include time consumed between the image processing process starting to process the first video frame and obtaining the image recognition result; the single frame processing duration corresponding to the exposure parameter processing procedure may include a time consumed by the exposure parameter processing procedure to start processing the second video frame to obtain the exposure parameter until the exposure parameter acts on the image capturing device.
It should be understood that, the respective single frame processing durations of the image processing process and the exposure parameter processing process may be different, and then the first frame number corresponding to the image processing process and the second frame number corresponding to the exposure parameter processing process may be different; and, the first video frame that the image processing process starts to process may also be different from the second video frame that the exposure parameter processing process starts to process.
Therefore, the first frame identification set corresponding to the image processing process can be updated according to the first frame number and the frame identification of the first video frame, and the second frame identification set corresponding to the exposure parameter processing process can be updated according to the second frame number and the frame identification of the second video frame. The first frame identifier set and the second frame identifier set may be updated by referring to the manner of updating the frame identifier sets in step S13 in the embodiment of the present disclosure, which is not described herein again.
Certainly, the first video frame which is processed by the image processing process and the second video frame which is processed by the exposure parameter processing process can also be the same frame of video frame, that is, the image processing process and the exposure parameter processing process can be designed to be executed synchronously as much as possible, that is, the same frame is used for operation at the same time as much as possible, so that the video frames for light supplement by starting the light supplement lamp can be reduced, and the power consumption of the light supplement lamp can be reduced. For example, the SOF signal sent by the image capturing device may be used to implement the synchronous execution of the image processing process and the exposure parameter processing process.
In the embodiment of the present disclosure, when the preset processing procedure includes a plurality of processing procedures, the frame identifier set can be effectively updated, so that the frame identifier of the target frame can be determined later.
As described above, the preset processing procedure includes: at least one of an image processing procedure and an exposure parameter processing procedure, the set of frame identifications including: at least one of a first frame identification set of light supplement to be skipped, which corresponds to the image processing process, and a second frame identification set of light supplement to be skipped, which corresponds to the exposure parameter processing process; in one possible implementation manner, in step S132, determining a frame identifier of the target frame according to the frame identifier and the frame identifier set of the current exposure frame includes:
determining at least one first frame identifier of a first frame identifier set, wherein the acquisition sequence of the first frame identifier set is arranged behind the frame identifier of the current exposure frame; determining at least one second frame identifier which is sequentially arranged after the frame identifier of the current exposure frame in the second frame identifier set; and determining the intersection between the at least one first frame identifier and the at least one second frame identifier as the frame identifier of the target frame.
For example, assuming that the frame identifier is in the form of a timestamp, the frame identifier of the currently exposed frame is "1202120220", the first frame identifier set includes frame identifiers "1202120220" and "1202120240", the second frame identifier set includes frame identifiers "1202120200", "120212220", "1202120240" and "1202120260", the first frame identifier includes "1202120240", and the second frame identifier includes "1202120240" and "1202120260"; the intersection between the first frame identification and the second frame identification is "1202120240", and "1202120240" may be determined as the frame identification of the target frame for which the fill-in is to be skipped.
It should be understood that the preset processing procedure may also include other procedures for implementing various preset tasks. When the preset processing process includes a plurality of processes, each frame identifier set corresponding to each preset processing process may be determined first according to the manner from step S131 to step S132 in the embodiment of the present disclosure; and then respectively determining the frame identifications arranged behind the frame identification of the current exposure frame in each frame identification set and taking an intersection to obtain the frame identification of the target frame to be skipped for light supplement.
In the embodiment of the disclosure, the frame identifier of the target frame can be determined quickly and effectively for multiple preset processing processes.
As in the fill light control device described above, the main control chip may be connected to the fill light control module, and in a possible implementation manner, in step S14, the fill light of the image capturing device is controlled to be turned off during the period when the image capturing device captures the target frame according to the frame identifier of the target frame, including:
sending a first control signal to a light supplement lamp control module according to the frame identifier of the target frame, wherein the first control signal comprises a light supplement lamp closing signal; the light supplement lamp control module is used for controlling the on-off of the light supplement lamp according to a first control signal, so that the light supplement lamp is turned off during the period that the image acquisition equipment acquires the target frame.
The first control signal may be a pulse signal, for example, a light supplement lamp turn-off signal may be set to be a low level signal, and a light supplement lamp turn-on signal may be a high level signal. In a possible implementation manner, before the image acquisition device acquires the target frame, a fill-in light lamp closing signal can be sent to the fill-in light lamp control module; and after the image acquisition equipment acquires the target frame, sending a light supplement lamp starting signal to the light supplement lamp control module.
As described above, a Start of frame (SOF) signal issued by the image capturing apparatus, which is a timing signal issued by the image capturing apparatus when capturing any video frame starts, may be acquired, and it is known that the image capturing apparatus is currently exposed to the several video frames through the SOF signal.
In a possible implementation manner, sending the first control signal to the fill light control module according to the frame identifier of the target frame may include: sending a supplementary lighting lamp closing signal to a supplementary lighting lamp control module under the condition that an SOF signal aiming at a current exposure frame sent by image acquisition equipment is acquired; and sending a light supplement lamp starting signal to the light supplement lamp control module under the condition of acquiring the SOF signal which is sent by the image acquisition equipment and aims at the last frame of target frame. By the mode, the light supplement lamp can be in the off state as far as possible during the period that the image acquisition equipment acquires the target frame, and meanwhile, the light supplement lamp can be in the on state during the period that the image acquisition equipment acquires the video frame after the target frame.
It should be noted that, the above implementation manner for sending the first control signal to the light supplement lamp according to the frame identifier of the target frame is an implementation manner provided in the embodiment of the present disclosure, and in fact, a person skilled in the art may debug the sending manner of the first control signal through multiple experiments, so that the sending timing of the first control signal meets the control requirement for the light supplement lamp, which is not limited in the embodiment of the present disclosure. For example, a fill-in light turn-off signal can be sent to the fill-in light control module under the condition that an SOF signal for a first frame target frame sent by the image acquisition device is acquired; and a supplementary lighting lamp closing signal can be started to the supplementary lighting lamp control module under the condition of acquiring the SOF signal which is sent by the image acquisition equipment and aims at the video frame acquired after the target frame.
As described above, the first control signal may be a pulse signal, for example, the fill-in lamp turn-off signal may be set to be a low level signal, and the fill-in lamp turn-on signal may be a high level signal. In a possible implementation manner, the light supplement lamp control module may control the light supplement lamp to be turned off in response to a light supplement lamp turning-off signal sent by the main control chip; and responding to a light supplement lamp starting signal sent by the main control chip, and controlling the light supplement lamp to be started.
It should be understood that, a person skilled in the art may design a logic control circuit of the fill light control module by using known digital circuit technology, and the logic control circuit controls the fill light to be turned on or off in response to the first control signal, that is, supplies power to or cuts off power from the fill light in response to the first control signal; the design of the logic control circuit is not limited in the embodiments of the present disclosure.
In the embodiment of the disclosure, by determining the frame identifier of the target frame to be skipped for light supplement, it is equivalent to determining the frame identifier of the video frame to be acquired without starting a light supplement lamp for light supplement; and then according to the frame sign of target frame, send first control signal to light filling lamp control module group, first control signal includes the light filling lamp and closes the signal, can make light filling lamp control module group control light filling lamp close during image acquisition equipment gathers the target frame to reduce the electric quantity consumption of light filling lamp, also realize the low-power consumption control of light filling lamp.
As mentioned above, the preset processing procedure comprises an image processing procedure, and the currently processed frame comprises a first video frame of the video stream, and in a possible implementation, the method further comprises:
sending a light supplement lamp closing signal to a light supplement lamp control module under the condition that an image processing process processes a first video frame to obtain an image processing result, so that the light supplement lamp control module responds to the light supplement lamp closing signal and controls a light supplement lamp to be closed; and/or sending an equipment closing signal to the image acquisition equipment so that the image acquisition equipment stops acquiring the video frame in response to the equipment closing signal; the image processing process comprises a face recognition process, and the image processing result comprises a face recognition result.
The image processing process processes the first video frame to obtain an image processing result, and can be understood as obtaining a face recognition result by running a face recognition process (namely running a face recognition algorithm and the like), wherein the face recognition process is used for realizing a face recognition task; the face recognition result may include that the face recognition is successful, that is, the identity recognition is successful, for example, the face is a registered legal face; face recognition failures, i.e., identity recognition failures, may also be included, for example, if the face is an unregistered strange face.
Under the condition of obtaining the image processing result, a fill-in light turning-off signal, such as a low-level signal, can be sent to the fill-in light control module, so that the fill-in light control module controls the fill-in light to be turned off; meanwhile, an equipment closing signal can be sent to the image acquisition equipment to close the image acquisition equipment, namely to stop acquiring video frames.
It should be understood that, after the image processing result is obtained, it may represent that the image processing task is finished, and if a new image processing task is to be triggered, that is, the image capturing device is restarted to capture a video frame, the image capturing device may be restarted and the image processing task is executed through a preset trigger condition. For example, the method can be set to be that when a user triggers a button on the intelligent access control device, the image acquisition device is started again to acquire a video frame and trigger a face recognition task; or when the infrared sensor detects that the user approaches the intelligent access control, the image acquisition equipment is started to acquire the video frame and trigger the face recognition task. The embodiments of the present disclosure are not limited to the implementation of the trigger condition.
It can be known that, image acquisition equipment can idle a few frames usually at the closing in-process, also the closing process of image acquisition equipment needs consuming time, in the embodiment of this disclosure, through sending the close signal to light filling lamp control module group and image acquisition equipment respectively, can need not to wait to close the light filling lamp after image acquisition equipment closes again, can realize closing the light filling lamp in advance, saves the electric quantity consumption of light filling lamp.
As mentioned above, the preset processing procedure includes an exposure parameter processing procedure, and the currently processed frame includes a second video frame of the video stream, where the exposure parameter processing procedure starts to process the second video frame of the video stream, and in a possible implementation manner, the method further includes:
and under the condition that the exposure parameter processing process processes the second video frame to obtain the exposure parameter, the exposure parameter is sent to the image acquisition equipment so that the image acquisition equipment acquires the video stream according to the exposure parameter.
The exposure parameter processing process processes the second video frame to obtain the exposure parameter, for example, it may be understood that an automatic exposure ae (automatic exposure) algorithm is executed according to brightness information in the second video frame to obtain the exposure parameter. The exposure parameters may include aperture size, exposure time (which may also be referred to as shutter speed), sensitivity, and the like.
In the embodiment of the disclosure, the image acquisition device can be facilitated to effectively acquire the video stream according to the exposure parameters.
Fig. 3 is a schematic diagram illustrating a method for controlling a fill-in light according to an embodiment of the present disclosure, where the method is applied to a fill-in light control module (such as the fill-in light control module 201 described above), and the fill-in light control module is connected to a fill-in light of an image capture device, and as shown in fig. 3, the method includes:
in step S21, receiving a first control signal sent by the main control chip;
in step S22, the on/off of the light supplement lamp is controlled according to a first control signal sent by the main control chip, so that the light supplement lamp is turned off during the period when the image capture device captures the target frame, where the first control signal includes a light supplement lamp turn-off signal.
As described above, the first control signal may be a signal sent by the main control chip to the fill-in light control module according to the frame identifier of the target frame. The first control signal may be a pulse signal, for example, a light supplement lamp turn-off signal may be set to be a low level signal, and a light supplement lamp turn-on signal may be a high level signal.
In a possible implementation manner, the light supplement lamp control module may control the light supplement lamp to be turned off in response to a light supplement lamp turning-off signal sent by the main control chip; and responding to a light supplement lamp starting signal sent by the main control chip, and controlling the light supplement lamp to be started. By the mode, the light supplement lamp is controlled to be turned off during the period that the image acquisition equipment acquires the target frame.
It should be understood that, a person skilled in the art may design a logic control circuit of the fill light control module by using known digital circuit technology, and the logic control circuit controls the fill light to be turned on or off in response to the first control signal, that is, supplies power to or cuts off power from the fill light in response to the first control signal; the design of the logic control circuit is not limited in the embodiments of the present disclosure.
In this embodiment of the disclosure, the first control signal that main control chip sent includes the light filling lamp and closes the signal, can make light filling lamp control module group control light filling lamp close during image acquisition equipment gathers the target frame to reduce the electric quantity consumption of light filling lamp, also realize the low-power consumption control of light filling lamp.
As described above, in the related art, the image acquisition device may send a Strobe signal to the fill light according to a preset acquisition frame rate to control the Strobe of the fill light, that is, turn on the fill light according to a certain frequency control, so as to save power consumption of the fill light; the preset processing process can be a video frame which does not need light supplement in practice in the process of processing a frame of video frame, for example, the preset processing process can acquire the latest video frame currently acquired in a video stream for processing after the frame of video frame is processed, so that the problem of electric quantity waste still exists only by using the image acquisition device to send a gating pulse signal to the light supplement lamp to control the stroboscopic mode of the light supplement lamp, and the power consumption of the light supplement lamp cannot be effectively reduced.
As described above, the image capturing device may capture a video stream, and in one possible implementation manner, the image capturing device is further configured to send a second control signal to the fill-in light control module according to a preset capture frame rate, where the second control signal includes a fill-in light turn-on signal.
As described above, the image capturing device may capture image data of an actual scene according to a preset capture frame rate (i.e., an image capture frequency). And sending a second control signal to the supplementary lighting lamp control module according to the acquisition frame rate, for example, sending the second control signal to the supplementary lighting lamp control module through a Strob pin of a sensor in the image acquisition equipment. The acquisition frame rate is fixed, the transmission frequency of the second control signal is fixed, or the acquisition frame rate may be positively correlated to the transmission frequency of the second control signal.
In one possible implementation, the method further includes: receiving a second control signal sent by the image acquisition equipment, wherein the second control signal comprises a light supplement lamp starting signal: in step S22, according to the first control signal that main control chip sent, control the opening and closing of light filling lamp, include: and controlling the on-off of the light supplement lamp according to the first control signal and the second control signal. Through this mode, utilize opening and close of first control signal and second control signal control light filling lamp comprehensively, not only can make opening and close of light filling lamp synchronous with image acquisition equipment's collection frame rate, can also save the electric quantity consumption of light filling lamp to effectively reduce whole consumption.
In a possible implementation manner, according to a first control signal and a second control signal, controlling the on/off of the light supplement lamp includes: under the condition that the first control signal and the second control signal are both light supplement lamp starting signals, the light supplement lamps are controlled to be started, and the light supplement lamp starting signals comprise high level signals; or, under the condition that a light supplement lamp closing signal exists in the first control signal and the second control signal, the light supplement lamp is controlled to be closed, and the light supplement lamp closing signal comprises a low level signal.
The first control signal and the second control signal are both light supplement lamp turn-on signals, and it can be understood that the first control signal and the second control signal are both high level signals. The first control signal and the second control signal have a fill-in lamp turn-off signal, which means that any one of the first control signal and the second control signal is a low-level signal, that is, a low-level signal exists, and the fill-in lamp is controlled to be turned off. It should be understood that the light supplement lamp can be controlled to be turned on or off by supplying or cutting off power to the light supplement lamp.
In a possible implementation manner, the fill light turning-on signal may also be set to a low level signal, and the fill light turning-off signal may also be set to a high level signal, which is not limited in this disclosure. It should be understood that the high level and the low level have a relative relationship, for example, 5V or more is the high level, and 0V or so is the low level.
It should be understood that, a person skilled in the art may adopt a known digital circuit technology to design a logic control circuit, and the logic control circuit controls the on/off of the light supplement lamp according to the first control signal and the second control signal, that is, supplies power to or cuts off power from the light supplement lamp according to the first control signal and the second control signal; the design of the logic control circuit is not limited in the embodiments of the present disclosure.
In the embodiment of the disclosure, the first control signal and the second control signal can be comprehensively utilized to control the on-off of the light supplement lamp, so that the on-off of the light supplement lamp is synchronous with the acquisition frame rate of the image acquisition device, the electric quantity consumption of the light supplement lamp can be saved, and the overall power consumption is effectively reduced.
In a possible implementation manner, the light supplement lamp control module in the embodiment of the disclosure includes a logic control circuit, and the logic control circuit is configured to control the on and off of the light supplement lamp of the image acquisition device according to a first control signal sent by the main control chip and a second control signal sent by the image acquisition device.
Fig. 4 shows a schematic diagram of a logic control circuit according to an embodiment of the present disclosure, as shown in fig. 4, the logic control circuit includes: and gate circuits (the part of the circuits within the dashed box in fig. 4) and driver circuits (the part of the circuits outside the dashed box in fig. 4).
As shown in fig. 4, the and circuit includes two parallel diodes D1 and D2, and the two parallel diodes D1 and D2 are connected to the external power source VCC _1V8 through a resistor R3, wherein VCC _1V8 may be 1.8V power source, for example. It should be understood that the and gate circuit shown in fig. 4 is an implementation of an and gate, and in fact, the and gate circuit may also be implemented by a field effect transistor, for example, and the embodiment of the present disclosure is not limited thereto.
The two input ends of the AND gate circuit are respectively connected with the main control chip and the image acquisition equipment to receive the first control signal and the second control signal.
In a possible implementation manner, the input end Ua in fig. 4 may be connected to a GPIO (General-purpose input/output) pin of the main control chip; the input end Ub is connected with a Strobe Strobe pin of a light sensing element in the image acquisition equipment, and by the mode, the exposure time of the image acquisition equipment and the starting time of the light supplement lamp can be synchronized through a hardware structure.
In a possible implementation manner, the first control signal received by the input end Ua may be a high level signal, or the input end Ua is in a pull-up state, so that when the image acquisition device sends a fill light turn-on signal (i.e., a high level signal) according to a certain frequency, the automatic control of turning on the fill light by the fill light can be realized.
It should be understood that, when the first control signal is a fill light turning-off signal (i.e., a low level signal), no matter the image capture device sends a low level signal or a high level signal, the fill light cannot be turned on, and in this way, the fill light can skip video frames without necessary fill light, that is, the fill light is turned off during the period of capturing a target frame by the image capture device, so that power consumption of the fill light is reduced, and low power consumption control of the fill light is also achieved.
As shown in fig. 4, the driving circuit includes: the light-compensating circuit comprises a first transistor M1, a second transistor M2, a capacitor C, a first resistor R1 and a second resistor R2, wherein the gate of the first transistor M1 is connected with the output end of the AND circuit, the source of the first transistor M1 is grounded, the drain of the first transistor M1 is connected with the gate of the second transistor M2, the drain of the second transistor M2 is connected with an external power supply VCC _ SYS through a first resistor R1 connected in parallel, the source of the second transistor M2 is connected with a light-compensating lamp IRLED through a second resistor R2 connected in series, and the source of the second transistor M2 is grounded through a second resistor R2 and a capacitor C connected in series.
In one possible implementation, the first transistor M1 may be an N-channel enhancement type metal-oxide semiconductor field effect transistor N-MOSFET, and the second transistor M2 may be a P-channel enhancement type metal-oxide semiconductor field effect transistor P-MOSFET; the external power source VCC _ SYS may use a 3.3V power source, for example. It should be understood that the sizes and types of the resistors R1, R2, R3 and the capacitor C may be determined according to circuit design requirements, and the disclosed embodiment is not limited thereto.
In a possible implementation manner, the fill light may be an infrared light lamp composed of an infrared light emitting diode IRLED, for example, an IRLED with an infrared emission tube having a wavelength of 850nm or 940nm or more may be adopted, and the embodiment of the present disclosure is not limited thereto.
It should be understood that based on the logic control circuit shown in fig. 4, the and circuit may perform an and logic process on the two control signals, that is, when both the first control signal and the second control signal are high level signals, a high level signal is output, and when a low level signal exists in the first control signal and the second control signal, a low level signal is output; the drive circuit can realize that the light filling lamp is powered on when the output end of the AND gate circuit is a high level signal, and the light filling lamp is powered off when the output end of the AND gate circuit is a low level signal.
It should be understood that fig. 4 shows that the logic control circuit is an implementation manner provided by the embodiment of the present disclosure, and actually, a person skilled in the art may design different logic control circuits according to actual requirements under the initiation of the embodiment of the present disclosure, and it should be understood that any logic control circuit that controls the on and off of the fill light according to the first control signal and the second control signal may be within the protection scope of the present disclosure.
In the embodiment of the disclosure, the on/off of the light supplement lamp can be controlled in a soft and hard combination mode, especially, a video frame without light supplement can be skipped by the light supplement lamp, and the light supplement lamp is also turned off during the period of acquiring a target frame by the image acquisition device, so that the power consumption of the light supplement lamp is reduced, and the low power consumption control of the light supplement lamp is also realized.
Fig. 5 shows a schematic diagram of a fill-light control system according to an embodiment of the present disclosure, as shown in fig. 5, the system includes: light filling lamp control equipment and image acquisition equipment, light filling lamp control equipment include main control chip, light filling lamp control module group and light filling lamp, and wherein, image acquisition equipment is connected respectively with light filling lamp control equipment's main control chip and light filling lamp control module group.
Wherein the master control chip is configured to perform: the system comprises a face recognition process, an exposure parameter processing process and a light supplementing decision process. The face recognition process is configured to: running a face recognition algorithm according to the video frame acquired by the image acquisition equipment to obtain a face recognition result; and sending the face recognition result to a supplementary lighting decision process, and sending the frame identifier of the video frame which is currently processed to the supplementary lighting decision process.
The exposure parameter processing procedure is configured to: running an automatic exposure algorithm according to brightness information in a video frame acquired by image acquisition equipment to obtain exposure parameters; and sending the exposure parameter to the image acquisition equipment, and sending the frame identifier of the video frame which is currently processed to the light supplement decision making process.
A fill light decision process configured at least to: according to the frame identifier sent by the face recognition process, the frame identifier sent by the exposure parameter, the SOF signal, and the face recognition result, steps S11 to S14 in the embodiment of the present disclosure are executed to send a first control signal to the fill light control module.
Wherein, image acquisition equipment can send the second control signal to light filling lamp control module group according to predetermined collection frame rate. The light supplement lamp control module comprises a light supplement lamp and a logic control circuit, and the logic control circuit is used for controlling the on-off of the light supplement lamp according to a first control signal and a second control signal.
The image acquisition equipment can also send an SOF signal to the main control chip, and the frame identifier of the video frame currently exposed by the image acquisition equipment can be known through the SOF signal; the face recognition process, the exposure parameter processing process and the light supplement decision process can perform state synchronization through SOF signals and frame identifiers (FrameID) of collected video frames.
After the exposure parameter processing process processes the video frame to obtain the exposure parameter, the exposure parameter can be sent to the image acquisition equipment, so that the image acquisition equipment can acquire the video frame according to the exposure parameter.
After the video frame is processed in the face recognition process to obtain a face recognition result, an equipment closing signal can be sent to the image acquisition equipment to close the image acquisition equipment, and the face recognition result is sent to the light supplement decision process; the fill light decision process may be further configured to: and sending a light supplement lamp closing signal to the light supplement lamp control module under the condition of receiving the face recognition result sent by the face recognition process.
It should be noted that the image processing process, the exposure parameter processing process, and the fill light decision process may be program processes running independently, or may also be different threads running in the same program process, and specifically, the embodiment of the present disclosure is not limited according to program development requirements of technicians on method steps executed in the main control chip. The light filling lamp control system of the embodiment of the disclosure can be applied to a face recognition module, and intelligent access control or face-brushing payment equipment and the like based on face recognition.
It should be understood that, in the fill light control system according to the embodiment of the present disclosure, each step executed in the main control chip, an implementation manner of the fill light control module, and the like may refer to the description of the embodiment of the present disclosure, and details are not described herein.
According to the embodiment of the disclosure, the fine control of combining hardware and software can be realized, and unnecessary power loss can be reduced in the working process of the image acquisition equipment. Meanwhile, the light supplement lamp is turned off in advance after the face recognition is finished, and the idle power consumption is saved, so that the power consumption of the light supplement lamp is saved to the maximum extent, and the overall power consumption index of the system is improved.
It is understood that the above-mentioned method embodiments of the present disclosure can be combined with each other to form a combined embodiment without departing from the logic of the principle, which is limited by the space, and the detailed description of the present disclosure is omitted. Those skilled in the art will appreciate that in the above methods of the specific embodiments, the specific order of execution of the steps should be determined by their function and possibly their inherent logic.
In addition, the present disclosure also provides a fill-in light control device, an electronic device, a computer-readable storage medium, and a program, which can be used to implement any fill-in light control method provided by the present disclosure, and the corresponding technical solutions and descriptions and corresponding descriptions in the methods section are omitted for brevity.
Fig. 6 is a block diagram of a fill-in light control device according to an embodiment of the present disclosure, which is applied to a main control chip, and as shown in fig. 6, the fill-in light control device includes:
an obtaining module 111, configured to obtain a video stream that has been collected by an image collection device;
an exposure frame determining module 112, configured to determine, when a preset processing process starts to process a currently processed frame of the video stream, a frame identifier of the currently exposed frame of the image acquisition device;
a target frame determining module 113, configured to determine, according to the frame identifier of the current processing frame, the frame identifier of the current exposure frame, and a frame number corresponding to a single frame processing duration of the preset processing procedure, a frame identifier of a target frame to be skipped for light supplement, where the target frame is a video frame to be acquired after the current exposure frame;
a control module 114, configured to control a fill-in light of the image acquisition device to turn off during a period when the image acquisition device acquires the target frame according to the frame identifier of the target frame.
In one possible implementation, the target frame determination module includes: the updating submodule is used for updating a frame identifier set of the light supplement to be skipped, which corresponds to the preset processing process, according to the frame number and the frame identifier of the current processing frame; and the frame identifier determining submodule is used for determining the frame identifier of the target frame according to the frame identifier of the current exposure frame and the frame identifier set.
In one possible implementation manner, the preset processing procedure includes: at least one of an image processing process and an exposure parameter processing process; the number of frames includes: at least one of a first frame number corresponding to the single-frame processing duration of the image processing process and a second frame number corresponding to the single-frame processing duration of the exposure parameter processing process; the current processing frame includes: at least one of a first video frame which is started to be processed by the image processing process and a second video frame which is started to be processed by the exposure parameter processing process; wherein, the updating the frame identifier set of the light supplement to be skipped corresponding to the preset processing process according to the frame number and the frame identifier of the current processing frame includes: updating a first frame identification set of the supplementary lighting to be skipped, which corresponds to the image processing process, according to the first frame number and the frame identification of the first video frame; and/or updating a second frame identifier set of the supplementary lighting to be skipped, which corresponds to the exposure parameter processing process, according to the second frame number and the frame identifier of the second video frame; the set of frame identifications includes at least one of the first set of frame identifications and the second set of frame identifications.
In one possible implementation manner, the preset processing procedure includes: at least one of an image processing procedure and an exposure parameter processing procedure, the set of frame identifications comprising: at least one of a first frame identifier set of light supplement to be skipped, which corresponds to the image processing process, and a second frame identifier set of light supplement to be skipped, which corresponds to the exposure parameter processing process; wherein, the determining the frame identifier of the target frame according to the frame identifier of the current exposure frame and the frame identifier set includes: determining at least one first frame identifier in the first frame identifier set, wherein the acquisition sequence of the at least one first frame identifier is arranged after the frame identifier of the current exposure frame; determining at least one second frame identifier in the second frame identifier set, wherein the acquisition sequence of the second frame identifier set is arranged after the frame identifier of the current exposure frame; and determining the intersection between the at least one first frame identifier and the at least one second frame identifier as the frame identifier of the target frame.
In a possible implementation manner, the main control chip is connected to the light supplement lamp control module, and the control module includes: the signal sending submodule is used for sending a first control signal to the supplementary lighting lamp control module according to the frame identifier of the target frame, wherein the first control signal comprises a supplementary lighting lamp closing signal; the light supplement lamp control module is used for controlling the on-off of the light supplement lamp according to the first control signal, so that the light supplement lamp is turned off during the period that the image acquisition equipment acquires the target frame.
In one possible implementation manner, the preset processing procedure includes an image processing procedure, the current processing frame includes a first video frame processed by the image processing procedure, and the apparatus further includes: a turn-off signal sending module, configured to send a light supplement lamp turn-off signal to the light supplement lamp control module when the image processing process processes the first video frame to obtain an image processing result, so that the light supplement lamp control module controls a light supplement lamp to turn off in response to the light supplement lamp turn-off signal; and/or, the device closing signal is used for sending a device closing signal to the image acquisition device, so that the image acquisition device stops acquiring video frames in response to the device closing signal; the image processing process comprises a face recognition process, and the image processing result comprises a face recognition result.
In the embodiment of the disclosure, by determining the frame identifier of the target frame to be skipped for light supplement, it is equivalent to determining the frame identifier of the video frame to be acquired without starting a light supplement lamp for light supplement; and then according to the frame sign of target frame, control the light filling lamp of image acquisition equipment and close during image acquisition equipment gathers the target frame to reduce the electric quantity consumption of light filling lamp, also realize the low-power consumption control of light filling lamp.
Fig. 7 is a block diagram of a fill-in light control device according to an embodiment of the present disclosure, the device is applied to a fill-in light control module, the fill-in light control module is connected to a fill-in light of an image capture device, as shown in fig. 7, the device includes:
the first receiving module 211 is configured to receive a first control signal sent by the main control chip;
and the light supplement lamp control module 212 is configured to control the on and off of the light supplement lamp according to the first control signal sent by the main control chip, so that the light supplement lamp is turned off during the period that the image acquisition device acquires the target frame, and the first control signal includes a light supplement lamp turn-off signal.
In one possible implementation, the apparatus further includes: the second receiving module is used for receiving a second control signal sent by the image acquisition equipment, wherein the second control signal comprises a light supplement lamp starting signal; light filling lamp control module includes: and the light supplement lamp control submodule is used for controlling the on-off of the light supplement lamp according to the first control signal and the second control signal.
In a possible implementation manner, the controlling the on and off of the light supplement lamp according to the first control signal and the second control signal includes: controlling the light supplement lamp to be turned on under the condition that the first control signal and the second control signal are both light supplement lamp turning-on signals, wherein the light supplement lamp turning-on signals comprise high level signals; or, under the condition that a light supplement lamp closing signal exists in the first control signal and the second control signal, the light supplement lamp is controlled to be closed, and the light supplement lamp closing signal comprises a low level signal.
In this embodiment of the disclosure, the first control signal that main control chip sent includes the light filling lamp and closes the signal, can make light filling lamp control module group control light filling lamp close during image acquisition equipment gathers the target frame to reduce the electric quantity consumption of light filling lamp, also realize the low-power consumption control of light filling lamp.
In some embodiments, functions of or modules included in the apparatus provided in the embodiments of the present disclosure may be used to execute the method described in the above method embodiments, and specific implementation thereof may refer to the description of the above method embodiments, and for brevity, will not be described again here.
Embodiments of the present disclosure also provide a computer-readable storage medium having stored thereon computer program instructions, which when executed by a processor, implement the above-mentioned method. The computer readable storage medium may be a volatile or non-volatile computer readable storage medium.
An embodiment of the present disclosure further provides an electronic device, including: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to invoke the memory-stored instructions to perform the above-described method.
The disclosed embodiments also provide a computer program product comprising computer readable code or a non-transitory computer readable storage medium carrying computer readable code, which when run in a processor of an electronic device, the processor in the electronic device performs the above method.
The electronic device may be provided as a terminal, a server, a main control chip, a fill-in light control module, or other forms of devices.
Fig. 8 illustrates a block diagram of an electronic device 800 in accordance with an embodiment of the disclosure. For example, the electronic device 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, or the like terminal.
Referring to fig. 8, electronic device 800 may include one or more of the following components: processing component 802, memory 804, power component 806, multimedia component 808, audio component 810, input/output (I/O) interface 812, sensor component 814, and communication component 816.
The processing component 802 generally controls overall operation of the electronic device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 802 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operations at the electronic device 800. Examples of such data include instructions for any application or method operating on the electronic device 800, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 804 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power supply component 806 provides power to the various components of the electronic device 800. The power components 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the electronic device 800.
The multimedia component 808 includes a screen that provides an output interface between the electronic device 800 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the electronic device 800 is in an operation mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the electronic device 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 814 includes one or more sensors for providing various aspects of state assessment for the electronic device 800. For example, the sensor assembly 814 may detect an open/closed state of the electronic device 800, the relative positioning of components, such as a display and keypad of the electronic device 800, the sensor assembly 814 may also detect a change in the position of the electronic device 800 or a component of the electronic device 800, the presence or absence of user contact with the electronic device 800, orientation or acceleration/deceleration of the electronic device 800, and a change in the temperature of the electronic device 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include a light sensor, such as a Complementary Metal Oxide Semiconductor (CMOS) or Charge Coupled Device (CCD) image capture device, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate wired or wireless communication between the electronic device 800 and other devices. The electronic device 800 may access a wireless network based on a communication standard, such as a wireless network (WiFi), a second generation mobile communication technology (2G) or a third generation mobile communication technology (3G), or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the electronic device 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium, such as the memory 804, is also provided that includes computer program instructions executable by the processor 820 of the electronic device 800 to perform the above-described methods.
Fig. 9 illustrates a block diagram of an electronic device 1900 in accordance with an embodiment of the disclosure. For example, the electronic device 1900 may be provided as a server. Referring to fig. 9, electronic device 1900 includes a processing component 1922 further including one or more processors and memory resources, represented by memory 1932, for storing instructions, e.g., applications, executable by processing component 1922. The application programs stored in memory 1932 may include one or more modules that each correspond to a set of instructions. Further, the processing component 1922 is configured to execute instructions to perform the above-described method.
The electronic device 1900 may also include a power component 1926 configured to perform power management of the electronic device 1900, a wired or wireless network interface 1950 configured to connect the electronic device 1900 to a network, and an input/output (I/O) interface 1958. The electronic device 1900 may operate based on an operating system, such as the Microsoft Server operating system (Windows Server), stored in the memory 1932TM) Apple Inc. of the present application based on the graphic user interface operating System (Mac OS X)TM) Multi-user, multi-process computer operating system (Unix)TM) Free fromAnd Unix-like operating System of open Primary code (Linux)TM) Open native code Unix-like operating System (FreeBSD)TM) Or the like.
In an exemplary embodiment, a non-transitory computer readable storage medium, such as the memory 1932, is also provided that includes computer program instructions executable by the processing component 1922 of the electronic device 1900 to perform the above-described methods.
The present disclosure may be systems, methods, and/or computer program products. The computer program product may include a computer-readable storage medium having computer-readable program instructions embodied thereon for causing a processor to implement various aspects of the present disclosure.
The computer readable storage medium may be a tangible device that can hold and store the instructions for use by the instruction execution device. The computer readable storage medium may be, for example, but is not limited to, an electronic memory device, a magnetic memory device, an optical memory device, an electromagnetic memory device, a semiconductor memory device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a Static Random Access Memory (SRAM), a portable compact disc read-only memory (CD-ROM), a Digital Versatile Disc (DVD), a memory stick, a floppy disk, a mechanical coding device, such as punch cards or in-groove projection structures having instructions stored thereon, and any suitable combination of the foregoing. Computer-readable storage media as used herein is not to be construed as transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission medium (e.g., optical pulses through a fiber optic cable), or electrical signals transmitted through electrical wires.
The computer-readable program instructions described herein may be downloaded from a computer-readable storage medium to a respective computing/processing device, or to an external computer or external storage device via a network, such as the internet, a local area network, a wide area network, and/or a wireless network. The network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers and/or edge servers. The network adapter card or network interface in each computing/processing device receives computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in a computer-readable storage medium in the respective computing/processing device.
The computer program instructions for carrying out operations of the present disclosure may be assembler instructions, Instruction Set Architecture (ISA) instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The computer-readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider). In some embodiments, the electronic circuitry that can execute the computer-readable program instructions implements aspects of the present disclosure by utilizing the state information of the computer-readable program instructions to personalize the electronic circuitry, such as a programmable logic control circuit, a Field Programmable Gate Array (FPGA), or a Programmable Logic Array (PLA).
Various aspects of the present disclosure are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the disclosure. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer-readable program instructions.
These computer-readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer-readable program instructions may also be stored in a computer-readable storage medium that can direct a computer, programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer-readable medium storing the instructions comprises an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.
The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer, other programmable apparatus or other devices implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The computer program product may be embodied in hardware, software or a combination thereof. In an alternative embodiment, the computer program product is embodied in a computer storage medium, and in another alternative embodiment, the computer program product is embodied in a Software product, such as a Software Development Kit (SDK), or the like.
Having described embodiments of the present disclosure, the foregoing description is intended to be exemplary, not exhaustive, and not limited to the disclosed embodiments. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is chosen in order to best explain the principles of the embodiments, the practical application, or improvements made to the technology in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein.

Claims (16)

1. A light supplement lamp control method is applied to a main control chip and is characterized by comprising the following steps:
acquiring a video stream acquired by image acquisition equipment;
under the condition that a preset processing process starts to process a current processing frame in the video stream, determining a frame identifier of a current exposure frame currently exposed by the image acquisition equipment;
determining a frame identifier of a target frame to be skipped for light supplement according to the frame identifier of the current processing frame, the frame identifier of the current exposure frame and a frame number corresponding to the single frame processing duration of the preset processing process, wherein the target frame is a video frame to be acquired after the current exposure frame;
and controlling a light supplement lamp of the image acquisition equipment to be turned off during the period of acquiring the target frame by the image acquisition equipment according to the frame identifier of the target frame.
2. The method according to claim 1, wherein the determining, according to the frame identifier of the currently processed frame, the frame identifier of the currently exposed frame, and the number of frames corresponding to the single-frame processing duration of the preset processing procedure, the frame identifier of the target frame to be skipped for light supplement comprises:
updating a frame identifier set of the light supplement to be skipped, which corresponds to the preset processing process, according to the frame number and the frame identifier of the current processing frame;
and determining the frame identifier of the target frame according to the frame identifier of the current exposure frame and the frame identifier set.
3. The method of claim 2, wherein the pre-set processing procedure comprises: at least one of an image processing process and an exposure parameter processing process;
the number of frames includes: at least one of a first frame number corresponding to the single-frame processing duration of the image processing process and a second frame number corresponding to the single-frame processing duration of the exposure parameter processing process;
the current processing frame includes: at least one of a first video frame which is started to be processed by the image processing process and a second video frame which is started to be processed by the exposure parameter processing process;
wherein, the updating the frame identifier set of the light supplement to be skipped corresponding to the preset processing process according to the frame number and the frame identifier of the current processing frame includes:
updating a first frame identification set of the supplementary lighting to be skipped, which corresponds to the image processing process, according to the first frame number and the frame identification of the first video frame; and/or the presence of a gas in the gas,
updating a second frame identification set to be skipped for supplementary lighting corresponding to the exposure parameter processing process according to the second frame number and the frame identification of the second video frame;
the set of frame identifications includes at least one of the first set of frame identifications and the second set of frame identifications.
4. The method according to claim 2 or 3, wherein the pre-set processing procedure comprises: at least one of an image processing procedure and an exposure parameter processing procedure, the set of frame identifications comprising: at least one of a first frame identifier set of light supplement to be skipped, which corresponds to the image processing process, and a second frame identifier set of light supplement to be skipped, which corresponds to the exposure parameter processing process;
wherein, the determining the frame identifier of the target frame according to the frame identifier of the current exposure frame and the frame identifier set includes:
determining at least one first frame identifier in the first frame identifier set, wherein the acquisition sequence of the at least one first frame identifier is arranged after the frame identifier of the current exposure frame;
determining at least one second frame identifier in the second frame identifier set, wherein the acquisition sequence of the second frame identifier set is arranged after the frame identifier of the current exposure frame;
and determining the intersection between the at least one first frame identifier and the at least one second frame identifier as the frame identifier of the target frame.
5. The method according to any one of claims 1 to 4, wherein the main control chip is connected to a fill-in light control module, and the controlling a fill-in light of the image capturing device to be turned off during the capturing of the target frame by the image capturing device according to the frame identifier of the target frame includes:
sending a first control signal to the supplementary lighting lamp control module according to the frame identifier of the target frame, wherein the first control signal comprises a supplementary lighting lamp closing signal;
the light supplement lamp control module is used for controlling the on-off of the light supplement lamp according to the first control signal, so that the light supplement lamp is turned off during the period that the image acquisition equipment acquires the target frame.
6. The method of claim 5, wherein the predetermined processing procedure comprises an image processing procedure, wherein the currently processed frame comprises a first video frame to which the image processing procedure starts processing, and wherein the method further comprises:
sending a light supplement lamp closing signal to the light supplement lamp control module under the condition that the image processing process processes the first video frame to obtain an image processing result, so that the light supplement lamp control module responds to the light supplement lamp closing signal and controls a light supplement lamp to be closed; and/or the presence of a gas in the gas,
sending a device shutdown signal to the image acquisition device so that the image acquisition device stops acquiring video frames in response to the device shutdown signal;
the image processing process comprises a face recognition process, and the image processing result comprises a face recognition result.
7. The utility model provides a light filling lamp control method, is applied to light filling lamp control module group, light filling lamp control module group is connected with the light filling lamp of image acquisition equipment, its characterized in that, the method includes:
receiving a first control signal sent by a main control chip;
and controlling the on-off of the light supplement lamp according to a first control signal sent by the main control chip so as to enable the light supplement lamp to be turned off during the period that the image acquisition equipment acquires the target frame, wherein the first control signal comprises a light supplement lamp turning-off signal.
8. The method of claim 7, further comprising:
receiving a second control signal sent by the image acquisition equipment, wherein the second control signal comprises a light supplement lamp starting signal;
according to the first control signal that main control chip sent, control opening and close of light filling lamp includes:
and controlling the on-off of the light supplement lamp according to the first control signal and the second control signal.
9. The method according to claim 8, wherein the controlling the on/off of the fill light according to the first control signal and the second control signal comprises:
controlling the light supplement lamp to be turned on under the condition that the first control signal and the second control signal are both light supplement lamp turning-on signals, wherein the light supplement lamp turning-on signals comprise high level signals; or the like, or, alternatively,
and under the condition that a light supplement lamp closing signal exists in the first control signal and the second control signal, controlling the light supplement lamp to be closed, wherein the light supplement lamp closing signal comprises a low level signal.
10. The light supplement lamp control module is characterized by comprising a logic control circuit, wherein the logic control circuit is used for controlling the on and off of a light supplement lamp of image acquisition equipment according to a first control signal sent by a main control chip and a second control signal sent by the image acquisition equipment;
wherein the logic control circuit comprises: an AND gate circuit and a drive circuit;
two input ends of the AND gate circuit are respectively connected with the main control chip and the image acquisition equipment so as to receive the first control signal and the second control signal;
the driving circuit includes: the light supplementing lamp comprises a first transistor, a second transistor, a capacitor, a first resistor and a second resistor, wherein the grid electrode of the first transistor is connected with the output end of the AND gate circuit, the source electrode of the first transistor is grounded, the drain electrode of the first transistor is connected with the grid electrode of the second transistor, the drain electrode of the second transistor is connected with an external power supply through the first resistor connected in parallel, the source electrode of the second transistor is connected with the light supplementing lamp through the second resistor connected in series, and the source electrode of the second transistor is grounded through the second resistor and the capacitor connected in series.
11. A fill-in lamp control apparatus, comprising the fill-in lamp control module of claim 10, a main control chip, and a fill-in lamp, the fill-in lamp control module being connected to the main control chip, and the fill-in lamp control module being connected to the fill-in lamp, wherein the main control chip is configured to perform the method of any of claims 1-6, and the fill-in lamp control module is configured to perform the method of any of claims 7-9.
12. The utility model provides a light filling lamp control system which characterized in that, light filling lamp control system includes: the fill-in light control device and the image capturing device as claimed in claim 11, wherein the image capturing device is connected to the main control chip of the fill-in light control device and the fill-in light control module respectively.
13. The utility model provides a light filling lamp controlling means, is applied to main control chip, its characterized in that, the device includes:
the acquisition module is used for acquiring the video stream acquired by the image acquisition equipment;
an exposure frame determining module, configured to determine, when a preset processing process starts to process a currently processed frame of the video stream, a frame identifier of the currently exposed frame of the image acquisition device;
a target frame determining module, configured to determine, according to the frame identifier of the current processing frame, the frame identifier of the current exposure frame, and a frame number corresponding to a single-frame processing duration of the preset processing procedure, a frame identifier of a target frame to be skipped for light supplement, where the target frame is a video frame to be acquired after the current exposure frame;
and the control module is used for controlling a light supplement lamp of the image acquisition equipment to be turned off during the period that the image acquisition equipment acquires the target frame according to the frame identifier of the target frame.
14. The utility model provides a light filling lamp controlling means is applied to light filling lamp control module group, a serial communication port, light filling lamp control module group is connected with the light filling lamp of image acquisition equipment, the device includes:
the first receiving module is used for receiving a first control signal sent by the main control chip;
and the light supplement lamp control module is used for controlling the on-off of the light supplement lamp according to the first control signal sent by the main control chip so as to enable the light supplement lamp to be turned off during the period that the image acquisition equipment acquires the target frame, and the first control signal comprises a light supplement lamp turn-off signal.
15. An electronic device, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to invoke the memory-stored instructions to perform the method of any of claims 1 to 6 or 7 to 9.
16. A computer readable storage medium having computer program instructions stored thereon, which when executed by a processor implement the method of any of claims 1 to 6 or 7 to 9.
CN202111255034.1A 2021-10-27 2021-10-27 Light supplementing lamp control method, module, equipment, system, device and electronic equipment Active CN113992853B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202111255034.1A CN113992853B (en) 2021-10-27 2021-10-27 Light supplementing lamp control method, module, equipment, system, device and electronic equipment
PCT/CN2022/095005 WO2023071165A1 (en) 2021-10-27 2022-05-25 Fill light control method, module, device, system and apparatus, and electronic device, storage medium, program and program product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111255034.1A CN113992853B (en) 2021-10-27 2021-10-27 Light supplementing lamp control method, module, equipment, system, device and electronic equipment

Publications (2)

Publication Number Publication Date
CN113992853A true CN113992853A (en) 2022-01-28
CN113992853B CN113992853B (en) 2024-05-24

Family

ID=79742466

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111255034.1A Active CN113992853B (en) 2021-10-27 2021-10-27 Light supplementing lamp control method, module, equipment, system, device and electronic equipment

Country Status (2)

Country Link
CN (1) CN113992853B (en)
WO (1) WO2023071165A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115220286A (en) * 2022-07-18 2022-10-21 上海商米科技集团股份有限公司 Code scanning engine scanning method, system, code scanning device and storage medium
WO2023071165A1 (en) * 2021-10-27 2023-05-04 上海商汤智能科技有限公司 Fill light control method, module, device, system and apparatus, and electronic device, storage medium, program and program product

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117129191B (en) * 2023-10-24 2024-02-06 徐州徐工汽车制造有限公司 Infrared lamp fault diagnosis method, controller, camera system and storage medium
CN117440555B (en) * 2023-12-20 2024-03-05 杭州方千科技有限公司 Circuit for controlling LED stroboscopic explosion and light supplementing device

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4882629A (en) * 1987-05-08 1989-11-21 Everex Ti Corporation Adaptive exposure control system
KR20080004965A (en) * 2006-07-07 2008-01-10 엘지이노텍 주식회사 Camera system for mobile device and light control method of camera system for mobile device
EP2887646A1 (en) * 2013-12-19 2015-06-24 Thomson Licensing Method and apparatus for acquiring a set of images illuminated by a flash
CN107284353A (en) * 2016-04-07 2017-10-24 Lg电子株式会社 Indoor camera apparatus including its vehicle parking assistance device and vehicle
US10447942B1 (en) * 2018-06-07 2019-10-15 Qualcomm Incorporated Flash control for video capture
WO2019206225A1 (en) * 2018-04-28 2019-10-31 维沃移动通信有限公司 Light supplement method and mobile terminal
CN112184937A (en) * 2019-07-04 2021-01-05 钉钉控股(开曼)有限公司 Attendance checking and infrared light supplement lamp driving method, device, equipment and system
WO2021022868A1 (en) * 2019-08-07 2021-02-11 杭州海康威视数字技术股份有限公司 Light supplementation method and apparatus for camera
CN113225876A (en) * 2021-05-28 2021-08-06 浙江大华技术股份有限公司 Light supplementing method and device for monitoring equipment, storage medium and electronic equipment
CN113438424A (en) * 2021-06-04 2021-09-24 杭州海康威视数字技术股份有限公司 Synchronous exposure processing method, device, system and equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113992853B (en) * 2021-10-27 2024-05-24 北京市商汤科技开发有限公司 Light supplementing lamp control method, module, equipment, system, device and electronic equipment

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4882629A (en) * 1987-05-08 1989-11-21 Everex Ti Corporation Adaptive exposure control system
KR20080004965A (en) * 2006-07-07 2008-01-10 엘지이노텍 주식회사 Camera system for mobile device and light control method of camera system for mobile device
EP2887646A1 (en) * 2013-12-19 2015-06-24 Thomson Licensing Method and apparatus for acquiring a set of images illuminated by a flash
CN107284353A (en) * 2016-04-07 2017-10-24 Lg电子株式会社 Indoor camera apparatus including its vehicle parking assistance device and vehicle
WO2019206225A1 (en) * 2018-04-28 2019-10-31 维沃移动通信有限公司 Light supplement method and mobile terminal
US10447942B1 (en) * 2018-06-07 2019-10-15 Qualcomm Incorporated Flash control for video capture
CN112184937A (en) * 2019-07-04 2021-01-05 钉钉控股(开曼)有限公司 Attendance checking and infrared light supplement lamp driving method, device, equipment and system
WO2021022868A1 (en) * 2019-08-07 2021-02-11 杭州海康威视数字技术股份有限公司 Light supplementation method and apparatus for camera
CN113225876A (en) * 2021-05-28 2021-08-06 浙江大华技术股份有限公司 Light supplementing method and device for monitoring equipment, storage medium and electronic equipment
CN113438424A (en) * 2021-06-04 2021-09-24 杭州海康威视数字技术股份有限公司 Synchronous exposure processing method, device, system and equipment

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023071165A1 (en) * 2021-10-27 2023-05-04 上海商汤智能科技有限公司 Fill light control method, module, device, system and apparatus, and electronic device, storage medium, program and program product
CN115220286A (en) * 2022-07-18 2022-10-21 上海商米科技集团股份有限公司 Code scanning engine scanning method, system, code scanning device and storage medium
CN115220286B (en) * 2022-07-18 2024-02-27 上海商米科技集团股份有限公司 Code scanning engine scanning method and system, code scanning equipment and storage medium

Also Published As

Publication number Publication date
WO2023071165A1 (en) 2023-05-04
CN113992853B (en) 2024-05-24

Similar Documents

Publication Publication Date Title
CN113992853B (en) Light supplementing lamp control method, module, equipment, system, device and electronic equipment
EP3817395A1 (en) Video recording method and apparatus, device, and readable storage medium
US10674088B2 (en) Method and device for acquiring image, terminal and computer-readable storage medium
EP3174285A1 (en) Camera shooting angle adjusting method and apparatus, computer program and recording medium
CN109426210B (en) Electronic cigarette control method and device and electronic cigarette
US20170091551A1 (en) Method and apparatus for controlling electronic device
CN110610699B (en) Voice signal processing method, device, terminal, server and storage medium
EP2940523B1 (en) Method and device for configuring photographing parameters
CN104244528A (en) Intelligent lamp control method and device
CN104811609A (en) Photographing parameter adjustment method and device
EP3046212A1 (en) Method and apparatus for controlling charging of terminal device
EP3640838A1 (en) Method, device, and system for issuing warning information
CN106991018B (en) Interface skin changing method and device
CN111385456A (en) Photographing preview method and device and storage medium
WO2022160638A1 (en) Target object exposure method and apparatus, and storage medium, device and program
EP3660822A1 (en) Screen display method and screen display device
CN104539864A (en) Method and device for recording images
CN111800652A (en) Video processing method and device, electronic equipment and storage medium
CN108427618B (en) Method and device for determining stuck state and computer readable storage medium
CN112822388A (en) Shooting mode triggering method, device, equipment and storage medium
CN109862169B (en) Electronic equipment control method, device and storage medium
EP3015949A1 (en) Method and device for displaying information
CN108986803B (en) Scene control method and device, electronic equipment and readable storage medium
CN106982300B (en) Terminal device control method and device
CN111629492A (en) Intelligent lighting lamp and control 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
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40064917

Country of ref document: HK

GR01 Patent grant
GR01 Patent grant