Camera module light leak detection method, device and equipment

文档序号:1925579 发布日期:2021-12-03 浏览:2次 中文

阅读说明:本技术 一种摄像头模组漏光检测方法、装置及设备 (Camera module light leak detection method, device and equipment ) 是由 张桁 罗锋 于 2021-08-20 设计创作,主要内容包括:本公开涉及一种摄像头模组漏光检测方法、装置及设备,方法包括以下步骤:在待测摄像头模组镜头端的侧面照射光线,待测摄像头模组执行拍摄动作采集样本图像;对样本图像进行处理分析,获得样本图像的漏光占比x和画面均匀性y;根据漏光占比x和画面均匀性y判断待测摄像头模组是否通过漏光检测。装置包括固定及照射模块和处理分析模块。设备用于实现上述方法。本公开通过对样本图像的漏光占比x和画面均匀性y两个参数进行分析以判断摄像头模组是否通过漏光检测,通过可量化的统一标准进行检测判断,能提高检测结果的统一性,消除人为主观因素对检测结果造成的影响,能显著提高漏光检测过程的效率及检测结果的准确性。(The disclosure relates to a camera module light leakage detection method, a device and equipment, wherein the method comprises the following steps: irradiating light on the side surface of the lens end of the camera module to be detected, and executing shooting action by the camera module to be detected to acquire a sample image; processing and analyzing the sample image to obtain the light leakage ratio x and the picture uniformity y of the sample image; and judging whether the camera module to be detected passes the light leakage detection or not according to the light leakage ratio x and the picture uniformity y. The device comprises a fixing and irradiating module and a processing and analyzing module. The device is used for realizing the method. The camera module is judged whether to pass through light leak detection or not by analyzing two parameters of the light leak ratio x and the picture uniformity y of the sample image, and detection and judgment are carried out through quantifiable unified standards, so that the uniformity of the detection result can be improved, the influence of human subjective factors on the detection result is eliminated, and the efficiency of the light leak detection process and the accuracy of the detection result can be obviously improved.)

1. A camera module light leakage detection method is characterized by comprising the following steps:

s01, irradiating light on the side face of the lens end of the camera module to be detected, and shooting by the camera module to be detected to acquire a sample image;

s02, processing and analyzing the sample image to obtain the light leakage ratio x and the picture uniformity y of the sample image; the light leakage ratio x represents the proportion of the number of pixels in the light leakage area in the sample image to the total number of pixels in the sample image, and the picture uniformity y represents the color uniformity of the sample image;

and S03, judging whether the corresponding camera module to be detected passes the light leakage detection or not according to the light leakage ratio x and the picture uniformity y.

2. The method for detecting light leakage in a camera module of claim 1, wherein the step S03 includes:

s031, presetting a first threshold a and a second threshold b of the light leakage ratio x, wherein the first threshold a is smaller than the second threshold b; presetting a third threshold value c of the picture uniformity y;

s032, comparing the light leakage ratio x with the first threshold a and the second threshold b;

if the light leakage ratio x is smaller than the first threshold value a, judging that the light leakage detection of the camera module corresponding to the sample image passes;

if the light leakage ratio x is greater than or equal to the first threshold value a and less than or equal to the second threshold value b, entering the next step to perform picture uniformity judgment;

if the light leakage ratio x is greater than the second threshold b, determining that the light leakage detection of the camera module corresponding to the sample image does not pass;

s033, comparing the picture uniformity y with the third threshold c, if the picture uniformity y is greater than the third threshold c, determining that the light leakage detection of the camera module corresponding to the sample image does not pass, and if the picture uniformity y is less than or equal to the third threshold c, determining that the light leakage detection of the camera module corresponding to the sample image passes.

3. The method for detecting light leakage of a camera module according to claim 2, wherein the first threshold a is equal to 1%; the second threshold b is equal to 10%; the third threshold value c is equal to 10.

