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

本发明提供了一种提高智能摄像头白天-夜视模式切换准确性的方法,包括在摄像头生产阶段中,将摄像头进行测试并将测试结果与标准样机进行对比,对摄像头的环境光阈值和环境光容差进行校正;在摄像头使用阶段中,定时读取摄像头所处环境的亮度值,并将亮度值与环境光阈值或者环境光阈值和环境光容差之和进行对比,自动切换为白天模式或夜视模式。本发明解决了现有技术中存在的因器件差异或环境差异导致摄像头判断白天-夜视功能切换不准确的问题。

Figure 202211653996

The invention provides a method for improving the switching accuracy of the day-night vision mode of an intelligent camera, which includes testing the camera and comparing the test result with the standard prototype during the production stage of the camera, and checking the ambient light threshold and ambient light threshold of the camera. Tolerance correction; during the use of the camera, regularly read the brightness value of the environment where the camera is located, and compare the brightness value with the ambient light threshold or the sum of the ambient light threshold and the ambient light tolerance, and automatically switch to day mode or night vision mode. The invention solves the problem in the prior art that the camera judges the switching of day-night vision functions inaccurately due to device differences or environment differences.

Figure 202211653996

Description

一种提高智能摄像头白天-夜视模式切换准确性的方法A method of improving the accuracy of day-night vision mode switching of smart cameras

技术领域technical field

本发明涉及智能摄像头技术领域,尤其涉及一种提高智能摄像头白天-夜视模式切换准确性的方法。The invention relates to the technical field of smart cameras, in particular to a method for improving the switching accuracy of a day-night vision mode of a smart camera.

背景技术Background technique

白天-夜视功能的切换,是智能摄像头产品的基础且非常重要的功能,目前智能摄像头判断是否白天黑夜的主要方式是读取硬件光敏值作为判断依据,实际使用存在器件差异或者开启全彩补光灯后,由于结构或者反光灯等环境差异可能导致摄像头判断白天-黑夜模式切换不准确等问题,因此亟须一种能够提高智能摄像头白天-夜视模式切换准确性的方法。The switching between day and night vision functions is the basic and very important function of smart camera products. At present, the main way for smart cameras to judge whether it is day or night is to read the hardware photosensitive value as the basis for judgment. There are device differences in actual use or full color compensation is turned on. Due to environmental differences such as structure or reflectors, the camera may inaccurately determine the day-to-night mode switching. Therefore, there is an urgent need for a method that can improve the accuracy of the smart camera’s day-to-night mode switching.

发明内容Contents of the invention

针对现有技术中所存在的不足,本发明提供了一种提高智能摄像头白天-夜视模式切换准确性的方法,其解决了现有技术中存在的因器件差异或环境差异导致摄像头判断白天-夜视功能切换不准确的问题。Aiming at the deficiencies in the prior art, the present invention provides a method for improving the switching accuracy of the day-night vision mode of the smart camera, which solves the problem in the prior art that the camera judges day-night vision due to device differences or environmental differences. The problem of inaccurate switching of night vision function.

根据本发明的实施例,一种提高智能摄像头白天-夜视模式切换准确性的方法,其包括:According to an embodiment of the present invention, a method for improving the accuracy of day-night vision mode switching of a smart camera includes:

在摄像头生产阶段中,将摄像头进行测试并将测试结果与标准样机进行对比,对摄像头的环境光阈值和环境光容差进行校正;In the camera production stage, the camera is tested and the test results are compared with the standard prototype, and the ambient light threshold and ambient light tolerance of the camera are corrected;

在摄像头使用阶段中,定时读取摄像头所处环境的亮度值,并将亮度值与环境光阈值或者环境光阈值和环境光容差之和进行对比,自动切换为白天模式或夜视模式。During the use stage of the camera, regularly read the brightness value of the environment where the camera is located, compare the brightness value with the ambient light threshold or the sum of the ambient light threshold and the ambient light tolerance, and automatically switch to day mode or night vision mode.

优选地,所示夜视模式包括红外夜视模式和全彩夜视模式,所述环境光容差包括第一环境光容差和第二环境光容差;Preferably, the shown 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 day mode is switched to infrared night vision mode, if the brightness value is less than the ambient light threshold, then switch;

