[go: up one dir, main page]

CN114697642A - Image sensor sensitivity testing method and device - Google Patents

Image sensor sensitivity testing method and device Download PDF

Info

Publication number
CN114697642A
CN114697642A CN202210255560.6A CN202210255560A CN114697642A CN 114697642 A CN114697642 A CN 114697642A CN 202210255560 A CN202210255560 A CN 202210255560A CN 114697642 A CN114697642 A CN 114697642A
Authority
CN
China
Prior art keywords
target
image sensor
test
area
distance
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
CN202210255560.6A
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.)
iFlytek Co Ltd
Original Assignee
iFlytek 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 iFlytek Co Ltd filed Critical iFlytek Co Ltd
Priority to CN202210255560.6A priority Critical patent/CN114697642A/en
Publication of CN114697642A publication Critical patent/CN114697642A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N17/00Diagnosis, testing or measuring for television systems or their details
    • H04N17/002Diagnosis, testing or measuring for television systems or their details for television cameras
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01JMEASUREMENT OF INTENSITY, VELOCITY, SPECTRAL CONTENT, POLARISATION, PHASE OR PULSE CHARACTERISTICS OF INFRARED, VISIBLE OR ULTRAVIOLET LIGHT; COLORIMETRY; RADIATION PYROMETRY
    • G01J3/00Spectrometry; Spectrophotometry; Monochromators; Measuring colours
    • G01J3/46Measurement of colour; Colour measuring devices, e.g. colorimeters

Landscapes

  • Physics & Mathematics (AREA)
  • Spectroscopy & Molecular Physics (AREA)
  • Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • General Health & Medical Sciences (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)

Abstract

本发明提供一种图像传感器灵敏度测试方法和装置,所述图像传感器灵敏度测试方法,包括:获取目标图像传感器在检测目标物体的情况下所对应的目标触发边界参数集;基于目标图像传感器在目标触发边界参数集中各备选参数下的测试结果,确定目标测试参数;基于目标测试参数,测试目标图像传感器的灵敏度;其中,目标触发边界参数集为目标图像传感器在触发移动侦测的情况下所对应的所述备选参数的集合。本发明的图像传感器灵敏度测试方法,通过融合在进行灵敏度检测时影响移动侦测的多个维度的影响因素,可以提高检测结果的准确性、精确性以及检测效率,从而能够提高检测的成功率。

Figure 202210255560

The present invention provides a method and device for testing the sensitivity of an image sensor. The method for testing the sensitivity of an image sensor includes: acquiring a target triggering boundary parameter set corresponding to a target image sensor in the case of detecting a target object; The test results under each candidate parameter in the boundary parameter set are used to determine the target test parameters; based on the target test parameters, the sensitivity of the target image sensor is tested; wherein, the target trigger boundary parameter set corresponds to the target image sensor in the case of triggering motion detection the set of said candidate parameters. The image sensor sensitivity test method of the present invention can improve the accuracy, precision and detection efficiency of the detection result by integrating the influencing factors of multiple dimensions that affect the motion detection during sensitivity detection, thereby improving the success rate of detection.

Figure 202210255560

Description

图像传感器灵敏度测试方法和装置Image sensor sensitivity testing method and device

技术领域technical field

本发明涉及图像传感器技术领域,尤其涉及一种图像传感器灵敏度测试方法和装置。The present invention relates to the technical field of image sensors, and in particular, to a method and device for testing the sensitivity of an image sensor.

背景技术Background technique

图像灵敏度是图像传感器产品必要检测项,也是衡量产品品质的重要指标。相关技术中,主要通过用肉眼检测等主观测试的方法进行图像传感器的灵敏度检测,费时且检测结果不准确。Image sensitivity is a necessary detection item for image sensor products and an important indicator to measure product quality. In the related art, the sensitivity detection of the image sensor is mainly performed by subjective testing methods such as naked eye detection, which is time-consuming and inaccurate in detection results.

发明内容SUMMARY OF THE INVENTION

本发明提供一种图像传感器灵敏度测试方法和装置,用以解决现有技术中图像传感器的灵敏度检测费时且检测结果不准确的缺陷,提高检测的准确性。The present invention provides a method and device for testing the sensitivity of an image sensor, which are used to solve the defects of time-consuming and inaccurate detection results of the sensitivity detection of the image sensor in the prior art, and improve the detection accuracy.

本发明提供一种图像传感器灵敏度测试方法,包括:The present invention provides a method for testing the sensitivity of an image sensor, comprising:

获取目标图像传感器在检测目标物体的情况下所对应的目标触发边界参数集;Obtain the target trigger boundary parameter set corresponding to the target image sensor in the case of detecting the target object;

基于目标图像传感器在目标触发边界参数集中各备选参数下的测试结果,确定目标测试参数;Determine the target test parameters based on the test results of the target image sensor under each candidate parameter in the target trigger boundary parameter set;

基于目标测试参数,测试目标图像传感器的灵敏度;Based on the target test parameters, test the sensitivity of the target image sensor;

其中,目标触发边界参数集为目标图像传感器在触发移动侦测的情况下所对应的所述备选参数的集合。The target trigger boundary parameter set is a set of the candidate parameters corresponding to the target image sensor when motion detection is triggered.

根据本发明提供的一种图像传感器灵敏度测试方法,目标测试参数包括:目标测试距离、目标测试速度、目标测试面积、目标测试色彩和目标测试帧率中的至少一项;确定目标测试参数,包括:According to an image sensor sensitivity test method provided by the present invention, the target test parameters include: at least one of the target test distance, the target test speed, the target test area, the target test color and the target test frame rate; the target test parameters are determined, including :

基于目标图像传感器在目标触发边界参数集中各备选参数下的测试结果,从目标触发边界参数集中确定目标测试距离、目标测试速度和目标测试面积;Based on the test results of the target image sensor under each candidate parameter in the target trigger boundary parameter set, determine the target test distance, target test speed and target test area from the target trigger boundary parameter set;

基于目标测试距离、目标测试速度和目标测试面积,确定目标测试色彩;Determine the target test color based on the target test distance, target test speed and target test area;

基于目标测试距离、目标测试速度、目标测试面积和目标测试色彩,确定目标测试帧率。Based on the target test distance, the target test speed, the target test area and the target test color, the target test frame rate is determined.

根据本发明提供的一种图像传感器灵敏度测试方法,基于目标图像传感器在目标触发边界参数集中各备选参数下的测试结果,从目标触发边界参数集中确定目标测试距离、目标测试速度和目标测试面积,包括:According to an image sensor sensitivity test method provided by the present invention, based on the test results of the target image sensor under each candidate parameter in the target trigger boundary parameter set, the target test distance, target test speed and target test area are determined from the target trigger boundary parameter set ,include:

获取目标图像传感器在检测位于目标触发边界参数集内的目标距离处的目标物体的情况下,触发移动侦测时目标物体在目标距离处的最大第一面积和最小第一面积;以及触发移动侦测时目标物体在目标距离处的最大第一速度和最小第一速度;Obtaining the maximum first area and the minimum first area of the target object at the target distance when the target image sensor detects the target object located at the target distance within the target trigger boundary parameter set when the motion detection is triggered; and triggering the motion detection Time measurement of the maximum first speed and the minimum first speed of the target object at the target distance;

获取目标图像传感器在检测基于目标速度移动的目标物体的情况下,触发移动侦测时目标面积的目标物体在目标距离处的移动侦测数据,其中,目标速度在最大第一速度和最小第一速度之间,目标面积在最大第一面积和最小第一面积之间;Obtain the motion detection data of the target object in the target area at the target distance when the target image sensor detects the target object moving based on the target speed when the motion detection is triggered, wherein the target speed is at the maximum first speed and the minimum first speed. Between the speeds, the target area is between the maximum first area and the minimum first area;

在移动侦测数据不低于目标侦测阈值的情况下,将移动侦测数据对应的目标速度确定为目标测试速度,将移动侦测数据对应的目标速度确定为目标测试距离,将移动侦测数据对应的目标面积确定为目标测试面积。When the motion detection data is not lower than the target detection threshold, the target speed corresponding to the motion detection data is determined as the target test speed, the target speed corresponding to the motion detection data is determined as the target test distance, and the motion detection data is determined as the target test distance. The target area corresponding to the data is determined as the target test area.

根据本发明提供的一种图像传感器灵敏度测试方法,基于目标测试距离、目标测试速度和目标测试面积,确定目标测试色彩,包括:According to an image sensor sensitivity test method provided by the present invention, the target test color is determined based on the target test distance, the target test speed and the target test area, including:

将目标图像传感器在检测位于目标测试距离处的,基于目标测试速度移动的目标测试面积的目标物体的情况下,未触发移动侦测时目标物体的色彩值确定为目标测试色彩。When the target image sensor detects a target object located at the target test distance and moves based on the target test area of the target test speed, the color value of the target object when motion detection is not triggered is determined as the target test color.

根据本发明提供的一种图像传感器灵敏度测试方法,目标触发边界参数集包括:目标触发距离、目标触发面积和目标触发速度;获取目标图像传感器在检测目标物体的情况下所对应的目标触发边界参数集,包括:According to an image sensor sensitivity test method provided by the present invention, the target triggering boundary parameter set includes: target triggering distance, target triggering area and target triggering speed; obtain the target triggering boundary parameters corresponding to the target image sensor in the case of detecting the target object set, including:

将目标图像传感器在检测目标物体的情况下,触发移动侦测时目标物体距目标图像传感器之间的最小距离和目标物体距目标图像传感器之间最大距离确定为目标触发距离;When the target image sensor detects the target object, the minimum distance between the target object and the target image sensor when the motion detection is triggered and the maximum distance between the target object and the target image sensor are determined as the target trigger distance;

将目标图像传感器在检测位于最小距离处的目标物体的情况下,触发移动侦测时目标物体的最小第二面积;以及目标图像传感器在检测位于最大距离处的目标物体的情况下,触发移动侦测时目标物体的最大第二面积,确定为目标触发面积;When the target image sensor detects the target object located at the minimum distance, the minimum second area of the target object when the motion detection is triggered; and when the target image sensor detects the target object located at the maximum distance, the motion detection is triggered. The largest second area of the time-measured target object is determined as the target trigger area;

将目标图像传感器在检测位于最小距离处的最小第二面积的目标物体的情况下,触发移动侦测时目标物体的最小第二速度;以及目标图像传感器在检测位于最大距离处的最大第二面积的目标物体的情况下,触发移动侦测时目标物体的最大第二速度,确定为目标触发速度。In the case where the target image sensor detects the target object with the minimum second area at the minimum distance, the minimum second speed of the target object when the motion detection is triggered; and the target image sensor detects the maximum second area at the maximum distance. In the case of the target object, the maximum second speed of the target object when the motion detection is triggered is determined as the target trigger speed.

根据本发明提供的一种图像传感器灵敏度测试方法,基于目标测试参数,测试目标图像传感器的灵敏度,包括:According to an image sensor sensitivity test method provided by the present invention, based on target test parameters, the sensitivity of the target image sensor is tested, including:

基于所述目标测试参数,生成移动侦测的标准参数;Based on the target test parameters, generate standard parameters for motion detection;

获取所述目标图像传感器在所述移动侦测的标准参数下的移动侦测信息;Acquiring the motion detection information of the target image sensor under the standard parameters of the motion detection;

输出所述移动侦测信息。The motion detection information is output.

本发明还提供一种图像传感器灵敏度测试装置,包括:The present invention also provides an image sensor sensitivity testing device, comprising:

第一处理模块,用于获取目标图像传感器在检测目标物体的情况下所对应的目标触发边界参数集;The first processing module is used to obtain the target trigger boundary parameter set corresponding to the target image sensor in the case of detecting the target object;

第二处理模块,用于基于目标图像传感器在目标触发边界参数集中各备选参数下的测试结果,确定目标测试参数;The second processing module is configured to determine target test parameters based on the test results of the target image sensor under each candidate parameter in the target trigger boundary parameter set;

第三处理模块,用于基于目标测试参数,测试目标图像传感器的灵敏度;The third processing module is used to test the sensitivity of the target image sensor based on the target test parameters;

其中,目标触发边界参数集为目标图像传感器在触发移动侦测的情况下所对应的所述备选参数的集合。The target trigger boundary parameter set is a set of the candidate parameters corresponding to the target image sensor when motion detection is triggered.

本发明还提供一种电子设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现如上述任一种所述图像传感器灵敏度测试方法。The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and running on the processor, when the processor executes the program, the sensitivity of the image sensor as described in any one of the above-mentioned images is realized when the processor executes the program. testing method.

本发明还提供一种非暂态计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现如上述任一种所述图像传感器灵敏度测试方法。The present invention also provides a non-transitory computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, implements any one of the above-mentioned image sensor sensitivity testing methods.

本发明还提供一种计算机程序产品,包括计算机程序,所述计算机程序被处理器执行时实现如上述任一种所述图像传感器灵敏度测试方法。The present invention also provides a computer program product, including a computer program, which implements any one of the above-mentioned image sensor sensitivity testing methods when the computer program is executed by a processor.

本发明提供的图像传感器灵敏度测试方法和装置,通过融合在进行灵敏度检测时影响移动侦测的多个维度的影响因素,生成目标测试参数,并基于目标测试参数进行灵敏度测试,以提高检测结果的准确性、精确性以及检测效率,从而能够提高检测的成功率。The image sensor sensitivity test method and device provided by the present invention generate target test parameters by fusing the influence factors of multiple dimensions affecting motion detection during sensitivity detection, and perform sensitivity test based on the target test parameters, so as to improve the accuracy of detection results. Accuracy, precision and detection efficiency can improve the success rate of detection.

附图说明Description of drawings

为了更清楚地说明本发明或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to explain the present invention or the technical solutions in the prior art more clearly, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments or the prior art. Obviously, the drawings in the following description are of the present invention. For some embodiments of the present invention, for those of ordinary skill in the art, other drawings can also be obtained from these drawings without any creative effort.

图1是本发明提供的图像传感器灵敏度测试方法的流程示意图;1 is a schematic flowchart of a method for testing the sensitivity of an image sensor provided by the present invention;

图2是本发明提供的图像传感器灵敏度测试方法的原理示意图之一;Fig. 2 is one of the principle schematic diagrams of the image sensor sensitivity test method provided by the present invention;

图3是本发明提供的图像传感器灵敏度测试方法的原理示意图之二;3 is the second schematic diagram of the principle of the image sensor sensitivity testing method provided by the present invention;

图4是本发明提供的图像传感器灵敏度测试方法的原理示意图之三;FIG. 4 is the third schematic diagram of the method for testing the sensitivity of the image sensor provided by the present invention;

图5是本发明提供的图像传感器灵敏度测试装置的结构示意图;5 is a schematic structural diagram of an image sensor sensitivity testing device provided by the present invention;

图6是本发明提供的电子设备的结构示意图。FIG. 6 is a schematic structural diagram of an electronic device provided by the present invention.

具体实施方式Detailed ways

为使本发明的目的、技术方案和优点更加清楚,下面将结合本发明中的附图,对本发明中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the objectives, technical solutions and advantages of the present invention clearer, the technical solutions in the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present invention. , not all examples. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

下面结合图1至图3描述本发明的图像传感器灵敏度测试方法。The image sensor sensitivity testing method of the present invention will be described below with reference to FIGS. 1 to 3 .

需要说明的是,该图像传感器灵敏度测试方法的执行主体可以为图像传感器灵敏度测试装置,或者也可以为服务器。It should be noted that the execution body of the image sensor sensitivity testing method may be an image sensor sensitivity testing device, or may also be a server.

如图1所示,该图像传感器灵敏度测试方法包括:步骤110、步骤120和步骤130。As shown in FIG. 1 , the image sensor sensitivity testing method includes: step 110 , step 120 and step 130 .

步骤110、获取目标图像传感器在检测目标物体的情况下所对应的目标触发边界参数集,其中,目标触发边界参数集为目标图像传感器在触发移动侦测的情况下所对应的备选参数的集合;Step 110: Obtain the target trigger boundary parameter set corresponding to the target image sensor in the case of detecting the target object, wherein the target trigger boundary parameter set is the set of candidate parameters corresponding to the target image sensor in the case of triggering motion detection ;

在该步骤中,目标图像传感器为需要进行灵敏度检测的图像传感器,例如可以为需要进行灵敏度检测的摄像头或摄像装置等。In this step, the target image sensor is an image sensor that needs to perform sensitivity detection, for example, a camera or a camera device that needs to perform sensitivity detection.

目标物体为在测试过程中,目标图像传感器在进行图像采集时的图像采集对象,目标物体可以为任意纯色物体,例如可以为黑色或红色等物体。The target object is the image acquisition object of the target image sensor during image acquisition during the test process, and the target object can be any solid color object, such as black or red objects.

可以理解的是,在实际执行过程中,将目标物体基于一定的运动速度进行移动,并通过目标图像传感器按照一定的帧率采集目标物体对应的图像信息,由计算机按照一定的算法进行计算和比较以生成测试结果。例如在当检测出画面有变化时(如检测出不同图像帧中的目标物体所在的位置发生变化时),则确定触发了移动侦测;或者在未检测出画面有变化时,则确定未触发移动侦测。It can be understood that in the actual execution process, the target object is moved based on a certain speed, and the image information corresponding to the target object is collected by the target image sensor according to a certain frame rate, and the computer calculates and compares according to a certain algorithm. to generate test results. For example, when it is detected that there is a change in the picture (for example, when the position of the target object in different image frames is detected to change), it is determined that the motion detection is triggered; or when no change in the picture is detected, it is determined that it is not triggered. Motion Detection.

目标触发边界参数集为目标图像传感器检测目标物体时,在触发移动侦测的情况下所涉及的所有备选参数的集合,包括触发边界参数以及处于触发边界参数之间的参数。The target trigger boundary parameter set is a set of all candidate parameters involved in the case of triggering motion detection when the target image sensor detects a target object, including trigger boundary parameters and parameters between the trigger boundary parameters.

其中,备选参数为影响移动侦测的因素值,包括但不限于:目标图像传感器与目标物体之间的距离、目标物体的面积(即目标图像传感器所采集的有效面积)以及目标物体的移动速度等。Among them, the alternative parameters are the factor values that affect the motion detection, including but not limited to: the distance between the target image sensor and the target object, the area of the target object (that is, the effective area collected by the target image sensor), and the movement of the target object speed etc.

在实际执行过程中,通过调整目标图像传感器与目标物体的位置关系、调整目标物体的移动速度以及目标物体的面积大小等,分别记录每一次触发移动侦测时的一组备选参数,从而可以等到多组备选参数,也即目标触发边界参数集。In the actual execution process, by adjusting the positional relationship between the target image sensor and the target object, adjusting the moving speed of the target object and the area of the target object, etc., a set of candidate parameters for each triggering of motion detection are recorded respectively, so as to be able to Wait until there are multiple sets of candidate parameters, that is, the target trigger boundary parameter set.

步骤120、基于目标图像传感器在目标触发边界参数集中各备选参数下的测试结果,确定目标测试参数;Step 120: Determine target test parameters based on the test results of the target image sensor under each candidate parameter in the target trigger boundary parameter set;

在该步骤中,测试结果用于表征目标图像传感器触发移动侦测的效果。In this step, the test result is used to characterize the effect of the target image sensor triggering motion detection.

目标测试参数可以包括但不限于:目标测试距离、目标测试速度、目标测试面积、目标测试色彩、目标软件参数和目标测试帧率等不同类别的参数;The target test parameters may include but are not limited to: target test distance, target test speed, target test area, target test color, target software parameters and target test frame rate and other parameters of different categories;

需要说明的是,不同类别的目标测试参数,其对应的测试结果可能不同。It should be noted that different categories of target test parameters may have different corresponding test results.

第一类别的目标测试参数为目标图像传感器在触发移动侦测的情况下,同类别的所有参数中能实现最佳的移动侦测时的参数值,也即能使目标图像传感器的灵敏度检测成功率达到最大值的情况下的参数值。The first category of target test parameters is the parameter value that can achieve the best motion detection among all parameters of the same category when the target image sensor triggers motion detection, that is, the sensitivity of the target image sensor can be successfully detected. The parameter value when the rate reaches its maximum value.

第二类别的目标测试参数为无法触发移动侦测,需进行剔除的参数值,在剔除该第二类别的目标测试参数后,通过将剔除了第二类别的目标测试参数之外的同类别的其他参数值与第一类别的目标测试参数组合,可以实现最佳的移动侦测。The target test parameter of the second category is the parameter value that cannot trigger motion detection and needs to be eliminated. After eliminating the target test parameter of the second category, by eliminating the The other parameter values are combined with the target test parameters of the first category to achieve the best motion detection.

其中,实现最佳的移动侦测,表现为在目标图像传感器按照一定的帧率采集基于一定的运动速度移动的目标物体对应的图像信息时,计算机基于连续图像帧的比较结果所输出的数据的误差值小于目标误差范围,也即移动侦测数据不低于目标侦测阈值;其中,目标误差范围和目标侦测阈值可以基于用户自定义Among them, to achieve the best motion detection, when the target image sensor collects the image information corresponding to the target object moving based on a certain motion speed according to a certain frame rate, the computer output data based on the comparison results of consecutive image frames. The error value is less than the target error range, that is, the motion detection data is not lower than the target detection threshold; among them, the target error range and target detection threshold can be customized based on the user

例如,目标测试距离为在实现最佳的移动侦测情况下,目标图像传感器与目标物体之间的距离值;For example, the target test distance is the distance between the target image sensor and the target object under the condition of achieving the best motion detection;

目标测试速度为在实现最佳的移动侦测情况下,目标物体的移动速度值;The target test speed is the moving speed value of the target object under the condition of achieving the best motion detection;

目标测试面积为在实现最佳的移动侦测情况下,目标物体的面积大小;The target test area is the area of the target object under the condition of achieving the best motion detection;