4. The method for detecting light leakage in a camera module according to claim 1, wherein in the step S02, obtaining the light leakage ratio x of the sample image comprises the steps of:

and converting the sample image into a gray image, converting the gray image into a black-white binary image through thresholding, and calculating the proportion of the number of pixels in a white area to the total number of pixels in the binary image to obtain the light leakage ratio x.

5. The method for detecting light leakage in a camera module according to claim 3, wherein in the step S02, obtaining the picture uniformity y of the sample image comprises the steps of:

gaussian low-pass filtering processing is carried out on the sample image, and dead pixel noise in the sample image is removed in a fuzzy mode;

selecting n selected regions at the edge of the sample image, calculating the average value of R values in RGB values in each selected region, and recording as a first average value Rn(n=1,2,3,4...n);

Calculating the average value of R values in the RGB values of the sample image, and recording as a second average valueCalculating each of the first average values RnAnd the second average valueBy the standard deviation std of which the drawing is reflectedThe surface uniformity y.

6. The method for detecting light leakage in a camera module of claim 5, wherein the selecting n selected regions at the edge of the sample image:

setting the height of the sample image as h and the width as q;

the selected area is square, n is 8,8 selected areas are uniformly distributed at the edge of the sample image, and the height of the selected areas isHas a width of

7. The method for detecting light leakage in a camera module of claim 1, wherein the step S01 is performed in a dark environment.

8. The method for detecting light leakage of a camera module according to claim 1, wherein the step S01 specifically comprises:

the four sides at the camera module lens end that awaits measuring shine light in proper order, shine at every turn and last 2s, the camera module that awaits measuring carries out the quartic in proper order and shoots the action, gathers four group's sample images.

9. The utility model provides a camera module light leak detection device which characterized in that includes:

the fixing and irradiating module is used for fixing the camera module to be detected and irradiating light rays on the side surface of the lens end of the camera module to be detected;

the processing and analyzing module is used for processing and analyzing the sample image acquired by the camera module to be detected to obtain the light leakage ratio x and the picture uniformity y of the sample image; the light leakage ratio x represents the proportion of the number of pixels in the light leakage area in the sample image to the total number of pixels in the sample image, and the picture uniformity y represents the color uniformity of the sample image; and judging whether the corresponding camera module to be detected passes the light leakage detection or not according to the light leakage ratio x and the picture uniformity y.

10. A computer device comprising a processor and a memory, wherein at least one instruction or at least one program is stored in the memory, and when the at least one instruction or the at least one program is loaded by the processor, the camera module light leakage detection method according to any one of claims 1 to 8 is performed.

Technical Field

The disclosure relates to the technical field of medical endoscope quality detection, in particular to a camera module light leakage detection method, device and equipment.

Background

The camera light leakage is a common quality problem in a camera component, the light leakage specifically means that when the side face or the corner of the lens end of the camera is subjected to light striking, light rays penetrate through the side face or the corner of the camera, enter the inside of the camera and are captured by a photosensitive chip, the leaked light rays participate in imaging as noise, so that the signal to noise ratio is reduced, and the common light leakage problem can cause red screen, red edge, red corner or abnormal white light to appear in an imaging picture.

In the medical endoscope structure, the camera is a miniature camera, the side of the miniature camera is thinner, the front end of the endoscope needs to be illuminated by a light source in the working process, and the light source is usually fixed around the camera, so that the light source is very close to the side of the camera, and the probability of light leakage problem is higher in the medical endoscope structure.

Therefore, in the production process of the medical endoscope, the endoscope needs to be subjected to light leakage detection, in the existing endoscope light leakage detection process, generally, an experienced inspector manually polishes the periphery of the camera, and then observes an imaging picture to judge whether the corresponding camera module leaks light, and the process of manual detection has the following defects:

firstly, in manual detection, detection personnel observe and judge an imaging picture, the subjectivity is strong, a detection result is judged by the detection personnel according to self experiences, and a quantification standard is lacked, so that detection results given by different detection personnel are possibly different, and the quality of endoscope products is different;

secondly, the efficiency and accuracy of manual detection are generally low, so that the production efficiency and the product quality of endoscope products are influenced;

thirdly, when the camera is lighted by manually holding the light source, the emergent direction of the light cannot be ensured to be vertical to the side surface of the camera constantly, and the light easily enters from the mirror surface or the bottom of the camera, so that the noise in an imaging picture can be caused to cause misjudgment, and the finished product rate of endoscope products is influenced; in addition, when the handheld light source is used for lighting, in the detection process of the multiple cameras, the distance between the light source and the cameras is difficult to keep uniform, and the imaging picture and the accuracy of the detection result are influenced.

Disclosure of Invention

In order to solve the problems in the prior art, the present disclosure aims to provide a method, an apparatus and a device for detecting light leakage of a camera module. The camera module is judged whether to pass through light leak detection or not by analyzing two parameters of the light leak ratio x and the picture uniformity y of the sample image, and detection and judgment are carried out through quantifiable unified standards, so that the uniformity of the detection result can be improved, the influence of human subjective factors on the detection result is eliminated, automatic analysis and judgment on the sample image can be realized, and the efficiency of the light leak detection process and the accuracy of the detection result can be obviously improved.

The method for detecting the light leakage of the camera module comprises the following steps:

s01, irradiating light on the side face of the lens end of the camera module to be detected, and shooting by the camera module to be detected to acquire a sample image;

s02, processing and analyzing the sample image to obtain the light leakage ratio x and the picture uniformity y of the sample image; the light leakage ratio x represents the proportion of the number of pixels in the light leakage area in the sample image to the total number of pixels in the sample image, and the picture uniformity y represents the color uniformity of the sample image;

and S03, judging whether the corresponding camera module to be detected passes the light leakage detection or not according to the light leakage ratio x and the picture uniformity y.

Preferably, the step S03 includes:

s031, presetting a first threshold a and a second threshold b of the light leakage ratio x, wherein the first threshold a is smaller than the second threshold b; presetting a third threshold value c of the picture uniformity y;

s032, comparing the light leakage ratio x with the first threshold a and the second threshold b;

if the light leakage ratio x is smaller than the first threshold value a, judging that the light leakage detection of the camera module corresponding to the sample image passes;

if the light leakage ratio x is greater than or equal to the first threshold value a and less than or equal to the second threshold value b, entering the next step to perform picture uniformity judgment;

if the light leakage ratio x is greater than the second threshold b, determining that the light leakage detection of the camera module corresponding to the sample image does not pass;

s033, comparing the picture uniformity y with the third threshold c, if the picture uniformity y is greater than the third threshold c, determining that the light leakage detection of the camera module corresponding to the sample image does not pass, and if the picture uniformity y is less than or equal to the third threshold c, determining that the light leakage detection of the camera module corresponding to the sample image passes.

Preferably, said first threshold a is equal to 1%; the second threshold b is equal to 10%; the third threshold value c is equal to 10.

Preferably, in the step S02, obtaining the light leakage ratio x of the sample image includes the steps of:

and converting the sample image into a gray image, converting the gray image into a black-white binary image through thresholding, and calculating the proportion of the number of pixels in a white area to the total number of pixels in the binary image to obtain the light leakage ratio x.

Preferably, in the step S02, obtaining the picture uniformity y of the sample image includes the following steps:

gaussian low-pass filtering processing is carried out on the sample image, and dead pixel noise in the sample image is removed in a fuzzy mode;

selecting n selected regions at the edge of the sample image, calculating the average value of R values in RGB values in each selected region, and recording as a first average value Rn(n=1,2,3,4...n);

Calculating the average value of R values in the RGB values of the sample image, and recording as a second average valueCalculating each of the first average values RnAnd the second average valueBy the standard deviation std of which the drawing is reflectedThe surface uniformity y.