红外夜视模式切换为白天模式时,若亮度值大于环境光阈值与第一环境光容差之和,则进行切换。When the infrared night vision mode is switched to the day mode, if the brightness value is greater than the sum of the ambient light threshold and the first ambient light tolerance, the switch is performed.

全彩夜视模式切换为白天模式时,若亮度值大于环境光阈值与第二环境光容差之和,侧进行切换。When the full-color night vision mode is switched to the day mode, if the brightness value is greater than the sum of the ambient light threshold and the second ambient light tolerance, the side will switch.

优选地,所述全彩夜视模式切换为白天模式的步骤如下:Preferably, the steps of switching the full-color night vision mode to day mode are as follows:

S1:以固定周期为10S读取当前环境的亮度值,若亮度值小于环境光阈值与第二环境光容差之和,关闭补光灯,进入再次确认模式,否则重复步骤S1;S1: Read the brightness value of the current environment with a fixed period of 10S. If the brightness value is less than the sum of the ambient light threshold and the second ambient light tolerance, turn off the fill light and enter the reconfirmation mode, otherwise repeat step S1;

S2:重新读取亮度值,若亮度值大于环境光阈值与第二环境光容差之和,切换为白天模式,否则打开补光灯,恢复全彩夜视模式,并重复步骤S1。S2: Re-read the brightness value, if the brightness value is greater than the sum of the ambient light threshold and the second ambient light tolerance, switch to the day mode, otherwise turn on the fill light, restore the full-color night vision mode, and repeat step S1.

优选地,若多次进入再次确认模式且没有切换为白天模式,则延长固定周期至20S,直至切换为白天模式,此时将固定周期恢复为10S。Preferably, if the reconfirmation mode is entered multiple times without switching to the daytime mode, the fixed period is extended to 20S until the daytime mode is switched, and the fixed period is restored to 10S at this time.

优选地,所述环境光阈值、第一环境光容差和第二环境光容差的校正步骤包括:Preferably, the step of correcting the ambient light threshold, the first ambient light tolerance and the second ambient light tolerance comprises:

在摄像头组装完成后对环境光阈值、第一环境光容差和第二环境光容差进行预设;Presetting the ambient light threshold, the first ambient light tolerance and the second ambient light tolerance after the camera is assembled;

将摄像头放入可调内部亮度的屏蔽箱中,并与产测软件电性连接,改变屏蔽箱中的亮度,分别记录摄像头在三种模式正常切换时的亮度值;Put the camera into a shielding box with adjustable internal brightness, and electrically connect it with the production test software, change the brightness in the shielding box, and record the brightness values of the camera when the three modes are switched normally;

计算记录到的亮度值与标准样机切换模式时的标准亮度值的差值,并对预设的环境光阈值、第一环境光容差和第二环境光容差进行校正。Calculate the difference between the recorded brightness value and the standard brightness value when the standard prototype switches modes, and correct the preset ambient light threshold, the first ambient light tolerance and the second ambient light tolerance.

相比于现有技术,本发明具有如下有益效果:Compared with the prior art, the present invention has the following beneficial effects:

在生产阶段,通过对摄像头的测试和与标准样机的参数值进行对比,校正摄像头的环境光阈值和环境光容差,能够减少器件和结构上的差异导致的模式切换准确性降低的问题,同时在使用阶段,开启补光灯后,因摄像头各个部件以及周围环境中的物体的反光,很容易导致环境亮度值偏高,因此采用将亮度值与环境光阈值和环境光容差进行对比,减少场景差异导致准确性降低问题。In the production stage, by testing the camera and comparing the parameter values with the standard prototype, the ambient light threshold and ambient light tolerance of the camera can be corrected, which can reduce the problem of reduced accuracy of mode switching caused by differences in devices and structures, and at the same time In the use stage, after turning on the supplementary light, the ambient brightness value is likely to be high due to the reflection of various parts of the camera and objects in the surrounding environment. Therefore, the brightness value is compared with the ambient light threshold and the ambient light tolerance to reduce the Scene differences lead to accuracy degradation issues.

附图说明Description of drawings

图1为本发明实施例的技术方案流程图。Fig. 1 is a flow chart of the technical solution of the embodiment of the present invention.

图2为本发明实施例的生产阶段参数校正流程图。Fig. 2 is a flow chart of parameter calibration in the production stage according to the embodiment of the present invention.

