CN110933260A - Light source selection method and three-source camera - Google Patents

Light source selection method and three-source camera Download PDF

Info

Publication number
CN110933260A
CN110933260A CN201811102609.4A CN201811102609A CN110933260A CN 110933260 A CN110933260 A CN 110933260A CN 201811102609 A CN201811102609 A CN 201811102609A CN 110933260 A CN110933260 A CN 110933260A
Authority
CN
China
Prior art keywords
light lamp
lamp
mode
living body
source camera
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811102609.4A
Other languages
Chinese (zh)
Inventor
罗增阳
李海鑫
张军胜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SHENZHEN GWELLTIMES TECHNOLOGY Co Ltd
Original Assignee
SHENZHEN GWELLTIMES TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SHENZHEN GWELLTIMES TECHNOLOGY Co Ltd filed Critical SHENZHEN GWELLTIMES TECHNOLOGY Co Ltd
Priority to CN201811102609.4A priority Critical patent/CN110933260A/en
Publication of CN110933260A publication Critical patent/CN110933260A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/56Cameras or camera modules comprising electronic image sensors; Control thereof provided with illuminating means
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/667Camera operation mode switching, e.g. between still and video, sport and normal or high- and low-resolution modes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/71Circuitry for evaluating the brightness variation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/74Circuitry for compensating brightness variation in the scene by influencing the scene brightness using illuminating means

Landscapes

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

Abstract

The embodiment of the invention discloses a light source selection method and a three-source camera, which are used for effectively separating an illuminating lamp (a warm light lamp) and an alarm lamp (a white light lamp) and improving user experience. The three-source camera in the embodiment of the invention is provided with an infrared lamp, a white light lamp, a warm light lamp, a photosensitive sensor and a human body sensor PIR, and the method in the embodiment of the invention comprises the following steps: the three-source camera detects the light intensity of the environment where the three-source camera is located through the photosensitive sensor; if the light intensity is smaller than a threshold value, the infrared lamp is started; carrying out movement detection according to the images acquired by the three-source camera to obtain a movement detection result; performing living body detection according to the PIR to obtain a living body result; judging whether to start an illumination function according to the mobile detection result and the living body result; and if the lighting function is started, the white light lamp or the warm light lamp is selected to be started according to a preset mode, wherein the preset mode comprises a defense mode or a non-defense mode.

Description