Preferably, the selecting n selected regions at the edge of the sample image:

setting the height of the sample image as h and the width as q;

the selected area is square, n is 8,8 selected areas are uniformly distributed at the edge of the sample image, and the height of the selected areas isHas a width of

Preferably, the step S01 is performed in a dark environment.

Preferably, the step S01 is specifically:

the four sides at the camera module lens end that awaits measuring shine light in proper order, shine at every turn and last 2s, the camera module that awaits measuring carries out the quartic in proper order and shoots the action, gathers four group's sample images.

The present disclosure also provides a camera module light leak detection device, including:

the fixing and irradiating module is used for fixing the camera module to be detected and irradiating light rays on the side surface of the lens end of the camera module to be detected;

the processing and analyzing module is used for processing and analyzing the sample image acquired by the camera module to be detected to obtain the light leakage ratio x and the picture uniformity y of the sample image; the light leakage ratio x represents the proportion of the number of pixels in the light leakage area in the sample image to the total number of pixels in the sample image, and the picture uniformity y represents the color uniformity of the sample image; and judging whether the corresponding camera module to be detected passes the light leakage detection or not according to the light leakage ratio x and the picture uniformity y.

The present disclosure also provides a computer device, including a processor and a memory, where at least one instruction or at least one program is stored in the memory, and when the at least one instruction or the at least one program is loaded by the processor, the camera module light leakage detection method is executed.

The method, the device and the equipment for detecting the light leakage of the camera module have the advantages that:

1. this disclosure reflects two important parameters of the light leakage problem by the sample image: the light leakage ratio x and the picture uniformity y are analyzed to judge whether the camera module passes light leakage detection or not, and a sample image is analyzed through a quantifiable unified standard to further judge whether the corresponding camera module has a light leakage problem or not, so that the influence of artificial subjective factors on a detection result can be eliminated, and the quality consistency of endoscope products is improved;

2. the automatic analysis and judgment of the sample image can be realized through the software algorithm, so that the automatic detection of the light leakage of the camera module is realized, the efficiency of the light leakage detection process can be obviously improved compared with manual detection, the production efficiency of the endoscope is further improved, the accuracy of the detection result can be improved, and the product quality of the endoscope is further improved.

Drawings

FIG. 1 is a flow chart illustrating steps of a method for detecting light leakage in a camera module according to the present disclosure;

FIG. 2 is a flowchart illustrating a method for detecting light leakage in a camera module according to the present disclosure;

fig. 3 is a block diagram of a camera module light leakage detection device according to the present disclosure;

fig. 4 is a schematic structural diagram of a camera module light leakage detection device according to the present disclosure;

FIG. 5 is a schematic structural view of an illumination assembly;

FIG. 6 is a schematic structural view of the securing assembly;

FIG. 7 is one of the output interface diagrams of the sample image test results according to the present disclosure;

FIG. 8 is a second interface diagram of the output of the sample image test results according to the present disclosure;

FIG. 9 is a third interface diagram of the output of the sample image test results according to the present disclosure;

fig. 10 is a fourth diagram of an output interface of the sample image detection result according to the present disclosure.

Description of reference numerals: the system comprises a fixing and irradiating module, a processing and analyzing module, a black box, a 4-irradiating component, a shell, a 42-shading plate, a 43-LED lamp, a camera module to be detected, a 5-fixing component, a 61-objective table, a 7-controller and an 8-upper computer.

Detailed Description

As shown in fig. 1 and fig. 2, the method for detecting light leakage of a camera module according to the present disclosure includes the following steps:

s01, irradiating light on the side face of the lens end of the camera module to be detected 5, so that the light is irradiated in a manner of being vertical to the side face of the camera module to be detected 5, and the camera module to be detected 5 executes shooting action to collect a sample image;

