CN115883963A - Method for improving switching accuracy of day-night vision mode of intelligent camera - Google Patents

Method for improving switching accuracy of day-night vision mode of intelligent camera Download PDF

Info

Publication number
CN115883963A
CN115883963A CN202211653996.7A CN202211653996A CN115883963A CN 115883963 A CN115883963 A CN 115883963A CN 202211653996 A CN202211653996 A CN 202211653996A CN 115883963 A CN115883963 A CN 115883963A
Authority
CN
China
Prior art keywords
ambient light
mode
camera
night vision
brightness value
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
CN202211653996.7A
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.)
Sichuan Changhong Network Technology Co Ltd
Original Assignee
Sichuan Changhong Network 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 Sichuan Changhong Network Technology Co Ltd filed Critical Sichuan Changhong Network Technology Co Ltd
Priority to CN202211653996.7A priority Critical patent/CN115883963A/en
Publication of CN115883963A publication Critical patent/CN115883963A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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

  • Studio Devices (AREA)

Abstract

The invention provides a method for improving the accuracy of switching between a day mode and a night vision mode of an intelligent camera, which comprises the steps of testing the camera and comparing a test result with a standard prototype in the production stage of the camera, and correcting the ambient light threshold value and the ambient light tolerance of the camera; in the using stage of the camera, the brightness value of the environment where the camera is located is read at regular time, the brightness value is compared with the ambient light threshold value or the sum of the ambient light threshold value and the ambient light tolerance, and the mode is automatically switched to the daytime mode or the night vision mode. The invention solves the problem that the judgment of day-night vision function switching of the camera is inaccurate due to device difference or environment difference in the prior art.

Description