图3为本发明实施例的白天模式切换至红外夜视模式切换流程图。Fig. 3 is a flow chart of switching from the daytime mode to the infrared night vision mode according to the embodiment of the present invention.

图4为本发明实施例的红外夜视模式切换至白天模式切换流程图。Fig. 4 is a flow chart of switching from infrared night vision mode to day mode according to an embodiment of the present invention.

图5为本发明实施例的全彩夜视模式切换至白天模式切换流程图。Fig. 5 is a flow chart of switching from full-color night vision mode to day mode according to an embodiment of the present invention.

具体实施方式Detailed ways

下面结合附图及实施例对本发明中的技术方案进一步说明。The technical solutions in the present invention will be further described below in conjunction with the accompanying drawings and embodiments.

如图1所示,本发明实施例提出了一种提高智能摄像头白天-夜视模式切换准确性的方法,包括:As shown in Figure 1, the embodiment of the present invention proposes a method for improving the accuracy of day-night vision mode switching of a smart camera, including:

如图2所示,生产阶段:在摄像头生产阶段中,将摄像头进行测试并将测试结果与标准样机进行对比,对摄像头的环境光阈值和环境光容差进行校正;As shown in Figure 2, the production stage: in the camera production stage, the camera is tested and the test results are compared with the standard prototype, and the ambient light threshold and ambient light tolerance of the camera are corrected;

在生产阶段,即使是在同一个生产线上,采用相同型号和规格的元器件进行组装的不同摄像头,也会因为元器件的不同,导致后续在正常工作中,模式切换时对应的环境光的亮度值也会有一些差异,由于智能摄像头判断环境处于白天还是黑夜的主要方式是通过读取光敏感应器的亮度值,通过亮度值来判断是否需要进行模式切换,由于现有技术中大多只是将亮度值进行单一的阈值对比,比如设置环境光阈值并与亮度值对比,因此本申请中额外引入环境光容差,将环境的亮度值与环境光阈值与环境光容差进行复合对比,提高摄像头判断白天-黑夜模式切换的准确性,但是,在生产阶段,仍需对环境光阈值和环境光容差进行校正,具体的校正方法如下:In the production stage, even on the same production line, different cameras assembled with the same type and specifications of components will cause the brightness of the ambient light corresponding to the mode switching in the subsequent normal work due to the difference in components. There will also be some differences in the value, because the main way for the smart camera to judge whether the environment is day or night is to read the brightness value of the photosensitive sensor, and judge whether to switch the mode through the brightness value, because most of the existing technologies only use the brightness Values are compared with a single threshold, such as setting the ambient light threshold and comparing it with the brightness value. Therefore, an additional ambient light tolerance is introduced in this application, and the ambient brightness value is compared with the ambient light threshold and the ambient light tolerance to improve camera judgment. The accuracy of day-night mode switching, however, in the production stage, the ambient light threshold and ambient light tolerance still need to be corrected, the specific correction method is as follows:

每个摄像头的白天-黑夜模式切换均包括白天模式切换为红外夜视模式、红外夜视模式切换为白天模式和全彩夜视模式切换为白天模式,在生产线上将摄像头组装完成后,会在摄像头的内置相关控制系统和光敏传感器,之后按照产品生产要求对摄像头预设一个环境光阈值、第一环境光容差和第二环境光容差,然后生产线上新增一个不透光的屏蔽箱,屏蔽箱内设有光源,例如LED灯等,同时可以改变光源的亮度,将组装好的摄像头放入屏蔽箱内,并将摄像头通过通信线缆与外界的产测软件电性连接,之后开启摄像头并使其正常工作,开始对摄像头进行测试,同时,调取一份同型号的标准要样机在进行三种模式切换时的亮度值(下称标准亮度值)。The day-to-night mode switching of each camera includes switching from day mode to infrared night vision mode, from infrared night vision mode to day mode, and from full-color night vision mode to day mode. After the camera is assembled on the production line, it will The camera has a built-in related control system and photosensitive sensor, and then presets an ambient light threshold, the first ambient light tolerance and the second ambient light tolerance for the camera according to product production requirements, and then adds a light-tight shielding box to the production line , the shielding box is equipped with a light source, such as LED lights, etc., and the brightness of the light source can be changed at the same time. Put the assembled camera into the shielding box, and electrically connect the camera to the external production and testing software through the communication cable, and then turn it on Make the camera work normally, start to test the camera, and at the same time, get a brightness value (hereinafter referred to as the standard brightness value) of a standard prototype of the same model when switching between the three modes.