s02, processing and analyzing the sample image to obtain a light leakage ratio x and a picture uniformity y of the sample image, wherein the light leakage ratio x represents the proportion of the number of pixels in a light leakage area in the sample image to the total number of pixels in the sample image, and the picture uniformity y represents the color uniformity of the sample image;

s03, whether the corresponding camera module to be detected 5 passes light leakage detection or not is judged according to the two parameters of the light leakage ratio x and the picture uniformity y, the light leakage ratio x and the picture uniformity y are specific numerical values and can be obtained through analysis and calculation, and whether the corresponding camera module has a light leakage problem or not is judged according to the comparison between the numerical values of the light leakage ratio x and the picture uniformity y and a standard value.

Specifically, referring to fig. 2 in detail, the step S03 includes:

s031, a first threshold a and a second threshold b of a preset light leakage ratio, where the first threshold a is smaller than the second threshold b; presetting a third threshold value c of the picture uniformity y;

s032, comparing the light leakage ratio x with the first threshold a and the second threshold b;

if the light leakage ratio is smaller than the first threshold value a, judging that the light leakage detection of the camera module corresponding to the sample image passes;

if the light leakage ratio x is greater than or equal to the first threshold value a and less than or equal to the second threshold value b, entering the next step to perform picture uniformity judgment;

if the light leakage ratio x is greater than the second threshold b, determining that the light leakage detection of the camera module corresponding to the sample image does not pass;

s033, comparing the picture uniformity y with the third threshold c, if the picture uniformity y is greater than the third threshold c, determining that the light leakage detection of the camera module corresponding to the sample image does not pass, and if the picture uniformity y is less than or equal to the third threshold c, determining that the light leakage detection of the camera module corresponding to the sample image passes.

More specifically, the first threshold a is set to 1% according to a plurality of actual verifications; the second threshold b is set to 10%.

If the light leakage ratio x is less than 1%, indicating that the camera module has no light leakage position or has very small light leakage position, judging that the light leakage detection of the camera module passes;

as shown in fig. 8 and 9, if the light leakage ratio x is greater than or equal to 1% and less than or equal to 10%, it is determined that the camera module is slightly light leaked, and whether normal use of the camera module is affected under the condition of slight light leakage belongs to an interval in which a criterion is determined to be blurred by human, so that it is necessary to determine whether light leakage detection of the camera module passes through by combining with the picture uniformity y.

According to the actual test result, the third threshold c of the picture uniformity y is set to 10, as shown in fig. 9, when the picture uniformity y is less than or equal to 10, the picture color of the sample image is relatively uniform, it is determined that the light leakage phenomenon is not obvious, and the light leakage detection is passed. As shown in fig. 8, when the uniformity y of the image is greater than 10, the color of the sample image is not uniform, and it is determined that the light leakage phenomenon is significant and the light leakage detection is not passed.

As shown in fig. 7, if the light leakage ratio x is greater than 10%, it indicates that the light leakage position of the camera module is large, and it is determined that the light leakage detection of the camera module does not pass through.

By setting the first threshold value a, the second threshold value b and the third threshold value c, the light leakage ratio x of the sample image is compared with the first threshold value a and the second threshold value b, the picture uniformity y is compared with the third threshold value c, whether the camera module has the light leakage problem or not is judged according to the quantifiable numerical comparison result, the quantifiable camera module light leakage detection is realized, the uniformity of the detection result can be improved, the influence of human subjective factors on the detection result is eliminated, and the accuracy of the detection result is improved.

To the side irradiation light of camera module, if the side light leak of camera module, light can follow the light leak position and enter into the inside sensor chip of camera module on, has the erythema to appear on the picture, and the size of light leak position can directly be reflected to the area of erythema, the severity of this camera module light leak problem promptly.

Based on the above principle, in the present embodiment, in step S02, obtaining the light leakage ratio x of the sample image includes the following steps:

the sample image is converted into a gray image, then the gray image is converted into a black-white binary image through thresholding, the black image is displayed below a threshold value and the white image is displayed above the threshold value through setting a proper threshold value, the position of the erythema in the original sample image can be converted into the white image through thresholding, and the light leakage area are more obviously distinguished, so that the subsequent calculation process can be facilitated.

And obtaining a black-white binary image after the thresholding, wherein a white area represents a light leakage part, a black area represents a normal imaging part, and calculating the proportion of the number of pixels in the white area to the total number of pixels in the binary image, namely the proportion of the area of the white area to the total image area of the binary image, so as to obtain the light leakage ratio x.

Through the processing procedure, the light leakage ratio x can be accurately calculated, so that the judgment process of light leakage detection is quicker and more accurate.

The distribution of the light leakage positions can affect the imaging picture of the camera module and further affect the light leakage detection result of the camera module, and the distribution of the light leakage positions shows picture uniformity in the sample image, specifically, the uniformity of picture colors.

In this embodiment, obtaining the picture uniformity y of the sample image includes the following steps:

gaussian low-pass filtering processing is carried out on the sample image, and dead pixel noise in the sample image is removed in a fuzzy mode;

selecting n selected regions at the edge of the sample image, calculating the average value of R (red) values in RGB values in each selected region, and recording as the first average value Rn(n ═ 1,2,3,4.. n); more specifically, let the height of the sample image be h, the width be q, the selected area be square, and n be 8,8 selected areas are evenly distributed at the edge of the sample image, and the height of the selected area beHas a width ofTherefore, the selected areas are uniformly distributed and have proper sizes, and the subsequent calculation results are more accurate.

Record 8 selection areas as D1,D2,D3,D4,D5,D6,D7,D8Respectively calculating the first average value of the 8 selected regions, and recording as R1,R2,R3,R4,R5,R6,R7,R8. Calculating the average value of R values in RGB values of the sample image, and recording as the second average valueWith the second average valueFor reference, calculating each first average value RnI.e. the above R1、R2、R3、R4、R5、R6、R7、R8And the second average valueStandard deviation std of, by standard deviation std to reflect the picture uniformity y. When the standard deviation std is larger than 10, the color of the sample image is uneven, the imaging influence of the light leakage position on the camera module is large, and the light leakage detection of the camera module does not pass; when standard deviation std is less than or equal to 10, it is comparatively even to show sample image colour, and the light leak position is little to the formation of image influence of camera module, and the light leak of this camera module detects and passes through.

In the picture uniformity calculation process, the picture uniformity y can be reflected through the standard deviation std, and then whether the camera module passes through light leakage detection or not under slight light leakage is judged so as to realize quantifiable accurate detection.

Further, in this embodiment, in step S01, light is irradiated on the side surface of the lens end of the camera module 5 to be detected, and the process of acquiring the sample image by the camera module 5 to be detected, which executes the shooting action, is completed in a dark environment, and more specifically, is completed in the black box 3, so that most of the acquired sample image is black, and can be better distinguished from the image in the light leakage area, and further, the detection result is more accurate.

Further, in this embodiment, the lens end of the camera module is generally square, so in step S01, the four sides of the lens end of the camera module 5 to be tested are sequentially irradiated with light, each irradiation lasts for 2S, when one side is irradiated at each time, the camera module performs at least one shooting operation to collect a sample image, the camera module sequentially performs four shooting operations along with the irradiation process of the light, collects four sets of sample images, the four sets of sample images are respectively analyzed through the above processes, and whether the light leakage detection of the camera module 5 to be tested passes or not is comprehensively determined. Through the process, the four side faces of the camera module are respectively irradiated with light, so that the four side faces of the camera module are comprehensively subjected to light leakage detection.