目标测试色彩为不能触发移动侦测情况下,目标物体表面的色彩值;The target test color is the color value of the surface of the target object when motion detection cannot be triggered;

目标软件参数为在实现最佳的移动侦测情况下的软件参数;The target software parameters are the software parameters in the case of realizing the best motion detection;

目标测试帧率为在实现最佳的移动侦测情况下,目标图像传感器所对应的采集帧率。The target test frame rate is the acquisition frame rate corresponding to the target image sensor in the case of achieving the best motion detection.

在实际执行过程中,可以选择目标触发边界参数集中的任意备选参数,对目标图像传感器进行灵敏度检测,并记录每一次的测试结果,从这些测试结果中选择移动侦测效果最佳的测试所对应的一组备选参数,作为目标测试参数中的目标测试距离、目标测试速度以及目标测试面积;然后再基于目标测试距离、目标测试速度以及目标测试面积确定目标测试参数中的目标测试色彩、目标软件参数以及目标测试帧率。In the actual execution process, any candidate parameter in the target trigger boundary parameter set can be selected, the sensitivity of the target image sensor can be detected, and the test results of each time can be recorded, and the test institute with the best motion detection effect can be selected from these test results. The corresponding set of candidate parameters are used as the target test distance, target test speed and target test area in the target test parameters; and then based on the target test distance, target test speed and target test area Determine the target test color, Target software parameters and target test frame rate.

步骤130、基于目标测试参数,测试目标图像传感器的灵敏度。Step 130: Test the sensitivity of the target image sensor based on the target test parameters.

在该步骤中,需要说明的是,目标图像传感器在设定的灵敏度下,能够识别的图像变化画面需占到对应的目标阈值,才能够触发画面变化的告警。In this step, it should be noted that under the set sensitivity of the target image sensor, the image change screen that can be recognized needs to occupy the corresponding target threshold value, so that the alarm of the screen change can be triggered.

在实际执行过程中,在获取目标测试参数后,可以基于目标测试参数确定移动侦测的标准参数,并进行多次测试,以测试目标图像传感器的灵敏度。In the actual execution process, after the target test parameters are obtained, the standard parameters of motion detection can be determined based on the target test parameters, and multiple tests are performed to test the sensitivity of the target image sensor.

其中,移动侦测的标准参数为目标图像传感器触发移动侦测的成功率最高的情况下所对应的一组参数值。The standard parameters of motion detection are a set of parameter values corresponding to the case where the target image sensor has the highest success rate of triggering motion detection.

在一些实施例中,还可以基于不同的环境模式,测试目标图像传感器在不同的环境模式下的灵敏度。In some embodiments, the sensitivity of the target image sensor in different environmental modes can also be tested based on different environmental modes.

例如,分别在白天模式和夜晚模式下,基于目标测试参数确定移动侦测的标准参数,对目标图像传感器的灵敏度进行测试。For example, in day mode and night mode, the standard parameters of motion detection are determined based on the target test parameters, and the sensitivity of the target image sensor is tested.

在另一些实施例中,还可以基于不同的灵敏度档位对目标图像传感器进行灵敏度测试。In other embodiments, the sensitivity test of the target image sensor may also be performed based on different sensitivity gears.

例如,分别在高、中和低等不同的灵敏度档位下,使用目标测试参数确定移动侦测的标准参数来进行多次测试,并记录测试结果。For example, under different sensitivity gears such as high, medium and low, use the target test parameters to determine the standard parameters of motion detection to conduct multiple tests, and record the test results.

根据本发明实施例提供的图像传感器灵敏度测试方法,通过融合在进行灵敏度检测时影响移动侦测的多个维度的影响因素,生成目标测试参数,并基于目标测试参数进行灵敏度测试,以提高检测结果的准确性、精确性以及检测效率,从而能够提高检测的成功率。According to the image sensor sensitivity test method provided by the embodiment of the present invention, target test parameters are generated by fusing the influencing factors of multiple dimensions that affect motion detection during sensitivity detection, and sensitivity test is performed based on the target test parameters, so as to improve the detection result The accuracy, precision and detection efficiency can be improved, so as to improve the success rate of detection.

在一些实施例中,目标触发边界参数集包括:目标触发距离、目标触发面积和目标触发速度;步骤110可以包括:In some embodiments, the target trigger boundary parameter set includes: target trigger distance, target trigger area and target trigger speed; step 110 may include:

将目标图像传感器在检测目标物体的情况下,触发移动侦测时目标物体距目标图像传感器之间的最小距离和目标物体距目标图像传感器之间最大距离确定为目标触发距离;When the target image sensor detects the target object, the minimum distance between the target object and the target image sensor when the motion detection is triggered and the maximum distance between the target object and the target image sensor are determined as the target trigger distance;

将目标图像传感器在检测位于最小距离处的目标物体的情况下,触发移动侦测时目标物体的最小第二面积;以及目标图像传感器在检测位于最大距离处的目标物体的情况下,触发移动侦测时目标物体的最大第二面积,确定为目标触发面积;When the target image sensor detects the target object located at the minimum distance, the minimum second area of the target object when the motion detection is triggered; and when the target image sensor detects the target object located at the maximum distance, the motion detection is triggered. The largest second area of the time-measured target object is determined as the target trigger area;

将目标图像传感器在检测位于最小距离处的最小第二面积的目标物体的情况下,触发移动侦测时目标物体的最小第二速度;以及目标图像传感器在检测位于最大距离处的最大第二面积的目标物体的情况下,触发移动侦测时目标物体的最大第二速度,确定为目标触发速度。In the case where the target image sensor detects the target object with the minimum second area at the minimum distance, the minimum second speed of the target object when the motion detection is triggered; and the target image sensor detects the maximum second area at the maximum distance. In the case of the target object, the maximum second speed of the target object when the motion detection is triggered is determined as the target trigger speed.

在该实施例中,目标触发距离用于表征目标图像传感器能够触发移动侦测情况下,目标图像传感器与目标物体之间的距离区间;In this embodiment, the target trigger distance is used to represent the distance interval between the target image sensor and the target object under the condition that the target image sensor can trigger motion detection;

其中,最大距离用于表征目标图像传感器能够触发移动侦测情况下,目标图像传感器与目标物体之间的距离最大值;最小距离用于表征目标图像传感器能够触发移动侦测情况下,目标图像传感器与目标物体之间的距离最小值。Among them, the maximum distance is used to represent the maximum distance between the target image sensor and the target object when the target image sensor can trigger motion detection; the minimum distance is used to represent the target image sensor when the target image sensor can trigger motion detection. The minimum distance from the target object.

目标触发面积用于表征目标图像传感器能够触发移动侦测情况下,目标物体的面积大小区间;The target trigger area is used to represent the area size range of the target object when the target image sensor can trigger motion detection;

其中,最小第二面积用于表征目标图像传感器能够触发移动侦测情况下,目标物体的面积最小值(即有效面积的最小值);最大第二面积用于表征目标图像传感器能够触发移动侦测情况下,目标物体的面积最大值(即有效面积的最大值)。Among them, the minimum second area is used to represent the minimum area of the target object (ie, the minimum effective area) when the target image sensor can trigger motion detection; the maximum second area is used to represent the target image sensor can trigger motion detection. In this case, the maximum area of the target object (that is, the maximum value of the effective area).

目标触发速度用于表征目标图像传感器能够触发移动侦测情况下,目标物体的移动速度区间;The target trigger speed is used to represent the moving speed range of the target object when the target image sensor can trigger motion detection;

其中,最小第二速度用于表征目标图像传感器能够触发移动侦测情况下,目标物体的移动速度的最小值;最大第二速度用于表征目标图像传感器能够触发移动侦测情况下,目标物体的移动速度的最大值。Among them, the minimum second speed is used to represent the minimum value of the moving speed of the target object when the target image sensor can trigger motion detection; the maximum second speed is used to represent the target image sensor can trigger motion detection. The maximum movement speed.

需要说明的是,如图3所示,运动检测灵敏度因素的优先级为:帧率优先于软件参数,软件参数优先于色彩,色彩优先于速度,速度优先于面积,面积优先于距离。It should be noted that, as shown in Figure 3, the priority of the motion detection sensitivity factor is: frame rate has priority over software parameters, software parameters have priority over color, color has priority over speed, speed has priority over area, and area has priority over distance.

也即,影响移动侦测最深远的因素是目标图像传感器的帧率,之后依次是软件参数、目标物体的颜色、目标物体的移动速度、目标物体的镜头面积以及目标物体与目标图像传感器之间的距离。That is, the most profound factor affecting motion detection is the frame rate of the target image sensor, followed by software parameters, the color of the target object, the moving speed of the target object, the lens area of the target object, and the distance between the target object and the target image sensor. the distance.

软件设计需要根据不同物体颜色、移动速度、物体镜头面积以及物体距离的表现,选取较优的值来进行软件参数调试,如果软件参数调整后表现依旧不达标,就要考虑更换更高帧率的目标图像传感器。The software design needs to select the best values for software parameter debugging according to the performance of different object colors, moving speeds, object lens areas and object distances. target image sensor.

可以理解的是,在测试参数调试过程中,需要依次确定距离、面积、速度、颜色、软件参数以及帧率,从而使得能够更快更准确地获得最佳测试模型。It is understandable that in the process of testing parameters debugging, it is necessary to sequentially determine distance, area, speed, color, software parameters and frame rate, so that the best test model can be obtained faster and more accurately.

下面对目标触发距离、目标触发面积和目标触发速度的具体确定方式进行说明。The specific determination methods of the target triggering distance, the target triggering area and the target triggering speed will be described below.

一、最小距离的确定First, the determination of the minimum distance

在实际执行过程中,可以使用单位面积的深色(如黑色)目标物体在距离目标图像传感器单位距离处,以单位速度移动,并检测目标图像传感器是否触发侦测。In the actual execution process, a dark (such as black) target object with a unit area can be used to move at a unit speed at a unit distance from the target image sensor, and detect whether the target image sensor triggers detection.

其中,单位距离为足够小的距离,单位距离一般可以基于用户自定义,如设置为1cm或0.5cm等;单位面积为足够小的面积,单位面积可以基于用户自定义,如设置为0.1cm2或0.5cm2等;单位速度为足够小的速度,单位速度可以基于用户自定义,如设置为0.1cm/s等,本发明不作限定。Among them, the unit distance is a sufficiently small distance, and the unit distance can generally be customized based on the user, such as 1cm or 0.5cm, etc.; the unit area is a small enough area, and the unit area can be customized based on the user, such as 0.1cm 2 Or 0.5cm 2 , etc.; the unit speed is a sufficiently small speed, and the unit speed can be customized based on the user, for example, set to 0.1cm/s, etc., which is not limited in the present invention.

可以理解的是,在实际执行过程中,单位距离、单位面积以及单位速度的确定,可以基于实际测试环境确定。It can be understood that, in the actual execution process, the determination of the unit distance, the unit area and the unit speed can be determined based on the actual test environment.