Light source selection method and three-source camera
Technical Field
The invention relates to the field of monitoring, in particular to a light source selection method and a three-source camera.
Background
The monitoring camera and the like basically adopt an infrared lamp as auxiliary illumination at night, the camera can utilize infrared light to image black and white images but cannot form color images, and in order to achieve the purpose of having color images at night, a white light lamp is installed on the basis of the infrared lamp in the prior art and is turned on when the movement of living bodies such as human bodies is detected.
However, the white light lamp has high bright current, is dazzling when being used as illumination under low illumination, and the illumination function cannot be effectively separated from the alarm function (the white light lamp has the alarm function), so that the use experience of the camera product in a dark light environment is very influenced.
Disclosure of Invention
The embodiment of the invention provides a light source selection method and a three-source camera, which are used for effectively separating an illuminating lamp (a warm light lamp) and an alarm lamp (a white light lamp) and improving user experience.
A first aspect of an embodiment of the present invention provides a method for selecting a light source, where the method is applied to a three-source camera, where the three-source camera is equipped with an infrared lamp, a white light lamp, a warm light lamp, a photosensitive sensor, and a human body sensor PIR, and specifically includes: detecting the light intensity of the environment where the three-source camera is located through the photosensitive sensor; if the light intensity is smaller than a threshold value, the infrared lamp is started; carrying out movement detection according to the images acquired by the three-source camera to obtain a movement detection result; performing living body detection according to the PIR to obtain a living body result; judging whether to start an illumination function according to the mobile detection result and the living body result; and if the lighting function is started, the white light lamp or the warm light lamp is selected to be started according to a preset mode, wherein the preset mode comprises a defense mode or a non-defense mode.
In one possible design, the selecting to turn on the white light lamp or the warm light lamp according to a preset mode includes: and if the preset mode is the defense deploying mode, the white light lamp is started.
In one possible design, the selecting to turn on the white light lamp or the warm light lamp according to a preset mode includes: and if the preset mode is the non-defense mode, starting the warm light lamp.
In a possible design, the determining whether to turn on an illumination function according to the motion detection result and the living body result includes: if a moving object exists in the image according to the movement detection result and a living body exists in the environment where the three-source camera is located according to the living body result, starting the lighting function; and if it is determined that no moving object exists in the image according to the movement detection result or it is determined that no living body exists in the environment where the three-source camera is located according to the living body result, the lighting function is not started.
In one possible design, the method further includes: receiving a switch instruction of a warm light of a terminal; and determining the on-off state of the warm light lamp according to the on-off command.
In a possible design, before the determining whether to turn on the white light lamp or the warm light lamp according to the movement detection result, the living body result, and a preset mode, where the preset mode includes a defense mode and a non-defense mode, the method further includes: and receiving a defense setting instruction sent by a terminal, wherein the defense setting instruction is used for indicating that the three-source camera is set to be in a defense setting mode or a non-defense setting mode.
A second aspect of the embodiments of the present invention provides a three-source camera, where the three-source camera is equipped with an infrared lamp, a white light lamp, a warm light lamp, a photosensitive sensor, and a human body sensor PIR, and specifically includes: the light detection unit is used for detecting the light intensity of the environment where the three-source camera is located through the photosensitive sensor; the infrared lamp starting unit is used for starting the infrared lamp when the light intensity is smaller than a threshold value; the mobile detection unit is used for carrying out mobile detection according to the images acquired by the three-source camera to obtain a mobile detection result; a living body detection unit for carrying out living body detection according to the PIR to obtain a living body result; the judging unit is used for judging whether to start an illumination function according to the movement detection result and the living body result; and the selection unit is used for selecting to turn on the white light lamp or the warm light lamp according to a preset mode when the lighting function is turned on, wherein the preset mode comprises a defense mode or a non-defense mode.
In one possible design, the selection unit includes: and the first starting unit is used for starting the white light lamp when the preset mode is the defense deploying mode.
In one possible design, the selection unit further includes: and the second starting unit is used for starting the warm light lamp when the preset mode is the non-defense mode.
In a possible design, the determining unit is specifically configured to: if a moving object exists in the image according to the movement detection result and a living body exists in the environment where the three-source camera is located according to the living body result, starting the lighting function; and if it is determined that no moving object exists in the image according to the movement detection result or it is determined that no living body exists in the environment where the three-source camera is located according to the living body result, the lighting function is not started.
In one possible design, the three-source camera further includes: the first receiving unit is used for receiving a warm light switch instruction of the terminal; and the determining unit is used for determining the on-off state of the warm light lamp according to the switching command.
In one possible design, the three-source camera further includes: and the second receiving unit is used for receiving a defense setting instruction sent by the terminal, and the defense setting instruction is used for indicating that the three-source camera is set to be in a defense setting mode or a non-defense setting mode.
Yet another aspect of the present invention provides a computer-readable storage medium having stored therein instructions, which, when executed on a computer, cause the computer to perform the method of the above-described aspects.
Yet another aspect of the present invention provides a computer program product containing instructions which, when run on a computer, cause the computer to perform the method of the above aspects.
According to the technical scheme, the embodiment of the invention has the following advantages: the three-source camera in the embodiment of the application is provided with an infrared lamp, a white light lamp, a warm light lamp, a photosensitive sensor and a human body sensor PIR, and the three-source camera detects the light intensity of the environment where the three-source camera is located through the photosensitive sensor; if the light intensity is smaller than a threshold value, the infrared lamp is started; carrying out movement detection according to the images acquired by the three-source camera to obtain a movement detection result; performing living body detection according to the PIR to obtain a living body result; judging whether to start an illumination function according to the mobile detection result and the living body result; and if the lighting function is started, the white light lamp or the warm light lamp is selected to be started according to a preset mode, wherein the preset mode comprises a defense mode or a non-defense mode. According to the embodiment of the invention, the white light lamp or the warm light lamp can be selected to be turned on according to the preset mode, the illuminating lamp (warm light lamp) and the alarm lamp (white light lamp) can be effectively separated, and the user experience is improved.
Drawings
Fig. 1 is a hardware framework diagram of a three-source camera provided by an embodiment of the present invention;
FIG. 2 is a schematic flow chart of a method for selecting a light source according to an embodiment of the present invention;
fig. 3a is a schematic diagram of a first structure of a three-source camera according to an embodiment of the present invention;
fig. 3b is a schematic diagram of a second structure of the three-source camera according to the embodiment of the present invention;
fig. 3c is a schematic diagram of a third structure of a three-source camera according to an embodiment of the present invention;
fig. 3d is a schematic diagram of a fourth structure of a three-source camera according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a hardware structure of a three-source camera according to an embodiment of the present invention.
Detailed Description
The embodiment of the invention provides a light source selection method and a three-source camera, which are used for effectively separating an illuminating lamp (a warm light lamp) and an alarm lamp (a white light lamp) and improving user experience.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims, as well as in the drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that the embodiments described herein may be practiced otherwise than as specifically illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Referring to fig. 1, fig. 1 is a hardware frame diagram according to an embodiment of the present invention, where the hardware frame diagram in fig. 1 includes: a main control unit 101, a three-light source driving unit 102, a three-light source circuit 103, a photosensor 104, and a human body sensor (PIR) 105.
The main control unit 101 is composed of a main control Integrated Circuit (IC) and a peripheral resistor-capacitor device, and can control the system by burning software, which is a control center of the system. In a lighting scene, the related interfaces of the main control unit 101 include a photosensitive interface, a PIR interface and a lighting control interface, wherein the photosensitive interface is used for connecting the photosensitive sensor 104; the PIR interface is used for connecting with the PIR105, and the lamplight control interface is used for connecting with the three-light-source driving unit 102.
The three-light-source driving unit 102 is mainly used for controlling and driving three light sources (an infrared lamp 1031, a warm light lamp 1032, and a white light lamp 1033). By receiving the instruction sent by the main control unit 101, the on-off of the power supplies of different light sources is controlled according to the instruction, so that the switching between different light sources is realized.
The three-light-source circuit 103 is composed of three different lamp beads of an infrared lamp 1031, a warm light lamp 1032 and a white light lamp 1033, and a peripheral resistance-capacitance circuit. The quantity of three kinds of lamp pearls in lighting circuit can increase or subtract according to different application scenes and requirements.
Wherein, the photosensitive sensor 104 can also be located in the three-light source circuit 103, and the photosensitive sensor 104 is used for detecting the brightness of the current environment of the device. The main control unit 101 determines the illumination of the current environment by monitoring the state of the photosensor 104.
The PIR105 is used to detect whether a living body (e.g., a human body) exists in an environment around the three-source camera (e.g., a circular area formed by 10 m and a half kilogram from the center of the three-source camera).
In the scenario set forth in this scheme, the main control unit 101 mainly determines the current state of the device, and correspondingly controls the light according to the state, and specifically functions as: detecting the light intensity of the environment where the three-source camera is located through the photosensitive sensor 104; if the light intensity is less than the threshold value, controlling the three-light-source driving unit 102 to turn on the infrared lamp 1031 in the three-light-source circuit 103; performing movement detection according to images acquired by the three-source camera to obtain a movement detection result; and meanwhile, performing living body detection according to the PIR105 to obtain a living body result; judging whether to start the lighting function according to the mobile detection result and the living body result; if the illumination function is turned on, the three-light-source driving unit 102 is notified of the selection of turning on the white light 1033 or the warm light 1032 in the three-light-source circuit 103 according to the preset pattern.
Referring to fig. 2, an embodiment of the present invention provides a method for selecting a light source, where the method is applied to a three-source camera, where the three-source camera is equipped with an infrared lamp, a white light lamp, a warm light lamp, a photosensitive sensor, and a PIR, and an embodiment of the method for selecting a light source in the embodiment of the present invention includes:
201. the light intensity of the environment where the three-source camera is located is detected through a photosensitive sensor.
In this embodiment, the three-source camera detects the light intensity of the surrounding environment through the photosensitive sensor, where the surrounding environment is the environment around the photosensitive sensor, the photosensitive sensor may be installed at any position outside the three-source camera as long as the function of detecting the light intensity is implemented, and the specific position of the photosensitive sensor on the three-source camera is not limited here.
202. And if the light intensity is less than the threshold value, the infrared lamp is started.
In this embodiment, if the acquired light intensity is less than the threshold, it is proved that the environment is dark, and an infrared lamp needs to be turned on to assist imaging, where the light intensity may be represented by a photosensitive value.
If the light intensity is not less than the threshold value, the environment is brighter at the moment, and the infrared lamp does not need to be turned on.
203. And carrying out movement detection according to the images acquired by the three-source camera to obtain a movement detection result.
In this embodiment, the motion detection is performed according to the images acquired by the three-source camera to obtain a motion detection result, specifically, the images of the two frames obtained by the three-source camera are compared, if it is known from the comparison result that there is a difference in partial regions in the images of the two frames, it is proved that there is a moving object in the image at this time, and if the images of the two frames are consistent, it is proved that there is no moving object in the image at this time.
204. And performing living body detection according to the PIR to obtain a living body result.
In this embodiment, whether or not living bodies are present in the surroundings is detected by the PIR, and since the human body has a constant body temperature, generally 37 degrees, infrared rays having a specific wavelength of about 10 μm are emitted, and the PIR attached to the three-source camera operates with infrared rays having a wavelength of about 10 μm emitted from the human body, and specifically, infrared rays having a wavelength of about 10 μm emitted from the human body are concentrated on the infrared sensor source after being intensified by the fresnel filter. The infrared induction source usually adopts a pyroelectric element, the pyroelectric element loses charge balance when receiving the change of the infrared radiation temperature of a human body, charges are released outwards, a subsequent circuit can generate an alarm signal after being checked, and the generation of the alarm signal indicates the existence of a living body.
The specific position times of the PIR on the three-source camera are not limited.
It should be noted that step 204 may also be executed before step 203, and the execution order of step 203 and step 204 is not limited herein.
205. And judging whether to start the lighting function according to the mobile detection result and the living body result.
In this embodiment, if it is found that a moving object exists in the acquired image according to the movement detection result, and it is found that a living body exists in an environment where the three-source camera is located according to the living body result, the lighting function is turned on at this time, where the environment around the three-source camera may refer to: a lighting function is started in a circular area formed by taking 10 m as half a kilogram at the center of a three-source camera, namely a warm light lamp or a white light lamp needs to be started.
If no moving object exists in the acquired image according to the movement detection result or no living body exists in the environment where the three-source camera is located according to the living body result, the lighting function does not need to be started at the moment.
This step can be implemented on the main control unit 101 in the three-source camera.
206. And if the lighting function is started, the white light lamp or the warm light lamp is selected to be started according to the preset mode.
If it is found that there is a moving object in the image at this time and there is a living object in the environment where the three-source camera is located according to step 205, then a white light lamp or a warm light lamp is turned on according to a preset mode, wherein the preset mode includes a arming mode or a non-arming mode.
Specifically, the method comprises the following steps: when the motion detection and the PIR are triggered simultaneously (namely, when a moving object exists in an acquired image according to a motion detection result and a living body exists in the environment where the three-source camera is located according to a living body result), the warning white light lamp is normally turned on until an alarm is turned off.
If the preset mode is the defense deploying mode, the white light lamp is started;
wherein, when the motion detection and the PIR are triggered simultaneously, the warm light is on. And 5s after the trigger source is released, the warm light lamp is turned off.
And if the preset mode is the non-defense mode, starting the warm light lamp.
It should be noted that, a user may set a preset mode on an Application (App, Application) of the terminal, that is, whether the three-source camera is in the defense deployment mode or not, which may be determined by the user according to a specific environment condition, and if the environment or the time period in which the three-source camera is located is unsafe, the preset mode needs to be set as the defense deployment mode, so that the white light lamp is turned on when the three-source camera has a moving living body, which may not only serve as an illumination function, but also serve as a warning function. If the environment or the time period of the three-source camera is safe, the preset mode is set to be the non-defense mode, so that the three-source camera can start the warm light when a moving living body exists, the illumination function can be achieved at the moment, the warm light is not dazzling, and the use experience of the camera product in a dark light environment is not influenced. In the scheme of the invention, the warm light lamp and the white light lamp with the alarm function can be effectively separated, and the user experience is good.
Specifically, the three-source camera receives a defense setting instruction sent by a terminal, and the defense setting instruction is used for indicating that the three-source camera is set to be in a defense setting mode or a non-defense setting mode.
It should be noted that, in an embodiment, the three-source camera may receive a switch instruction of the warm light of the terminal, and then determine the on-off state of the warm light according to the switch instruction, that is, at this time, the warm light may be directly turned on or turned off through the APP end of the mobile phone, without considering the environmental factors around the three-source camera.
It should be noted that the scheme can be applied to products such as headshakes, gunlocks and the like. The warm light illumination function is added in the product, so that the night illumination experience of a user can be improved. The opening of warm light lamp can be triggered through the on & off switch manual on the APP by the user, also can be set for triggering through the mode that camera automatic detection.
The camera product produced by the scheme is particularly suitable for urban residential building stairwells with poor illumination effects. The problem of city monitoring can be solved, the existing voice-operated illuminating lamp can be replaced, and the problem of pedestrian illumination of the staircase is solved. The effects of energy conservation and construction cost reduction can be achieved.
In the embodiment of the invention, a three-source camera is provided with an infrared lamp, a white light lamp, a warm light lamp, a photosensitive sensor and a PIR (passive infrared detector), and the light intensity of the environment where the three-source camera is located is detected through the photosensitive sensor; if the light intensity is smaller than a threshold value, the infrared lamp is started; carrying out movement detection according to the images acquired by the three-source camera to obtain a movement detection result; performing living body detection according to the PIR to obtain a living body result; judging whether to start an illumination function according to the mobile detection result and the living body result; and if the lighting function is started, the white light lamp or the warm light lamp is selected to be started according to a preset mode, wherein the preset mode comprises a defense mode or a non-defense mode. According to the embodiment of the invention, the white light lamp or the warm light lamp can be selected to be turned on according to the preset mode, the illuminating lamp (warm light lamp) and the alarm lamp (white light lamp) can be effectively separated, and the user experience is improved.
In order to better implement the method for selecting the light source provided by the embodiment of the invention, a three-source camera is further provided in an embodiment. The terms are the same as those in the above-described light source selection method, and details of implementation may refer to the description in the method embodiment.
In an embodiment, there is also provided a three-source camera, as shown in fig. 3a, which may include: a light detection unit 301, an infrared lamp starting unit 302, a movement detection unit 303, a living body detection unit 304, a judgment unit 305, and a selection unit 306;
a light detection unit 301, configured to detect, through the photosensor, light intensity of an environment in which the three-source camera is located;
an infrared lamp turning-on unit 302 for turning on the infrared lamp when the light intensity is less than a threshold value;
a movement detection unit 303, configured to perform movement detection according to the image obtained by the three-source camera to obtain a movement detection result;
a living body detection unit 304, configured to perform living body detection according to the PIR to obtain a living body result;
a determining unit 305, configured to determine whether to turn on an illumination function according to the movement detection result and the living body result;
a selecting unit 306, configured to select to turn on the white light lamp or the warm light lamp according to a preset mode when the lighting function is turned on, where the preset mode includes a defense mode or a non-defense mode.
In an embodiment, referring to fig. 3b, the selecting unit 306 comprises:
a first turning-on subunit 3061, configured to turn on the white light lamp when the preset mode is the arming mode.
A second opening subunit 3062, configured to open the warm light lamp when the preset mode is the non-arming mode.
In an embodiment, the determining unit 305 is specifically configured to:
if a moving object exists in the image according to the movement detection result and a living body exists in the environment where the three-source camera is located according to the living body result, starting the lighting function; and if it is determined that no moving object exists in the image according to the movement detection result or it is determined that no living body exists in the environment where the three-source camera is located according to the living body result, the lighting function is not started.
In an embodiment, referring to fig. 3c, the three-source camera further comprises:
a first receiving unit 307, configured to receive a warm light switch instruction of a terminal;
and the determining unit 308 is configured to determine the on-off state of the warm light lamp according to the switching instruction.
In an embodiment, referring to fig. 3d, the three-source camera further comprises:
a second receiving unit 309, configured to receive a deployment setting instruction sent by the terminal, where the deployment setting instruction is used to instruct to set the three-source camera to be in a deployment mode or a non-deployment mode.
In the embodiment of the invention, a three-source camera is provided with an infrared lamp, a white light lamp, a warm light lamp, a photosensitive sensor and a PIR, and a light ray detection unit 301 detects the light ray intensity of the environment where the three-source camera is located through the photosensitive sensor; if the light intensity is smaller than the threshold value, the infrared lamp starting unit 302 starts the infrared lamp; the movement detection unit 303 performs movement detection according to the image acquired by the three-source camera to obtain a movement detection result; a living body detection unit 304 performs living body detection according to the PIR to obtain a living body result; the determining unit 305 determines whether to turn on an illumination function according to the movement detection result and the living body result; if the lighting function is turned on, the selecting unit 306 selects to turn on the white light lamp or the warm light lamp according to a preset mode, where the preset mode includes a defense mode or a non-defense mode. According to the embodiment of the invention, the white light lamp or the warm light lamp can be selected to be turned on according to the preset mode, the illuminating lamp (warm light lamp) and the alarm lamp (white light lamp) can be effectively separated, and the user experience is improved.
Referring to fig. 4, an embodiment of the present application further provides a three-source camera 400 including: one or more processors 402, a receiver 403, a transmitter 404, a memory 401, and a bus 405. Wherein the one or more processors 402, receiver 403, transmitter 404, memory 401 are interconnected by a bus 405.
All relevant contents of each step related to the above method embodiment may be referred to the functional description of the corresponding functional module, and are not described herein again.
Wherein the memory 401 stores one or more programs therein. The memory 401 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an Application (APP) required by at least one function, and the like. The storage data area may store data created according to the use of the three-source camera 400, and the like. Further, the memory 401 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The one or more processors 402 may be a Central Processing Unit (CPU), a general purpose Processor, a Digital Signal Processor (DSP), an Application-Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, transistor logic device, hardware component, or any combination thereof. Which may implement or perform the various illustrative logical blocks, modules, and circuits described in connection with the disclosure. The processor may also be a combination of computing functions, e.g., comprising one or more microprocessors, DSPs, and microprocessors, among others.
Wherein the receiver 403 and the transmitter 404 are used for the three-source camera 400 and other devices to communicate with each other.
The bus 405 may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 4, but this does not indicate only one bus or one type of bus.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product.
The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the invention to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can store or a data storage device, such as a server, a data center, etc., that is integrated with one or more available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present invention, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and various other media capable of storing program codes.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A method for selecting a light source is applied to a three-source camera which is provided with an infrared lamp, a white light lamp, a warm light lamp, a photosensitive sensor and a human body sensor (PIR), and comprises the following steps:
detecting the light intensity of the environment where the three-source camera is located through the photosensitive sensor;
if the light intensity is smaller than a threshold value, the infrared lamp is started;
carrying out movement detection according to the images acquired by the three-source camera to obtain a movement detection result;
performing living body detection according to the PIR to obtain a living body result;
judging whether to start an illumination function according to the mobile detection result and the living body result;
and if the lighting function is started, the white light lamp or the warm light lamp is selected to be started according to a preset mode, wherein the preset mode comprises a defense mode or a non-defense mode.
2. The method of claim 1, wherein said selecting to turn on said white light lamp or said warm light lamp according to a preset pattern comprises:
and if the preset mode is the defense deploying mode, the white light lamp is started.
3. The method of claim 1, wherein said selecting to turn on said white light lamp or said warm light lamp according to a preset pattern comprises:
and if the preset mode is the non-defense mode, starting the warm light lamp.
4. The method of claim 1, wherein the determining whether to turn on an illumination function according to the motion detection result and the living body result comprises:
if a moving object exists in the image according to the movement detection result and a living body exists in the environment where the three-source camera is located according to the living body result, starting the lighting function;
and if it is determined that no moving object exists in the image according to the movement detection result or it is determined that no living body exists in the environment where the three-source camera is located according to the living body result, the lighting function is not started.
5. The method according to any one of claims 1 to 4, further comprising:
receiving a switch instruction of a warm light of a terminal;
and determining the on-off state of the warm light lamp according to the on-off command.
6. The method according to any one of claims 1 to 4, wherein the determining whether to turn on the white light lamp or the warm light lamp is performed according to the movement detection result, the living body result, and a preset mode, wherein before the preset mode includes a defense mode and a non-defense mode, the method further comprises:
and receiving a defense setting instruction sent by a terminal, wherein the defense setting instruction is used for indicating that the three-source camera is set to be in a defense setting mode or a non-defense setting mode.
7. The utility model provides a three source camera, its characterized in that, three source camera installs infrared lamp, white light lamp, warm light lamp, photosensitive sensor and human body sensor PIR, includes:
the light detection unit is used for detecting the light intensity of the environment where the three-source camera is located through the photosensitive sensor;
the infrared lamp starting unit is used for starting the infrared lamp when the light intensity is smaller than a threshold value;
the mobile detection unit is used for carrying out mobile detection according to the images acquired by the three-source camera to obtain a mobile detection result;
a living body detection unit for carrying out living body detection according to the PIR to obtain a living body result;
the judging unit is used for judging whether to start an illumination function according to the movement detection result and the living body result;
and the selection unit is used for selecting to turn on the white light lamp or the warm light lamp according to a preset mode when the lighting function is turned on, wherein the preset mode comprises a defense mode or a non-defense mode.
8. The three-source camera according to claim 7, wherein the selection unit comprises:
and the first starting subunit is used for starting the white light lamp when the preset mode is the defense deploying mode.
9. The three-source camera according to claim 7, wherein the selection unit further comprises:
and the second starting subunit is used for starting the warm light lamp when the preset mode is the non-defense mode.
10. A storage medium, characterized in that the storage medium stores instructions that, when executed by a processor, implement the method of selecting a light source according to any one of claims 1-6.
CN201811102609.4A 2018-09-20 2018-09-20 Light source selection method and three-source camera Pending CN110933260A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811102609.4A CN110933260A (en) 2018-09-20 2018-09-20 Light source selection method and three-source camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811102609.4A CN110933260A (en) 2018-09-20 2018-09-20 Light source selection method and three-source camera

