CN110446030B - Lens testing device and method, control device and readable storage medium - Google Patents

Lens testing device and method, control device and readable storage medium Download PDF

Info

Publication number
CN110446030B
CN110446030B CN201910746975.1A CN201910746975A CN110446030B CN 110446030 B CN110446030 B CN 110446030B CN 201910746975 A CN201910746975 A CN 201910746975A CN 110446030 B CN110446030 B CN 110446030B
Authority
CN
China
Prior art keywords
lens
light
tested
foreign matter
testing
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.)
Active
Application number
CN201910746975.1A
Other languages
Chinese (zh)
Other versions
CN110446030A (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.)
Oppo Chongqing Intelligent Technology Co Ltd
Original Assignee
Oppo Chongqing 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 Oppo Chongqing Intelligent Technology Co Ltd filed Critical Oppo Chongqing Intelligent Technology Co Ltd
Priority to CN201910746975.1A priority Critical patent/CN110446030B/en
Publication of CN110446030A publication Critical patent/CN110446030A/en
Application granted granted Critical
Publication of CN110446030B publication Critical patent/CN110446030B/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

Abstract

The application discloses a lens testing device, a method thereof, a control device and a readable storage medium, which are used for detecting a lens component to be tested. The lens subassembly that awaits measuring includes the printing opacity mirror, camera lens testing arrangement includes: the test box is provided with an accommodating cavity, and the lens assembly to be tested is arranged in the accommodating cavity; and the testing assembly comprises an image sensor, and the image sensor faces the light-transmitting mirror and is used for acquiring image data of the lens to be tested. The technical scheme of the application aims at improving the foreign matter testing efficiency, and is convenient for providing data support for follow-up improvement work.

Description