This disclosure reflects two important parameters of the light leakage problem by the sample image: the light leakage ratio x and the picture uniformity y are analyzed to judge whether the camera module passes through light leakage detection or not, the sample image is analyzed through quantifiable unified standards, and then whether the corresponding camera module has a light leakage problem or not is judged, the influence of artificial subjective factors on the detection result can be eliminated, and the consistency of the quality of the endoscope product is improved.

The automatic analysis and judgment of the sample image can be realized through the software algorithm, so that the automatic detection of the light leakage of the camera module is realized, the efficiency of the light leakage detection process can be obviously improved compared with manual detection, the production efficiency of the endoscope is further improved, the accuracy of the detection result can be improved, and the product quality of the endoscope is further improved.

As shown in fig. 3, the present disclosure also provides a camera module light leakage detection apparatus, including:

the fixing and irradiating module 1 is used for fixing the camera module 5 to be measured and irradiating light on the side surface of the lens end of the camera module 5 to be measured;

the processing and analyzing module 2 is used for processing and analyzing the sample image acquired by the camera module to be detected 5 to obtain the light leakage ratio x and the picture uniformity y of the sample image; the light leakage ratio x represents the proportion of the number of pixels in the light leakage area in the sample image to the total number of pixels in the sample image, and the picture uniformity y represents the color uniformity of the sample image; and judging whether the corresponding camera module 5 to be detected passes the light leakage detection or not according to the light leakage ratio x and the picture uniformity y.

The camera module light leakage detection device according to the embodiment of the present disclosure and the camera module light leakage detection method described above are based on the same inventive concept, and can be understood with reference to the above description, which is not repeated herein.

The camera module light leakage detection device provided by the embodiment of the disclosure analyzes two parameters of the light leakage ratio x and the picture uniformity y of a sample image to judge whether the camera module passes through light leakage detection or not, and performs detection and judgment through quantifiable unified standards, so that the uniformity of a detection result can be improved, the influence of human subjective factors on the detection result is eliminated, automatic analysis and judgment on the sample image can be realized, and the efficiency of a light leakage detection process and the accuracy of the detection result can be obviously improved.

In a particular embodiment, as shown in fig. 4, 5, 6, the fixing and illuminating module 1 generally comprises a black box 3, a fixing assembly 6 and an illuminating assembly 4, and a controller 7; fixed subassembly 6 includes base and slidable objective table 61, but the base is whole to be passed through the guide rail, ball screw and motor set up to rectilinear sliding's structure, but objective table 61 and base are relative sliding structure, and drive the slip of objective table 61 through the straight line cylinder, make objective table 61 have the degree of freedom of motion of two directions of X and Y, the quantity of objective table 61 is a plurality of usually, a plurality of objective tables 61 set up side by side on the base along the X direction, so that fix a plurality of camera modules simultaneously and detect. The upper end surface of the stage 61 is generally formed with a V-shaped groove and a snap so as to catch and fix the camera module 5 to be measured. The front end of the stage 61 is designed to be narrow so as to protrude into the inside of the irradiation unit 4.

The irradiation component 4 specifically comprises a shell 41, a light shading plate 42 and an LED lamp 43, the shell 41 is made of opaque materials, the cross section of the shell is in a circular ring shape, a round through hole is formed in one end face of the shell, the opaque light shading plate 42 is arranged on the round hole, a penetrating hole for allowing the camera module 5 to be detected to penetrate is formed in the middle of the light shading plate 42, the other end face of the shell 41 is communicated with the black box 3, so that an imaging picture of the camera module 5 to be detected is a black picture, and the influence on a detection result caused by the leakage of external light rays is prevented. The number of the LED lamps 43 is four, and the LED lamps are respectively arranged in four directions, namely an upper direction, a lower direction, a left direction and a right direction, in the shell 41 so as to irradiate the camera module from four side faces, and the shell 41 is provided with wiring holes in positions corresponding to the four LED lamps 43 so as to lead the connecting wires of the LED lamps 43 to be wired. The Controller 7 can be a single chip microcomputer or a Programmable Logic Controller (PLC), the Controller 7 is in signal connection with the fixed component 6 and the LED lamp 43 to control the movement of the objective table 61 and the start and stop of the LED lamp 43, and meanwhile the Controller 7 is also in signal connection with the upper computer 8 to send a control instruction to the Controller 7 through the upper computer 8, so that the automatic detection of the camera module is realized.