将摄像头先切换为白天模式,测试白天模式切换为红外夜视模式,需将光源的亮度值从200尼特开始递减至0,在摄像头从白天模式切换为红外夜视模式时,光敏传感器将记录到的亮度值(下称实际亮度值)发送给产测软件,但此时的亮度值不能直接作为环境光阈值并修改预设值,需计算此时的实际亮度值与标准样机在该模式切换时的标准亮度值的差值,然后将预设的环境光阈值与差值相加,得到准确的环境光阈值(lightThreshold,下称准确环境光阈值)并修改预设的环境光阈值的参数值。Switch the camera to day mode first, and test the switch from day mode to infrared night vision mode. The brightness value of the light source needs to be reduced from 200 nits to 0. When the camera switches from day mode to infrared night vision mode, the photosensitive sensor will record The received brightness value (hereinafter referred to as the actual brightness value) is sent to the production testing software, but the brightness value at this time cannot be directly used as the ambient light threshold and the preset value is modified. It is necessary to calculate the actual brightness value at this time and switch to the standard prototype in this mode. Then add the preset ambient light threshold to the difference to obtain the accurate ambient light threshold (lightThreshold, hereinafter referred to as the accurate ambient light threshold) and modify the parameter value of the preset ambient light threshold .

将摄像头切换为红外夜视模式,测试红外夜视模式切换为白天模式,需将光源的亮度值从0开始进行递增值200尼特,在摄像头从红外夜视模式切换为白天模式时,光敏传感器将记录到的实际亮度值发送给产测软件,由于测试白天模式切换红外夜视模式时已经得到了标准环境光阈值,此时第一环境光容差(lightTolerate)=实际亮度值-标准环境光阈值,并修改预设第一环境光容差的参数值。Switch the camera to infrared night vision mode, and test the switch from infrared night vision mode to day mode. It is necessary to increase the brightness value of the light source from 0 to 200 nits. When the camera switches from infrared night vision mode to day mode, the photosensitive sensor Send the recorded actual brightness value to the production test software. Since the standard ambient light threshold has been obtained when the daytime mode is switched to the infrared night vision mode during the test, the first ambient light tolerance (lightTolerate) = actual brightness value - standard ambient light Threshold, and modify the parameter value of the preset first ambient light tolerance.

同理,将摄像头切换为全彩夜视模式,测试全彩夜视模式切换为白天模式,需将光源的亮度值从0开始进行递增值200尼特,在摄像头从全彩夜视模式切换为白天模式时,光敏传感器将记录到的实际亮度值发送给产测软件,由于测试白天模式切换红外夜视模式时已经得到了标准环境光阈值,此时第二环境光容差(fillLampLightTolerate)=实际亮度值-标准环境光阈值,并修改预设的第二环境光容差的参数值。In the same way, switch the camera to full-color night vision mode and test the full-color night vision mode to day mode. You need to increase the brightness value of the light source from 0 to 200 nits. When the camera is switched from full-color night vision mode to In the daytime mode, the photosensitive sensor sends the recorded actual brightness value to the production test software. Since the standard ambient light threshold has been obtained when the daytime mode is switched to the infrared night vision mode during the test, the second ambient light tolerance (fillLampLightTolerate) = actual Brightness value - standard ambient light threshold, and modify the parameter value of the preset second ambient light tolerance.

标准环境光阈值、第一环境光容差和第二环境光容差均校正完毕后,摄像头进入下一阶段的生产或测试,以此通过对摄像头的测试和与标准样机的参数值进行对比,校正摄像头的环境光阈值和环境光容差,能够减少器件和结构上的差异导致的模式切换准确性降低的问题。After the standard ambient light threshold, the first ambient light tolerance and the second ambient light tolerance are calibrated, the camera enters the next stage of production or testing, so that the camera can be tested and compared with the parameter values of the standard prototype. Correcting the ambient light threshold and ambient light tolerance of the camera can reduce the problem of reduced accuracy of mode switching caused by differences in devices and structures.