Publications (1)

Publication Number Publication Date
CN110933260A true CN110933260A (en) 2020-03-27

Family

ID=69855467

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811102609.4A Pending CN110933260A (en) 2018-09-20 2018-09-20 Light source selection method and three-source camera

Country Status (1)

Country Link
CN (1) CN110933260A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021219095A1 (en) * 2020-04-30 2021-11-04 华为技术有限公司 Living body detection method, and related device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012063132A2 (en) * 2010-11-12 2012-05-18 Crs Electronics Exterior illumination and emergency signaling system and related methods
CN203554767U (en) * 2013-11-18 2014-04-16 谢建波 Dual-light source fill light
CN206433058U (en) * 2016-12-23 2017-08-22 广州市锐星信息科技有限公司 A kind of micro- record instrument of intelligence
CN107179793A (en) * 2017-06-08 2017-09-19 安徽艳阳电气集团有限公司 A kind of LED illumination lamp intelligence control system
CN108347813A (en) * 2018-01-29 2018-07-31 安徽建筑大学 A kind of intelligent building field building lighting control system
CN108388829A (en) * 2017-08-31 2018-08-10 漳州立达信光电子科技有限公司 Control method, control device and the terminal device of lighting of home

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012063132A2 (en) * 2010-11-12 2012-05-18 Crs Electronics Exterior illumination and emergency signaling system and related methods
CN203554767U (en) * 2013-11-18 2014-04-16 谢建波 Dual-light source fill light
CN206433058U (en) * 2016-12-23 2017-08-22 广州市锐星信息科技有限公司 A kind of micro- record instrument of intelligence
CN107179793A (en) * 2017-06-08 2017-09-19 安徽艳阳电气集团有限公司 A kind of LED illumination lamp intelligence control system
CN108388829A (en) * 2017-08-31 2018-08-10 漳州立达信光电子科技有限公司 Control method, control device and the terminal device of lighting of home
CN108347813A (en) * 2018-01-29 2018-07-31 安徽建筑大学 A kind of intelligent building field building lighting control system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021219095A1 (en) * 2020-04-30 2021-11-04 华为技术有限公司 Living body detection method, and related device