Lens testing device and method, control device and readable storage medium
Technical Field
The present invention relates to the field of optical detection technologies, and in particular, to a lens testing apparatus, a method thereof, a control apparatus, and a readable storage medium.
Background
Electronic equipment can adopt the printing opacity mirror to encapsulate electronic product usually to in the inside electronic components of electronic product of encapsulation send light or receive light from the printing opacity mirror, at the in-process of installing electronic components or encapsulating at the printing opacity mirror, probably have outside debris or foreign matter entering electronic product inside, can influence the electronic components of dress in electronic product inside this moment and send light or receive light from the printing opacity mirror. Aiming at the problem, a large amount of defective products are analyzed, the appearance of the dirty foreign matters is mainly detected manually at present, the size of the foreign matters is measured in a quadratic element mode, a hot spot distribution diagram is drawn manually, the foreign matter testing efficiency is low, and data support is not provided for follow-up improvement work favorably.
The above description is only for the purpose of assisting understanding of the technical solutions of the present application, and does not represent an admission that the above description is prior art.
Disclosure of Invention
The invention mainly aims to provide a lens testing device, aiming at improving the foreign matter testing efficiency and providing data support for subsequent improvement work.
An embodiment of the present invention provides a lens testing apparatus, which is used for detecting a lens component to be tested, where the lens component to be tested includes a transparent mirror, and the lens testing apparatus includes:
the test box is provided with an accommodating cavity, and the lens assembly to be tested is arranged in the accommodating cavity;
the testing component comprises an image sensor, and the image sensor faces the light-transmitting mirror and is used for collecting image data of the lens to be tested.
An embodiment of the present invention further provides a lens testing method, which includes the following steps:
acquiring image data of a light-transmitting mirror of a lens assembly to be tested;
analyzing according to the image data to obtain foreign body data parameters;
and outputting a foreign matter analysis table according to a plurality of foreign matter data parameters.
An embodiment of the present invention further provides a control device for lens test, where the control device for lens test includes:
the acquisition module is used for acquiring image data of a light-transmitting mirror of the lens assembly to be tested;
the analysis module is used for analyzing according to the image data to obtain foreign matter data parameters;
and the output module is used for outputting a foreign matter analysis table according to the plurality of foreign matter data parameters.
An embodiment of the present invention further provides a lens testing apparatus, including a memory, a processor, and a lens testing program stored in the memory and capable of running on the processor, where the lens testing program, when executed by the processor, implements the following steps:
acquiring image data of a light-transmitting mirror of a lens assembly to be tested;
analyzing according to the image data to obtain foreign body data parameters;
and outputting a foreign matter analysis table according to a plurality of foreign matter data parameters.
An embodiment of the present invention further provides a readable storage medium, where a lens test program is stored on the readable storage medium, and when executed by a processor, the lens test program implements the following steps:
acquiring image data of a light-transmitting mirror of a lens assembly to be tested;
analyzing according to the image data to obtain foreign body data parameters;
and outputting a foreign matter analysis table according to a plurality of foreign matter data parameters.
According to the technical scheme, the testing box with the containing cavity is arranged, the lens to be tested is contained in the containing cavity, and the image sensor of the testing component faces the light-transmitting mirror of the lens component to be tested. Like this, when needs are tested the test lens subassembly that awaits measuring, can carry out image data through image sensor and gather to image data analysis that will gather obtains foreign matter data parameter, forms foreign matter analysis table output with foreign matter data parameter again, so, can directly obtain the foreign matter according to the foreign matter analysis table and wait the condition of measuring the lens subassembly, improved the efficiency of software testing to the test lens subassembly that awaits measuring, also be convenient for simultaneously provide data support for follow-up improvement work. The low test efficiency caused by quadratic element measurement and manual drawing is avoided. In addition, the lens assembly to be tested is arranged in the accommodating cavity, so that the influence of the external environment on the lens assembly to be tested is avoided, and the testing efficiency of the lens assembly to be tested is further improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the structures shown in the drawings without creative efforts.
FIG. 1 is a schematic structural diagram of a lens testing apparatus according to an embodiment of the present application;
FIG. 2 is a schematic structural diagram of a lens testing apparatus according to still another embodiment of the present application;
FIG. 3 is a schematic diagram of a hardware architecture of a lens testing apparatus according to an embodiment of the present application
FIG. 4 is a schematic flowchart illustrating a lens test method according to an embodiment of the present disclosure;
FIG. 5 is a flowchart illustrating a detailed process of step S20 in FIG. 2;
FIG. 6 is a schematic view of a detailed flowchart of another embodiment of step S20 in FIG. 2;
FIG. 7 is a schematic view of a detailed flowchart of another embodiment of step S20 in FIG. 2;
FIG. 8 is a schematic flowchart illustrating a lens testing method according to still another embodiment of the present application;
FIG. 9 is a schematic flowchart illustrating a lens testing method according to still another embodiment of the present application;
FIG. 10 is a schematic structural diagram of an embodiment of a resolution test card of the present application;
FIG. 11 is a schematic diagram of an embodiment of a resolution test card with area marks according to the present application;
fig. 12 is a functional block diagram of a control device for lens test according to an embodiment of the present invention.
The reference numbers illustrate:
reference numerals Name (R) Reference numerals Name (R)
200 Lens testing device 62 Air supply member
20 Test box 64 Suction piece
22 Containing cavity 80 Light-reducing mirror
224 Air outlet 90 Resolution test card
40 Test assembly 100 Lens assembly to be tested
42 Image sensor with a plurality of pixels 10 Light-transmitting mirror
44 Illumination light source 30 Test interface
60 Cleaning member
The implementation, functional features and advantages of the objectives of the present application will be further explained with reference to the accompanying drawings.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly and completely with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that all the directional indications (such as up, down, left, right, front, and rear … …) in the embodiment of the present application are only used to explain the relative position relationship between the components, the movement situation, and the like in a specific posture (as shown in the drawing), and if the specific posture is changed, the directional indication is changed accordingly.
In addition, the descriptions referred to as "first", "second", etc. in this application are for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicit ly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In addition, technical solutions between various embodiments may be combined with each other, but must be realized by a person skilled in the art, and when the technical solutions are contradictory or cannot be realized, such a combination should not be considered to exist, and is not within the protection scope of the present application.
The present application provides a lens testing device 200, which aims to improve the foreign object testing efficiency and provide data support for subsequent improvement work.
The following will describe a specific structure of the lens test apparatus 200 of the present application:
as shown in fig. 1 and fig. 2, a lens testing apparatus 200 provided in the present application is used for detecting a lens assembly 100 to be tested, where the lens assembly 100 to be tested includes a transparent mirror 10, and the lens testing apparatus 200 includes: a test box 20 and a test assembly 40. The test box 20 is formed with a receiving cavity 22, and the lens assembly to be tested 100 is disposed in the receiving cavity 22. The testing component 40 comprises an image sensor 42, and the image sensor 42 is arranged towards the light-transmitting mirror 10 and is used for collecting image data of the lens to be tested.
Specifically, the test box 20 may include a bottom plate, a top plate, and side plates connecting the bottom plate and the top plate, which together enclose the receiving cavity 22. The bottom plate, the top plate and the side plates can be of an integrated structure which is integrally formed, and can also be of a detachable and assembled split structure design. The testing box 20 is substantially a rectangular quadrangular prism, and the outer contour of the bottom plate can be set according to actual needs, which is not limited herein. It should be noted that the test box 20 has a communication opening and an opening and closing structure for opening and closing the communication opening so as to communicate the accommodating chamber 22 with the external environment, and the opening and closing structure may be a rotating member engaged with the shaft hole. When the lens assembly 100 to be tested needs to be placed in the accommodating cavity 22, the opening and closing structure is opened to communicate the external environment with the accommodating cavity 22, the lens assembly 100 to be tested is placed in the accommodating cavity 22, and finally the opening and closing structure is closed to form a closed space in the accommodating cavity 22, so that the detection efficiency is improved. It is understood that the lens assembly 100 to be tested may be fixed on the bottom plate and the image sensor 42 may be fixed on the top plate, so that the image sensor 42 can more intuitively acquire the image data of the lens assembly 100 to be tested.
The material of the testing box 20 can be metal (the material of the metal can be selected from stainless steel material, aluminum alloy material, copper alloy material, iron alloy material, etc.), plastic (the plastic can be selected from hard plastic, such as ABS, POM, PS, PMMA, PC, PET, PBT, PPO, etc.), and other alloy materials. So, be favorable to promoting the stability of setting up of test box 20 more to effectively promote practicality, reliability, and the durability of test box 20.
The image sensor 42 is used for collecting image data of the lens assembly 100 to be tested, and a part of the image sensor 42 used for collecting the image data is arranged towards the lens assembly 100 to be tested, so that the image data can be well collected. To facilitate the collection of image data, portions of the image sensor 42 may be disposed within the receiving cavity 22 to avoid external interference and improve detection efficiency. Specifically, the image sensor 42 may be an image measuring instrument, and the image measuring instrument is composed of a high-resolution CCD (Charge-coupled Device) color lens, a zoom lens, a color display, a video cross-line display, a precision grating ruler, a multifunctional data processor, data measuring software, and a high-precision workbench. When the lens module testing device is used, the image measuring instrument and the lens module to be tested 100 can be focused, so that the lens module to be tested 100 is subjected to image acquisition. And, in the use process, the image measuring instrument can be arranged on the horizontal moving mechanism, so that the image measuring instrument can move in the horizontal direction, thereby collecting the image data of the lens component 100 to be tested at different positions and improving the collection precision of the image data. Specifically, the image measuring instrument may be fixed to the guide rail structure, or the image measuring instrument may be fixed to the lead screw, and the guide rail or the lead screw may be driven by a driving device (the driving device may be a motor), so that the image measuring instrument may move on the guide rail or the lead screw.
Further, the image sensor 42 is facing the lens to be tested. So configured, it can be ensured that the image sensor 42 can have a better focusing position, thereby facilitating the image sensor 42 to acquire the image data of the lens assembly 100 to be tested. In an embodiment, the component defining the image sensor 42 for collecting image data has a third light-transmitting surface, and the third light-transmitting surface is parallel to the first light-transmitting surface, so that light can be well transmitted between the first light-transmitting surface and the third light-transmitting surface, the quality of the image data is improved, and the foreign matter testing effect of the lens to be tested is effectively improved.
It should be further noted that, in general, the lens assembly to be tested 100 may be a structure having a housing and a transparent mirror 10 disposed on the housing, and the transparent mirror 10 may be used to protect components inside the housing, or may be used to externally observe components inside the housing, or may be used to facilitate light rays emitted from components inside the housing. Specifically, the lens assembly 100 to be tested may be a camera module, or a laser module having a transparent mirror 10, or a battery module having a transparent mirror 10, or a display panel having a transparent mirror 10, which are all within the testing range of the lens testing apparatus 200 of the present application.
The technical scheme of the application is that the test box 20 with the accommodating cavity 22 is arranged, the lens to be tested is arranged in the accommodating cavity 22, and the image sensor 42 of the test component 40 faces the light-transmitting mirror 10 of the lens component 100 to be tested. Like this, when need be tested lens subassembly 100 to await measuring, can carry out image data through image sensor 42 and gather to image data analysis that will gather obtains foreign matter data parameter, forms foreign matter analysis table output with foreign matter data parameter again, so, can directly obtain the condition of foreign matter at the lens subassembly 100 that awaits measuring according to the foreign matter analysis table, improved the efficiency of software testing to lens subassembly 100 that awaits measuring, also be convenient for simultaneously provide data support for follow-up improvement work. The low test efficiency caused by quadratic element measurement and manual drawing is avoided. In addition, since the lens assembly 100 to be tested is disposed in the accommodating cavity 22, the influence of the external environment on the lens assembly 100 to be tested is avoided, and the testing efficiency of the lens assembly 100 to be tested is further improved.
It is understood that the lens testing apparatus 200 further includes a cleaning member 60, at least a portion of the cleaning member 60 is disposed in the accommodating cavity 22, the lens assembly to be tested 100 includes a first light-transmitting surface and a second light-transmitting surface facing away from the first light-transmitting surface, the first light-transmitting surface is disposed toward the image sensor 42, and the cleaning member 60 is used for cleaning the first light-transmitting surface. In order to avoid the measurement error caused by the foreign matters attached to the first light-transmitting surface (i.e. the outer surface of the lens to be tested), the cleaning member 60 is used for cleaning the first light-transmitting surface, so that the measurement error is reduced, and the detection efficiency of the lens assembly 100 to be tested is improved. The cleaning member 60 may include a cleaning head disposed in the accommodating chamber 22, and the cleaning head includes a movable moving portion and a rotatable brush head portion connected to the moving portion, so that the first light-transmitting surface is cleaned by rotating the brush head portion, and the moving portion drives the brush head portion to move on the first light-transmitting surface, thereby completing the cleaning of the first light-transmitting surface. This brush head portion is connected for dismantling with the motion portion to when the first light transmitting surface of cleaning difference, can adopt different brush head portions to clean, improve lens testing arrangement 200's clean suitability. Specifically, the brush head part can be detachably connected with the moving part in an interference manner by arranging the brush head part into a flexible structure; or a connecting hole and a connecting piece penetrating through the connecting hole are arranged on the brush head part and the moving part, so that the brush head part and the moving part are detachably connected.
As shown in fig. 1 and 2, the cleaning member 60 may be configured as follows:
the cleaning member 60 includes an air supply part 62 and a suction part 64, the accommodating chamber 22 is further provided with an air inlet and an air outlet 224, the air supply part 62 is disposed at the air inlet and used for supplying air to the accommodating chamber 22 to clean the surface of the first light-transmitting surface, and the suction part 64 is communicated with the air outlet 224 and used for sucking air out of the accommodating chamber 22.
The air supply part 62 is arranged, and air flow is blown to the first light transmission surface, so that the first light transmission surface is cleaned, and foreign matters are prevented from being attached to the first light transmission surface. Then, the suction element 64 is used for sucking the foreign matters possibly mixed in the air from the accommodating cavity 22, so as to ensure the cleanness of the light path from the image sensor 42 to the first light-transmitting surface of the lens to be tested, and prevent the image data collected by the image sensor 42 from including the data of the foreign matters flowing out of the air.
Specifically, this air supply part 62 can be the combination of fan and supply air duct, and when adopting the fan, this fan can be centrifugal fan or axial fan, and centrifugal fan and axial fan all have great air supply volume to the improvement is to the cleanness of first printing opacity face. Or a structure comprising a compressor and a blast pipeline, the compressor can provide larger blast volume in a short time, and the stability is higher. It can be understood that the air outlet of the air supply pipeline can be slightly close to the first light transmission surface, so that certain impact of airflow on the first light transmission surface is ensured, and the cleaning efficiency is improved; at this time, the accommodating cavity 22 is provided with a connector into which the air supply pipeline extends, the connector is provided with foam surrounding the connector, and the foam seals the joint of the air supply pipeline and the box wall of the test box 20 to prevent air leakage in the accommodating cavity 22 and avoid squeal and bad effects caused by air friction.
Further, when the air is initially blown, the flow rate of the air flow can be controlled at a first speed (for example, 5L/s), when the air blowing member 62 is used for cleaning, the cleaning effect of the first light-transmitting surface of the cleaned light-transmitting mirror 10 can be observed through the image measuring instrument, and when foreign matters attached to the first light-transmitting surface are encountered and are not cleaned, the flow rate of the air flow can be controlled at a second speed (for example, 8L/s), so that the first light-transmitting surface can be well cleaned. And before detecting the lens assembly 100 to be tested, the first light-transmitting surface can be wiped through the cleaning cloth, so that the cleanliness of the first light-transmitting surface is improved.
And, the suction member 64 may be a vacuum pump, and a suction port of the vacuum pump is connected to the air outlet 224, so as to pump out air in the accommodating chamber 22 and ensure clean air in the accommodating chamber 22. Therefore, a silencer is also arranged at the air outlet end of the vacuum pump. The silencer can be a reactive silencer, when the reactive silencer forms various silencing units such as an expansion chamber, a resonance chamber and the like through parts such as pipelines, partition plates and the like, sound waves are reflected and interfered during transmission, and the sound energy is reduced to achieve the silencing purpose. The reactive muffler has limited muffling frequency band, generally has good muffling effect on low and medium frequency bands, and has poor high-frequency muffling effect; or the resistance silencer is a silencer which is used for absorbing sound energy by filling sound absorbing materials around a pipeline through which internal exhaust passes to achieve the purpose of silencing, has good silencing effect for medium and high frequency, and is usually combined with a resistance silencer for use; or the impedance composite muffler is formed by combining the resistance muffler unit and the sound absorption material respectively, and has the common characteristics of the resistance muffler and the resistance muffler. Has good noise elimination effect on low, medium and high frequency noise.
As shown, the lens testing device 200 further includes an illumination source 44, and the illumination source 44 is used for illuminating the accommodating cavity 22. The illumination source 44 may also be arranged as follows:
firstly, the illumination light source 44 is disposed adjacent to the image sensor 42, that is, when the image sensor 42 is disposed on the top plate of the testing box 20, the illumination light source 44 is also disposed on the top plate of the testing box 20, so that illumination can be provided on the light path of the image of the lens to be tested, which is collected by the image sensor 42, and the quality of the image data collected by the image sensor 42 is improved, thereby facilitating to obtain the data parameter of the foreign object from the image data, and further facilitating to provide data for subsequent improvement;
secondly, the illumination light source 44 is arranged between the image sensor 42 and the lens assembly 100 to be tested, so that light rays of the illumination light source 44 can uniformly reach the part to be tested and the image sensor 42, preferably, the distance between the illumination light source 44 and the image sensor 42 and the lens assembly 100 to be tested is the same, and by the arrangement, the quality of image data collected by the image sensor 42 is improved, so that data parameters of foreign matters can be obtained from the image data more conveniently, and further, data can be provided for subsequent improvement conveniently;
thirdly, the illumination light source 44 is arranged adjacent to the lens to be tested, so as to ensure sufficient light at the lens to be tested, and preferably, the illumination light source 44 is arranged around the lens to be tested, so that the quality of image data acquired by the image sensor 42 is improved, and therefore, data parameters of foreign matters can be acquired from the image data more conveniently, and data can be provided for subsequent improvement;
fourth, this light source 44 can set up outside test box 20, and this test box 20 can set up the printing opacity mouth that the light that supplies light source 44 passed, so set up, can save the space in the holding chamber 22 to guarantee that the holding chamber 22 is inside level and smooth, when avoiding air supply 62 to send wind, the harmful effects that local air current concentrates and cause. Of course, the illumination source 44 may be located within the receiving cavity 22 to facilitate light transmission.
And the illumination source 44 is disposed toward the first light-transmitting surface of the light-transmitting mirror 10. So set up, can make better the passing from first printing opacity face of illuminating light source 44's light, get into the second printing opacity face to inside shooting into the lens subassembly 100 that awaits measuring, and then the image sensor 42's of being convenient for collection environment is better, improves image data's quality, and then improves efficiency of software testing and rate of accuracy.
Specifically, the illumination source 44 may be a shadowless lamp having a plurality of light heads, such that light overlap through the plurality of heads minimizes color distortion by minimizing shadows. In addition, the shadowless lamp must be able to operate continuously for a long period of time without excessive heat being dissipated. Therefore, the quality of the image collected by the image sensor 42 can be greatly improved, and the testing efficiency is improved.
Further, the wall of the accommodating cavity 22 is provided with a diffuse reflection layer or a light absorption layer. The diffuse reflection layer or the light absorption layer can prevent the inner wall of the accommodating cavity 22 from reflecting light, and the inner wall of the accommodating cavity 22 is prevented from influencing the test result. In particular, the diffuse reflective layer may be a non-smooth plane, thereby diffusely reflecting light; and the light absorbing layer can be made of black materials so as to absorb light.
Referring to fig. 1, further, the lens testing apparatus 200 further includes a positioning fixture, which is disposed in the accommodating cavity 22 and is used for fixing the lens assembly 100 to be tested. The positioning fixture is disposed on the bottom plate of the testing box 20 and has a holding position for holding the lens assembly 100 to be tested, a movable fixture block is disposed on an edge of the holding position, when the lens assembly 100 to be tested needs to be fixed, the lens assembly 100 to be tested is disposed in the holding position, and the fixture block is driven to hold the lens assembly 100 to be tested, so that the lens assembly 100 to be tested can be fixed. Or, the positioning jig includes the constant head tank and locates the buckle of constant head tank notch, when needs will await measuring the lens subassembly 100 and fix, break off the buckle and settle the lens subassembly 100 that awaits measuring in the constant head tank again to through the interference butt of buckle and the lens subassembly 100 that awaits measuring, make the lens subassembly 100 that awaits measuring obtain fixedly. Of course, the positioning fixture may also be used to fix the lens assembly 100 to be tested in other forms, which will not be described herein.
Further, as shown in fig. 1 and fig. 2, the lens testing apparatus 200 further includes a testing connection line, the lens assembly to be tested 100 is further provided with a testing interface 30, and the testing connection line is detachably and electrically connected to the testing interface 30. The lens assembly to be tested 100 may also be a mobile terminal (mobile phone), and the test connection line is plugged into the test interface 30, so that the testing device can control the working device of the mobile phone, and the mobile phone can be tested in a state of maintaining communication and power supply. Under a test state, the flashlight of the camera module of the mobile phone can be controlled to emit light, light at the position of the lens component 100 to be tested is improved, and therefore image data collection is conducted on the mobile phone through the image sensor 42, image data collection quality is improved, and foreign matter test efficiency is improved.
It can be understood that the accommodating cavity 22 is also provided with a fastener for fixing the test connection line, so as to fix the test data line on the bottom plate, and avoid the influence on the test effect caused by the movement of the test connection line driven by the air supply part 62.
Furthermore, the lens testing device 200 further includes a light-reducing mirror 80, and the light-reducing mirror 80 covers the light-transmitting mirror 10. The dimming mirror 80, i.e., the ND mirror, also called a neutral density mirror, ND neutral density mirror, etc., functions to attenuate light so that photographing can be performed using a slow door even in a daytime when the light is strong, thereby obtaining a picture effect that cannot be observed by naked eyes. The light-reducing mirror 80 is adopted to cover the light-transmitting mirror 10, the flash lamp of the lens component 100 (mobile phone) to be tested is controlled to emit light through the testing connecting line, and the image data of the lens component 100 to be tested is obtained through the image sensor 42, because the light-reducing mirror 80 is generally an optical element with fixed transmittance, if foreign matters exist on the second light-transmitting surface side of the light-transmitting mirror 10, the brightness of the light rays obtained at the position and penetrating through the light-reducing mirror 80 will be reduced (because the light rays emitted from the flash lamp are shielded by the foreign matters), so that the lens component 100 (mobile phone) to be tested can be detected through the light-reducing mirror 80 and the lens testing device 200.
Referring to fig. 10 and 11, further, the lens testing apparatus 200 further includes a resolution test card 90, the resolution test card 90 is disposed adjacent to the image sensor 42, and the resolution test card 90 is provided with a resolution test pattern. Specifically, the resolution test card 90 may be an ISO12233 resolution test card 90, and the ISO12233 resolution test card 90 is generally provided with a plurality of analysis test patterns, and after the images are arranged at a certain distance from the resolution test card 90 through the analysis test patterns, the resolution of the images may be analyzed through the resolution test card 90. When the part of the light-transmitting mirror 10 is blocked by the foreign matter, the light of the part is also blocked, so that the light transmittance of the part is reduced, the resolution of the part is further reduced when the image sensor 42 acquires image data, and after the resolution of the image data is obtained through detection and analysis of the ISO12233 resolution test card 90, the part with low resolution can be recorded, so that the position of the foreign matter is obtained, the foreign matter test efficiency is improved, and data support is provided for subsequent improvement work.
As shown in fig. 3, which is a schematic diagram of a hardware architecture of a lens testing apparatus 200 according to an embodiment of the present application, the lens testing apparatus 200 at least includes a user input module 110, a processor 120, and a memory 130.
The memory 130 stores an operating system, a control program of the electronic device, preset condition information, and the like; the user input module 110 may be a display screen or a keyboard, and the preset condition information may be input through an input interface of the display screen or entered through the keyboard, and may also be stored in the memory 130.
When the control program of the lens test apparatus 200 is called by the processor 120, the processor 120 may execute a lens test method, as shown in fig. 4, the lens test method includes the following steps:
step S10, acquiring image data of the light-transmitting mirror 10 of the lens assembly 100 to be tested; specifically, the image sensor 42 may acquire image data, and the transparent mirror 10 may include a first transparent surface and a second transparent surface, and the image sensor 42 may be disposed toward the first transparent surface to facilitate the acquisition of the image data. And, in order to avoid noise of acquiring image data, a test box 20 may be provided and the lens module 100 to be tested may be disposed within the test box 20 to avoid external interference.
Step S20, analyzing according to the image data to obtain foreign body data parameters; the image data includes various image-related parameters, such as resolution, size, brightness, and the like, and by processing the image data, the parameter of the foreign matter data located inside the light-transmitting mirror 10 (on the second light-transmitting surface side) can be obtained.
In step S30, a foreign object analysis table is output based on the plurality of foreign object data parameters. Gather a plurality of foreign matter data parameters and obtain the foreign matter analysis table, this foreign matter analysis table has a plurality of foreign matter data parameters, can accurately reflect the foreign matter condition of present await measuring lens subassembly 100, and the user can summarize the analysis according to the foreign matter condition, provides data support for the improvement in later stage.
Carry out image data collection through the printing opacity mirror 10 to the test lens subassembly 100 that awaits measuring, and the image data who will gather carries out the analysis, and then obtain the foreign matter data parameter that distributes at the second printing opacity face, and gather a plurality of foreign matter data parameters and form the foreign matter analysis table, so can be under the condition of not dismantling to the test lens subassembly 100 that awaits measuring, carry out the detection that the foreign matter distributes to the test lens subassembly 100 that awaits measuring, and do not need the manual distribution diagram of drawing the foreign matter, the efficiency of the test to the test lens subassembly 100 that awaits measuring has been improved greatly, be convenient for provide data support for follow-up improvement work.
As shown in fig. 5, the step of "analyzing according to the image data to obtain the foreign object data parameter" includes:
step S21, acquiring at least two corner information in the image data; specifically, the target detection direction of the lens assembly to be tested 100 may be obtained, and image information corresponding to two corner points of the lens assembly to be tested 100 along the target detection direction may be obtained. The target detection direction may specifically include a length direction of the lens component 100 to be tested, a width direction of the lens component 100 to be tested, and/or a diagonal direction of the lens component 100 to be tested, and correspondingly, image information corresponding to two corner points of the lens component 100 to be tested along the length direction may be obtained, and/or image information corresponding to two corner points of the lens component 100 to be tested along the width direction may be obtained, and/or image information corresponding to two corner points of the lens component 100 to be tested along the diagonal direction may be obtained. In addition, image information corresponding to all corner points of the lens component 100 to be tested can also be acquired.
And image information corresponding to two angular points of the lens assembly 100 to be tested along the target detection direction is acquired by two cameras (or by a movable CCD camera assembly or an image measuring instrument) arranged at intervals along the target detection direction. For example, when the target detection direction includes the length direction of the lens assembly 100 to be tested, two angular points of the rectangular polarizing plate along the length direction are provided, and image information corresponding to the two angular points is respectively obtained through two cameras arranged at intervals along the length direction of the lens assembly 100 to be tested. When the target detection direction includes the length direction and the width direction of the lens assembly to be tested 100, image information corresponding to two corner points in the length direction is respectively acquired through two cameras arranged at intervals in the length direction of the lens assembly to be tested 100, and image information corresponding to two corner points in the width direction is respectively acquired through two cameras arranged at intervals in the width direction of the lens assembly to be tested 100.
In particular, a corner 40 is defined as the intersection of two edges, more strictly speaking, a local neighborhood of a corner 40 should have boundaries of two different regions in different directions. In practice, most so-called corner 40 detection methods detect image points with specific features, not just "corners 40". These feature points have specific coordinates in the image and have certain mathematical features such as local maximum or minimum gray levels, certain gradient features, etc. Specifically, the corner 40 may be obtained by a Moravec corner detection algorithm (moravik), which detects each pixel of the image, uses a neighborhood around the pixel as a patch, and detects a correlation between the patch and other patches around the pixel. This correlation is measured by the Sum of Squared Differences (SSD) between two patches, with the smaller the SSD value the higher the similarity. If the pixel is located within a smooth image region, the surrounding patches will all be very similar. If the pixel is on an edge, the surrounding patch will have a large difference in the direction orthogonal to the edge and will be similar in the direction parallel to the edge. If a pixel is a feature point with variations in all directions, all the patches around will not be very similar. Moravec calculates the SSD minimum value of each pixel patch and surrounding patches as the intensity value, and takes the point with the maximum local intensity as the feature point. Or using the Harris corner point 40 detection algorithm or the Shi-Tomasi (history tramasi) algorithm, which is a modification of the Harris algorithm. The Harris algorithm is most originally defined by subtracting the determinant value of the matrix M from the trace of M and comparing the difference with a predetermined threshold. If the smaller of the two feature values is greater than the minimum threshold, the corner point 40 is obtained.
Step S22, determining coordinate information of at least two corner points in a preset coordinate system according to the information of at least two corner points;
specifically, the preset coordinate system may be a geodetic coordinate system, a planar coordinate system of a plane where the lens assembly 100 to be tested is located may also be selected, and the preset coordinate system may also be established according to a location of a camera used for collecting image information. Determining the position of each corner point in the image data by an edge identification method, determining the image coordinates of each corner point in the respective image coordinate system according to the position of each corner point in the image data corresponding to each corner point, and determining the coordinates of each corner point in the preset coordinate system according to the image coordinates and the preset conversion relation, wherein the coordinates are used as the coordinate information of the corresponding corner point in the preset coordinate system.
Step S23, determining the position information and the size representation parameter of the foreign matter in a preset coordinate system according to the coordinate information;
specifically, since the position of the image in the coordinates is confirmed based on the corner information, the position information of the foreign object on the image can be obtained in the coordinates. Or the projection image is obtained by a perspective transformation algorithm. The perspective transformation, also called projection mapping, is an image formed by projecting an image onto another plane, so that the coordinate position of a foreign object on the image in the coordinate system, that is, position information can be obtained.
The dimension characterizing parameters may specifically include a detection length along the target detection direction, a length of the lens assembly to be tested 100 in the target detection direction, and the like. For example, when the acquired image information includes image information corresponding to two corner points along the target detection direction of the lens component 100 to be tested, the actual length of the lens component 100 to be tested in the target detection direction may be determined according to the coordinate information.
In addition, the size characterizing parameter may further include a detection area of the foreign object. For example, when the acquired image of the corner points is image information corresponding to all the corner points along the lens assembly 100 to be tested, the detection area of the foreign object may be determined according to the coordinate information. The projection image can be further obtained by a perspective transformation algorithm. Perspective transformation, also known as projection mapping, is an image formed by projecting an image onto another plane, wherein it is not required that the projection plane and the image plane be parallel to each other. Thereby obtaining the contour information of the foreign matter, and then forming and outputting the contour information into an image.
Step S24, forming the position information and the size characterizing parameter as the foreign matter data parameter. The position information and the size representation parameters are collected to obtain a foreign matter analysis table, the foreign matter analysis table can be a table, and the size representation parameters and the position information of the foreign matters are recorded in the table, so that the foreign matter condition of the current lens component 100 to be tested can be accurately reflected, a user can perform summary analysis according to the foreign matter condition, and data support is provided for later improvement.
By detecting the position information and the size characterization parameters of the foreign matters, the distribution condition of the foreign matters in the lens assembly 100 to be tested can be obtained, and data support can be provided for subsequent improvement work conveniently.
As shown in fig. 6, the step of "analyzing according to the image data to obtain the foreign object data parameter" includes:
step S21A, comparing the light transmittance in the image data with a preset light transmittance, and judging the magnitude relation between the light transmittance and the preset light transmittance; specifically, the first light-transmitting surface of the light-transmitting mirror 10 may be covered with a light-reducing mirror 80, and the light transmittance of the light-reducing mirror 80 is the preset light transmittance. Further, the lens assembly 100 to be tested is connected with the lens assembly to be tested 100 through a test connecting line, so that the lens assembly to be tested 100 is controlled to emit light, and light enters from the second light-transmitting surface, passes through the first light-transmitting surface and then passes through the light reduction mirror 80. At this time, the light transmitted through the light reduction mirror 80 may be detected by a light transmittance tester, and the detected light transmittance may be numerically compared with a preset light transmittance.
In step S22A, if the transmittance is smaller than the predetermined transmittance, the image is divided into different light-transmitting areas, and the brightness values of the different light-transmitting areas are used as the foreign object data parameters. When the light transmittance is less than the predetermined light transmittance, it can be considered that the transparent mirror 10 of the lens assembly 100 to be tested is shielded by the foreign substance, so that part of the light cannot exit from the transparent mirror 10. At this time, the image may be divided into a plurality of light-transmitting regions by size in a preset coordinate system, and the brightness value of each region may be used as a foreign object data parameter, and the shape and size of the light-transmitting region may be set according to actual needs, for example, the size of the light-transmitting region is set to be a rectangular region with an aspect ratio of 4:3, and the length of the rectangular region may be n pixel units, as long as statistics on the foreign object data parameter is facilitated.
Through the judgment of the light transmittance and the brightness, the foreign body detection method can be used as the assistance of acquiring the position information and the form information of the foreign body, the data dimensionality of the foreign body detection is improved, and the detection accuracy is improved.
As shown in fig. 7, 10, and 11, the step of "obtaining the foreign object data parameter by analyzing the image data" includes:
step S21B, analyzing image data to obtain resolution parameters according to the graphic information on the graphic card; specifically, the graphic card is an ISO12233 test target, the surface of the ISO12233 test target is provided with a plurality of graphics, each graphic can detect image resolutions in different directions, and the graphics include J1 and K1 graphics (namely, area marks are denoted as J1 and K1) for measuring horizontal visual resolutions, and the J1 and K1 graphics can measure resolution ranges of 100 to 2000 LW/PH; the system also comprises J2 and K2 graphs (namely area marks are marked as J2 and K2) for measuring vertical visual resolution, and the J2 and K2 graphs can measure the resolution range of 100 to 2000 LW/PH; the system also comprises JD and KD graphs (namely area marks are marked as JD and KD) for measuring the visual resolution of 45 degrees in an inclined mode, and the JD and KD graphs can measure the resolution range of 100 to 1000 LW/PH; also included is a cross pattern for measuring the angular point visual resolution, which can measure a resolution range of 100 to 1000 LW/PH. During testing, the whole image to be tested is generally covered with the target plate, or the part with the pattern is filled with the image to be tested as much as possible.
If the image is just full in the 4:3 area of the target, the reading is the resolution value of the image;
if the image is not full in the 4:3 area of the target, it needs to be converted to the value at just full by the following relationship:
result = height of picture reading/height of reticle in picture
If the image overfills in the 4:3 region of the target, it needs to be converted to the value at just full by the following relationship:
result = actual height of target read/actual height of target captured in the picture
First, a transmissive ISO12233 test target is illuminated with a uniform light source, the image sensor 42 is fixed at a distance of 85cm from the target (the focus distance of the image sensor 42 is considered here, and is assumed to be 85 cm), the target closest to the exactly full screen is selected, and an image is captured; second, the readings are taken either visually or by reading with the HYRes software. Third, when the reticle is overfilled in the frame, the measurement yields a captured reticle height of 168mm, while the actual reticle height is 250mm, resulting in =168 readings/250. The product of the shooting height and the reading is divided by the actual height of the target, and then the resolution value is obtained.
Step S22B, comparing the resolution parameter with the pre-stored resolution parameter, and judging the size relationship between the resolution parameter and the pre-stored resolution parameter;
in step S23B, if the resolution parameter is smaller than the pre-stored resolution parameter, the image is divided into different light-transmitting areas, and the resolution parameters of the different light-transmitting areas are used as the foreign object data parameters. When the resolution is smaller than the preset resolution, it is considered that the transparent mirror 10 of the lens assembly to be tested 100 is blocked by the foreign matter, so that part of the light cannot exit from the transparent mirror 10, thereby reducing the resolution of the image sensor 42 for acquiring the image. At this time, the image may be divided into a plurality of light-transmitting regions by size in a preset coordinate system, and the resolution of each region is used as a foreign object data parameter, and the shape and size of the light-transmitting region may be set according to actual needs, for example, the size of the light-transmitting region is set as a rectangular region with an aspect ratio of 4:3, and the length of the rectangular region may be n pixel units, as long as statistics on the foreign object data parameter is facilitated.
By judging the resolution, the foreign body detection method can be used as an auxiliary for acquiring foreign body position information and form information, so that the data dimensionality of foreign body detection is improved, and the detection accuracy is improved.
As shown in fig. 8, the step of acquiring the image data of the transparent mirror 10 of the lens assembly to be tested 100 includes:
step S10a, placing the lens assembly to be tested 100 in the testing box 20; specifically, the test box 20 may include a bottom plate, a top plate, and side plates connecting the bottom plate and the top plate, which together enclose the receiving cavity 22. The bottom plate, the top plate and the side plates can be of an integrated structure which is integrally formed, and can also be of a detachable and assembled split structure design. The testing box 20 is substantially a rectangular quadrangular prism, and the outer contour of the bottom plate can be set according to actual needs, which is not limited herein. It should be noted that the test box 20 has a communication opening and an opening and closing structure for opening and closing the communication opening so as to communicate the accommodating chamber 22 with the external environment, and the opening and closing structure may be a rotating member engaged with the shaft hole. When the lens assembly 100 to be tested needs to be placed in the accommodating cavity 22, the opening and closing structure is opened to communicate the external environment with the accommodating cavity 22, the lens assembly 100 to be tested is placed in the accommodating cavity 22, and finally the opening and closing structure is closed to form a closed space in the accommodating cavity 22, so that the detection efficiency is improved.
Step S10b, cleaning the light-transmitting mirror 10 of the lens component 100 to be tested; specifically, by arranging the cleaning member 60 for cleaning the transparent mirror 10 of the lens assembly 100 to be tested, in order to avoid the generation of a measurement error caused by a foreign object attached to the first transparent surface (i.e., the outer surface of the lens to be tested), the first transparent surface is cleaned by the cleaning member 60, so that the measurement error is reduced, and the detection efficiency of the lens assembly 100 to be tested is improved. The cleaning member 60 may include a cleaning head disposed in the accommodating chamber 22, and the cleaning head includes a movable moving portion and a rotatable brush head portion connected to the moving portion, so that the first light-transmitting surface is cleaned by rotating the brush head portion, and the moving portion drives the brush head portion to move on the first light-transmitting surface, thereby completing the cleaning of the first light-transmitting surface. The relative motion part of the brush head part is detachably connected, so that when different first light-transmitting surfaces are cleaned, different brush head parts can be adopted for cleaning, and the cleaning adaptability of the lens testing device 200 is improved. Or, the cleaning member 60 includes an air supply part 62 and a suction part 64, the accommodating chamber 22 is further provided with an air inlet and an air outlet 224, the air supply part 62 is disposed at the air inlet and is configured to supply air to the accommodating chamber 22 to clean the surface of the first light-transmitting surface, and the suction part 64 is communicated with the air outlet 224 and is configured to draw air out of the accommodating chamber 22.
The air supply part 62 is arranged, and air flow is blown to the first light transmission surface, so that the first light transmission surface is cleaned, and foreign matters are prevented from being attached to the first light transmission surface. Then, the suction element 64 is used for sucking the foreign matters possibly mixed in the air from the accommodating cavity 22, so as to ensure the cleanness of the light path from the image sensor 42 to the first light-transmitting surface of the lens to be tested, and prevent the image data collected by the image sensor 42 from including the data of the foreign matters flowing out of the air.
In step S10c, the illumination source 44 is turned on to let the light from the light-transmitting mirror 10 enter the interior of the lens assembly to be tested 100. And, also in order to avoid the noise of acquireing the image data through setting up illumination light source 44, for the lens subassembly 100 light filling of awaiting measuring. The illumination source 44 may be a shadowless lamp having a plurality of light heads so that light overlap through the plurality of heads minimizes shading and color distortion. In addition, the shadowless lamp must be able to operate continuously for a long period of time without excessive heat being dissipated. Therefore, the quality of the image collected by the image sensor 42 can be greatly improved, and the testing efficiency is improved.
Through settling the lens subassembly 100 that awaits measuring at test box 20 to set up the clean component 60 of clean first printing opacity face, and set up illumination light source 44, can avoid external disturbance, reduce image data's noise, improve image data's the collection degree of accuracy, and then can obtain more accurate foreign matter data parameter, improve efficiency of software testing.
As shown in fig. 9, the step of "outputting a foreign object analysis table according to a plurality of foreign object data parameters" further includes:
step S40, testing the lens assemblies 100 to be tested according to the above steps, and obtaining a plurality of foreign object analysis tables (detailed in the following table); the foreign matter data parameters of the lens assemblies 100 to be tested are obtained by collecting and analyzing the image data of the lens assemblies 100 to be tested, and in a working scene, the foreign matter conditions of the lens assemblies 100 to be tested in the same batch can be obtained through a plurality of foreign matter analysis tables.
Figure 146267DEST_PATH_IMAGE001
Step S50, selecting at least one group of foreign body data parameters in the foreign body analysis tables as output parameters; the same group of foreign body parameters of the foreign body analysis tables are output, so that the foreign body condition of the lens module to be tested with the same defect can be known, and the data support can be provided for the improvement of the later stage of the defect. For example, a foreign matter with an abscissa of X1 is selected and output, so that the distribution of the foreign matter on the abscissa of X1 is observed, and a user can analyze the foreign matter according to the information, thereby providing data support for subsequent improvement work.
And step S60, forming a foreign matter hot spot distribution map according to the output parameters. Specifically, the selected foreign matter data parameter may be used as an output parameter, so that the image data is screened and stacked according to the output parameter, and thus a hot spot distribution diagram (which is an analysis means that the distribution probability is presented by marking the density degree) with the foreign matter data parameter as a reference is obtained, and then a user may analyze the foreign matter condition according to the hot spot distribution diagram, so as to provide data support for subsequent improvement work.
By the testing step, the testing efficiency of the lens assembly 100 to be tested can be effectively improved, the testing efficiency can reach 1min/PCS (PCS, namely the abbreviation form of PIECES, namely the meaning of 'single' or 'piece'), the image data does not need to be subjected to quadratic element processing conversion, the result is directly output, and the analysis efficiency is improved.
As shown in fig. 12, the present application further provides a lens test control device, in an embodiment of the lens test control device of the present application, the lens test control device includes:
the acquiring module 100a is used for acquiring image data of the light-transmitting mirror 10 of the lens assembly 100 to be tested;
the analysis module 100b is used for analyzing according to the image data to obtain foreign matter data parameters;
and the output module 100c is used for outputting a foreign matter analysis table according to a plurality of foreign matter data parameters.
The present application also proposes a readable storage medium storing a control program for lens testing, which when executed by a processor implements the lens testing method as described in the above embodiments.
The above description is only a preferred embodiment of the present application, and not intended to limit the scope of the present application, and all modifications and equivalents of the subject matter of the present application, which is intended to be covered by the claims and their equivalents, or which are directly or indirectly applicable to other related arts are intended to be included within the scope of the present application.