若可以触发移动侦测,则继续拉近目标物体与目标图像传感器之间的距离,直至无法触发侦测,则记录此时目标物体与目标图像传感器之间的距离;If motion detection can be triggered, continue to shorten the distance between the target object and the target image sensor, until the detection cannot be triggered, then record the distance between the target object and the target image sensor at this time;

若不能触发移动侦测,则分次加快单位速度,直至触发侦测,则记录此时目标物体与目标图像传感器之间的距离;If the motion detection cannot be triggered, speed up the unit speed step by step until the detection is triggered, then record the distance between the target object and the target image sensor at this time;

若加快单位速度后仍不能触发侦测,则分次基于单位面积加大目标物体的面积,直至触发侦测,则记录此时目标物体与目标图像传感器之间的距离;If the detection still cannot be triggered after increasing the unit speed, increase the area of the target object based on the unit area step by step until the detection is triggered, then record the distance between the target object and the target image sensor at this time;

若增大目标物体的面积仍不能触发侦测,则基于单位距离分次增加目标物体与目标图像传感器之间的距离,直至触发侦测时记录当前目标物体与目标图像传感器之间的距离,从记录的距离中选择最小距离。If the detection cannot be triggered by increasing the area of the target object, increase the distance between the target object and the target image sensor in stages based on the unit distance, until the current distance between the target object and the target image sensor is recorded when the detection is triggered, from Select the smallest distance among the recorded distances.

二、最大距离的确定Second, the determination of the maximum distance

在实际执行过程中,可以使用单位面积的深色(如黑色)目标物体在距离目标图像传感器第一距离处,以单位速度移动,并检测目标图像传感器是否触发侦测。In the actual execution process, a dark (eg black) target object with a unit area can be used to move at a unit speed at a first distance from the target image sensor, and it is detected whether the target image sensor triggers detection.

其中,第一距离为足够远的距离,第一距离可以基于用户自定义,如设置为2m或2.05m等,第一距离同样可以基于实际测试环境确定。The first distance is a sufficiently far distance, and the first distance may be user-defined, for example, set to 2m or 2.05m, and the first distance may also be determined based on the actual test environment.

若可以触发移动侦测,则继续拉远目标物体与目标图像传感器之间的距离,直至无法触发侦测,则记录此时目标物体与目标图像传感器之间的距离;If motion detection can be triggered, continue to increase the distance between the target object and the target image sensor until the detection cannot be triggered, then record the distance between the target object and the target image sensor at this time;

若不能触发移动侦测,则分次加快单位速度,直至触发侦测,则记录此时目标物体与目标图像传感器之间的距离;If the motion detection cannot be triggered, speed up the unit speed step by step until the detection is triggered, then record the distance between the target object and the target image sensor at this time;

若加快单位速度后仍不能触发侦测,则基于单位面积分次加大目标物体的面积,直至触发侦测,则记录此时目标物体与目标图像传感器之间的距离;If the detection cannot be triggered even after the unit speed is increased, the area of the target object will be increased in stages based on the unit area until the detection is triggered, and then the distance between the target object and the target image sensor will be recorded at this time;

若增大目标物体的面积仍不能触发侦测,则基于单位距离分次减小目标物体与目标图像传感器之间的距离,直至触发侦测时记录当前目标物体与目标图像传感器之间的距离,从记录的距离中选择最大距离。If increasing the area of the target object still fails to trigger detection, reduce the distance between the target object and the target image sensor in stages based on the unit distance, until the current distance between the target object and the target image sensor is recorded when the detection is triggered. Select the largest distance from the recorded distances.

三、最小第二面积的确定3. Determination of the minimum second area

继续使用单位面积的深色(如黑色)目标物体在距离目标图像传感器最小距离处,以单位速度移动,并检测目标图像传感器是否触发侦测。Continue to use a dark (such as black) target object with a unit area to move at a unit speed at the minimum distance from the target image sensor, and detect whether the target image sensor triggers detection.

若可以触发侦测,则继续减小面积,直至无法触发侦测,则记录此时目标物体的面积;If the detection can be triggered, continue to reduce the area until the detection cannot be triggered, then record the area of the target object at this time;

若不能触发侦测,则基于单位速度分次加快目标物体的移动速度,直至触发侦测,则记录此时目标物体的面积;If the detection cannot be triggered, the moving speed of the target object will be accelerated in stages based on the unit speed until the detection is triggered, and the area of the target object at this time will be recorded;

若加快单位速度后仍不能触发侦测,则基于单位面积分次加大目标物体的面积,直至触发侦测,则记录此时目标物体的面积,从记录的面积中选择最小的面积作为最小第二面积。If the detection cannot be triggered even after the unit speed is increased, increase the area of the target object step by step based on the unit area until the detection is triggered, then record the area of the target object at this time, and select the smallest area from the recorded areas as the smallest Two area.

四、最大第二面积的确定4. Determination of the largest second area

继续使用单位面积的深色(如黑色)目标物体在距离目标图像传感器最大距离处,以单位速度移动,并检测目标图像传感器是否触发侦测。Continue to use a dark (such as black) target object with a unit area to move at a unit speed at the maximum distance from the target image sensor, and detect whether the target image sensor triggers detection.

若可以触发侦测,则继续增加面积,直至无法触发侦测,则记录此时目标物体的面积;If the detection can be triggered, continue to increase the area until the detection cannot be triggered, then record the area of the target object at this time;

若不能触发侦测,则基于单位速度分次增加目标物体的速度直至触发侦测,则记录此时目标物体的面积;If the detection cannot be triggered, the speed of the target object is increased in stages based on the unit speed until the detection is triggered, and the area of the target object at this time is recorded;

若加快单位速度后仍不能触发侦测,则基于单位面积分次减小目标物体的面积,直至触发侦测,则记录此时目标物体的面积,从记录的面积中选择最大的面积作为最大第二面积。If the detection still cannot be triggered after increasing the unit speed, reduce the area of the target object in stages based on the unit area until the detection is triggered, then record the area of the target object at this time, and select the largest area from the recorded areas as the largest Two area.

五、最小第二速度的确定5. Determination of the minimum second speed

继续使用单位面积的深色(如黑色)目标物体在距离目标图像传感器最小距离处,以单位速度移动,并检测目标图像传感器是否触发侦测。Continue to use a dark (such as black) target object with a unit area to move at a unit speed at the minimum distance from the target image sensor, and detect whether the target image sensor triggers detection.

若可以触发侦测,则继续减小速度,直至无法触发侦测,则记录此时目标物体的速度;If the detection can be triggered, continue to reduce the speed until the detection cannot be triggered, then record the speed of the target object at this time;

若不能触发侦测,则基于单位速度分次加快速度,在触发侦测时记录当前的速度,并从记录的速度中选择最小的速度作为最小第二速度。If the detection cannot be triggered, the speed will be increased step by step based on the unit speed, the current speed will be recorded when the detection is triggered, and the minimum speed will be selected as the minimum second speed from the recorded speeds.

六、最大第二速度的确定6. Determination of the maximum second speed

继续使用单位面积的深色(如黑色)目标物体在距离目标图像传感器最大距离处,以单位速度移动,并检测目标图像传感器是否触发侦测。Continue to use a dark (such as black) target object with a unit area to move at a unit speed at the maximum distance from the target image sensor, and detect whether the target image sensor triggers detection.

若可以触发侦测,则基于单位速度继续增加速度,直至无法触发侦测,则记录此时目标物体的速度;If the detection can be triggered, continue to increase the speed based on the unit speed, until the detection cannot be triggered, then record the speed of the target object at this time;

若不能触发侦测,则继续减小速度,直至触发侦测时记录此时目标物体的速度,从记录的速度中选择最大的速度作为最大第二速度。If the detection cannot be triggered, continue to reduce the speed until the speed of the target object is recorded when the detection is triggered, and the maximum speed is selected as the maximum second speed from the recorded speeds.

在一些实施例中,目标测试参数包括:目标测试距离、目标测试速度、目标测试面积、目标测试色彩和目标测试帧率中的至少一项,步骤120可以包括:In some embodiments, the target test parameters include: at least one of target test distance, target test speed, target test area, target test color and target test frame rate, and step 120 may include:

基于目标图像传感器在目标触发边界参数集中各备选参数下的测试结果,从目标触发边界参数集中确定目标测试距离、目标测试速度和目标测试面积;Based on the test results of the target image sensor under each candidate parameter in the target trigger boundary parameter set, determine the target test distance, target test speed and target test area from the target trigger boundary parameter set;

基于目标测试距离、目标测试速度和目标测试面积,确定目标测试色彩;Determine the target test color based on the target test distance, target test speed and target test area;

基于目标测试距离、目标测试速度、目标测试面积和目标测试色彩,确定目标测试帧率。Based on the target test distance, the target test speed, the target test area and the target test color, the target test frame rate is determined.

在该实施例中,目标测试距离为在实现最佳的移动侦测情况下,目标图像传感器与目标物体之间的距离值;In this embodiment, the target test distance is the distance value between the target image sensor and the target object under the condition of achieving the best motion detection;

目标测试速度为在实现最佳的移动侦测情况下,目标物体的移动速度值;The target test speed is the moving speed value of the target object under the condition of achieving the best motion detection;

目标测试面积为在实现最佳的移动侦测情况下,目标物体的面积大小;The target test area is the area of the target object under the condition of achieving the best motion detection;

目标测试色彩为不能触发移动侦测情况下,目标物体表面的色彩值;The target test color is the color value of the surface of the target object when motion detection cannot be triggered;

目标测试帧率为在实现最佳的移动侦测情况下,目标图像传感器所对应的采集帧率。The target test frame rate is the acquisition frame rate corresponding to the target image sensor in the case of achieving the best motion detection.

其中,最佳的移动侦测可以表现为在目标图像传感器按照一定的帧率采集基于一定的运动速度移动的目标物体对应的图像信息时,计算机基于连续图像帧的比较结果所输出的移动侦测数据不低于目标侦测阈值,其中,目标侦测阈值可以基于用户自定义。Among them, the best motion detection can be expressed as the motion detection output by the computer based on the comparison results of consecutive image frames when the target image sensor collects the image information corresponding to the target object moving based on a certain motion speed at a certain frame rate. The data is not lower than the target detection threshold, where the target detection threshold can be user-defined.

如图2所示了一种移动侦测下的示意图,其中o为目标图像传感器所在整个平面,目标图像传感器的帧率为Fi;Figure 2 shows a schematic diagram under motion detection, where o is the entire plane where the target image sensor is located, and the frame rate of the target image sensor is Fi;

Ls为最小距离到最大距离的集合,其中L1为最小距离,L2为最大距离,Li为Ls中任意一点,通常Ls=[0.5,5](单位:米),即L1≤Li≤L2;Ls is the set from the minimum distance to the maximum distance, where L1 is the minimum distance, L2 is the maximum distance, and Li is any point in Ls, usually Ls=[0.5,5] (unit: meter), that is, L1≤Li≤L2;

