CN111212280A - Method and system for testing depth camera module, computer equipment and storage medium - Google Patents

Method and system for testing depth camera module, computer equipment and storage medium Download PDF

Info

Publication number
CN111212280A
CN111212280A CN201911378924.4A CN201911378924A CN111212280A CN 111212280 A CN111212280 A CN 111212280A CN 201911378924 A CN201911378924 A CN 201911378924A CN 111212280 A CN111212280 A CN 111212280A
Authority
CN
China
Prior art keywords
test
parameter
camera module
frame data
parameters
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201911378924.4A
Other languages
Chinese (zh)
Other versions
CN111212280B (en
Inventor
方利红
潘斌彬
陈波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Aixin Intelligent Technology Co ltd
Original Assignee
Hangzhou Aixin Intelligent 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 Hangzhou Aixin Intelligent Technology Co ltd filed Critical Hangzhou Aixin Intelligent Technology Co ltd
Priority to CN201911378924.4A priority Critical patent/CN111212280B/en
Publication of CN111212280A publication Critical patent/CN111212280A/en
Application granted granted Critical
Publication of CN111212280B publication Critical patent/CN111212280B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • General Health & Medical Sciences (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)
  • Studio Devices (AREA)

Abstract

The invention discloses a method and a system for testing a depth camera module, computer equipment and a storage medium, wherein the method comprises the following steps: acquiring frame data of a depth video stream sent by a depth camera module, detecting the frame data, and acquiring frame data parameters according to the detection; wherein the frame data parameters include: a quality parameter, a flatness parameter, and a precision parameter; under the condition that the frame data parameter is larger than the preset performance parameter, saving the frame data, the calculation result of the frame data parameter, the current test time and the test failure times; acquiring the current accumulated test time; and under the condition that the test time is greater than or equal to the first preset time, obtaining a test result of the frame data, thereby solving the problem of low test efficiency in the test of the depth camera module.

Description

Method and system for testing depth camera module, computer equipment and storage medium
Technical Field
The present application relates to the field of camera technologies, and in particular, to a method and a system for testing a depth camera module, a computer device, and a storage medium.
Background
The camera module mainly includes three major parts: camera lens, infrared cut-off filter and image sensor. After the camera module is manufactured and assembled, each parameter of the camera module is strictly tested to ensure normal performance. In the related art, camera module testing methods are basically based on 2D camera modules, and it is difficult to find an effective and feasible testing method for 3D depth camera modules, especially in the aspect of performance stability testing, because of factors such as long testing period, difficulty in fault location, lack of a unified and effective testing method, and the like, the testing process can be said to be difficult, and thus the efficiency of depth camera module testing is low.
In the related art, no effective solution is provided at present for the problem of low testing efficiency in the testing of the depth camera module.
Disclosure of Invention
The invention provides a method and a device for testing a depth camera module, computer equipment and a storage medium, aiming at the problem of low testing efficiency in the depth camera module testing in the related art, and at least solving the problem.
According to an aspect of the present invention, there is provided a system for depth camera module testing, the system comprising: the device comprises a depth camera module, a test module and a main control module;
the test module acquires frame data of a depth video stream sent by the depth camera module and detects the frame data, and the test module acquires frame data parameters according to the detection; wherein the frame data parameters include: a quality parameter, a flatness parameter, and a precision parameter;
the main control module is connected with the test module; the main control module stores the frame data, the calculation result of the frame data parameters, the current test time and the test failure times under the condition that the frame data parameters are greater than the preset performance parameters;
the main control module acquires the current accumulated test time; and acquiring a test result of the frame data under the condition that the test time is greater than or equal to a first preset time.
In one embodiment, the test module is provided with a sensing unit, and the test module and the sensing unit acquire camera module parameters at intervals of second preset time;
the main control module stores the camera module parameters to a recording file according to the acquisition time of the camera module parameters; wherein the camera module parameters include: frame rate, current power value, memory consumption value, Central Processing Unit (CPU) utilization rate, current illumination intensity and current temperature of the depth video stream;
the main control module acquires a flag bit indicating the end of the test when the test time is greater than or equal to the first preset time;
the main control module compares and analyzes the recording file and the preset performance parameter under the condition of acquiring the zone bit; and the main control module acquires a test result of the parameters of the camera module according to the comparison analysis.
In one embodiment, the main control module is further configured to analyze a parameter variation curve in the record file, and mark the preset performance parameter on the parameter variation curve as a qualified line;
and the main control module acquires a test result of the parameters of the camera module according to the parameter change curve and the qualified line.
In one embodiment, the main control module is further configured to search for a test failure parameter in the test result, and obtain coordinate information of the test failure parameter in the test result;
and the main control module searches the original test parameters corresponding to the test failure parameters according to the coordinate information and generates an analysis result according to the original test parameters.
According to another aspect of the invention, there is provided a method of depth camera module testing, the method comprising:
acquiring frame data of a depth video stream sent by a depth camera module, detecting the frame data, and acquiring frame data parameters according to the detection; wherein the frame data parameters include: a quality parameter, a flatness parameter, and a precision parameter;
under the condition that the frame data parameter is larger than a preset performance parameter, saving the frame data, the calculation result of the frame data parameter, the current test time and the test failure times;
acquiring the current accumulated test time; and acquiring a test result of the frame data under the condition that the test time is greater than or equal to a first preset time.
In one embodiment, before obtaining the test result of the frame data when the test time is greater than or equal to a first preset time, the method further includes:
acquiring camera module parameters of the depth camera module at intervals of second preset time; storing the camera module parameters to a recording file according to the acquisition time of the camera module parameters; wherein the camera module parameters include: frame rate, current power value, memory consumption value, CPU utilization rate, current illumination intensity and current temperature of the depth video stream;
acquiring a flag bit indicating the end of the test when the test time is greater than or equal to the first preset time;
under the condition of acquiring the zone bit, comparing and analyzing the recording file and the preset performance parameter; and obtaining a test result of the parameters of the camera module according to the comparison analysis.
In one embodiment, the comparing and analyzing the log file and the preset performance parameter includes:
analyzing a parameter change curve in the record file, and marking the preset performance parameter on the parameter change curve as a qualified line;
and acquiring a test result of the camera module parameter according to the parameter change curve and the qualified line.
In one embodiment, after the obtaining of the test result of the frame data when the test time is greater than or equal to a first preset time, the method further includes:
searching for a test failure parameter in the test result, and acquiring coordinate information of the test failure parameter in the test result;
and finding the original test parameters corresponding to the test failure parameters according to the coordinate information, and generating an analysis result according to the original test parameters.
According to another aspect of the present invention, there is provided a computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of any of the methods described above when executing the computer program.
According to another aspect of the invention, a computer-readable storage medium is provided, on which a computer program is stored, which computer program, when being executed by a processor, carries out the steps of any of the methods described above.
According to the invention, the system for testing the depth camera module comprises the depth camera module, a testing module and a main control module; the testing module acquires frame data of the depth video stream sent by the depth camera module and detects the frame data, and the testing module acquires frame data parameters according to the detection; wherein the frame data parameters include: a quality parameter, a flatness parameter, and a precision parameter; the main control module is connected with the test module; the main control module stores the frame data, the calculation result of the frame data parameters, the current test time and the test failure times under the condition that the frame data parameters are greater than the preset performance parameters; the method comprises the steps that a main control module obtains current accumulated test time under the condition that a frame data parameter is smaller than or equal to a preset performance parameter; under the condition that the test time is greater than or equal to the first preset time, the test result of the frame data is obtained, and therefore the problem that the test efficiency is low in the test of the depth camera module is solved.
Drawings
FIG. 1 is a schematic diagram of a depth camera module test application scenario according to an embodiment of the present invention;
FIG. 2 is a first flowchart of a depth camera module testing method according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating a depth camera module testing method according to an embodiment of the invention;
FIG. 4 is a flow chart of a depth camera module testing method according to an embodiment of the present invention;
FIG. 5 is a fourth flowchart of a depth camera module testing method according to an embodiment of the present invention;
FIG. 6 is a fifth flowchart illustrating a depth camera module testing method according to an embodiment of the invention;
FIG. 7 is a block diagram of a depth camera module test according to an embodiment of the present invention;
FIG. 8 is a block diagram of a depth camera module test according to an embodiment of the present invention;
fig. 9 is a block diagram of the inside of a computer device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
In the present embodiment, a method for testing a depth camera module is provided, fig. 1 is a schematic diagram of an application scenario for testing a depth camera module according to an embodiment of the present invention, as shown in fig. 1, in the application environment, the depth camera module 12 is connected to an external sensor 14, a test host 16, and a programmable dc regulated power supply 18, respectively, the depth camera module 12 is fixed at a height that is a preset distance from the ground, where the preset distance may be 1.5 meters; the plane of the lens of the depth camera module 12 is parallel to the wall surface; the external sensor 14 includes a temperature sensor, a photosensitive sensor or other sensors, and the external sensor 14 is used for acquiring information such as the temperature of the current environment, the temperature of the module, the illumination intensity and the like; the test host 16 controls the depth camera module 12 to be turned on and off, and controls and obtains the current and voltage of the programmable dc stabilized voltage supply 18; in the preparation stage of testing, the testing host 16 sets the voltage of the programmable DC voltage regulator 18 to 5V and controls the depth camera module 12 to initialize.
In the present embodiment, a method for testing a depth camera module is provided, and fig. 2 is a flowchart illustrating a method for testing a depth camera module according to an embodiment of the present invention, as shown in fig. 2, the method includes the following steps:
step S202, obtaining frame data of the depth video stream sent by the depth camera module 12, detecting the frame data, and obtaining frame data parameters according to the detection; wherein the frame data parameters include: a quality parameter, a flatness parameter, and a precision parameter; when the initialization of the depth camera module 12 is completed, the depth camera module 12 automatically starts capturing video and performs a test.
In the frame data quality detection, after 40 pixel points (about 10%) on the frame data boundary are removed, the absolute error between the distance value to the wall corresponding to each pixel and the real distance value is calculated, the maximum value of the pile-up error is taken, and the calculation formula is shown as formula 1:
Figure BDA0002341760030000051
wherein Q is a quality parameter of frame data; x represents the real distance value from the camera module to the wall surface; ROI is a matrix generated from distance values corresponding to pixels from which the boundary is removed, where ROI is [ 40: x-40, 40: y-40], wherein x and y are picture resolution; XM is a matrix of the same shape as the ROI generated from the true distance values.
In the frame data flatness detection, after 40 pixel points (about 10%) on the frame data boundary are removed, the maximum error of the corresponding distance value from the remaining pixel points to the wall surface is calculated, and then the maximum error is divided by the real distance value, the obtained result is the flatness by percentage calculation, and the calculation formula is shown as formula 2:
Figure BDA0002341760030000052
wherein F is the flatness parameter of the frame data.
In the frame data accuracy detection, the accuracy is calculated according to the degree of deviation of the measured data from the average value for a plurality of times, and the calculation formula is shown as formula 3:
Figure BDA0002341760030000053
wherein R is a precision parameter of frame data; xVIs the average of a set of measured data.
In the frame data accuracy detection, the accuracy is calculated according to the degree of coincidence between the average value of the multiple measurement values and the true value, and the calculation formula is shown as formula 4:
Figure BDA0002341760030000061
wherein A is a standard parameter of frame data,
Figure BDA0002341760030000062
it may be a point in the central region or an average value of a region.
Step S204, under the condition that the parameter of the frame data is larger than the preset performance parameter, saving the frame data, the calculation result of the parameter of the frame data, the current test time and the test failure times; the preset performance parameters include: a quality detection parameter, a flatness detection parameter, a precision detection parameter and a precision detection parameter; the preset performance parameter may be set by a user according to an actual situation, for example, the quality detection parameter may be 10%, the flatness detection parameter may be 2%, the precision detection parameter may be 0.5, and the accuracy detection parameter may be 1%.
Comparing the quality parameter to the quality detection parameter; and under the condition that the quality parameter is greater than the quality detection parameter, storing the frame data in a picture format, and storing the calculation result of the quality parameter, the current test time and the test failure times.
Comparing the flatness parameter with the flatness detection parameter; and under the condition that the flatness parameter is larger than the flatness detection parameter, storing the frame data in a picture format, and storing the calculation result of the flatness parameter, the current test time and the test failure times.
The cumulative number of frames of the frame data is acquired. Under the condition that the accumulated frame number is greater than or equal to a preset frame number, calculating the average precision of the frame data; and under the condition that the average precision is greater than the precision detection parameter, storing the frame data in a picture format, and storing the average precision, the current test time and the test failure times. Calculating the average accuracy of the frame data; under the condition that the average accuracy is larger than the accuracy detection parameter, storing the frame data in a picture format, and storing the average accuracy, the current test time and the test failure times; wherein the preset frame number may be set to 10.
Step S206, acquiring the current accumulated test time; under the condition that the test time is greater than or equal to first preset time, obtaining a test result of the frame data; wherein, the first preset time may be 48 hours.
In the related art, the performance stability of the depth camera module 12 is usually longer in period, but in the embodiment of the present invention, through the steps S202 to S206, the depth video stream frame data of the depth camera module 12 is automatically detected, the quality parameter, the flatness parameter and the accuracy parameter are obtained, and meanwhile, the standard value of the performance index is set in advance, and the standard value is used as a criterion for determining whether the data generated by the detection test in the test process is qualified, so that the labor cost of the depth camera module test is saved, and the problem of lower test efficiency in the depth camera module test is solved.
In an embodiment, a method for testing a depth camera module is provided, and fig. 3 is a second flowchart of a method for testing a depth camera module according to an embodiment of the present invention, as shown in fig. 3, the method includes the following steps:
step S302, acquiring camera module parameters of the depth camera module 12 at intervals of a second preset time; storing the camera module parameters to a recording file according to the acquisition time of the camera module parameters; wherein, this camera module parameter includes: frame rate, current power value, memory consumption value, CPU utilization rate, current illumination intensity and current temperature of the depth video stream; and if the second preset time can be set to be 1 second, a group of camera module parameters can be acquired every 1 second and stored.
Step S304, under the condition that the test time is greater than or equal to the first preset time, acquiring a flag bit indicating the end of the test, wherein the end of the test is indicated at the moment; it can be understood that, in the case that the test is not finished, the acquired flag indicates that the test is in progress, and then the acquisition of the camera module parameters is repeated until the test is finished.
Step S306, comparing and analyzing the record file and the preset performance parameter under the condition of obtaining the zone bit; obtaining a test result of the camera module parameter according to the comparison analysis; wherein, the preset performance parameters include: frame rate detection parameters, power detection parameters, memory detection parameters and CPU detection parameters; specifically, the frame rate detection parameter may be 28fps, and the frame rate detection passes if the frame rate of the depth video stream is greater than or equal to 28 fps; if the power detection parameter is 1.5W, the power detection is passed if the current power value is less than or equal to 1.5W; the memory detection parameter may be 60MB, and the memory consumption detection is passed if the memory consumption value is less than or equal to 60 MB; the CPU detection parameter may be 40%, and the CPU passes detection if the CPU utilization is less than or equal to 40%.
Through the above steps S302 to S306, the camera module parameters such as the depth video stream frame rate, the current power value, the memory consumption value, the CPU utilization rate, the current illumination intensity, and the current temperature are continuously detected during the test, and the camera module parameters are contrastingly analyzed according to the reference parameters set by the user after the test is completed, so as to obtain the test result, which basically covers the important performance stability index of the depth camera module 12, and considers the influence of the illumination intensity, the ambient temperature, the camera module temperature, the power supply current, and other factors on the performance stability index, thereby further improving the comprehensiveness of the performance detection in the test of the depth camera module 12.
In an embodiment, a method for testing a depth camera module is provided, and fig. 4 is a flowchart illustrating a third method for testing a depth camera module according to an embodiment of the present invention, as shown in fig. 4, the method includes the following steps:
step S402, analyzing a parameter change curve in the record file, and marking the preset performance parameter on the parameter change curve as a qualified line; the recording file is read, the change curve of each camera module parameter in the test time is displayed in a graph form, the graph can set the x coordinate with the test time as a unit, the y coordinate with the value of each camera module parameter as a unit, and preset performance parameters set by a user are marked on the y coordinate axis, so that whether each camera module parameter reaches the standard in the test process can be visually seen through the graph.
Step S404, obtaining the test result of the camera module parameter according to the parameter variation curve and the qualified line, calculating the maximum value, the minimum value and the average value of each parameter, and calculating the passing rate of each performance parameter index according to the proportion of the number of times of reaching the standard to the total number of times; for example:
the quality detection passing rate of the frame data is 99.9977%, and the detection failure times are 101;
the passing rate of flatness detection is 99.9848%, and the number of detection failures is 657; wherein the minimum flatness is 0.56%, the maximum flatness is 2.82%, and the average flatness is 1.48%;
the precision detection pass rate is 99.1549%, and the detection failure times are 3651; wherein the minimum precision is 0.15, the maximum precision is 1.45, and the average precision is 0.39;
the accuracy detection passing rate is 99.2866%, and the detection failure times are 3081 times; wherein the minimum accuracy is 0.23%, the maximum accuracy is 2.14%, and the average accuracy is 0.65%;
the frame rate passing rate is 99.99%, wherein the minimum frame rate is 25fps, the maximum frame rate is 33fps, and the average frame rate is 29.88 fps;
the power passing rate is 45.52%, wherein the minimum power is 1.12W, the maximum power is 2.35W, and the average power is 1.63W;
the physical memory passing rate is 98.33%, wherein the minimum capacity is 54.6MB, the maximum capacity is 61.2MB, and the average capacity is 58.46 MB;
the CPU utilization rate passage rate is 86.78%, wherein the minimum utilization rate is 33.5%, the maximum utilization rate is 42.7%, and the average utilization rate is 38.31%.
Through the steps S402 to S404, the parameter variation curve in the record file is analyzed, and the preset performance parameter is marked on the parameter variation curve as a qualified line, so that the test result in the depth camera module test is visualized, data generated in the test process is automatically processed, and the test times and abnormal times are counted, so that the test result is concise and clear, and a user can conveniently observe and analyze the test result.
In an embodiment, a method for testing a depth camera module is provided, and fig. 5 is a fourth flowchart of a method for testing a depth camera module according to an embodiment of the present invention, as shown in fig. 5, the method includes the following steps:
step S502, searching for a test failure parameter in the test result, and acquiring coordinate information of the test failure parameter in the test result; the user can also locate each performance parameter according to the system time of the problem, and verify the influence possibly caused by the change of each parameter in the test process.
Step S504, finding out the original test parameter corresponding to the test failure parameter according to the coordinate information, and generating an analysis result according to the original test parameter; wherein, the user can trace the original data according to the information of a certain substandard performance index, reprocess the stored picture data and corresponding information to reproduce and troubleshoot the problems,
through the steps S502 to S504, the coordinate information of the test failure parameter in the test result is obtained, the original test parameter is tracked for analysis, more detailed test data is tracked according to the test result, and therefore the problem in the depth camera module test is further positioned and analyzed.
It should be understood that, although the steps in the flowcharts of fig. 2 to 5 are shown in sequence as indicated by the arrows, the steps are not necessarily performed in sequence as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2-5 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performing the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternately with other steps or at least some of the sub-steps or stages of other steps.
An embodiment of the present invention is described in detail below with reference to an actual application scenario, and fig. 6 is a flowchart of a depth camera module testing method according to an embodiment of the present invention, where specific implementation steps of the depth camera module testing method are shown in fig. 6.
Step S602, after the test environment of fig. 1 is established and the preset performance parameters are set, start the camera module of the depth camera module, and record the time of the current system as the test start time.
Step S604, after the test is started, obtaining depth frame data through a main thread, detecting the quality of the frame data, storing abnormal data and information under the condition that the quality detection is not passed, detecting the flatness of the frame data under the condition that the quality detection is passed, storing under the condition that the flatness detection is not passed, accumulating depth frame numbers under the condition that the flatness detection is passed, and directly entering the next step if the accumulated frame numbers are less than the frame number N required by calculating the precision; if the accumulated frame number reaches the frame number N required by the calculation accuracy, entering precision and accuracy detection; after the precision and accuracy detection is finished, calculating the difference value between the current system time and the test time, judging whether the test duration is reached, and if so, setting the flag bit to be the end of the test; if not, repeating the detection of the frame data; wherein, N is a preset frame number.
Step S606, in the testing process, the whole process of the process is opened to monitor and store the data generated in the testing process, and the specific process is as follows: counting the frame number of the current depth video stream every 1 second, and calculating the frame rate of the depth stream; acquiring the current of a voltage-stabilizing direct-current power supply every 1 second, and multiplying the current value by a set voltage to calculate the real-time power of the current depth camera module; acquiring the physical memory size and the CPU utilization rate occupied by the SDK process of the depth camera module at intervals of 1 second; acquiring data of the photosensitive sensor every 1 second, and calculating the illumination intensity of the current test environment; acquiring the temperature of the current testing environment and the temperature of the depth camera module once every 1 second through a temperature sensor; simultaneously acquiring the time of the current system, and sending the acquired parameter information to a specified recording file according to the current system time; and judging whether the test of the main thread is finished or not through the zone bit, and repeating the operation of acquiring the parameters if the test is not finished.
Step S608, processing the test data after the test is finished, counting the times of failure and success of each test in the test process, calculating the passing rate of each test index, and outputting the test result.
In this embodiment, a system for testing a camera module is provided, and fig. 7 is a block diagram of a first structure of testing a depth camera module according to an embodiment of the present invention, as shown in fig. 7, the system includes: a depth camera module 12, a test module 72, and a master control module 74;
the test module 72 obtains frame data of the depth video stream sent by the depth camera module 12, and detects the frame data, and the test module 72 obtains frame data parameters according to the detection; wherein the frame data parameters include: a quality parameter, a flatness parameter, and a precision parameter;
the main control module 74 saves the frame data, the calculation result of the frame data parameter, the current test time and the test failure times when the frame data parameter is greater than the preset performance parameter;
the master control module 74 obtains the current accumulated test time; and acquiring a test result of the frame data under the condition that the test time is greater than or equal to a first preset time.
Through the above embodiment, the test module 72 automatically detects the depth video stream frame data of the depth camera module 12, and obtains the quality parameter, the flatness parameter and the precision parameter, and meanwhile, the main control module 74 determines whether the data generated by the detection test in the test process is qualified or not by setting the standard value of the performance index in advance and according to the standard value, thereby saving the labor cost for testing the depth camera module 12 and solving the problem of low test efficiency in the test of the depth camera module 12.
In one embodiment, the test module 72 is provided with a sensing unit, and the test module 72 and the sensing unit acquire camera module parameters every second preset time;
the main control module 74 saves the camera module parameters to a record file according to the acquisition time of the camera module parameters; wherein, this camera module parameter includes: frame rate, current power value, memory consumption value, CPU utilization rate, current illumination intensity and current temperature of the depth video stream;
the main control module 74 obtains a flag indicating the end of the test when the test time is greater than or equal to the first preset time;
the main control module 74 compares and analyzes the record file and the preset performance parameter under the condition of acquiring the flag bit; the main control module 74 obtains the test result of the camera module parameters according to the comparison analysis.
In one embodiment, the main control module 74 is further configured to analyze a parameter variation curve in the record file, and mark the preset performance parameter on the parameter variation curve as a qualified line;
the main control module 74 obtains the test result of the camera module parameter according to the parameter variation curve and the qualified line.
In an embodiment, a system for testing a camera module is provided, and fig. 8 is a block diagram of a structure of testing a depth camera module according to an embodiment of the present invention, as shown in fig. 8, the system further includes a display module 82;
the display module 82 is configured to receive and display the analysis result sent by the main control module 74;
wherein, the main control module 74 searches for the test failure parameter in the test result, and obtains the coordinate information of the test failure parameter in the test result;
the main control module 74 finds the original test parameters corresponding to the test failure parameters according to the coordinate information, and generates an analysis result according to the original test parameters.
In one embodiment, a computer device is provided, and the computer device may be a server, and fig. 9 is a structural diagram of the inside of the computer device according to the embodiment of the present invention, as shown in fig. 9. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used for storing the record file data. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by the processor to implement a depth camera module 12 testing method.
Those skilled in the art will appreciate that the architecture shown in fig. 9 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, which includes a memory, a processor, and a computer program stored on the memory and executable on the processor, and the processor executes the computer program to implement the steps of the depth camera module testing method provided in the foregoing embodiments.
In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, and the computer program, when executed by a processor, implements the steps in the depth camera module testing method provided by the above embodiments.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A system for depth camera module testing, the system comprising: the device comprises a depth camera module, a test module and a main control module;
the test module acquires frame data of a depth video stream sent by the depth camera module and detects the frame data, and the test module acquires frame data parameters according to the detection; wherein the frame data parameters include: a quality parameter, a flatness parameter, and a precision parameter;
the main control module stores the frame data, the calculation result of the frame data parameters, the current test time and the test failure times under the condition that the frame data parameters are greater than the preset performance parameters;
acquiring the current accumulated test time; and acquiring a test result of the frame data under the condition that the test time is greater than or equal to a first preset time.
2. The system according to claim 1, wherein the test module is provided with a sensing unit, and the test module and the sensing unit acquire camera module parameters every second preset time interval;
the main control module stores the camera module parameters to a recording file according to the acquisition time of the camera module parameters; wherein the camera module parameters include: frame rate, current power value, memory consumption value, CPU utilization rate, current illumination intensity and current temperature of the depth video stream;
the main control module acquires a flag bit indicating the end of the test when the test time is greater than or equal to the first preset time;
the main control module compares and analyzes the recording file and the preset performance parameter under the condition of acquiring the zone bit; and the main control module acquires a test result of the parameters of the camera module according to the comparison analysis.
3. The system according to claim 2, wherein the main control module is further configured to analyze a parameter variation curve in the record file, and mark the preset performance parameter on the parameter variation curve as a qualified line;
and the main control module acquires a test result of the parameters of the camera module according to the parameter change curve and the qualified line.
4. The system of any one of claims 1 to 3, further comprising a display module;
the display module is used for receiving and displaying the analysis result sent by the main control module;
the main control module searches for a test failure parameter in the test result and acquires coordinate information of the test failure parameter in the test result;
and the main control module searches the original test parameters corresponding to the test failure parameters according to the coordinate information and generates an analysis result according to the original test parameters.
5. A method for depth camera module testing, the method comprising:
acquiring frame data of a depth video stream sent by a depth camera module, detecting the frame data, and acquiring frame data parameters according to the detection; wherein the frame data parameters include: a quality parameter, a flatness parameter, and a precision parameter;
under the condition that the frame data parameter is larger than a preset performance parameter, saving the frame data, the calculation result of the frame data parameter, the current test time and the test failure times;
acquiring the current accumulated test time; and acquiring a test result of the frame data under the condition that the test time is greater than or equal to a first preset time.
6. The method according to claim 5, wherein before obtaining the test result of the frame data in the case that the test time is greater than or equal to a first preset time, the method further comprises:
acquiring camera module parameters of the depth camera module at intervals of second preset time; storing the camera module parameters to a recording file according to the acquisition time of the camera module parameters; wherein the camera module parameters include: frame rate, current power value, memory consumption value, CPU utilization rate, current illumination intensity and current temperature of the depth video stream;
acquiring a flag bit indicating the end of the test when the test time is greater than or equal to the first preset time;
under the condition of acquiring the zone bit, comparing and analyzing the recording file and the preset performance parameter; and obtaining a test result of the parameters of the camera module according to the comparison analysis.
7. The method of claim 6, wherein comparing the log file to the preset performance parameters comprises:
analyzing a parameter change curve in the record file, and marking the preset performance parameter on the parameter change curve as a qualified line;
and acquiring a test result of the camera module parameter according to the parameter change curve and the qualified line.
8. The method according to any one of claims 5 to 7, wherein after the obtaining of the test result of the frame data in the case that the test time is greater than or equal to a first preset time, the method further comprises:
searching for a test failure parameter in the test result, and acquiring coordinate information of the test failure parameter in the test result;
and finding the original test parameters corresponding to the test failure parameters according to the coordinate information, and generating an analysis result according to the original test parameters.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the method according to any of claims 5 to 8 are implemented by the processor when executing the computer program.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 5 to 8.
CN201911378924.4A 2019-12-27 2019-12-27 Method and system for testing depth camera module, computer equipment and storage medium Active CN111212280B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911378924.4A CN111212280B (en) 2019-12-27 2019-12-27 Method and system for testing depth camera module, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911378924.4A CN111212280B (en) 2019-12-27 2019-12-27 Method and system for testing depth camera module, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111212280A true CN111212280A (en) 2020-05-29
CN111212280B CN111212280B (en) 2022-04-15

Family

ID=70789430

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911378924.4A Active CN111212280B (en) 2019-12-27 2019-12-27 Method and system for testing depth camera module, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111212280B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115002451A (en) * 2022-08-08 2022-09-02 合肥的卢深视科技有限公司 Production testing SDK authorization method of structured light camera, electronic equipment and storage medium
CN114995919A (en) * 2022-08-03 2022-09-02 海的电子科技(苏州)有限公司 Method and equipment for adaptively configuring initialization code of MIPI module
CN115695679A (en) * 2022-10-24 2023-02-03 北京有竹居网络技术有限公司 Triple depth module matching method and device, mobile terminal, medium and chip

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104301718A (en) * 2014-10-27 2015-01-21 广东欧珀移动通信有限公司 Image display method in camera stability detection and camera stability detection method and system
CN108650501A (en) * 2018-03-29 2018-10-12 深圳市九洲电器有限公司 A kind of method, apparatus and electronic equipment of test stability of set-top box
CN109238163A (en) * 2018-08-22 2019-01-18 Oppo广东移动通信有限公司 Flight time mould group and its control method, controller and electronic device
CN109889822A (en) * 2019-03-27 2019-06-14 广东弘景光电科技股份有限公司 Camera high/low temperature real-time testing system and camera high/low temperature method for real-timely testing
CN209057315U (en) * 2018-11-20 2019-07-02 深圳奥比中光科技有限公司 A kind of depth camera test device
CN110035283A (en) * 2019-05-13 2019-07-19 深圳眼千里科技有限公司 A kind of full-automatic TOF Camera Test equipment
CN110602486A (en) * 2019-08-30 2019-12-20 歌尔股份有限公司 Detection method, detection device, depth camera and computer readable storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104301718A (en) * 2014-10-27 2015-01-21 广东欧珀移动通信有限公司 Image display method in camera stability detection and camera stability detection method and system
CN108650501A (en) * 2018-03-29 2018-10-12 深圳市九洲电器有限公司 A kind of method, apparatus and electronic equipment of test stability of set-top box
CN109238163A (en) * 2018-08-22 2019-01-18 Oppo广东移动通信有限公司 Flight time mould group and its control method, controller and electronic device
CN209057315U (en) * 2018-11-20 2019-07-02 深圳奥比中光科技有限公司 A kind of depth camera test device
CN109889822A (en) * 2019-03-27 2019-06-14 广东弘景光电科技股份有限公司 Camera high/low temperature real-time testing system and camera high/low temperature method for real-timely testing
CN110035283A (en) * 2019-05-13 2019-07-19 深圳眼千里科技有限公司 A kind of full-automatic TOF Camera Test equipment
CN110602486A (en) * 2019-08-30 2019-12-20 歌尔股份有限公司 Detection method, detection device, depth camera and computer readable storage medium

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114995919A (en) * 2022-08-03 2022-09-02 海的电子科技(苏州)有限公司 Method and equipment for adaptively configuring initialization code of MIPI module
CN114995919B (en) * 2022-08-03 2023-01-13 海的电子科技(苏州)有限公司 Method and equipment for adaptively configuring MIPI module initialization code
CN115002451A (en) * 2022-08-08 2022-09-02 合肥的卢深视科技有限公司 Production testing SDK authorization method of structured light camera, electronic equipment and storage medium
CN115002451B (en) * 2022-08-08 2022-11-22 合肥的卢深视科技有限公司 Production testing SDK authorization method of structured light camera, electronic equipment and storage medium
CN115695679A (en) * 2022-10-24 2023-02-03 北京有竹居网络技术有限公司 Triple depth module matching method and device, mobile terminal, medium and chip

Also Published As

Publication number Publication date
CN111212280B (en) 2022-04-15

Similar Documents

Publication Publication Date Title
CN111212280B (en) Method and system for testing depth camera module, computer equipment and storage medium
CN110334569B (en) Passenger flow volume in-out identification method, device, equipment and storage medium
CN109035299A (en) Method for tracking target, device, computer equipment and storage medium
CN110266938B (en) Transformer substation equipment intelligent shooting method and device based on deep learning
CN105657548A (en) Fault test method and system for video playing equipment
CN111160275B (en) Pedestrian re-recognition model training method, device, computer equipment and storage medium
JP2021532459A (en) Target cell labeling methods, devices, storage media and terminal devices
CN111127559A (en) Method, device, equipment and storage medium for detecting marker post in optical dynamic capturing system
CN113092079B (en) Definition detection target and method, system, electronic equipment and detection platform thereof
CN110458971B (en) Classroom attendance recording method and device, computer equipment and storage medium
CN112001880A (en) Characteristic parameter detection method and device for planar component
CN115661115A (en) Component detection method, device, electronic equipment and storage medium
CN111091146A (en) Image similarity obtaining method and device, computer equipment and storage medium
CN116193240B (en) Electronic equipment state evaluation method and system
CN112581444A (en) Anomaly detection method, device and equipment
CN112085724A (en) Cabinet temperature measuring method and device based on BIM and thermal image
CN116645530A (en) Construction detection method, device, equipment and storage medium based on image comparison
CN116797648A (en) Width measuring method, device, equipment, system and medium for material deformation process
EP3477580A1 (en) Image processing apparatus, image processing system, and recording medium
CN105007481A (en) Method and device for generating test card
CN111127701B (en) Vehicle failure scene detection method and system
CN114202522A (en) Red blood silk non-contact measuring method, storage medium and processor
CN113593074A (en) Monitoring video generation method and device
CN109996062B (en) Video image quality detection method and device, computer equipment and storage medium
CN112860348A (en) Intelligent diagnosis and analysis system of injection molding machine

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
GR01 Patent grant
GR01 Patent grant