The processing and analyzing module 2 is typically an upper Computer 8, such as a Personal Computer (PC), which is loaded with a corresponding program, and the processing and analyzing module 2 processes and analyzes the acquired sample image to obtain a light leakage detection determination result corresponding to the camera module.

Fix and shine the module 1 through foretell fixed and to the camera module 5 that awaits measuring and shine light, can guarantee the light source, the outgoing direction perpendicular to camera module 5's that awaits measuring side of LED lamp 43 promptly, avoid light to get into from mirror surface department or camera bottom and cause the erroneous judgement, also can guarantee the testing process of a plurality of cameras simultaneously, the interval of light source and camera keeps unanimous, reduce or eliminate the influence of external disturbance factor to detecting the judged result, improve the accuracy that detects the judged result.

The embodiment of the present disclosure further provides a computer device, which includes a processor and a memory, where at least one instruction or at least one program is stored in the memory, and when the at least one instruction or the at least one program is loaded by the processor, the camera module light leakage detection method described above is executed.

The memory may be used to store software programs and modules, and the processor may execute various functional applications by executing the software programs and modules stored in the memory. The memory can mainly comprise a program storage area and a data storage area, wherein the program storage area can store an operating system, application programs needed by functions and the like; the storage data area may store data created according to use of the apparatus, and the like. Further, the memory may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory may also include a memory controller to provide the processor access to the memory.

The method embodiments provided by the embodiments of the present disclosure may be executed in a computer terminal, a server or a similar computing device, that is, the computer device may include a computer terminal, a server or a similar computing device. The internal structure of the computer device may include, but is not limited to: a processor, a network interface, and a memory. The processor, the network interface and the memory in the computer device may be connected by a bus or other means.

The processor (or CPU) is a computing core and a control core of the computer device. The network interface may optionally include a standard wired interface, a wireless interface (e.g., WI-FI, mobile communication interface, etc.). Memory (Memory) is a Memory device in a computer device used to store programs and data. It is understood that the memory herein may be a high-speed RAM storage device, or may be a non-volatile storage device (non-volatile memory), such as at least one magnetic disk storage device; optionally, at least one memory device located remotely from the processor. The memory provides storage space that stores an operating system of the electronic device, which may include, but is not limited to: a Windows system (an operating system), Linux (an operating system), Android (Android, a mobile operating system) system, IOS (a mobile operating system) system, and the like, which are not limited by the present disclosure; also, one or more instructions, which may be one or more computer programs (including program code), are stored in the memory space and are adapted to be loaded and executed by the processor. In this embodiment of the present specification, the processor loads and executes one or more instructions stored in the memory to implement the method for detecting light leakage of a camera module provided in the above-described embodiment of the method.

In the description of the present disclosure, it is to be understood that the orientation or positional relationship indicated by the directional terms such as "front, rear, upper, lower, left, right", "lateral, vertical, horizontal" and "top, bottom", etc., are generally based on the orientation or positional relationship shown in the drawings, and are used for convenience in describing and simplifying the present disclosure, and in the absence of a contrary explanation, these directional terms are not intended to indicate and imply that the device or element being referred to must have a specific orientation or be constructed and operated in a specific orientation, and therefore, should not be considered as limiting the scope of the present disclosure.

Various other modifications and changes may be made by those skilled in the art based on the above-described technical solutions and concepts, and all such modifications and changes should fall within the scope of the claims of the present disclosure.

17页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:滤光片的异常检测方法、装置、电子装置和存储介质

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!