P1是最小有效区域,P1的面积应不小于最小第二面积,P2是最大有效区域,P2的面积应不小于最大第二面积,Pi是Li上的有效区域,即P1≤Pi≤P2;其中,有效区域是基于目标图像传感器的视场确定的,且Pi中心与目标图像传感器的连线所构成的直线垂直于Pi所在的平面。P1 is the smallest effective area, the area of P1 should not be less than the smallest second area, P2 is the largest effective area, the area of P2 should not be less than the largest second area, Pi is the effective area on Li, that is, P1≤Pi≤P2; , the effective area is determined based on the field of view of the target image sensor, and the straight line formed by the connection between the center of Pi and the target image sensor is perpendicular to the plane where Pi is located.

可以理解的是,在另一些实施例中,也可以不设置Pi,只需保证目标物体处于目标图像传感器的视场范围内即可进行测试。It can be understood that, in other embodiments, Pi may not be set, and the test can be performed only by ensuring that the target object is within the field of view of the target image sensor.

如图4所示,Cs为色彩集合,可以分为深浅及对应常见颜色,例如可以包括但不限于:红、橙、黄、绿、青、蓝、紫、黑以及白;在一些实施例中,还可以细化成RGB255;Ci是Cs里的任意一种色彩;As shown in FIG. 4 , Cs is a color set, which can be divided into shades and corresponding common colors, such as but not limited to: red, orange, yellow, green, cyan, blue, purple, black and white; in some embodiments , can also be refined into RGB255; Ci is any color in Cs;

需要说明的是,Cs中所包括的色彩值,可能可以触发移动侦测,也可能无法触发移动侦测。在后续执行过程中,需基于目标测试距离、目标测试速度以及目标测试面积对Cs中的色彩值进行剔除。It should be noted that the color value included in Cs may or may not trigger motion detection. In the subsequent execution process, the color value in Cs needs to be eliminated based on the target test distance, target test speed, and target test area.

Ss为目标物体的有效面积的集合,Si为其中的任意一个面积值。Ss is the set of effective areas of the target object, and Si is any one of the area values.

在实际测试过程中,可以选择一个面积为Si的目标物体放进平面Pi,以向量Vi进行移动,通常Ss=[4,600](单位:平方厘米),Vs=[0.5,2.5](单位:米/秒)。In the actual test process, a target object with an area of Si can be selected and placed on the plane Pi to move with the vector Vi, usually Ss=[4,600] (unit: square centimeter), Vs=[0.5, 2.5] (unit : m/s).

其中,i为次数。在实际执行过程中,在确定了目标触发边界参数集,从目标触发边界参数集中可以进一步筛选得到最优的备选参数值。Among them, i is the number of times. In the actual execution process, after the target trigger boundary parameter set is determined, the optimal candidate parameter values can be further screened from the target trigger boundary parameter set.

例如,可以优先确定最优的Vi,并基于最优的Vi确定该Vi下最优的Li和Si,从而得到第一移动侦测成功率函数W(Vi,Si,Li),其中,最优的Vi即为目标测试速度,最优的Vi所对应的Si即为目标测试面积,Li即为目标测试距离。For example, the optimal Vi can be determined first, and the optimal Li and Si under the Vi can be determined based on the optimal Vi, so as to obtain the first motion detection success rate function W(Vi, Si, Li), where the optimal The Vi is the target test speed, the Si corresponding to the optimal Vi is the target test area, and Li is the target test distance.

其中,第一移动侦测成功率函数W(Vi,Si,Li)的输出值为灵敏度检测在Vi、Si以及Li作用下的第一成功率。Wherein, the output value of the first motion detection success rate function W(Vi, Si, Li) is the first success rate of sensitivity detection under the action of Vi, Si and Li.

第一成功率可以通过对同一组备选参数进行多次测试,基于测试成功和失败的次数来确定。The first success rate can be determined based on the number of test successes and failures by performing multiple tests on the same set of candidate parameters.

然后基于该第一移动侦测函数W(Vi,Si,Li)检测Cs在第一移动侦测函数W(Vi,Si,Li)下的表现,以剔除异常的Ci值,其中,异常的Ci值为在第一移动侦测函数W(Vi,Si,Li)下,不能触发移动侦测时的目标物体表面的色彩值,该异常的Ci值即为目标测试色彩。Then, based on the first motion detection function W(Vi, Si, Li), the performance of Cs under the first motion detection function W(Vi, Si, Li) is detected to eliminate abnormal Ci values, wherein abnormal Ci values The value is the color value of the surface of the target object when the motion detection cannot be triggered under the first motion detection function W(Vi, Si, Li), and the abnormal Ci value is the target test color.

后续将采用Ck来表示剔除该异常的Ci后的Cs集合中的任意一值,可以理解的是,Ck用于表征在实现最佳的移动侦测的情况下,目标物体表面的色彩值。In the following, Ck will be used to represent any value in the Cs set after removing the abnormal Ci. It can be understood that Ck is used to represent the color value of the surface of the target object under the condition of achieving the best motion detection.

其中,Ck=C(-i),k为除了i以外的其他次数。在得到Ck后,基于W(Vi,Si,Li)和Ck可以生成第二移动侦测成功率函数W(Vi、Si、Li、Ck)。Among them, Ck=C(-i), and k is other times except i. After Ck is obtained, a second motion detection success rate function W(Vi, Si, Li, Ck) can be generated based on W(Vi, Si, Li) and Ck.

其中,第二移动侦测成功率函数W(Vi、Si、Li、Ck)的输出值为灵敏度检测在Vi、Si、Li以及Ck作用下的第二成功率。Wherein, the output value of the second motion detection success rate function W(Vi, Si, Li, Ck) is the second success rate of sensitivity detection under the action of Vi, Si, Li, and Ck.

第二成功率的确定方式与第一成功率类似,在此不作赘述。The manner of determining the second success rate is similar to that of the first success rate, and details are not described herein.

基于W(Vi、Si、Li、Ck)调整软件参数,以优化测试模型。Adjust software parameters based on W(Vi, Si, Li, Ck) to optimize the test model.

需要说明的是,在该步骤中,实际执行过程中,可以将W(Vi、Si、Li、Ck)的结果与目标图像传感器的说明书或详细设计手册进行对比,以比较参数是否一致。It should be noted that in this step, in the actual execution process, the result of W (Vi, Si, Li, Ck) can be compared with the specification or detailed design manual of the target image sensor to compare whether the parameters are consistent.

在不一致的情况下,则根据现有的W(Vi、Si、Li、Ck)表现,进行软件参数调优。In the case of inconsistency, the software parameters are tuned according to the existing W (Vi, Si, Li, Ck) performance.

例如,对于摄像头A,其对应的产品说明书上记载其检测距离L满足1m≤L≤3m,而基于第二移动侦测成功率函数W(Vi、Si、Li、Ck)得知,其测试出来的1m≤Li≤2m,L的取值与Li的取值不一致,则需基于Li的取值对软件参数调优,以更新软件参数。For example, for camera A, its corresponding product specification records that its detection distance L satisfies 1m≤L≤3m, and based on the second motion detection success rate function W (Vi, Si, Li, Ck), it is known that it is tested out 1m≤Li≤2m, the value of L is inconsistent with the value of Li, the software parameters need to be tuned based on the value of Li to update the software parameters.

在一些实施例中,可以对软件参数进行多次调优,并对每一次优化后的版本在获取第二移动侦测成功率函数W(Vi、Si、Li、Ck),若经多次调优后仍无法满足第二移动侦测成功率函数W(Vi、Si、Li、Ck),则需调整目标图像传感器的帧率,并将当前的帧率Fi确定为目标测试帧率。In some embodiments, the software parameters can be tuned multiple times, and the second motion detection success rate function W (Vi, Si, Li, Ck) can be obtained for each optimized version. If the second motion detection success rate function W (Vi, Si, Li, Ck) cannot be satisfied after optimization, the frame rate of the target image sensor needs to be adjusted, and the current frame rate Fi is determined as the target test frame rate.

从而得到第三移动侦测成功率函数Wi(Vi、Si、Li、Ck、Fi),并基于该Wi(Vi、Si、Li、Ck、Fi)进行步骤130中的灵敏度测试。Thus, the third motion detection success rate function Wi (Vi, Si, Li, Ck, Fi) is obtained, and the sensitivity test in step 130 is performed based on the Wi (Vi, Si, Li, Ck, Fi).

其中,第三移动侦测成功率函数Wi(Vi、Si、Li、Ck、Fi)的输出值为灵敏度检测在Vi、Si、Li、Ck以及Fi作用下的第三成功率,也即最终的检测成功率。Among them, the output value of the third motion detection success rate function Wi (Vi, Si, Li, Ck, Fi) is the third success rate of sensitivity detection under the action of Vi, Si, Li, Ck and Fi, that is, the final Detection success rate.

第三成功率的确定方式与第一成功率类似,在此不作赘述。The manner of determining the third success rate is similar to that of the first success rate, and details are not described here.

在该实施例中,通过调试备选参数来确定部分类别的目标测试参数,并基于部分类别的目标测试参数确定其他类别的目标测试参数,从而能够获取一组能够使得最终检测成功率最高的参数值作为移动侦测的标准参数,以有效提高后续灵敏度测试过程中的检测成功率。In this embodiment, target test parameters of some categories are determined by debugging the candidate parameters, and target test parameters of other categories are determined based on the target test parameters of some categories, so that a set of parameters that can make the final detection success rate the highest can be obtained. The value is used as the standard parameter of motion detection to effectively improve the detection success rate in the subsequent sensitivity test process.

下面通过具体实施例,对该步骤进行说明。This step will be described below through specific embodiments.

在一些实施例中,基于目标图像传感器在目标触发边界参数集中各备选参数下的测试结果,从目标触发边界参数集中确定目标测试距离、目标测试速度和目标测试面积,可以包括:In some embodiments, determining the target test distance, target test speed and target test area from the target trigger boundary parameter set based on the test results of the target image sensor under each candidate parameter in the target trigger boundary parameter set may include:

获取目标图像传感器在检测位于目标触发边界参数集内的目标距离处的目标物体的情况下,触发移动侦测时目标物体在目标距离处的最大第一面积和最小第一面积;以及触发移动侦测时目标物体在目标距离处的最大第一速度和最小第一速度;Obtaining the maximum first area and the minimum first area of the target object at the target distance when the target image sensor detects the target object located at the target distance within the target trigger boundary parameter set when the motion detection is triggered; and triggering the motion detection Time measurement of the maximum first speed and the minimum first speed of the target object at the target distance;

获取目标图像传感器在检测基于目标速度移动的目标物体的情况下,触发移动侦测时目标面积的目标物体在目标距离处的移动侦测数据,其中,目标速度在最大第一速度和最小第一速度之间,目标面积在最大第一面积和最小第一面积之间;Obtain the motion detection data of the target object in the target area at the target distance when the target image sensor detects the target object moving based on the target speed when the motion detection is triggered, wherein the target speed is at the maximum first speed and the minimum first speed. Between the speeds, the target area is between the maximum first area and the minimum first area;