Method for improving switching accuracy of day-night vision mode of intelligent camera
Technical Field
The invention relates to the technical field of intelligent cameras, in particular to a method for improving the accuracy of day-night vision mode switching of an intelligent camera.
Background
The switching of day-night vision function is the basic and very important function of intelligent camera products, the main mode of judging whether day and night is carried out by the intelligent camera at present is to read a hardware photosensitive value as a judgment basis, and after device difference exists in actual use or a full-color light supplement lamp is turned on, the problem that the mode switching of day-night vision mode of the intelligent camera is inaccurate due to the fact that environmental differences such as a structure or a reflector lamp may cause the camera to judge is urgently needed.
Disclosure of Invention
Aiming at the defects in the prior art, the invention provides a method for improving the accuracy of switching between the day mode and the night vision mode of an intelligent camera, which solves the problem that the switching between the day function and the night vision function of the camera is not accurate due to device difference or environment difference in the prior art.
According to an embodiment of the invention, a method for improving the switching accuracy of a day-night vision mode of an intelligent camera comprises the following steps:
in the production stage of the camera, testing the camera, comparing a test result with a standard prototype, and correcting an ambient light threshold value and an ambient light tolerance of the camera;
in the using stage of the camera, the brightness value of the environment where the camera is located is read at regular time, the brightness value is compared with the ambient light threshold value or the sum of the ambient light threshold value and the ambient light tolerance, and the mode is automatically switched to the daytime mode or the night vision mode.
Preferably, the night vision mode includes an infrared night vision mode and a full-color night vision mode, and the ambient light tolerance includes a first ambient light tolerance and a second ambient light tolerance;
when the daytime mode is switched to the infrared night vision mode, if the brightness value is smaller than the ambient light threshold value, switching is carried out;
when the infrared night vision mode is switched to the daytime mode, if the brightness value is larger than the sum of the ambient light threshold and the first ambient light tolerance, switching is performed.
When the full-color night vision mode is switched to the daytime mode, if the brightness value is larger than the sum of the ambient light threshold and the second ambient light tolerance, the side is switched.
Preferably, the step of switching the full-color night vision mode to the daytime mode is as follows:
s1: reading the brightness value of the current environment with a fixed period of 10S, if the brightness value is smaller than the sum of the ambient light threshold and the second ambient light tolerance, turning off the light supplementing lamp, entering a reconfirmation mode, and otherwise, repeating the step S1;
s2: and re-reading the brightness value, switching to a daytime mode if the brightness value is greater than the sum of the ambient light threshold and the second ambient light tolerance, otherwise, turning on the light supplement lamp, recovering the full-color night vision mode, and repeating the step S1.
Preferably, if the reconfirmation mode is entered and the daytime mode is not switched, the fixed period is extended to 20S until the daytime mode is switched, and then the fixed period is restored to 10S.
Preferably, the step of correcting the ambient light threshold, the first ambient light tolerance and the second ambient light tolerance comprises:
presetting an ambient light threshold, a first ambient light tolerance and a second ambient light tolerance after the camera is assembled;
placing the camera in a shielding box with adjustable internal brightness, electrically connecting the camera with production and measurement software, changing the brightness in the shielding box, and respectively recording the brightness values of the camera when the three modes are normally switched;
and calculating the difference value between the recorded brightness value and the standard brightness value when the standard prototype switches the mode, and correcting the preset ambient light threshold value, the first ambient light tolerance and the second ambient light tolerance.
Compared with the prior art, the invention has the following beneficial effects:
in the production phase, through the test to the camera and compare with the parameter value of standard model machine, the ambient light threshold value and the ambient light tolerance of correction camera, can reduce the problem that the mode switch accuracy that device and structural difference lead to reduces, simultaneously in the use phase, after opening the light filling lamp, because of the reflection of light of the object in each part of camera and the surrounding environment, lead to the ambient brightness value to be on the high side very easily, consequently adopt to compare luminance value and ambient light threshold value and ambient light tolerance, it leads to the accuracy to reduce the scene difference and reduces the problem.
Drawings
Fig. 1 is a flowchart of a technical solution of an embodiment of the present invention.
FIG. 2 is a flowchart illustrating the calibration of parameters during the production phase according to an embodiment of the present invention.
Fig. 3 is a flowchart illustrating a switching process from the daytime mode to the infrared night vision mode according to an embodiment of the present invention.
Fig. 4 is a flowchart illustrating the switching of the infrared night vision mode to the daytime mode according to the embodiment of the invention.
Fig. 5 is a flow chart of switching from the full-color night vision mode to the daytime mode according to the embodiment of the invention.
Detailed Description
The technical solution of the present invention is further explained with reference to the drawings and the embodiments.
As shown in fig. 1, an embodiment of the present invention provides a method for improving accuracy of switching between a day mode and a night vision mode of an intelligent camera, including:
as shown in fig. 2, production stage: in the production stage of the camera, testing the camera, comparing a test result with a standard prototype, and correcting an ambient light threshold value and an ambient light tolerance of the camera;
in the production stage, even on the same production line, different cameras assembled by components of the same model and specification can cause follow-up normal operation due to different components, and the brightness value of the corresponding ambient light during mode switching also has some differences, because the main mode of judging whether the environment is in daytime or at night by the intelligent camera is to read the brightness value of the photosensitive sensor and judge whether mode switching is needed or not according to the brightness value, because most of the prior art only carry out single threshold comparison on the brightness value, for example, set the ambient light threshold value and compare with the brightness value, the ambient light tolerance is additionally introduced in the application, the brightness value of the environment and the ambient light threshold value are compositely compared with the ambient light tolerance, so that the accuracy of judging day-night mode switching by the camera is improved, but in the production stage, the ambient light threshold value and the ambient light tolerance still need to be corrected, and the specific correction method is as follows:
the daytime-night mode switching of each camera comprises the steps that the daytime mode is switched into an infrared night vision mode, the infrared night vision mode is switched into the daytime mode and the full-color night vision mode, after the camera is assembled on a production line, a related control system and a photosensitive sensor are arranged in the camera, then an ambient light threshold value, a first ambient light tolerance and a second ambient light tolerance are preset on the camera according to production requirements, a lightproof shielding box is additionally arranged on the production line, light sources such as LED lamps and the like are arranged in the shielding box, meanwhile, the brightness of the light sources can be changed, the assembled camera is placed in the shielding box, the camera is electrically connected with external production and measurement software through a communication cable, then the camera is started and works normally, the camera is tested, and meanwhile, the brightness value (hereinafter referred to as standard brightness value) of a standard prototype with the same model when the three modes are switched is taken.
The method comprises the steps of firstly switching a camera to a daytime mode, testing the daytime mode and switching the daytime mode to an infrared night vision mode, reducing the brightness value of a light source to 0 from 200 nits, sending a recorded brightness value (hereinafter referred to as an actual brightness value) to production testing software by a photosensitive sensor when the camera is switched from the daytime mode to the infrared night vision mode, wherein the brightness value at the moment cannot be directly used as an ambient light threshold value and a preset value is modified, calculating a difference value between the actual brightness value at the moment and a standard brightness value of a standard prototype when the mode is switched, and adding a preset ambient light threshold value and the difference value to obtain an accurate ambient light threshold value (hereinafter referred to as an accurate ambient light threshold value) and modifying a parameter value of the preset ambient light threshold value.
The camera is switched to an infrared night vision mode, the testing infrared night vision mode is switched to a daytime mode, the brightness value of the light source needs to be increased by 200 nits from 0, when the camera is switched from the infrared night vision mode to the daytime mode, the photosensitive sensor sends the recorded actual brightness value to production testing software, and as the standard environment light threshold value is obtained when the testing daytime mode is switched to the infrared night vision mode, at the moment, a first environment light tolerance (light tolerate) = actual brightness value-standard environment light threshold value, and a parameter value of the preset first environment light tolerance is modified.
Similarly, the camera is switched to the full-color night vision mode, the full-color night vision mode is switched to the daytime mode in the testing process, the brightness value of the light source needs to be increased by 200 nits from 0, when the camera is switched to the daytime mode from the full-color night vision mode, the actual brightness value recorded by the photosensitive sensor is sent to the production and testing software, and since the standard environment light threshold value is obtained when the daytime mode is switched to the infrared night vision mode in the testing process, the second environment light tolerance (fillplighttolerance) = actual brightness value-standard environment light threshold value at the moment, and the parameter value of the preset second environment light tolerance is modified.
After the standard ambient light threshold value, the first ambient light tolerance and the second ambient light tolerance are corrected, the camera enters the production or test of the next stage, so that the ambient light threshold value and the ambient light tolerance of the camera are corrected by comparing the test of the camera with the parameter values of a standard prototype, and the problem of reduction of the mode switching accuracy caused by differences of devices and structures can be reduced.
The use stage is as follows: in the using stage of the camera, the brightness value of the environment where the camera is located is read at regular time, the brightness value is compared with the ambient light threshold value or the sum of the ambient light threshold value and the ambient light tolerance, and the mode is automatically switched to the daytime mode or the night vision mode.
When the camera is normally used, the built-in photosensitive sensor of the camera can continuously feed back the brightness value of the current environment of the camera, and the built-in system of the camera can read the fed back brightness value of the photosensitive sensor every 10 seconds and perform mode switching according to the brightness value.
As shown in fig. 3, if the current camera is in the daytime mode, the brightness value fed back by the photosensitive sensor is read every 10S, if the brightness value is compared with a standard ambient light threshold (light threshold), if the brightness value is smaller than the standard ambient light threshold, switching is performed, and the fill-in light is turned on, otherwise, the daytime mode is maintained, and switching is not performed.
As shown in fig. 4, if the current camera is in the infrared night vision mode, the brightness value fed back by the photosensitive sensor is read every 10S, if the brightness value is greater than the sum of the standard ambient light threshold and the first ambient light tolerance (light threshold + light tolerate), the switching is performed, otherwise, the infrared night vision mode is maintained, and the switching is not performed.
As shown in fig. 5, in the full-color night vision mode, the camera is more sensitive to the brightness of the environment, and particularly, the turned-on fill light easily affects the judgment of the built-in system, so that the confirmation is required repeatedly;
s1: when the camera is currently in the full-color night vision mode, reading a brightness value fed back by the primary photosensitive sensor at a fixed period of 10S, if the brightness value is smaller than the sum of the standard ambient light threshold and the second ambient light tolerance (light threshold + fillamlighttolate), turning off the light supplement lamp, entering a re-determination mode, otherwise, maintaining the full-color night vision mode, and not switching;
s2: and after entering the re-determining mode, reading the brightness value once again immediately, if the brightness value is greater than the sum of the standard ambient light threshold and the second ambient light tolerance, switching to a daytime mode, and otherwise, turning on a light supplement lamp to restore the full-color night vision mode.
In addition, since the determination is performed once every fixed period, if the determination mode is continuously entered for many times, the fixed period is extended, in this embodiment, it is determined that if the determination mode is continuously entered for three times, the fixed period is extended by 10S, so that the built-in system of the camera reads the brightness value fed back by the photosensitive sensor once every 20S and performs subsequent determination, and then the fixed period is restored to 10S when the daytime mode is switched for the first time, thereby reducing the energy consumption of the normal operation of the camera.
Therefore, in the use stage, after the light supplement lamp is turned on, the brightness value of the environment is easily higher due to the reflection of objects in each part of the camera and the surrounding environment, so that the brightness value is compared with the threshold value of the ambient light and the ambient light tolerance, and the problem of accuracy reduction caused by scene difference is solved.
Finally, the above embodiments are only for illustrating the technical solutions of the present invention and not for limiting, although the present invention has been described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications or equivalent substitutions may be made to the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention, and all of them should be covered in the claims of the present invention.