使用阶段:在摄像头使用阶段中,定时读取摄像头所处环境的亮度值,并将亮度值与环境光阈值或者环境光阈值和环境光容差之和进行对比,自动切换为白天模式或夜视模式。Use phase: In the use phase of the camera, regularly read the brightness value of the environment where the camera is located, compare the brightness value with the ambient light threshold or the sum of the ambient light threshold and the ambient light tolerance, and automatically switch to day mode or night vision model.

在摄像头正常使用时,摄像头内置的光敏传感器会不断反馈摄像头当前所处环境的亮度值,摄像头内置的系统会每隔10S读取一次光敏传感器的反馈的亮度值,并根据亮度值进行模式切换。When the camera is in normal use, the built-in photosensitive sensor of the camera will continuously feed back the brightness value of the current environment where the camera is located, and the built-in system of the camera will read the brightness value fed back by the photosensitive sensor every 10S, and switch modes according to the brightness value.

如图3所示,若当前摄像头为白天模式,每10S读取一次光敏传感器反馈的亮度值,将若亮度值与标准环境光阈值(lightThreshold)进行对比,若亮度值小于标准环境光阈值,则进行切换,并打开补光灯,否则维持白天模式,不进行切换。As shown in Figure 3, if the current camera is in daytime mode, read the brightness value fed back by the photosensitive sensor every 10S, compare the brightness value with the standard ambient light threshold (lightThreshold), if the brightness value is less than the standard ambient light threshold, then Switch and turn on the supplementary light, otherwise maintain the day mode without switching.

如图4所示,若当前摄像头为红外夜视模式,每10S读取一次光敏传感器反馈的亮度值,若亮度值大于标准环境光阈值与第一环境光容差之和(lightThreshold+lightTolerate),则进行切换,否则维持红外夜视模式,不进行切换。As shown in Figure 4, if the current camera is in 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 (lightThreshold+lightTolerate), switch, otherwise maintain the infrared night vision mode without switching.

如图5所示,在全彩夜视模式下,摄像头对所处环境的亮度更加敏感,特别是开启的补光灯很容易对内置系统的判断产生影响,因此需要反复确认;As shown in Figure 5, in the full-color night vision mode, the camera is more sensitive to the brightness of the environment, especially the supplementary light that is turned on can easily affect the judgment of the built-in system, so repeated confirmation is required;

S1:在摄像头当前处于全彩夜视模式下时,同样会以固定周期10S读取一次光敏传感器反馈的亮度值,若亮度值小于标准环境光阈值与第二环境光容差之和(lightThreshold+fillLampLightTolerate)时,关闭补光灯,进入再次确定模式,否则维持全彩夜视模式,不进行切换;S1: When the camera is currently in full-color night vision mode, it will also read the brightness value fed back by the photosensitive sensor once in a fixed period of 10S. If the brightness value is less than the sum of the standard ambient light threshold and the second ambient light tolerance (lightThreshold+ fillLampLightTolerate), turn off the fill light and enter the reconfirmation mode, otherwise maintain the full-color night vision mode without switching;

S2:进入再次确定模式后,立即重新读取一次亮度值,若亮度值大于标准环境光阈值与第二环境光容差之和,则切换为白天模式,否则打开补光灯,恢复全彩夜视模式。S2: After entering the reconfirmation mode, read the brightness value again immediately. If the brightness value is greater than the sum of the standard ambient light threshold and the second ambient light tolerance, switch to day mode, otherwise turn on the supplementary light to restore full-color night viewing mode.

另外,由于每个固定周期都会进行一次判定,因此如果连续多次进入确定模式,便会延长固定周期,在本实施例中,会判定若连续三次进入确定模式,便会延长固定周期10S,使摄像头的内置系统每20S读取一次光敏传感器反馈的亮度值并进行后续判定,之后在第一次切换至白天模式时将固定周期恢复至10S,以此减少摄像头正常运行的能耗。In addition, since a determination is made once for each fixed period, if the determination mode is entered multiple times in a row, the fixed period will be extended. The built-in system of the camera reads the brightness value fed back by the photosensitive sensor every 20S and makes a subsequent judgment, and then restores the fixed cycle to 10S when switching to day mode for the first time, so as to reduce the energy consumption of the normal operation of the camera.