在移动侦测数据不低于目标侦测阈值的情况下,将移动侦测数据对应的目标速度确定为目标测试速度,将移动侦测数据对应的目标速度确定为目标测试距离,将移动侦测数据对应的目标面积确定为目标测试面积。When the motion detection data is not lower than the target detection threshold, the target speed corresponding to the motion detection data is determined as the target test speed, the target speed corresponding to the motion detection data is determined as the target test distance, and the motion detection data is determined as the target test distance. The target area corresponding to the data is determined as the target test area.

在该实施例中,移动侦测数据可以表现为成功率,目标侦测阈值则可以设置为一个较高的值。In this embodiment, the motion detection data can be expressed as a success rate, and the target detection threshold can be set to a higher value.

目标距离为最大距离和最小距离中的任意距离,可以用Li表示,其中i表示次数,也即Li标识第i次测试时目标物体与目标图像传感器之间的距离。The target distance is any distance between the maximum distance and the minimum distance, which can be represented by Li, where i represents the number of times, that is, Li identifies the distance between the target object and the target image sensor during the i-th test.

可以理解的是,在实际执行过程中,可以基于单位距离将Ls划分为多个间隔相同的距离。在测试过程中,从L1出发,依次增加单位距离作为当前的目标距离Li,直至当前的目标距离Li增加至L2则结束。It can be understood that, in the actual execution process, Ls can be divided into a plurality of distances with the same interval based on the unit distance. In the test process, starting from L1, the unit distance is sequentially increased as the current target distance Li, and it ends when the current target distance Li increases to L2.

对于每一个Li,各项因素应均优于P(i-1),也即目标图像传感器所检测的当前距离处的目标物体所对应的各项因素均优于目标图像传感器所检测的上一次检测时的目标物体的因素,即依次确保每一次面积略大且速度略大,直至无法触发侦测,记录每个Pi里的面积与速度的最小值与最大值,其中,每个Pi里的面积的最大值即为最大第一面积、每个Pi里的面积的最小值即为最小第一面积、每个Pi里的速度的最大值即为最大第一速度,每个Pi里的速度的最小值即为最小第一速度。For each Li, each factor should be better than P(i-1), that is, the factors corresponding to the target object at the current distance detected by the target image sensor are better than the last time detected by the target image sensor. The factors of the target object during detection, that is, ensure that each time the area is slightly larger and the speed is slightly larger, until the detection cannot be triggered, and record the minimum and maximum values of the area and speed in each Pi. The maximum value of the area is the maximum first area, the minimum value of the area in each Pi is the minimum first area, the maximum value of the speed in each Pi is the maximum first speed, and the speed in each Pi is the maximum first speed. The minimum value is the minimum first speed.

然后进行筛选因素,筛选因素是反向筛选,首先是速度,查看在各个速度下的各因素组合的表现,以获取在Vi时或Vj时具体表现为最优,对应因素为Si、Li或Sj、Lj,从而得到目标测试速度,目标测试距离和目标测试面积。例如,当在Vi时表现最优,则将Vi确定为目标测试速度,将Vi对应的Si确定为目标测试面积,将Vi对应的Li确定为目标测试距离。Then carry out the screening factor. The screening factor is reverse screening. The first is speed. Check the performance of each factor combination at each speed to obtain the optimal performance at Vi or Vj, and the corresponding factors are Si, Li or Sj. , Lj, so as to obtain the target test speed, target test distance and target test area. For example, when the performance is optimal at Vi, Vi is determined as the target test speed, Si corresponding to Vi is determined as the target test area, and Li corresponding to Vi is determined as the target test distance.

需要说明的是,在Vi时表现最优可以表现为目标物体在基于Vi移动时,目标图像传感器所输出的侦测数据不低于目标侦测阈值,其中,目标侦测阈值可以基于用户自定义。It should be noted that the best performance at Vi can be expressed as when the target object moves based on Vi, the detection data output by the target image sensor is not lower than the target detection threshold, where the target detection threshold can be customized based on the user. .

也即,当目标物体在满足Vi、Si以及Li时,能使检测成功率达到最大值。That is, when the target object satisfies Vi, Si and Li, the detection success rate can be maximized.

在一些实施例中,基于目标测试距离、目标测试速度和目标测试面积,确定目标测试色彩,可以包括:In some embodiments, determining the target test color based on the target test distance, the target test speed and the target test area may include:

将目标图像传感器在检测位于目标测试距离处的,基于目标测试速度移动的目标测试面积的目标物体的情况下,未触发移动侦测时目标物体的色彩值确定为目标测试色彩。When the target image sensor detects a target object located at the target test distance and moves based on the target test area of the target test speed, the color value of the target object when motion detection is not triggered is determined as the target test color.

在该实施例中,在确定目标测试速度Vi,以及该Vi下目标测试距离Li和目标测试面积Si后,可以生成第一移动侦测成功率函数W(Vi,Si,Li)。In this embodiment, after determining the target test speed Vi, the target test distance Li and the target test area Si under the Vi, the first motion detection success rate function W(Vi, Si, Li) can be generated.

然后基于该第一移动侦测成功率函数W(Vi,Si,Li)检测Cs在第一移动侦测成功率函数W(Vi,Si,Li)下的表现,以剔除异常的Ci值,之后采用Ck来表示剔除Ci后的Cs集合中的任意一值。Then, based on the first motion detection success rate function W(Vi, Si, Li), the performance of Cs under the first motion detection success rate function W(Vi, Si, Li) is detected to eliminate abnormal Ci values, and then Ck is used to represent any value in the Cs set after removing Ci.

其中,异常的Ci指在某个C值下,W(Vi,Si,Li)的值最低甚至为零,则使用i来记录并排除。使用W(Vi,Si,Li)来检测Cs的表现,以获取哪些Ci不能触发侦测,或不易侦测,并将异常的Ci记录下来,并以C(-i)来表征剔除了异常的Ci值后的其他色彩值,其中C(-i)=Ck。Among them, abnormal Ci refers to that under a certain C value, the value of W (Vi, Si, Li) is the lowest or even zero, then i is used to record and exclude. Use W(Vi, Si, Li) to detect the performance of Cs, to obtain which Ci can not trigger detection, or are not easy to detect, record the abnormal Ci, and use C(-i) to characterize the excluded abnormal. Other color values after the Ci value, where C(-i)=Ck.

在一些实施例中,步骤130可以包括:In some embodiments, step 130 may include:

基于目标测试参数,生成移动侦测的标准参数;Based on target test parameters, generate standard parameters for motion detection;

获取目标图像传感器在移动侦测的标准参数下的移动侦测信息;Obtain the motion detection information of the target image sensor under the standard parameters of motion detection;

输出移动侦测信息。Output motion detection information.

在该实施例中,移动侦测信息用于表征目标图像传感器在移动侦测的标准参数下是否触发了移动侦测。In this embodiment, the motion detection information is used to represent whether the target image sensor triggers motion detection under the standard parameters of motion detection.

移动侦测的标准参数为能够使目标图像传感器触发移动侦测的成功率最高的情况下所对应的一组参数值。The standard parameters of motion detection are a set of parameter values corresponding to the case where the target image sensor has the highest success rate of triggering motion detection.

需要说明的是,移动侦测的标准参数包括目标测试距离、目标测试速度、目标测试面积、目标软件参数以及目标测试帧率中的至少一种,且移动侦测的标准参数不包括目标测试色彩。It should be noted that the standard parameters of motion detection include at least one of target test distance, target test speed, target test area, target software parameters and target test frame rate, and the standard parameters of motion detection do not include target test color. .

也即,可以从目标测试距离、目标测试速度、目标测试面积、目标软件参数、目标测试帧率以及剔除了目标测试色彩的其他任意色彩值中确定移动侦测的标准参数。That is, the standard parameters of motion detection can be determined from the target test distance, target test speed, target test area, target software parameters, target test frame rate and other arbitrary color values excluding the target test color.

在实际执行过程中,可以使用第三移动侦测成功率函数Wi(Vi、Si、Li、Ck、Fi)来进行N次测试,并记录每次测试的结果是否触发移动侦测。其中,N为正整数其N的具体数值可以基于用户自定义。In the actual execution process, the third motion detection success rate function Wi (Vi, Si, Li, Ck, Fi) can be used to perform N tests, and record whether the result of each test triggers motion detection. Among them, N is a positive integer, and the specific value of N can be user-defined.

然后统计每一次的测试记录,输出移动侦测信息,并基于每一次的移动侦测信息生成并输出能够代表目标图像传感器性能的灵敏度测试报告。Then count each test record, output motion detection information, and generate and output a sensitivity test report that can represent the performance of the target image sensor based on each motion detection information.

需要说明的是,本实施例中的第三移动侦测成功率函数Wi(Vi、Si、Li、Ck、Fi)成功率是各个组合单个的成功率,各个参数值基于初始状态来决定初始值是要稍微变大,或者稍微变小,一次只能改变一个变量,每进行一次调整,就需要进行该组合的测试。It should be noted that the success rate of the third motion detection success rate function Wi (Vi, Si, Li, Ck, Fi) in this embodiment is the success rate of each combination, and the initial value of each parameter value is determined based on the initial state. Is to make it slightly larger, or slightly smaller, only one variable can be changed at a time, and each adjustment needs to be tested for that combination.

例如在Vi变动到Vj的时候,组合测试了100次,成功了60次,则当前Wi(Vj、Si、Li、Ck、Fi)所对应的第三成功率的最大值为60%,则将Vj记录下来,在之后的组合中,继续使用Vj进行测试,也即保持Vj对应的数值不变,改变其他数值进行测试;如在Cs变动为i值后无法触发侦测(如C变为黄色后则无法触发侦测),即(Vj、Si、Li、Ci、Fi)为0,则后续使用剔除掉Ci后的Cs集合中的任意一值Ck来与其他因素组合,即后续需要排除掉Ci(也即排除黄色值),并继续使用Wi(Vj、Si、Li、Ck、Fi)进行测试,找到Wi(Vj、Si、Li、Ck、Fi)所对应的第三成功率接近100%的组合,如第三成功率超过99%的组合,并将该组合确定为用于进行移动侦测专项测试。For example, when Vi changes to Vj, the combination test is performed 100 times, and 60 times are successful, then the maximum value of the third success rate corresponding to the current Wi (Vj, Si, Li, Ck, Fi) is 60%, then the Vj is recorded, and in subsequent combinations, continue to use Vj for testing, that is, keep the value corresponding to Vj unchanged, and change other values for testing; for example, the detection cannot be triggered after Cs changes to the i value (for example, C turns yellow Afterwards, the detection cannot be triggered), that is, (Vj, Si, Li, Ci, Fi) is 0, then any value Ck in the Cs set after removing Ci is used to combine with other factors, that is, the subsequent need to exclude Ci (that is, excluding the yellow value), and continue to use Wi (Vj, Si, Li, Ck, Fi) for testing, and find that the third success rate corresponding to Wi (Vj, Si, Li, Ck, Fi) is close to 100% The combination, such as the combination with the third success rate exceeding 99%, is determined to be used for the special test of motion detection.