Claims (19)

1. A lens testing device for the detection of a lens assembly to be tested, the lens assembly to be tested including a light transmitting mirror, the lens testing device comprising:
the test box is provided with an accommodating cavity, and the lens assembly to be tested is arranged in the accommodating cavity; and
the testing component comprises an image sensor, the image sensor faces the light-transmitting mirror and is used for collecting image data of the lens to be tested, analyzing the collected image data to obtain foreign matter data parameters and outputting a foreign matter analysis table;
the cleaning component is arranged in the accommodating cavity at least partially, the lens assembly to be tested comprises a first light-transmitting surface and a second light-transmitting surface deviating from the first light-transmitting surface, the first light-transmitting surface faces the image sensor, and the cleaning component is used for cleaning the first light-transmitting surface.
2. The lens testing device as claimed in claim 1, wherein the cleaning member includes an air supply member and a suction member, the accommodating chamber further has an air inlet and an air outlet, the air supply member is disposed at the air inlet and is configured to supply air to the accommodating chamber to clean the surface of the first light-transmitting surface, and the suction member is connected to the air outlet and is configured to draw air out of the accommodating chamber.
3. The lens testing device of claim 1, wherein the image sensor is disposed directly opposite the transparent mirror.
4. The lens testing apparatus of claim 1, wherein the test assembly further comprises an illumination source for illuminating the receiving cavity.
5. The lens testing device of claim 4, wherein the illumination source is disposed toward the first light-transmissive surface of the light-transmissive mirror;
and/or the illumination light source is arranged in the accommodating cavity and is a shadowless lamp.
6. The lens testing device as claimed in claim 1, further comprising a positioning fixture disposed in the accommodating chamber for fixing the lens assembly to be tested.
7. The lens testing device as claimed in claim 1, wherein the lens testing device further comprises a testing connection line, the lens assembly to be tested is further provided with a testing interface, and the testing connection line is detachably and electrically connected to the testing interface.
8. The lens testing device of claim 7, further comprising a light reduction mirror disposed over the light transmission mirror.
9. The lens test apparatus as claimed in any one of claims 1 to 8, further comprising a resolution test card disposed adjacent to the image sensor, the resolution test card being provided with an analytical test pattern.
10. The lens testing device according to any one of claims 1 to 8, wherein a wall of the accommodating chamber is provided with a diffuse reflection layer or a light absorption layer.
11. A lens testing method which performs a test using a lens testing apparatus including any one of claims 1 to 10, characterized by comprising the steps of:
acquiring image data of a light-transmitting mirror of a lens assembly to be tested;
analyzing according to the image data to obtain foreign body data parameters;
and outputting a foreign matter analysis table according to a plurality of foreign matter data parameters.
12. The lens testing method as claimed in claim 11, wherein the step of analyzing the image data to obtain the foreign object data parameters includes:
acquiring at least two angular point information in image data;
determining coordinate information of at least two corner points in a preset coordinate system according to the information of at least two corner points;
determining position information and size characterization parameters of the foreign matters in a preset coordinate system according to the coordinate information;
forming the position information and the size characterizing parameter as the foreign matter data parameter.
13. The lens testing method as claimed in claim 11, wherein the step of analyzing the image data to obtain the foreign object data parameters includes:
comparing the light transmittance in the image data with a preset light transmittance, and judging the magnitude relation between the light transmittance and the preset light transmittance;
and if the light transmittance is smaller than the preset light transmittance, dividing the image into different light transmittance areas, and forming the brightness values of the different light transmittance areas into the foreign matter data parameters.
14. The lens testing method as claimed in claim 11, wherein the step of analyzing the image data to obtain the foreign object data parameters includes:
analyzing the image data to obtain a resolution parameter according to the graphic information on the resolution test card;
comparing the resolution parameter with a prestored resolution parameter, and judging the size relationship between the resolution parameter and the prestored resolution parameter;
and if the resolution parameter is smaller than the pre-stored resolution parameter, dividing the image into different light transmission areas, and forming the resolution parameters of the different light transmission areas into the foreign matter data parameters.
15. The lens testing method of any one of claims 11 to 14, wherein the step of acquiring image data of a light-transmitting mirror of the lens module to be tested is preceded by:
arranging the lens assembly to be tested in a test box;
cleaning a light-transmitting mirror of the lens component to be tested;
and starting the lighting source to enable light to enter the interior of the lens component to be tested from the light-transmitting mirror.
16. The lens testing method according to any one of claims 11 to 14, further comprising, after the step of outputting a foreign object analysis table based on a plurality of the foreign object data parameters:
testing a plurality of lens assemblies to be tested according to the steps and obtaining a plurality of foreign matter analysis tables;
selecting at least one group of foreign matter data parameters which are the same in the plurality of foreign matter analysis tables as output parameters;
and forming a foreign matter hot spot distribution map according to the output parameters.
17. A lens test control apparatus including the lens test apparatus according to any one of claims 1 to 10, characterized by comprising:
the acquisition module is used for acquiring image data of a light-transmitting mirror of the lens assembly to be tested;
the analysis module is used for analyzing according to the image data to obtain foreign matter data parameters;
and the output module is used for outputting a foreign matter analysis table according to the plurality of foreign matter data parameters.
18. A lens testing apparatus comprising a memory, a processor and a lens testing program stored on the memory and executable on the processor, the lens testing program when executed by the processor implementing a lens testing method as claimed in any one of claims 11 to 16.
19. A readable storage medium having stored thereon a lens test program which, when executed by a processor, implements a lens test method as claimed in any one of claims 11 to 16.
CN201910746975.1A 2019-08-13 2019-08-13 Lens testing device and method, control device and readable storage medium Active CN110446030B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910746975.1A CN110446030B (en) 2019-08-13 2019-08-13 Lens testing device and method, control device and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910746975.1A CN110446030B (en) 2019-08-13 2019-08-13 Lens testing device and method, control device and readable storage medium

