Shooting device, detection system and method
By designing a shooting device including a backlight module, a coaxial optical module, a prism module and a shooting module, the problems of low appearance quality detection efficiency and difficulty in detecting weak ups and downs in the prior art are solved, and efficient and accurate defect detection is achieved.
Patent Information
- Application Number
- CN202110736534.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-06-30
- Publication Date
- 2025-06-10
- Estimated Expiration
- 2041-06-30
AI Technical Summary
In the prior art, when detecting the appearance quality of optical lenses, artificial visual inspection efficiency is low and not suitable for large-scale operations. The visual appearance defects are limited, which are easy to miss inspection, and it is difficult to detect weak ups and downs on the lens surface.
A shooting device is designed, including a backlight module, a coaxial light module, a prism module and a shooting module. By providing the first and second light sources and using the prism module to convert the optical path, the image of the subject to be tested is captured to detect its defect information.
It realizes accurate detection of appearance defects of optical lenses, especially clear imaging of weak ups and downs, improves detection efficiency and is suitable for batch operations.
Smart Images

Figure CN113610755B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of detection technology, and particularly to a photographing device, a detection system, and a method. Background Art
[0002] In the production process of products or product components (such as optical lenses) with appearance surfaces made of transparent materials such as glass and plastic, taking an optical lens as an example, the appearance quality of the glass of the optical lens has a direct impact on the photographing effect of consumer electronic products and the user's perception. Moreover, in order to prevent products with optical lens defects from flowing to the subsequent assembly, affecting the yield and efficiency, it is necessary to strictly detect the appearance quality of consumer electronic products and pick out products with poor appearance.
[0003] Currently, the existing defects are mainly detected through manual visual inspection and vision inspection. The detection efficiency of manual visual inspection is not high, and it is not easy to be stable, which is not suitable for large-scale operations; the appearance defect items of vision inspection are limited, prone to missed detection, and there is a problem of non-imaging in the detection of weak undulation defects on the surface of the camera. Summary of the Invention
[0004] In view of the above situation, it is necessary to provide a photographing device, a detection system, and a method to solve the above problems.
[0005] An embodiment of this application provides a photographing device applied to a detection system, where the detection system is used to detect defects of a to-be-detected object, and the photographing device includes:
[0006] A backlight module for providing a first light source;
[0007] A coaxial light module disposed on one side of the backlight module, and the coaxial light module is used to provide a second light source;
[0008] A prism module disposed on the optical paths of the first light source and the second light source, and is used to convert the optical paths of the first light source and the second light source; and
[0009] A photographing module disposed on one side of the prism module, and the photographing module is located on the optical paths of the first light source and the second light source after being converted by the prism module, and is used to photograph an image of the to-be-detected object on the optical paths of the first light source and the second light source, where the image is used to detect defect information of the to-be-detected object.
[0010] An embodiment of this application also provides a detection system, including:
[0011] A first light source;
[0012] A photographing module disposed on the optical path of the first light source, and is used to photograph the to-be-detected object disposed on the optical path;
[0013] A communicator, coupled to the first light source and the imaging module;
[0014] A processor, coupled to the communicator, for:
[0015] Sending a first signal to the first light source through the communicator, the first signal being used to turn on the first light source;
[0016] Sending a first imaging signal to the imaging module through the communicator to control the imaging module to capture a first image of the object under test;
[0017] In response to the sending of the first imaging signal, receiving the first image through the communicator;
[0018] Analyzing at least one of foreign matters, damages, and bruises on the surface of the object under test according to the first image to form a detection result of the object under test.
[0019] An embodiment of the present application further provides a detection method, including:
[0020] Sending a first signal to a first light source through a communicator, the first signal being used to turn on the first light source;
[0021] Sending a first imaging signal to an imaging module through the communicator, the imaging module being disposed on the optical path of the first light source and used to capture a first image of the object under test;
[0022] In response to the sending of the first imaging signal, receiving the first image through the communicator;
[0023] Analyzing at least one of foreign matters, damages, and bruises on the surface of the object under test according to the first image to form a detection result of the object under test.
[0024] In the present application, by capturing images of the object under test on the optical paths of the first light source and the second light source, the defect information of the object under test is detected according to the images, and the obtained detection result of the object under test is relatively accurate, and the weak undulating defects on the surface of the lens can be clearly imaged, and the detection efficiency is relatively high, which is suitable for batch operation. Description of the Drawings
[0025] Figure 1 It is a schematic structural diagram of a photographing device provided by an embodiment of the present application.
[0026] Figure 2 It is a schematic structural diagram of a consumer electronic product provided by an embodiment of the present application.
[0027] Figure 3It is a schematic structural diagram of a photographing device provided by another embodiment of the present application.
[0028] Figure 4 It is a schematic structural diagram of a detection system provided by an embodiment of the present application.
[0029] Figure 5 It is a flowchart of a detection method provided by an embodiment of the present application.
[0030] Figure 6 It is Figure 5 A specific step flowchart of sending a first photographing signal to the photographing module through the communicator in
[0031] Figure 7 It is Figure 6 Another specific step flowchart of sending a first photographing signal to the photographing module through the communicator in 5 in
[0032] Figure 8 It is Figure 5 A specific step flowchart of forming a detection result of the object to be measured in
[0033] Figure 9 It is Figure 5 Another specific step flowchart of forming a detection result of the object to be measured in
[0034] Figure 10 It is Figure 5 A flowchart after the method in
[0035] Figure 11 It is Figure 10 A flowchart after the method in
[0036] Figure 12 It is Figure 11 A flowchart after the method in
[0037] Figure 13 It is Figure 10 A specific step flowchart of forming a detection result of the object to be measured in
[0038] Figure 14 It is Figure 10 Another specific step flowchart of forming a detection result of the object to be measured in Detailed Description of the Specific Embodiment
[0039] The embodiments of the present application will be described in detail below. Examples of the embodiments are shown in the accompanying drawings, where the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary only for explaining the present application and should not be construed as limiting the present application.
[0040] In the description of the present application, it should be understood that the orientation or positional relationship indicated by the terms "center", "longitudinal", "transverse", "length", "width", "thickness", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", "clockwise", "counterclockwise", etc. is based on the orientation or positional relationship shown in the drawings. It is only for the convenience of describing the present application and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation. Therefore, it should not be construed as a limitation to the present application. In addition, the terms "first" and "second" are only used for descriptive purposes and cannot be construed as indicating or implying relative importance or implicitly specifying the quantity of the indicated technical features. Thus, the features defined with "first" and "second" may explicitly or implicitly include one or more of the said features. In the description of the present application, the meaning of "a plurality" is two or more, unless otherwise specifically defined.
[0041] In the description of the present application, it should be noted that unless otherwise clearly specified and defined, the terms "mounted", "connected" and "coupled" shall be understood in a broad sense. For example, it may be a fixed connection, a detachable connection or an integral connection; it may be a mechanical connection, an electrical connection or a connection capable of mutual communication; it may be directly connected or indirectly connected through an intermediate medium, and it may be the internal communication of two elements or the interaction relationship between two elements. For those of ordinary skill in the art, the specific meanings of the above terms in the present application can be understood according to specific circumstances.
[0042] In the present application, unless otherwise clearly specified and defined, the first feature being "on" or "under" the second feature may include the direct contact between the first and second features, or may include the situation where the first and second features are not in direct contact but in contact through additional features therebetween. Moreover, the first feature being "above", "over" and "on top of" the second feature includes that the first feature is directly above and obliquely above the second feature, or merely means that the horizontal height of the first feature is higher than that of the second feature. The first feature being "under", "beneath" and "underneath" the second feature includes that the first feature is directly below and obliquely below the second feature, or merely means that the horizontal height of the first feature is lower than that of the second feature.
[0043] The following disclosure provides many different embodiments or examples for implementing different structures of the present application. To simplify the disclosure of the present application, the components and settings of specific examples are described below. Of course, they are only examples and are not intended to limit the present application. In addition, the present application may repeat reference numerals and / or reference letters in different examples. Such repetition is for the purpose of simplification and clarity and does not itself indicate the relationship between the various embodiments and / or settings discussed. In addition, the present application provides examples of various specific processes and materials, but those of ordinary skill in the art can be aware of the application of other processes and / or the use of other materials.
[0044] Please refer to Figure 1 and Figure 2 An embodiment of the present application provides an imaging device 100, which is applied to a detection system for detecting defects of a measured object 210. The measured object 210 is an optical lens of an electronic product 200, and the electronic product 200 includes but is not limited to a mobile phone, an iPad (tablet computer), a computer, and a camera 42. The defects of the measured object 210 are mainly weak undulation defects on the appearance surface 212, such as slight indentations, dents, phantom scratches, deformations, etc.
[0045] The imaging device 100 includes a backlight module 10, a coaxial light module 20, a prism module 30, and an imaging module 40.
[0046] The backlight module 10 is used to provide a first light source 12. The coaxial light module 20 is disposed on one side of the backlight module 10, and the coaxial light module 20 is used to provide a second light source 22. The prism module 30 is disposed on the optical paths of the first light source 12 and the second light source 22, and is used to convert the optical paths of the first light source 12 and the second light source 22. The imaging module 40 is disposed on one side of the prism module 30, and the imaging module 40 is located on the optical paths of the first light source 12 and the second light source 22 after being converted by the prism module 30, and is used to capture an image of the measured object 210 on the optical paths of the first light source 12 and the second light source 22, where the image is used to detect defect information of the measured object 210.
[0047] The imaging device 100 further includes a base 50, and the base 50 includes a bottom plate 52 and a carrier plate 54, and the carrier plate 54 is vertically disposed on one side of the bottom plate 52.
[0048] The first light source 12 provided by the backlight module 10 is used to detect foreign objects and damage on the appearance surface 212 of the optical lens. The appearance surface 212 includes a transparent area 214 and an ink area 216. Under normal circumstances, the transparent area 214 allows light to pass through, while the ink area 216 does not allow light to pass through and can reflect the incident light. When there is a foreign object at a position in the transparent area 214, the incident light will be reflected, making this position appear dark when imaging; when there is a break at a position in the ink area 216, the incident light will pass through this position, making this position appear white when imaging, so as to detect the foreign object situation in the transparent area 214 and the break situation in the ink area 216. The backlight module 10 further includes a backlight board 14, which is vertically arranged on one side of the carrier board 54 and is parallel to the bottom board 52, and is used to purify the background to avoid background interference. The first light source 12 is arranged on the side of the backlight board 14 close to the bottom board 52. Specifically, the light emitted by the first light source 12 is white light.
[0049] The coaxial light module 20 is mainly used to detect surface scratches of the optical lens. In one example, the coaxial light module 20 uses parallel coaxial light. The parallel coaxial light has better and stronger perpendicularity of the light path relative to other light sources. When the light passes through the flat glass surface of the optical lens, it will form a specular vertical reflection to construct bright-field illumination. Weak surface undulation defects will reflect some of the incident light out of the field of view of the imaging module 40, resulting in the formation of dark defect features in the captured image, and thus being detected. Since the surface scratches of the optical lens do not have strong light-reflecting ability like defects such as white spots or dirt, but will make the optical lens look uneven, they can be effectively detected by the parallel coaxial light. The coaxial light module 20 further includes a support 24, which is vertically connected to one side of the carrier board 54 and is used to fix the second light source 22. Specifically, the light emitted by the second light source 22 is white parallel coaxial light, and the wavelength of the white parallel coaxial light is 420nm - 480nm. The light source in this spectral band has a relatively high reflectivity when irradiated on the glass surface compared to other color light sources, and the angle between the emitted light of the second light source 22 and the glass surface is less than 5 degrees.
[0050] The prism module 30 is a prism. The prism module 30 can have one optical path conversion surface or two optical path conversion surfaces, which can be specifically set according to actual needs.
[0051] The imaging module 40 includes a camera 42 and a lens 44. The camera 42 is used to capture the object to be measured 210, and the lens 44 is connected to the camera 42 and is used to assist the camera 42 in shooting, thereby improving the imaging quality.
[0052] In an embodiment of the present application, the imaging module 40 captures an image of the object under test 210 on the optical paths of the first light source 12 and the second light source 22, so as to detect the defect information of the object under test 210 according to the image. The obtained detection result of the object under test 210 is relatively accurate, and the weak undulating defects on the surface of the lens 44 can be clearly imaged, with a high detection efficiency, which is suitable for batch operations.
[0053] In one embodiment, the central axis of the coaxial light module 20 coincides with the central axis of the backlight module 10, and the central axes of the coaxial light module 20 and the backlight module 10 are perpendicular to the optical axis of the imaging module 40. In this way, the imaging module 40 does not directly take pictures of the object under test 210, but captures the images on the optical paths of the first light source 12 and the second light source 22 after being converted by the prism module 30, thus saving space and reducing the size of the imaging device 100.
[0054] In one embodiment, as Figure 1 shown, the coaxial light module 20 is disposed between the backlight module 10 and the prism module 30. The prism module 30 has a first optical path conversion surface 32, and the first optical path conversion surface 32 is used to convert the optical paths of the first light source 12 and the second light source 22. The optical paths of the first light source 12 and the second light source 22 partially overlap, and the optical axis of the imaging module 40 is disposed opposite to the first optical path conversion surface 32. When using the first light source 12 for imaging, the light emitted by the first light source 12 passes through the refraction or transmission of the object under test 210 in the electronic product 200 and the reflection of the first optical path conversion surface 32 of the prism module 30 in sequence, so as to turn 90 degrees and enter the imaging module 40; when using the second light source 22 for imaging, the light emitted by the second light source 22 passes through the reflection of the object under test 210 and the reflection of the first optical path conversion surface 32 of the prism module 30 in sequence, so as to turn 90 degrees and enter the imaging module 40.
[0055] Please refer to Figure 3, in one embodiment, the prism module 30 is disposed between the backlight module 10 and the coaxial light module 20. The prism module 30 has opposite first and second optical path conversion surfaces 32 and 34. The first optical path conversion surface 32 is arranged corresponding to the first light source 12 to convert the optical path of the first light source 12. The second optical path conversion surface 34 is arranged corresponding to the second light source 22 to convert the optical path of the second light source 22. The optical paths of the first light source 12 and the second light source 22 do not overlap. This can avoid interference between the first light source 12 and the second light source 22. The imaging device 100 further includes a carrier 80 for carrying the object to be measured 210 and disposed between the backlight module 10 and the coaxial light module 20. The imaging module 40 is further configured to move relative to the prism module 30 to the optical path of the first light source 12 after being converted by the first optical path conversion surface 32, and to move relative to the prism module 30 to the optical path of the second light source 22 after being converted by the second optical path conversion surface 34. The corresponding carrier 80 is also disposed between the first light source 12 or the second light source 22 and the prism module 30, Figure 3 Only the scenario where the carrier 80 is disposed between the first light source 12 and the prism module 30 is shown. It can be understood that the imaging device 100 further includes a driving member 90. In one embodiment, the driving member 90 is connected to the imaging module 40 for driving the imaging module 40 to move relative to the prism module 30. In another embodiment, the driving member is used to drive the carrier 80 to move relative to the prism module 30 to obtain images in the case of two light sources. Specifically, the driving member 90 can be a cylinder, a lead screw nut driving mechanism, but is not limited thereto.
[0056] In some embodiments, please continue to refer to Figure 1 and Figure 2 , the imaging device 100 further includes a narrowband filter 60. The narrowband filter 60 is disposed between the imaging module 40 and the prism module 30 for filtering stray light before the optical path of the first light source 12 or the second light source 22 enters the imaging module 40. It should be noted that the narrowband filter 60 allows optical signals to pass through in a specific wavelength band, while optical signals on both sides outside this wavelength band are blocked. The central wavelength of the narrowband filter 60 is 450 nm and the bandwidth is 60 nm, which is set corresponding to the wavelength band of the second light source 22, and can filter the interference of stray light sources in the environment or other light sources and improve the contrast of defect imaging.
[0057] In one embodiment, the photographing device 100 further includes an occlusion module 70 disposed between the backlight module 10 and the coaxial light module 20, and configured to occlude either the first light source 12 or the second light source 22, or only the first light source 12 during photographing. Specifically, the occlusion module 70 includes a power member 72 and a shutter 74. The power member 72 is disposed on the carrier plate 54 and connected to the shutter 74, and is configured to drive the shutter 74 to move so as to occlude at least one of the first light source 12 and the second light source 22. Optionally, the power member 72 is a cylinder.
[0058] In one embodiment, when detecting the appearance surface 212 of the optical lens, the coaxial light module 20 needs to be turned off, the backlight module 10 needs to be turned on, and the power member 72 drives the shutter 74 to move so that the shutter 74 does not block the optical path of the first light source 12. Optionally, the shutter 74 can block the optical path of the second light source 22. At this time, the photographing module 40 photographs the image of the object 210 to be measured in the first optical path; when detecting the surface scratch of the optical lens, the backlight module 10 is turned off, the coaxial light module 20 is turned on, and the power member 72 drives the shutter 74 to move so that the shutter 74 does not block the optical path of the second light source 22. Optionally, the shutter 74 can block the optical path of the first light source 12. At this time, the photographing module 40 photographs the image of the object 210 to be measured in the second optical path.
[0059] Please refer to Figure 4 Moreover, an embodiment of the present application further provides a detection system 500, which can capture images through the above-mentioned photographing device 100, or be used to cooperate with the above-mentioned photographing device 100 to complete detection. The detection system 500 includes a first light source 12, a photographing module 40, a communicator 300, and a processor 400.
[0060] In some embodiments, the object 210 to be measured can be, optionally, a product or a product component including an appearance surface made of a transparent material such as glass or plastic, or can also be the appearance surface of an optical lens. In the present application, the optical lens is taken as an example for illustration, but it is not limited thereto.
[0061] The image of the object under test 210 is obtained by the detection system 500, and at least one of foreign objects, damage, and indentation on the surface of the object under test 210 is analyzed based on the image of the object under test 210 to form the detection result of the object under test 210, which can avoid the problems of manual visual inspection and simple vision inspection. For example, one way of manual visual inspection is that the operator uses a black and white board with a small blue LED light, under a white incandescent lamp, facing the position of the optical lens to perform the appearance inspection of the optical lens. This inspection method is not efficient and is not easy to be stable, and is greatly related to the operation method, working state, experience, etc. of the operator, and is not suitable for large-scale operations. Another example is simple vision inspection. The automated equipment is equipped with simple vision hardware. Generally, a white annular light source, a white strip light source, and a white coaxial light source are used, in cooperation with a camera and a lens for imaging, and software algorithms are performed to perform the appearance inspection of the optical lens. The ability of this method to detect surface defects of the object under test is limited, and it can only detect very obvious surface defects such as foreign objects, damage, and indentation, and it is easy to miss detections. The current imaging method has problems of non-imaging or low imaging contrast for weak undulation defects on the lens surface. The main reason is that such weak undulation defects are smooth and non-damaged, and there is no high-light diffuse reflection like scratches and bruises; in addition, the lens glass area has extremely high transparency, and most of the light emitted by the light source will pass through the glass, and only a small part returns to the lens camera, thus affecting the detection result. The detection system of the present application can effectively solve the above problems.
[0062] The communicator 300 is mainly used for signal transmission. The processor 400 can be a central processing unit (CPU), a digital signal processor, a single-chip microcomputer, a microcomputer, a computer, or an industrial control computer, etc., and is suitable for implementing each instruction. In one embodiment, the imaging module 40 is disposed on the optical path of the first light source 12 and is used to image the object under test 210 disposed on the optical path. The communicator 300 is coupled to the first light source 12 and the imaging module 40. The processor 400 is coupled to the communicator 300 and is used for: sending a first signal to the first light source 12 through the communicator 300, and the first signal is used to turn on the first light source 12; sending a first imaging signal to the imaging module 40 through the communicator 300 to control the imaging module 40 to image the first image of the object under test 210; in response to the sending of the first imaging signal, receiving the first image through the communicator 300; and analyzing at least one of foreign objects, damage, and indentation on the surface of the object under test 210 based on the first image to form the detection result of the object under test 210.
[0063] The first light source can be selected as a general light source such as white light or coaxial light, and can be selected according to the situation of detecting foreign objects, damage, and indentation on the surface of the optical lens as needed.
[0064] In one embodiment, the processor 400 is further configured to: determine that the position of the object under test 210 is correct; and based on the correct position of the object under test 210, send a first shooting signal to the shooting module 40 through the communicator 300.
[0065] In some embodiments, whether the position of the object under test 210 is correct can be achieved by setting a position sensor on the base 50 in the shooting device 100 when the detection system 500 cooperates with the shooting device 100. The position sensor is used to sense whether the position of the object under test 210 can be captured by the shooting module 40 or to determine whether the captured position is correct. This is determined by the field of view of the shooting module 40 and the relative position of the object under test 210. A correct position range can be preset, for example, by the position of the carrier 80 of the shooting device as described above, and finally it is confirmed whether the object under test 210 has moved to the required position before shooting.
[0066] In another embodiment, whether the position of the object under test 210 is correct can also be achieved by shooting a verification image. Specifically, the processor 400 is further configured to: control the shooting module 40 to shoot a verification image based on the sending of the first signal. The detection system 500 further includes an arithmetic component, which is coupled to the shooting module 40 and is configured to: obtain the verification image; determine the correct position of the object under test 210 within the field of view of the shooting module 40 according to the verification image; and based on the correct position of the object under test 210 within the field of view of the shooting module 40, send a confirmation signal to the processor 400, so that the processor 400 sends a first shooting signal to the shooting module 40 through the communicator 300. The verification image refers to a pre-shot image as a verification image before obtaining the image required for detection to determine whether the position of the object under test 210 is correct. The arithmetic component can be a module of the processor 400, or any one of a separately provided digital signal processor 400, single-chip microcomputer, microcomputer, computer, or industrial control computer, but is not limited thereto.
[0067] In one embodiment, the first light source 12 is a white light source, the object to be measured 210 is the outer surface 212 of an optical lens, the outer surface 212 includes a transparent area 214 and an ink area 216, and the detection result includes the foreign object condition of the transparent area 214 and the damage condition of the ink area 216. The processor 400 is further configured to: determine a first light-colored imaging area in the first image according to the first image; determine the foreign object condition based on the first light-colored imaging area; determine a dark imaging area in the first image according to the first image; determine the damage condition based on the dark imaging area. The first light-colored imaging area includes the image of the transparent area 214 in the first image, and by analyzing the first light-colored imaging area, the foreign object condition of the transparent area 214 is determined; the dark imaging area includes the image of the ink area 216 in the first image, and by analyzing the dark imaging area, the damage condition of the ink area 216 is determined. If the first image is obtained by the existing ordinary backlight shooting method, there are problems of non-imaging or low imaging contrast for the weak undulation defects (such as slight indentation, dent, phantom scratch, deformation, etc.) on the lens surface. The main reason is that such weak undulation defects are smooth and without damage, and there is no high-gloss diffuse reflection like scratch and collision defects; in addition, the transparent area has extremely high transparency, and most of the light emitted by the light source will pass through the glass, and a small part will return to the lens camera, thus affecting the detection result. Therefore, through the first image captured by the shooting device 100 as described above, when there are foreign objects in the transparent area, the light will be reflected and result in a dark color in the imaging; when there is damage in the ink area, the light will pass through the ink and result in a light color in the dark imaging area, so as to detect the weak undulation defects. Among them, the dark imaging area is exemplarily an imaging area of black or dark gray, and the light-colored imaging area is exemplarily an imaging area of white or off-white.
[0068] In another embodiment, the first light source 12 is a parallel coaxial light source, the object to be measured 210 is the outer surface 212 of an optical lens, and the detection result includes the indentation condition of the outer surface 212. The processor 400 is further configured to: determine a second light-colored imaging area in the first image according to the first image; determine the indentation condition based on the second light-colored imaging area. The second light-colored imaging area includes the image of the outer surface 212 in the first image. The parallel coaxial light has better and stronger perpendicularity of the light path relative to other light sources. Because of its strong perpendicularity of the light path, the light forms a specular vertical reflection structure bright field illumination through the flat glass surface. The weak undulation defects on the surface will reflect the light with changing angles and be reflected out of the camera's field of view, forming dark defect features in the image. Since the indentation on the lens surface does not have strong reflective ability like defects such as white dots or dirt, but will make the lens look uneven, it can be effectively detected by the parallel coaxial light.
[0069] In one embodiment, the detection system 500 further includes a second light source 22. Exemplarily, if the detection system 500 cooperates with the imaging device 100, the imaging module 40 in the imaging device 100 is further disposed on the optical path of the second light source 22; the communicator 300 is further coupled to the second light source 22; the processor 400 is further configured to: send a second signal to the second light source 22 through the communicator 300 to turn on the second light source 22; based on the second light source 22 being turned on, send a second imaging signal to the imaging module 40 through the communicator 300 to control the imaging module 40 to image the object to be measured 210 and generate a second image; in response to the sending of the second imaging signal, receive the second image through the communicator 300; analyze foreign objects, damages, and bruises on the surface of the object to be measured 210 based on the first image and the second image to form a detection result of the object to be measured 210. The first light source 12 is optionally a white light source, and the second light source 22 is optionally a coaxial light source or a parallel coaxial light source.
[0070] In one embodiment, the processor 400 is further configured to: send a second signal to the first light source 12 through the communicator 300 to turn off the first light source 12; based on the first light source 12 being turned off and the second light source 22 being turned on, send a second imaging signal to the imaging module 40 through the communicator 300. Since when imaging under the condition of the first light source 12, to prevent light interference, the second light source 22 is controlled to be in the off state. When it is necessary to switch from the state of the first light source 12 to the state of the second light source 22, a trigger signal is required, and this trigger signal is the second signal in this embodiment. By turning on and off the first light source 12 and the second light source 22, it is prevented that the imaging quality deteriorates due to the interference of the two lights when forming the first image or the second image.
[0071] In another embodiment, the detection system 500 further includes an occlusion module 70 disposed between the first light source 12 and the second light source 22. The communicator 300 is also coupled to the second light source 22 and the occlusion module 70. The processor 400 is further configured to: send a third signal to the occlusion module 70 through the communicator 300 to set the occlusion module 70 in a first position; based on the occlusion module 70 being in the first position, send a first signal to the first light source 12 through the communicator 300 to turn on the first light source 12; based on the reception of the first image and the turning on of the second light source 22, send a fourth signal to the occlusion module 70, the fourth signal being used to set the occlusion module 70 in a second position; based on the occlusion module 70 being in the second position, send a second capture signal to the capture module 40 through the communicator 300. The communicator 300 sends the third signal as an adjustment signal to the occlusion module 70 to make the occlusion module 70 in a position where it does not occlude the first light source 12 but occludes the second light source 22, which is the first position in this embodiment. After the communicator 300 sends the first capture signal and the first image is captured and received, the communicator 300 then sends a fourth signal to the occlusion module 70 to make the occlusion module 70 in a position where it does not occlude the second light source 22 but occludes the first light source 12, which is the second position in this embodiment, and then sends a second capture signal through the communicator 300 to complete the capture of the second image. In this way, through the occlusion module 70, it is possible to more effectively prevent the imaging quality from deteriorating due to the interference of the two lights when forming the first image or the second image.
[0072] In one embodiment, the object to be measured 210 is the appearance surface 212 of an optical lens. The appearance surface 212 includes a transparent area 214 and an ink area 216. The first light source 12 is a white light source. The detection result includes the foreign object condition in the transparent area 214 and the damage condition in the ink area 216. The processor 400 is further configured to: determine a first light-colored imaging area in the first image according to the first image; determine the foreign object condition based on the first light-colored imaging area; determine a dark imaging area in the first image according to the first image; determine the damage condition based on the dark imaging area. The first light-colored imaging area includes the image of the transparent area 214 in the first image, and the dark imaging area includes the image of the ink area 216 in the first image. If the first image is obtained by the existing ordinary backlight shooting method, there are problems of non-imaging or low imaging contrast for the weak undulation defects (such as slight dents, indentations, phantom scratches, deformations, etc.) on the lens surface. The main reason is that such weak undulation defects are smooth and without damage, and there will be no high-gloss diffuse reflection like scratches and bruises; in addition, the transparent area has extremely high transparency, and most of the light emitted by the light source will pass through the glass, and a small part will return to the lens camera, thus affecting the detection result. Therefore, through the first image captured by the shooting device 100 as described above, when there are foreign objects in the transparent area, the light will be reflected and appear dark in the imaging; when there is damage in the ink area, the light will pass through the ink and appear light in the dark imaging area, so as to detect the weak undulation defects. Among them, the dark imaging area is exemplarily an imaging area of black or dark gray, and the light-colored imaging area is exemplarily an imaging area of white or off-white.
[0073] In one embodiment, the second light source 22 is a parallel coaxial light source, and the detection result includes the dent condition of the appearance surface 212. The processor 400 is further configured to: determine a second light-colored imaging area in the first image according to the first image; determine the dent condition based on the second light-colored imaging area. The second light-colored imaging area includes the image of the appearance surface 212 in the first image. The parallel coaxial light has better and stronger optical path perpendicularity relative to other light sources. Due to its strong optical path perpendicularity, the light forms a specular vertical reflection structure bright field illumination through the flat glass surface. The weak undulation defects on the surface will reflect the light with changing angles and be reflected out of the camera's field of view, forming dark defect features in the image. Since the dent on the lens surface does not have strong light reflection ability like white dots or dirt, but will make the lens look uneven, it can be effectively detected by the parallel coaxial light.
[0074] Please refer to Figure 5 , an embodiment of the present application also proposes a detection method, which can be optionally implemented on the above detection system 500, including the following steps:
[0075] S10, send a first signal to the first light source 12 through the communicator 300, and the first signal is used to turn on the first light source 12;
[0076] S20. Send a first shooting signal to the shooting module 40 through the communicator 300. The shooting module 40 is disposed on the optical path of the first light source 12 and is used to shoot a first image of the object under test 210.
[0077] S30. In response to the sending of the first shooting signal, receive the first image through the communicator 300.
[0078] S40. Analyze at least one of foreign matters, damages, and bruises on the surface of the object under test 210 according to the first image, and form a detection result of the object under test 210.
[0079] In some embodiments, the object under test 210 can be, optionally, a product or a product component with an appearance surface made of transparent materials such as glass and plastic, or can also be the appearance surface of an optical lens. This application takes an optical lens as an example for illustration, but is not limited thereto. The first light source can be a general light source such as white light or coaxial light, and can be selected according to the need to detect foreign matters, damages, and bruises on the surface of the optical lens. Obtain the first image through the detection system 500, and analyze at least one of foreign matters, damages, and bruises on the surface of the object under test 210 according to the first image, and form a detection result of the object under test 210, which can avoid the problems of manual visual inspection and simple vision detection. For example, one way of manual visual inspection is that an operator uses a black and white board with a small blue LED light, under a white incandescent lamp, facing the position of the optical lens to perform an appearance inspection of the optical lens. This detection method has low efficiency and is not easy to be stable, and is greatly related to the operation method, working state, experience, etc. of the operator, and is not suitable for large-scale operations. Another example is simple vision detection. An automated device is equipped with simple vision hardware, generally using a white annular light source, a white strip light source, and a white coaxial light source, cooperating with a camera and a lens for imaging, and performing a software algorithm for appearance inspection of the optical lens. The ability of this method to detect surface defects of the object under test is limited, and it can only detect very obvious surface defects such as foreign matters, damages, and bruises, and is prone to missed detection. The current imaging method has problems of non-imaging or low imaging contrast for weak undulating defects on the lens surface. The main reason is that such weak undulating defects are smooth and without damage, and there is no high-light diffuse reflection like scratches and bruises; in addition, the lens glass area has extremely high transparency, and most of the light emitted by the light source will pass through the glass, and only a small part returns to the lens camera, thus affecting the detection result. The detection method of this application can effectively solve the above problems.
[0080] In one embodiment, please refer to Figure 6 The step of sending the first shooting signal to the shooting module 40 through the communicator 300 specifically includes:
[0081] S2A 1 Determine that the position of the object under test 210 is correct;
[0082] S2A2 , based on the correct position of the object under test 210, the first shooting signal is sent to the shooting module 40 through the communicator 300.
[0083] In one embodiment, to determine whether the position of the object under test 210 is correct, if the detection method is implemented by the shooting device 100, it can be achieved by setting a position sensor on the base 50 in the shooting device 10. The position sensor is used to sense whether the position of the object under test 210 can be captured by the shooting module 40 or to determine whether the captured position is correct, which is determined by the field of view of the shooting module 40 and the relative position of the object under test 210. The correct position range can be preset, for example, by the position of the carrier 80 of the shooting device as described above, and finally it is realized to confirm whether the object under test 210 has moved to the required position before shooting.
[0084] In one embodiment, please refer to Figure 7 , the step of sending the first shooting signal to the shooting module 40 through the communicator 300 specifically includes:
[0085] S2B 1 , based on the sending of the first signal, control the shooting module 40 to shoot a verification image;
[0086] S2B 2 , according to the verification image, determine the correct position of the object under test 210 within the field of view of the shooting module 40;
[0087] S2B 3 , based on the correct position of the object under test 210 within the field of view of the shooting module 40, send a confirmation signal to the processor 400, so that the processor 400 sends the first shooting signal to the shooting module 40 through the communicator 300.
[0088] In some embodiments, the verification image refers to a pre-shot image as the verification image before obtaining the image required for detection to determine whether the position of the object under test 210 is correct.
[0089] Among them, the verification image refers to a pre-shot image as the verification image before obtaining the image required for detection to determine whether the position of the object under test 210 is correct.
[0090] In one embodiment, the first light source 12 is a white light source, and the outer surface 212 of the detection optical lens is detected. The outer surface 212 includes a transparent area 214 and an ink area 216. The detection results include the foreign object situation in the transparent area 214 and the damage situation in the ink area 216. Please refer to Figure 8 , the steps of forming the detection result of the object under test 210 include:
[0091] S4A 1 , according to the first image, determine the first light-colored imaging area in the first image;
[0092] S4A 2 , determine the foreign object situation based on the first light-colored imaging area;
[0093] S4A 3 , determine the dark-colored imaging area in the first image according to the first image;
[0094] S4A 4 , determine the damage situation based on the dark-colored imaging area.
[0095] Among them, the first light-colored imaging area includes the image of the transparent area 214 in the first image, and the dark-colored imaging area includes the image of the ink area 216 in the first image. If the first image is obtained by the existing ordinary backlight shooting method, there will be problems of non-imaging or low imaging contrast for the weak undulation defects (such as slight scratches, dents, phantom scratches, deformation, etc.) on the lens surface. The main reason is that such weak undulation defects are smooth and without damage, and there will be no high-light diffuse reflection like scratches and bruises; in addition, the transparent area 214 has extremely high transparency, and most of the light emitted by the light source will pass through the glass, and a small part will return to the lens camera, thus affecting the detection result. Therefore, through the first image taken by the shooting device 100 as described above, when there is a foreign object in the transparent area, the light will be reflected and appear dark in the imaging; when there is damage in the ink area, the light will pass through the ink and appear light in the dark-colored imaging area, so as to detect the weak undulation defects. Among them, the dark-colored imaging area is exemplarily a black or dark gray imaging area, and the light-colored imaging area is exemplarily a white or off-white imaging area.
[0096] In another embodiment, the first light source 12 is a parallel coaxial light source, the detection system 500 is used to detect the outer surface 212 of the optical lens, and the detection result includes the scratch situation of the outer surface 212. Please refer to Figure 9 , the steps of forming the detection result of the object to be measured 210 include:
[0097] S4B 1 , determine the second light-colored imaging area in the first image according to the first image;
[0098] S4B 2 , determine the scratch situation based on the second light-colored imaging area.
[0099] Among them, the second light-colored imaging area includes the image of the outer surface 212 in the first image. The parallel coaxial light has better and stronger perpendicularity of the light path relative to other light sources. Because of its strong perpendicularity of the light path, the light forms a specular vertical reflection structure bright field illumination through the flat glass surface, and the weak undulation defects on the surface will reflect the light with changing angles and be reflected out of the camera's field of view, forming dark defect features in the image. Since the scratch on the lens surface does not have the strong light reflection ability like white spots or dirt, but will make the lens look uneven, it can be effectively detected by the parallel coaxial light.
[0100] In one embodiment, refer to Figure 10 , the detection method can also be applied to control the second light source 22 to obtain a second image different from the first image. The main steps include:
[0101] S50, send a second signal to the first light source 12 and the second light source 22 through the communicator 300 to turn on the second light source 22;
[0102] S60, based on the second light source 22 being turned on, send a second shooting signal to the shooting module 40 through the communicator 300 to control the shooting module 40 to shoot the object to be measured 210 and generate a second image;
[0103] S70, in response to the sending of the second shooting signal, receive the second image through the communicator 300;
[0104] S80, according to the first image and the second image, analyze foreign objects, breakage and bruising on the surface of the object to be measured 210 to form a detection result of the object to be measured 210.
[0105] The first light source 12 can be a white light source, and the second light source 22 can be a coaxial light source or a parallel coaxial light source.
[0106] In one embodiment, refer to Figure 11 , to improve the imaging quality, the detection method further includes:
[0107] S90, send a second signal to the first light source 12 through the communicator 300 to turn off the first light source 12;
[0108] S100, based on the first light source 12 being turned off and the second light source 22 being turned on, send a second shooting signal to the shooting module 40 through the communicator 300.
[0109] By turning on and off the first light source 12 and the second light source 22, it is possible to prevent the imaging quality from deteriorating due to the interference of the two lights when forming the first image or the second image.
[0110] In another embodiment, refer to Figure 12 , to improve the imaging quality, the detection method includes:
[0111] S110, send a third signal to the shielding module 70 through the communicator 300 to set the shielding module 70 to the first position;
[0112] S120, based on the shielding module 70 being in the first position, send a first signal to the first light source 12 through the communicator 300 to turn on the first light source 12;
[0113] S130, based on the reception of the first image and the turning on of the second light source 22, send a fourth signal to the occlusion module 70, and the fourth signal is used to set the occlusion module 70 to be in the second position;
[0114] S140, based on the occlusion module 70 being in the second position, send a second shooting signal to the shooting module 40 through the communicator 300.
[0115] Among them, through the occlusion module 70, it is possible to more effectively prevent the imaging quality from decreasing due to the interference of two kinds of light when forming the first image or the second image.
[0116] In one embodiment, the object to be measured 210 is the appearance surface 212 of an optical lens. The appearance surface 212 includes a transparent area 214 and an ink area 216. The first light source 12 is a white light source, and the detection result includes the foreign object condition of the transparent area 214 and the damage condition of the ink area 216. Please refer to Figure 13 , the steps of forming the detection result include:
[0117] S81, according to the first image, determine the first light-colored imaging area in the first image;
[0118] S82, based on the first light-colored imaging area, determine the foreign object condition;
[0119] S83, according to the first image, determine the dark-colored imaging area in the first image;
[0120] S84, based on the dark-colored imaging area, determine the damage condition.
[0121] The first light-colored imaging area includes the image of the transparent area 214 in the first image, and the dark-colored imaging area includes the image of the ink area 216 in the first image. If the first image is obtained by the existing ordinary backlight shooting method, there are problems of non-imaging or low imaging contrast for weak surface undulation defects on the lens surface (such as slight dents, indentations, phantom scratches, deformations, etc.). The main reason is that such weak surface undulation defects are smooth and without damage, and there is no high-gloss diffuse reflection like scratches and bruises; in addition, the transparent area has extremely high transparency, and most of the light emitted by the light source will pass through the glass, and a small part will return to the lens camera, thus affecting the detection result. Therefore, through the first image captured by the shooting device 100 as described above, when there are foreign objects in the transparent area, the light will be reflected and appear dark in the imaging; when there is damage in the ink area, the light will pass through the ink and appear light in the dark-colored imaging area, so as to detect weak surface undulation defects. Among them, the dark-colored imaging area is exemplarily an imaging area of black or dark gray, and the light-colored imaging area is exemplarily an imaging area of white or off-white.
[0122] In one embodiment, the second light source 22 is a parallel coaxial light source, and the detection result includes the dent condition of the appearance surface 212; please refer to Figure 14, the steps of forming the detection result further include:
[0123] S85. Determine a second light-colored imaging area in the first image according to the first image;
[0124] S86. Determine the pressing injury condition based on the second light-colored imaging area.
[0125] The second light-colored imaging area includes the image of the appearance surface 212 in the first image. The parallel coaxial light has better and stronger perpendicularity with respect to the optical paths of other light sources. Because of its strong optical path perpendicularity, the light forms a bright-field illumination with a specular vertical reflection structure through the flat glass surface. The surface weak undulation defects will reflect the light with changed angles and be reflected out of the camera's field of view, forming dark defect features on the image. Since the pressing injury on the lens surface does not have strong light-reflecting ability like defects such as white dots or dirt, but will make the lens look uneven, it can be effectively detected by the parallel coaxial light.
[0126] For those skilled in the art, it is obvious that the present application is not limited to the details of the above exemplary embodiments, and the present application can be implemented in other specific forms without departing from the spirit or basic characteristics of the present application. Therefore, from any point of view, the embodiments should be regarded as exemplary and non-limiting. The scope of the present application is defined by the appended claims rather than the above description. Therefore, all changes falling within the meaning and scope of the equivalent elements of the claims are intended to be included in the present application.
[0127] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application and are not restrictive. Although the present application has been described in detail with reference to the preferred embodiments, those of ordinary skill in the art should understand that the technical solutions of the present application can be modified or equivalently replaced without departing from the spirit and scope of the technical solutions of the present application.
Claims
1. A photographing device applied to a detection system, the detection system being used to detect defects of a measured object, the measured object being the appearance surface of an optical lens, the appearance surface including a transparent area and an ink area, the defect of the measured object being a weak undulation type defect, the weak undulation type defect being a defect that is smooth and unbroken on the appearance surface, the photographing device comprises: a backlight module for providing a first light source; The backlight module further includes a backlight plate; the first light source is arranged on one side of the backlight plate; a coaxial light module arranged on one side of the backlight module, the coaxial light module being used to provide a second light source; a prism module arranged on the optical paths of the first light source and the second light source, for converting the optical paths of the first light source and the second light source; and a photographing module arranged on one side of the prism module, the photographing module being located on the optical paths of the first light source and the second light source after being converted by the prism module, for photographing an image of the measured object on the optical paths of the first light source and the second light source, wherein the image is used to detect defect information of the measured object; a narrowband filter arranged between the photographing module and the prism module, for filtering stray light before the optical path of the first light source or the optical path of the second light source enters the photographing module; wherein, the central wavelength of the narrowband filter is 450 nm and the bandwidth of the narrowband filter is 60 nm.
2. The photographing device according to claim 1, wherein the coaxial light module is arranged between the backlight module and the prism module; The prism module has a first optical path conversion surface for converting the optical paths of the first light source and the second light source, and the optical paths of the first light source and the second light source partially overlap; The optical axis of the photographing module is arranged opposite to the first optical path conversion surface.
3. The photographing device according to claim 2, wherein the central axis of the coaxial light module coincides with the central axis of the backlight module, and the central axis of the coaxial light module and the central axis of the backlight module are perpendicular to the optical axis of the photographing module.
4. The photographing device according to claim 1, wherein the prism module is arranged between the backlight module and the coaxial light module, and the prism module has opposite first and second optical path conversion surfaces; The first optical path conversion surface corresponds to the first light source to convert the optical path of the first light source; The second optical path conversion surface corresponds to the second light source to convert the optical path of the second light source, and the optical paths of the first light source and the second light source do not overlap; The photographing module is further used to move relative to the prism module to the optical path of the first light source after being converted by the first optical path conversion surface, and is used to move relative to the prism module to the optical path of the second light source after being converted by the second optical path conversion surface.
5. The photographing device according to claim 1, further comprises: a shielding module arranged between the backlight module and the coaxial light module, for shielding at least one of the first light source and the second light source; The light emitted by the first light source passes through the refraction or transmission of the object to be measured and the reflection of the prism module in sequence, so as to turn by 90 degrees and enter the imaging module. The light emitted by the second light source passes through the reflection of the object to be measured and the reflection of the prism module in sequence, so as to turn by 90 degrees and enter the imaging module.
6. The imaging device according to claim 1, further comprising: A carrier table for carrying the object to be measured and disposed between the backlight module and the coaxial light module.
7. The imaging device according to claim 1, wherein the light emitted by the first light source is white light, and the light emitted by the second light source is white parallel coaxial light.
8. A detection system, comprising: A first light source, which is disposed on one side of the backlight board; An imaging module, disposed on the optical path of the first light source, for imaging the object to be measured disposed on the optical path; wherein, the object to be measured is the appearance surface of an optical lens, and the appearance surface includes a transparent area and an ink area; A communicator, coupled to the first light source and the imaging module; A processor, coupled to the communicator, for: Sending a first signal to the first light source through the communicator, and the first signal is used to turn on the first light source; Sending a first imaging signal to the imaging module through the communicator to control the imaging module to image a first image of the object to be measured; Receiving the first image through the communicator in response to the sending of the first imaging signal; Analyzing at least one of foreign objects, breakage and indentation on the surface of the object to be measured according to the first image, and forming a detection result of the object to be measured; wherein, the detection result of the object to be measured includes weak undulation defects; the weak undulation defects are defects that are smooth and unbroken on the appearance surface.
9. The detection system according to claim 8, wherein the processor is further used for: Determining that the position of the object to be measured is correct; Based on the correct position of the object to be measured, sending the first imaging signal to the imaging module through the communicator.
10. The detection system according to claim 9, wherein the processor is further used for: Controlling the imaging module to image a verification image based on the sending of the first signal; The detection system further includes an arithmetic component, and the arithmetic component is coupled to the imaging module for: Obtaining the verification image; Determining the correct position of the object to be measured within the field of view of the imaging module according to the verification image; Based on the correct position of the object to be measured within the field of view of the imaging module, sending a confirmation signal to the processor, so that the processor sends the first imaging signal to the imaging module through the communicator.
11. The detection system according to claim 8, wherein the first light source is a white light source, the object to be measured is the appearance surface of an optical lens, the appearance surface includes a transparent area and an ink area, and the detection result includes the foreign object condition in the transparent area and the breakage condition in the ink area; the processor is further used for: Determining a first light-colored imaging area in the first image according to the first image; Determining the foreign object condition based on the first light-colored imaging area; Determine the dark imaging area in the first image according to the first image; Determine the damage condition based on the dark imaging area.
12. The detection system according to claim 8, wherein the first light source is a parallel coaxial light source, the object to be measured is the outer surface of an optical lens, and the detection result includes the bruise condition of the outer surface; the processor is further configured to: Determine a second light-colored imaging area in the first image according to the first image; Determine the bruise condition based on the second light-colored imaging area.
13. The detection system according to claim 8, further comprising: A second light source; The imaging module is further disposed on the optical path of the second light source; The communicator is further coupled to the second light source; The processor is further configured to: Send a second signal to the second light source through the communicator to set the second light source to be turned on; Based on the second light source being turned on, send a second imaging signal to the imaging module through the communicator to control the imaging module to image the object to be measured and generate a second image; In response to the sending of the second imaging signal, receive the second image through the communicator; Analyze foreign objects, damage, and bruises on the surface of the object to be measured according to the first image and the second image, and form a detection result of the object to be measured.
14. The detection system according to claim 13, wherein the processor is further configured to: Send a second signal to the first light source through the communicator to set the first light source to be turned off; Based on the first light source being turned off and the second light source being turned on, send a second imaging signal to the imaging module through the communicator.
15. The detection system according to claim 13, further comprising: A shielding module is disposed between the first light source and the second light source; The communicator is further coupled to the second light source and the shielding module; The processor is further configured to: Send a third signal to the shielding module through the communicator to set the shielding module to be in the first position; Based on the shielding module being in the first position, send the first signal to the first light source through the communicator to turn on the first light source; Based on the reception of the first image and the second light source being turned on, send a fourth signal to the shielding module, and the fourth signal is used to set the shielding module to be in the second position; Based on the shielding module being in the second position, send the second imaging signal to the imaging module through the communicator.
16. The detection system according to claim 13, wherein the object to be measured is the outer surface of an optical lens, the outer surface includes a transparent area and an ink area, the first light source is a white light source, and the detection result includes the foreign object condition of the transparent area and the damage condition of the ink area; the processor is further configured to: Determine a first light-colored imaging area in the first image according to the first image; Determine the foreign object condition based on the first light-colored imaging area; Determine the dark imaging area in the first image according to the first image; Determine the damage condition based on the dark imaging area.
17. The detection system according to claim 16, wherein the second light source is a parallel coaxial light source, and the detection result includes the bruise condition of the appearance surface; the processor is further configured to: Determine a second light-colored imaging area in the first image according to the first image; Determine the bruise condition based on the second light-colored imaging area.
18. A detection method comprising: Sending a first signal to a first light source through a communicator, the first light source being disposed on one side of a backlight panel, and the first signal being used to turn on the first light source; Sending a first shooting signal to a shooting module through the communicator, the shooting module being disposed on the optical path of the first light source and being used to shoot a first image of a measured object; wherein, the measured object is the appearance surface of an optical lens, and the appearance surface includes a transparent area and an ink area; Receiving the first image through the communicator in response to the sending of the first shooting signal; Analyzing at least one of foreign matters, breakages, and bruises on the surface of the measured object according to the first image to form a detection result of the measured object; wherein, the detection result of the measured object includes weak undulation defects; the weak undulation defects are defects that are smooth and unbroken on the appearance surface.
19. The detection method according to claim 18, further comprising: Determining that the position of the measured object is correct; Based on the correct position of the measured object, sending the first shooting signal to the shooting module through the communicator.
20. The detection method according to claim 19, further comprising: Controlling the shooting module to shoot a verification image based on the sending of the first signal; Determining the correct position of the measured object within the field of view of the shooting module according to the verification image; Based on the correct position of the measured object within the field of view of the shooting module, sending the first shooting signal to the shooting module.
21. The detection method according to claim 20, wherein the first light source is a white light source, the detection method is used to detect the appearance surface of an optical lens, the appearance surface includes a transparent area and an ink area, the detection result includes the foreign matter condition of the transparent area and the breakage condition of the ink area, and the step of forming the detection result of the measured object comprising: Determining a first light-colored imaging area in the first image according to the first image; Determining the foreign matter condition based on the first light-colored imaging area; Determining a dark imaging area in the first image according to the first image; Determining the breakage condition based on the dark imaging area.
22. The detection method according to claim 18, wherein the first light source is a parallel coaxial light source, the detection method is used to detect the appearance surface of an optical lens, the detection result includes the bruise condition of the appearance surface, and the step of forming the detection result of the measured object comprising: Determining a second light-colored imaging area in the first image according to the first image; Determining the bruise condition based on the second light-colored imaging area.
23. The detection method according to claim 18, further comprising: Send a second signal to the first light source and the second light source through the communicator to turn on the second light source; Based on the second light source being turned on, send a second shooting signal to the shooting module through the communicator to control the shooting module to shoot the object to be measured and generate a second image; In response to the sending of the second shooting signal, receive the second image through the communicator; Analyze foreign objects, damage, and indentation on the surface of the object to be measured based on the first image and the second image to form a detection result of the object to be measured.
24. The detection method according to claim 23, further including: Send a second signal to the first light source through the communicator to turn off the first light source; Based on the first light source being turned off and the second light source being turned on, send a second shooting signal to the shooting module through the communicator.
25. The detection method according to claim 23, further including: Send a third signal to the shielding module through the communicator to set the shielding module in the first position; Based on the shielding module being in the first position, send the first signal to the first light source through the communicator to turn on the first light source; Based on the reception of the first image and the second light source being turned on, send a fourth signal to the shielding module, and the fourth signal is used to set the shielding module in the second position; Based on the shielding module being in the second position, send the second shooting signal to the shooting module through the communicator.
26. The detection method according to claim 23, wherein the object to be measured is the appearance surface of an optical lens, the appearance surface includes a transparent area and an ink area, the first light source is a white light source, the detection result includes the foreign object condition in the transparent area and the damage condition in the ink area, and the step of forming the detection result of the object to be measured, including: Determine a first light-colored imaging area in the first image according to the first image; Based on the first light-colored imaging area, determine the foreign object condition; Determine a dark imaging area in the first image according to the first image; Based on the dark imaging area, determine the damage condition.
27. The detection method according to claim 26, wherein the second light source is a parallel coaxial light source, the detection result includes the indentation condition of the appearance surface; the step of forming the detection result of the object to be measured further includes: Determine a second light-colored imaging area in the first image according to the first image; Based on the second light-colored imaging area, determine the indentation condition.
Citation Information
Patent Citations
Automatic detecting system and method for planar substrate
CN101021490A
Optical device for detecting appearance of magnetic circuit materials
CN107966455A