例如,可以分别在白天模式和夜晚模式下对目标图像传感器进行灵敏度测试。其中,在白天模式下,灵敏度依次选择高中低档位,使用Wi(Vi、Si、Li、Ck、Fi)来进行N次测试,并记录每次测试的结果是否触发移动侦测。For example, the target image sensor can be tested for sensitivity in day mode and night mode, respectively. Among them, in the daytime mode, the sensitivity is selected to the high, medium and low gears in turn, and Wi (Vi, Si, Li, Ck, Fi) is used to perform N tests, and the result of each test is recorded whether the motion detection is triggered.

在夜晚模式下,灵敏度依次选择高中低档位,使用Wi(Vi、Si、Li、Ck、Fi)来进行N次测试,并记录每次测试的结果是否触发移动侦测。In the night mode, select the high, medium and low sensitivity in turn, use Wi (Vi, Si, Li, Ck, Fi) to perform N tests, and record whether the result of each test triggers motion detection.

然后统计各个测试记录,输出代表产品性能的灵敏度测试报告。Then count each test record and output a sensitivity test report representing the product performance.

根据本发明实施例提供的图像传感器灵敏度测试方法,通过融合在进行灵敏度检测时影响移动侦测的多个维度的影响因素,生成目标测试参数,并基于目标测试参数生成移动侦测的标准参数,在移动侦测的标准参数下进行灵敏度测试,以提高检测结果的准确性和精确性,从而能够提高检测的成功率。According to the image sensor sensitivity test method provided by the embodiment of the present invention, target test parameters are generated by fusing factors affecting multiple dimensions of motion detection during sensitivity detection, and standard parameters of motion detection are generated based on the target test parameters, Sensitivity tests are performed under the standard parameters of motion detection to improve the accuracy and precision of detection results, thereby improving the success rate of detection.

下面对本发明提供的图像传感器灵敏度测试装置进行描述,下文描述的图像传感器灵敏度测试装置与上文描述的图像传感器灵敏度测试方法可相互对应参照。The image sensor sensitivity testing apparatus provided by the present invention is described below, and the image sensor sensitivity testing apparatus described below and the image sensor sensitivity testing method described above can be referred to each other correspondingly.

如图5所示,该图像传感器灵敏度测试装置包括:第一处理模块510、第二处理模块520和第三处理模块530。As shown in FIG. 5 , the image sensor sensitivity testing apparatus includes: a first processing module 510 , a second processing module 520 and a third processing module 530 .

第一处理模块510,用于获取目标图像传感器在检测目标物体的情况下所对应的目标触发边界参数集;The first processing module 510 is used to obtain the target trigger boundary parameter set corresponding to the target image sensor in the case of detecting the target object;

第二处理模块520,用于基于目标图像传感器在目标触发边界参数集中各备选参数下的测试结果,确定目标测试参数;The second processing module 520 is configured to determine target test parameters based on the test results of the target image sensor under each candidate parameter in the target trigger boundary parameter set;

第三处理模块530,用于基于目标测试参数,测试目标图像传感器的灵敏度;a third processing module 530, configured to test the sensitivity of the target image sensor based on the target test parameter;

其中,目标触发边界参数集为目标图像传感器在触发移动侦测的情况下所对应的备选参数的集合。The target trigger boundary parameter set is a set of candidate parameters corresponding to the target image sensor when motion detection is triggered.

在一些实施例中,目标测试参数包括:目标测试距离、目标测试速度、目标测试面积、目标测试色彩和目标测试帧率中的至少一项;第二处理模块520,还可以用于:In some embodiments, the target test parameters include: at least one of the target test distance, the target test speed, the target test area, the target test color and the target test frame rate; the second processing module 520 can also be used for:

基于目标图像传感器在目标触发边界参数集中各备选参数下的测试结果,从目标触发边界参数集中确定目标测试距离、目标测试速度和目标测试面积;Based on the test results of the target image sensor under each candidate parameter in the target trigger boundary parameter set, determine the target test distance, target test speed and target test area from the target trigger boundary parameter set;

基于目标测试距离、目标测试速度和目标测试面积,确定目标测试色彩;Determine the target test color based on the target test distance, target test speed and target test area;

基于目标测试距离、目标测试速度、目标测试面积和目标测试色彩,确定目标测试帧率。Based on the target test distance, the target test speed, the target test area and the target test color, the target test frame rate is determined.

在一些实施例中,第二处理模块520,还可以用于:In some embodiments, the second processing module 520 can also be used to:

获取目标图像传感器在检测位于目标触发边界参数集内的目标距离处的目标物体的情况下,触发移动侦测时目标物体在目标距离处的最大第一面积和最小第一面积;以及触发移动侦测时目标物体在目标距离处的最大第一速度和最小第一速度;Obtaining the maximum first area and the minimum first area of the target object at the target distance when the target image sensor detects the target object located at the target distance within the target trigger boundary parameter set when the motion detection is triggered; and triggering the motion detection Time measurement of the maximum first speed and the minimum first speed of the target object at the target distance;

获取目标图像传感器在检测基于目标速度移动的目标物体的情况下,触发移动侦测时目标面积的目标物体在目标距离处的移动侦测数据,其中,目标速度在最大第一速度和最小第一速度之间,目标面积在最大第一面积和最小第一面积之间;Obtain the motion detection data of the target object in the target area at the target distance when the target image sensor detects the target object moving based on the target speed when the motion detection is triggered, wherein the target speed is at the maximum first speed and the minimum first speed. Between the speeds, the target area is between the maximum first area and the minimum first area;

在移动侦测数据不低于目标侦测阈值的情况下,将移动侦测数据对应的目标速度确定为目标测试速度,将移动侦测数据对应的目标速度确定为目标测试距离,将移动侦测数据对应的目标面积确定为目标测试面积。When the motion detection data is not lower than the target detection threshold, the target speed corresponding to the motion detection data is determined as the target test speed, the target speed corresponding to the motion detection data is determined as the target test distance, and the motion detection data is determined as the target test distance. The target area corresponding to the data is determined as the target test area.

在一些实施例中,第二处理模块520,还可以用于:In some embodiments, the second processing module 520 can also be used to:

将目标图像传感器在检测位于目标测试距离处的,基于目标测试速度移动的目标测试面积的目标物体的情况下,未触发移动侦测时目标物体的色彩值确定为目标测试色彩。When the target image sensor detects a target object located at the target test distance and moves based on the target test area of the target test speed, the color value of the target object when motion detection is not triggered is determined as the target test color.

在一些实施例中,目标触发边界参数集包括:目标触发距离、目标触发面积和目标触发速度;第一处理模块510,还可以用于:In some embodiments, the target trigger boundary parameter set includes: target trigger distance, target trigger area, and target trigger speed; the first processing module 510 can also be used for:

将目标图像传感器在检测目标物体的情况下,触发移动侦测时目标物体距目标图像传感器之间的最小距离和目标物体距目标图像传感器之间最大距离确定为目标触发距离;When the target image sensor detects the target object, the minimum distance between the target object and the target image sensor when the motion detection is triggered and the maximum distance between the target object and the target image sensor are determined as the target trigger distance;

将目标图像传感器在检测位于最小距离处的目标物体的情况下,触发移动侦测时目标物体的最小第二面积;以及目标图像传感器在检测位于最大距离处的目标物体的情况下,触发移动侦测时目标物体的最大第二面积,确定为目标触发面积;When the target image sensor detects the target object located at the minimum distance, the minimum second area of the target object when the motion detection is triggered; and when the target image sensor detects the target object located at the maximum distance, the motion detection is triggered. The largest second area of the time-measured target object is determined as the target trigger area;

将目标图像传感器在检测位于最小距离处的最小第二面积的目标物体的情况下,触发移动侦测时目标物体的最小第二速度;以及目标图像传感器在检测位于最大距离处的最大第二面积的目标物体的情况下,触发移动侦测时目标物体的最大第二速度,确定为目标触发速度。In the case where the target image sensor detects the target object with the minimum second area at the minimum distance, the minimum second speed of the target object when the motion detection is triggered; and the target image sensor detects the maximum second area at the maximum distance. In the case of the target object, the maximum second speed of the target object when the motion detection is triggered is determined as the target trigger speed.

在一些实施例中,第三处理模块530,还可以用于:In some embodiments, the third processing module 530 may also be used to:

基于目标测试参数,生成移动侦测的标准参数;Based on target test parameters, generate standard parameters for motion detection;

获取目标图像传感器在移动侦测的标准参数下的移动侦测信息;Obtain the motion detection information of the target image sensor under the standard parameters of motion detection;

输出移动侦测信息。Output motion detection information.

图6示例了一种电子设备的实体结构示意图,如图6所示,该电子设备可以包括:处理器(processor)610、通信接口(Communications Interface)620、存储器(memory)630和通信总线640,其中,处理器610,通信接口620,存储器630通过通信总线640完成相互间的通信。处理器610可以调用存储器630中的逻辑指令,以执行图像传感器灵敏度测试方法,该方法包括:获取目标图像传感器在检测目标物体的情况下所对应的目标触发边界参数集;基于目标图像传感器在目标触发边界参数集中各备选参数下的测试结果,确定目标测试参数;基于目标测试参数,测试目标图像传感器的灵敏度;其中,目标触发边界参数集为目标图像传感器在触发移动侦测的情况下所对应的备选参数的集合。FIG. 6 illustrates a schematic diagram of the physical structure of an electronic device. As shown in FIG. 6 , the electronic device may include: a processor (processor) 610, a communication interface (Communications Interface) 620, a memory (memory) 630 and a communication bus 640, The processor 610 , the communication interface 620 , and the memory 630 communicate with each other through the communication bus 640 . The processor 610 can call the logic instructions in the memory 630 to execute the image sensor sensitivity test method, the method includes: obtaining the target trigger boundary parameter set corresponding to the target image sensor in the case of detecting the target object; The test results under each candidate parameter in the trigger boundary parameter set determine the target test parameters; based on the target test parameters, the sensitivity of the target image sensor is tested; wherein, the target trigger boundary parameter set is the target image sensor in the case of triggering motion detection. The set of corresponding candidate parameters.

此外,上述的存储器630中的逻辑指令可以通过软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。In addition, the above-mentioned logic instructions in the memory 630 can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product. Based on this understanding, the technical solution of the present invention can be embodied in the form of a software product in essence, or the part that contributes to the prior art or the part of the technical solution. The computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes: U disk, removable hard disk, Read-Only Memory (ROM, Read-Only Memory), Random Access Memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program codes .

另一方面,本发明还提供一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,计算机能够执行上述各方法所提供的图像传感器灵敏度测试方法,该方法包括:获取目标图像传感器在检测目标物体的情况下所对应的目标触发边界参数集;基于目标图像传感器在目标触发边界参数集中各备选参数下的测试结果,确定目标测试参数;基于目标测试参数,测试目标图像传感器的灵敏度;其中,目标触发边界参数集为目标图像传感器在触发移动侦测的情况下所对应的备选参数的集合。In another aspect, the present invention also provides a computer program product, the computer program product comprising a computer program stored on a non-transitory computer-readable storage medium, the computer program comprising program instructions, when the program instructions are executed by a computer When executing, the computer can execute the image sensor sensitivity test method provided by the above methods, the method includes: acquiring the target trigger boundary parameter set corresponding to the target image sensor in the case of detecting the target object; The test results under each candidate parameter in the parameter set determine the target test parameters; based on the target test parameters, the sensitivity of the target image sensor is tested; wherein, the target trigger boundary parameter set is the corresponding target image sensor in the case of triggering motion detection A collection of alternative parameters.