Similar Documents

Publication Publication Date Title
TWI719971B (en) Head mounted display and filtering methods
CN109515304B (en) Vehicle lamp control method, device and system
JP5845841B2 (en) Lighting control device
KR100970750B1 (en) Apparatus and Method for operating monitoring camera using according to external environmental conditions
JP6681590B2 (en) Sensor control device, sensor system, and load control system
TW201636642A (en) Sensor control device, sensor system, and load control system
JP2008252327A (en) Vehicle periphery monitoring device
JP2013096947A (en) Human sensor and load control system
JP5403786B2 (en) Lighting control system
CN110933260A (en) Light source selection method and three-source camera
CN110708832A (en) Crane illuminating lamp control method, system and computer readable storage medium
CN105430352B (en) A kind of processing method of video monitoring image
CN108541115B (en) Lamp and control method and device thereof
US10867491B2 (en) Presence detection system and method
CN108366210B (en) Unmanned aerial vehicle and unmanned aerial vehicle control method
TW201512701A (en) Image capturing apparatus and the control method thereof
CN112930679A (en) Electronic device and control method thereof
CN106888534B (en) Illumination control method and device
US20150084523A1 (en) Power Measurement System, Method of Synchronizing Power Measurement Device Information and Method of Displaying Consumed Power
US10045423B2 (en) Illuminating control system and method for controlling illuminating device
US20230162577A1 (en) Selecting a light source for activation based on a type and/or probability of human presence
KR101350861B1 (en) System and method for controlling ir led of camera system using wavelength areness function of light
JP6022426B2 (en) Vehicle light control device
CN114500861A (en) Control method and device of light source, electronic equipment and computer readable storage medium
CN115416569B (en) Control method, control device, vehicle and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200327