Publications (2)

Publication Number Publication Date
CN110446030A CN110446030A (en) 2019-11-12
CN110446030B true CN110446030B (en) 2021-04-09

Family

ID=68435234

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910746975.1A Active CN110446030B (en) 2019-08-13 2019-08-13 Lens testing device and method, control device and readable storage medium

Country Status (1)

Country Link
CN (1) CN110446030B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101886971A (en) * 2009-05-15 2010-11-17 鸿富锦精密工业(深圳)有限公司 Lens test device
KR20110009489A (en) * 2009-07-22 2011-01-28 엘아이지에이디피 주식회사 Substrate inspection method and remote substrate inspection system
CN203813899U (en) * 2014-03-13 2014-09-03 广东安居宝数码科技股份有限公司 Photosensitive sensitivity testing device for image sensor
CN208029014U (en) * 2018-04-13 2018-10-30 深圳市铭嘉信科技有限公司 A kind of device of detection Laser video camera head stain
KR101973294B1 (en) * 2017-12-20 2019-04-29 극동대학교 산학협력단 Apparatus for Inspecting Settled Particles in Clean Room

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN206674130U (en) * 2017-03-29 2017-11-24 惠州联辰电子科技有限公司 A kind of camera resolving power test case
CN109283125A (en) * 2018-11-02 2019-01-29 芜湖赋兴光电有限公司 Camera salt spray test device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101886971A (en) * 2009-05-15 2010-11-17 鸿富锦精密工业(深圳)有限公司 Lens test device
KR20110009489A (en) * 2009-07-22 2011-01-28 엘아이지에이디피 주식회사 Substrate inspection method and remote substrate inspection system
CN203813899U (en) * 2014-03-13 2014-09-03 广东安居宝数码科技股份有限公司 Photosensitive sensitivity testing device for image sensor
KR101973294B1 (en) * 2017-12-20 2019-04-29 극동대학교 산학협력단 Apparatus for Inspecting Settled Particles in Clean Room
CN208029014U (en) * 2018-04-13 2018-10-30 深圳市铭嘉信科技有限公司 A kind of device of detection Laser video camera head stain