又一方面,本发明还提供一种非暂态计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现以执行上述各提供的图像传感器灵敏度测试方法,该方法包括:获取目标图像传感器在检测目标物体的情况下所对应的目标触发边界参数集;基于目标图像传感器在目标触发边界参数集中各备选参数下的测试结果,确定目标测试参数;基于目标测试参数,测试目标图像传感器的灵敏度;其中,目标触发边界参数集为目标图像传感器在触发移动侦测的情况下所对应的备选参数的集合。In yet another aspect, the present invention also provides a non-transitory computer-readable storage medium on which a computer program is stored, the computer program is implemented when executed by a processor to execute the above-mentioned image sensor sensitivity testing methods provided, the method comprising: : obtain the target trigger boundary parameter set corresponding to the target image sensor in the case of detecting the target object; determine the target test parameters based on the test results of the target image sensor under each candidate parameter in the target trigger boundary parameter set; based on the target test parameters, The sensitivity of the target image sensor is tested; wherein, the target trigger boundary parameter set is a set of candidate parameters corresponding to the target image sensor when motion detection is triggered.

以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性的劳动的情况下,即可以理解并实施。The device embodiments described above are only illustrative, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in One place, or it can be distributed over multiple network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution in this embodiment. Those of ordinary skill in the art can understand and implement it without creative effort.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到各实施方式可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件。基于这样的理解,上述技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行各个实施例或者实施例的某些部分所述的方法。From the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus a necessary general hardware platform, and certainly can also be implemented by hardware. Based on this understanding, the above-mentioned technical solutions can be embodied in the form of software products in essence or the parts that make contributions to the prior art, and the computer software products can be stored in computer-readable storage media, such as ROM/RAM, magnetic A disc, an optical disc, etc., includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform the methods described in various embodiments or some parts of the embodiments.

最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, but not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that it can still be The technical solutions described in the foregoing embodiments are modified, or some technical features thereof are equivalently replaced; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (10)

1. An image sensor sensitivity testing method, comprising:
acquiring a target trigger boundary parameter set corresponding to a target image sensor under the condition of detecting a target object;
determining target test parameters based on test results of the target image sensor under all the alternative parameters in the target trigger boundary parameter set;
testing the sensitivity of the target image sensor based on the target test parameters;
the target trigger boundary parameter set is a set of the candidate parameters corresponding to the target image sensor when motion detection is triggered.
2. The image sensor sensitivity testing method according to claim 1, wherein the target test parameters include: at least one of a target test distance, a target test speed, a target test area, a target test color, and a target test frame rate; the determining target test parameters comprises:
determining the target testing distance, the target testing speed and the target testing area from the target triggering boundary parameter set based on the testing results of the target image sensor under the alternative parameters in the target triggering boundary parameter set;
determining the target test color based on the target test distance, the target test speed, and the target test area;
determining the target test frame rate based on the target test distance, the target test speed, the target test area, and the target test color.
3. The method for testing the sensitivity of the image sensor according to claim 2, wherein the determining the target testing distance, the target testing speed and the target testing area from the target trigger boundary parameter set based on the testing result of the target image sensor under each candidate parameter in the target trigger boundary parameter set comprises:
acquiring a maximum first area and a minimum first area of a target object at a target distance when the target image sensor triggers movement detection under the condition that the target object at the target distance in the target trigger boundary parameter set is detected by the target image sensor; and triggering a maximum first velocity and a minimum first velocity of the target object at the target distance at the time of movement detection;
acquiring movement detection data of the target object at the target distance of a target area when the target image sensor triggers movement detection in the case of detecting the target object moving based on a target speed, wherein the target speed is between the maximum first speed and the minimum first speed, and the target area is between the maximum first area and the minimum first area;
and under the condition that the movement detection data is not lower than a target detection threshold value, determining the target speed corresponding to the movement detection data as the target test speed, determining the target speed corresponding to the movement detection data as the target test distance, and determining the target area corresponding to the movement detection data as the target test area.
4. The method of claim 2, wherein the determining the target test color based on the target test distance, the target test speed, and the target test area comprises:
and determining the color value of the target object when motion detection is not triggered as the target test color under the condition that the target image sensor detects the target object of the target test area which is located at the target test distance and moves based on the target test speed.
5. The image sensor sensitivity testing method according to any one of claims 1 to 4, wherein the target trigger boundary parameter set includes: a target trigger distance, a target trigger area and a target trigger speed; the acquiring of the target trigger boundary parameter set corresponding to the target image sensor in the case of detecting the target object includes:
determining the minimum distance between the target object and the target image sensor and the maximum distance between the target object and the target image sensor when the target image sensor triggers movement detection under the condition that the target object is detected as the target trigger distance;
triggering a minimum second area of the target object in movement detection by the target image sensor when the target object located at the minimum distance is detected; and the target image sensor triggers the maximum second area of the target object in movement detection under the condition of detecting the target object at the maximum distance, and the maximum second area is determined as the target triggering area;
triggering a minimum second speed of the target object at the time of movement detection by the target image sensor in a case of detecting the target object of the minimum second area located at the minimum distance; and the target image sensor triggers the maximum second speed of the target object during movement detection under the condition of detecting the target object with the maximum second area at the maximum distance, and the maximum second speed is determined as the target triggering speed.
6. The method according to any one of claims 1 to 4, wherein the testing the sensitivity of the target image sensor based on the target test parameter comprises:
generating standard parameters of the mobile detection based on the target test parameters;
acquiring movement detection information of the target image sensor under the standard parameters of the movement detection;
and outputting the movement detection information.
7. An image sensor sensitivity testing apparatus, comprising:
the first processing module is used for acquiring a target trigger boundary parameter set corresponding to the target image sensor under the condition of detecting a target object;
the second processing module is used for determining target test parameters based on the test results of the target image sensor under all the alternative parameters in the target trigger boundary parameter set;
a third processing module for testing the sensitivity of the target image sensor based on the target test parameters;
the target trigger boundary parameter set is a set of the candidate parameters corresponding to the target image sensor when motion detection is triggered.
8. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the image sensor sensitivity testing method according to any one of claims 1 to 6 when executing the program.
9. A non-transitory computer-readable storage medium having stored thereon a computer program, wherein the computer program, when executed by a processor, implements the image sensor sensitivity testing method according to any one of claims 1 to 6.
10. A computer program product comprising a computer program, wherein the computer program, when executed by a processor, implements the image sensor sensitivity testing method of any of claims 1 to 6.
CN202210255560.6A 2022-03-15 2022-03-15 Image sensor sensitivity testing method and device Pending CN114697642A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210255560.6A CN114697642A (en) 2022-03-15 2022-03-15 Image sensor sensitivity testing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210255560.6A CN114697642A (en) 2022-03-15 2022-03-15 Image sensor sensitivity testing method and device

Publications (1)

Publication Number Publication Date
CN114697642A true CN114697642A (en) 2022-07-01

Family

ID=82139536

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210255560.6A Pending CN114697642A (en) 2022-03-15 2022-03-15 Image sensor sensitivity testing method and device

Country Status (1)

Country Link
CN (1) CN114697642A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009100454A (en) * 2007-09-26 2009-05-07 Victor Co Of Japan Ltd Moving object tracking control device
US20130241835A1 (en) * 2012-03-15 2013-09-19 Wen-Chieh Geoffrey Lee High Resolution and High Sensitivity Optically Activated Motion Detection Device using Multiple Color Light Sources
US20160225160A1 (en) * 2013-09-26 2016-08-04 Mitsubishi Electric Corporation Monitoring camera, monitoring system, and motion detection method
CN106034195A (en) * 2015-03-16 2016-10-19 冠捷投资有限公司 Movement detection method based on grey correlation analysis
CN113840137A (en) * 2021-09-14 2021-12-24 四川长虹网络科技有限责任公司 Verification method and system for mobile detection sensitivity of network camera

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009100454A (en) * 2007-09-26 2009-05-07 Victor Co Of Japan Ltd Moving object tracking control device
US20130241835A1 (en) * 2012-03-15 2013-09-19 Wen-Chieh Geoffrey Lee High Resolution and High Sensitivity Optically Activated Motion Detection Device using Multiple Color Light Sources
US20160225160A1 (en) * 2013-09-26 2016-08-04 Mitsubishi Electric Corporation Monitoring camera, monitoring system, and motion detection method
CN106034195A (en) * 2015-03-16 2016-10-19 冠捷投资有限公司 Movement detection method based on grey correlation analysis
CN113840137A (en) * 2021-09-14 2021-12-24 四川长虹网络科技有限责任公司 Verification method and system for mobile detection sensitivity of network camera

Similar Documents

Publication Publication Date Title
CN106920219B (en) Article defect detection method, image processing system and computer readable recording medium
CN107133948A (en) Image blurring and noise evaluating method based on multitask convolutional neural networks
US20200402221A1 (en) Inspection system, image discrimination system, discrimination system, discriminator generation system, and learning data generation device
TW202036353A (en) Solder paste printing quality detecting method, data processing device and computer storage medium
CN104978715A (en) Non-local mean image denoising method based on filtering window and parameter self-adaption
JP2014533349A (en) Measurement of belt wear by edge detection of raster images.
CN103093458B (en) The detection method of key frame and device
CN111597933B (en) Face recognition method and device
US11783471B2 (en) Method and device for determining whether object includes defect
CN117173172B (en) Machine vision-based silica gel molding effect detection method and system
CN115015286B (en) Chip detection method and system based on machine vision
CN114782329A (en) Bearing defect damage degree evaluation method and system based on image processing
CN117635604A (en) Method for detecting welding quality of constructional engineering steel structure
Das et al. Application of deep convolutional neural networks for automated and rapid identification and computation of crack statistics of thin cracks in strain hardening cementitious composites (SHCCs)
CN105913429A (en) Calculating method for visual perception response time delay index of intelligent terminal user
CN109360189B (en) Method for detecting pixel defect point of image of uncooled infrared movement
CN109405979B (en) A Michelson interferometer image fringe width detection method and system
CN114697642A (en) Image sensor sensitivity testing method and device
CN117474915B (en) Abnormality detection method, electronic equipment and storage medium
CN118623769A (en) A method for detecting the width of a pole piece material of a photoelectric sensor
CN118037137A (en) Method for determining product quality accident number based on convolutional neural network
CN116456074A (en) Camera module analysis force detection method and device, electronic equipment and storage medium
CN108629309A (en) Foundation pit surrounding people's method for protecting
CN114187292A (en) Abnormality detection method, apparatus, device and storage medium for cotton spinning paper tube
TWI797857B (en) Abnormal image detection method, system, terminal equipment and 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