以此在使用阶段,开启补光灯后,因摄像头各个部件以及周围环境中的物体的反光,很容易导致环境亮度值偏高,因此采用将亮度值与环境光阈值和环境光容差进行对比,减少场景差异导致准确性降低问题。Therefore, in the use stage, after turning on the fill light, the ambient brightness value is likely to be high due to the reflection of various parts of the camera and objects in the surrounding environment. Therefore, the brightness value is compared with the ambient light threshold and the ambient light tolerance. , reducing the problem of reduced accuracy caused by scene differences.

最后说明的是,以上实施例仅用以说明本发明的技术方案而非限制,尽管参照较佳实施例对本发明进行了详细说明,本领域的普通技术人员应当理解,可以对本发明的技术方案进行修改或者等同替换,而不脱离本发明技术方案的宗旨和范围,其均应涵盖在本发明的权利要求范围当中。Finally, it is noted that the above embodiments are only used to illustrate the technical solutions of the present invention without limitation. Although the present invention has been described in detail with reference to the preferred embodiments, those of ordinary skill in the art should understand that the technical solutions of the present invention can be carried out Modifications or equivalent replacements without departing from the spirit and scope of the technical solution of the present invention shall be covered by 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

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105516593A (en) * 2015-12-17 2016-04-20 上海斐讯数据通信技术有限公司 Shooting apparatus and shooting light supplement adjustment method and system therefor
JP2019029784A (en) * 2017-07-28 2019-02-21 キヤノン株式会社 Infrared light cutoff filter control means in imaging system
CN113395427A (en) * 2021-06-20 2021-09-14 杭州登虹科技有限公司 Soft photosensitive diagnostic algorithm under full-color night vision
CN114630036A (en) * 2022-03-21 2022-06-14 重庆紫光华山智安科技有限公司 Day and night switching method and device, camera and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105516593A (en) * 2015-12-17 2016-04-20 上海斐讯数据通信技术有限公司 Shooting apparatus and shooting light supplement adjustment method and system therefor
JP2019029784A (en) * 2017-07-28 2019-02-21 キヤノン株式会社 Infrared light cutoff filter control means in imaging system
CN113395427A (en) * 2021-06-20 2021-09-14 杭州登虹科技有限公司 Soft photosensitive diagnostic algorithm under full-color night vision
CN114630036A (en) * 2022-03-21 2022-06-14 重庆紫光华山智安科技有限公司 Day and night switching method and device, camera and storage medium

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
CN109361866B (en) Automatic exposure control method and system
WO2018231342A1 (en) Flash color calibration
CN111402768B (en) Automatic seam repairing device, LED display screen and automatic seam repairing method thereof
CN104111579A (en) Method for adjusting contrast of projector in real time and projector
CN115883963A (en) Method for improving switching accuracy of day-night vision mode of intelligent camera
CN107610641B (en) Automatic correction intelligent device and method for LED display screen
CN105974192A (en) Electric energy meter data interface satisfying IR46 metering independence requirements and verifying method
CN114323575B (en) Detection and calculation method for brightness attenuation of traffic signal lamp beads
CN103353345A (en) Motor vehicle headlamp detector light intensity detection method
CN106370296A (en) Detection method and system for the environment light by mobile terminal light sensor
CN102003954B (en) Automatic-configuring system for digital photogrammetric optical parameters
CN1314610A (en) Measuring software for brightness and exposure of light-emitting diode
CN114158156B (en) PWM (pulse-width modulation) adjusting method, device, equipment and storage medium of light supplementing lamp
CN110133541B (en) Fault detection method and device for light supplement lamp
WO2022017262A1 (en) Projection picture correction method, projection display system and related device
CN114581530A (en) Calibration burning method and system
US10552961B2 (en) Method, device, and non-transitory computer readable storage medium for object tracking
CN116867143B (en) Calibration method and system of head shaking lamp
JPH09200662A (en) Projection type liquid crystal display device
CN111258063A (en) HUD environment light signal and PWM duty ratio conversion method, terminal device and storage medium
CN207798257U (en) A kind of illuminance harvester of Multi-sensor Fusion
CN114530119B (en) Correction coefficient correction method, device and system based on gray scale
CN211043925U (en) White balance real-time adjusting device of multi-type light source projector system
CN118201171A (en) A fire protection and security linkage control system and method for a smart park

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