Also Published As

Publication number Publication date
CN110446030A (en) 2019-11-12

Similar Documents

Publication Publication Date Title
CN107843599B (en) AOI-based panel detection and judgment method and device
US7227648B2 (en) Method and apparatus for a touch-free examination of objects, particularly regarding the surface character of the same
US7643143B2 (en) Particle image analyzing apparatus
JP5410092B2 (en) Apparatus and method for inspecting composite structures for inconsistencies
EP1463342A1 (en) Test system for camera modules
US5566244A (en) Method of inspecting a workpiece surface including a picturing system with a shortened focal plane
CN110044405B (en) Automatic automobile instrument detection device and method based on machine vision
JP2000508095A (en) Boundary mapping system and method
CN109655230B (en) Display panel inspection device and display panel inspection method
KR20210090116A (en) Imaging system for leak detection
CN208795463U (en) A kind of optical test equipment
US20090067701A1 (en) System and method for detecting blemishes on surface of object
CN106303509A (en) Camera sub-assemblies dust and defect detecting system and method
WO1999042807A1 (en) Plate glass shatter testing method, device, imaging method for glass testing and image signal processing method
CN110446030B (en) Lens testing device and method, control device and readable storage medium
JPH11271038A (en) Painting defect inspection device
KR20100014535A (en) Investigation system and technique
CN110248180A (en) Glare testing device
CN110261408A (en) Display module defect detecting device and method
US20100295939A1 (en) Table gauge
CN213180615U (en) Detection device
US20050171707A1 (en) System and method for evaluating laser projection equipment
WO1997042473A1 (en) Characterizing the luminous intensity of a lamp
JP2019028023A (en) Appearance inspection device
JP3874562B2 (en) Glass plate crushing test method, apparatus and glass test imaging method

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