Claims (5)

1. A method for improving the accuracy of switching between day and night vision modes of an intelligent camera is characterized by comprising the following steps: the method comprises the following steps:
in the camera production stage, testing the camera, comparing the test result with a standard prototype, and correcting the ambient light threshold value and the ambient light tolerance of the camera;
in the using stage of the camera, the brightness value of the environment where the camera is located is read at regular time, the brightness value is compared with the ambient light threshold value or the sum of the ambient light threshold value and the ambient light tolerance, and the mode is automatically switched to the daytime mode or the night vision mode.
2. The method for improving the switching accuracy of the day-night vision mode of the intelligent camera as claimed in claim 1, wherein: the night vision mode comprises an infrared night vision mode and a full-color night vision mode, and the ambient light tolerance comprises a first ambient light tolerance and a second ambient light tolerance;
when the daytime mode is switched to the infrared night vision mode, if the brightness value is smaller than the ambient light threshold value, switching is carried out;
when the infrared night vision mode is switched to the daytime mode, if the brightness value is larger than the sum of the ambient light threshold and the first ambient light tolerance, switching is performed.
And when the full-color night vision mode is switched to the daytime mode, if the brightness value is greater than the sum of the ambient light threshold and the second ambient light tolerance, the side is switched.
3. The method for improving the switching accuracy of the day-night vision mode of the intelligent camera as claimed in claim 2, wherein: the steps of switching the full-color night vision mode to the daytime mode are as follows:
s1: reading the brightness value of the current environment with a fixed period of 10S, if the brightness value is smaller than the sum of the ambient light threshold and the second ambient light tolerance, turning off the light supplementing lamp, entering a secondary confirmation mode, and otherwise, repeating the step S1;
s2: and re-reading the brightness value, switching to a daytime mode if the brightness value is greater than the sum of the ambient light threshold and the second ambient light tolerance, otherwise, turning on the light supplement lamp, recovering the full-color night vision mode, and repeating the step S1.
4. The method for improving the switching accuracy of the day-night vision mode of the intelligent camera as claimed in claim 3, wherein: and if the mode is entered into the reconfirmation mode for multiple times and the daytime mode is not switched, prolonging the fixed period to 20S until the daytime mode is switched, and restoring the fixed period to 10S.
5. The method for improving the switching accuracy of the day-night vision mode of the intelligent camera as claimed in claim 1, wherein: the step of correcting the ambient light threshold, the first ambient light tolerance, and the second ambient light tolerance comprises:
presetting an ambient light threshold, a first ambient light tolerance and a second ambient light tolerance after the camera is assembled;
placing the camera in a shielding box with adjustable internal brightness, electrically connecting the camera with production and measurement software, changing the brightness in the shielding box, and respectively recording the brightness values of the camera when the three modes are normally switched;
and calculating the difference value between the recorded brightness value and the standard brightness value when the standard prototype switches the mode, and correcting the preset ambient light threshold value, the first ambient light tolerance and the second ambient light tolerance.
CN202211653996.7A 2022-12-22 2022-12-22 Method for improving switching accuracy of day-night vision mode of intelligent camera Pending CN115883963A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211653996.7A CN115883963A (en) 2022-12-22 2022-12-22 Method for improving switching accuracy of day-night vision mode of intelligent camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211653996.7A CN115883963A (en) 2022-12-22 2022-12-22 Method for improving switching accuracy of day-night vision mode of intelligent camera

Publications (1)

Publication Number Publication Date
CN115883963A true CN115883963A (en) 2023-03-31

Family

ID=85754271

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211653996.7A Pending CN115883963A (en) 2022-12-22 2022-12-22 Method for improving switching accuracy of day-night vision mode of intelligent camera

Country Status (1)

Country Link
CN (1) CN115883963A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117354494A (en) * 2023-12-05 2024-01-05 天津华来科技股份有限公司 Testing method for night vision switching performance of intelligent camera

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117354494A (en) * 2023-12-05 2024-01-05 天津华来科技股份有限公司 Testing method for night vision switching performance of intelligent camera
CN117354494B (en) * 2023-12-05 2024-02-23 天津华来科技股份有限公司 Testing method for night vision switching performance of intelligent camera

Similar Documents

Publication Publication Date Title
US20220191983A1 (en) Method for detecting number of lamp beads, controller, lighting module and storage medium
CN102548119B (en) Semiconductor light source device, semiconductor light source control method, and projection apparatus
CN109361866B (en) Automatic exposure control method and system
CN115883963A (en) Method for improving switching accuracy of day-night vision mode of intelligent camera
CN108551553B (en) Method and device for controlling light supplement lamp
US20170280032A1 (en) Method for Controlling Flash Timing of Extension Flash Module
CN101582992B (en) System and method for eliminating flicker
CN108172150B (en) Display screen detection method and device
US20160142602A1 (en) Method for Controlling Flash Timing of Extension Flash Module
CN212543935U (en) 3D camera assembly and control circuit capable of adapting to ambient brightness
CN112995657B (en) Camera module testing method, device and system
CN106094198B (en) A kind of intelligence color selector optical system self-adapting correction method and device
CN104506779A (en) Traffic lamp color correcting method and image pickup equipment
US6519002B1 (en) Method and apparatus to minimize flicker effects from a discharge light source during digital video capture
CN116008852A (en) Automatic test method and device for car lamp and storage medium
CN112087611A (en) Electronic equipment and display screen adjusting method thereof
CN116867143B (en) Calibration method and system of head shaking lamp
CN101140734A (en) Display apparatus and brightness control method thereof
CN117082693A (en) Projector capable of changing projection light intensity according to projection environment and control system thereof
CN113965734A (en) Projection picture correction method, projection display system and related equipment
CN110225632A (en) Metalized lamp illumination automatic correcting method, device, storage medium and electronic equipment
CN116506999A (en) Intelligent street lamp control method, system, intelligent street lamp and storage medium
CN114530119B (en) Correction coefficient correction method, device and system based on gray scale
US8411148B2 (en) Auto iris lens calibration device and method
JPH09211580A (en) Method for controlling flash of interline type ccd camera

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