Detection device and control method thereof

The lens detection system is calibrated through the base and cylinder structure of the detection device, so that the camera center, the lens imaging center and the target center are coaxial, ensuring that the target surface is perpendicular to the camera imaging visual axis, solving the problem of insufficient calibration in the prior art , improves the accuracy of the test results.

CN119164608APending Publication Date: 2024-12-20QINGDAO HISENSE INTELLIGENT MEDICAL TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310738626.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-06-20
Publication Date
2024-12-20

AI Technical Summary

Technical Problem

The existing lens detection system lacks reasonable and convenient calibration methods, resulting in uncoordinated camera center, lens imaging center and target center, and the target surface is not perpendicular to the camera imaging visual axis, affecting the reference significance of the detection results.

Method used

Provide a detection device and control method, including a base and a cylinder structure, by embedding the mating peripheral surface of the base into the camera's mirror ring, and fitting the alignment apex of the cylinder structure with the target center point, so as to make the camera's The imaging visual axis is located at the center point of the target. By bonding the base to the target, the imaging visual axis of the camera is located at the plane where the target is located, realizing the coaxial of the camera center, the lens imaging center and the target center, and ensuring the target surface where the target is located The camera imaging vision axis is vertical.

Benefits of technology

Effective calibration of the lens detection system is realized, making the camera center, lens imaging center and target center coaxial, and the target surface is perpendicular to the camera imaging visual axis, improving the reference significance and accuracy of the detection results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119164608A_ABST
    Figure CN119164608A_ABST
Patent Text Reader

Abstract

The invention discloses a detection device and a control method of the detection device. The detection device comprises a base and a cylinder structure. After the cylinder structure is connected with the base, the matching circumferential surface of the base is embedded in a lens ring of the camera, and the alignment vertex of the cylinder structure is attached to the center point of the target, so that the imaging visual axis of the camera is located at the center point of the target. In addition, the base is attached to the target, and the alignment vertex of the cylinder structure is attached to the lens of the camera, so that the imaging visual axis of the camera is located on the plane where the target is located. Through the process, the lens detection system can be calibrated, so that the center of the camera, the imaging center of the lens and the center of the target are coaxial, and the plane where the target is located is perpendicular to the imaging visual axis of the camera.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of lens detection, and in particular to a detection device and a control method for the detection device. Background Art

[0002] Medical lenses have extremely high standards for imaging accuracy. Before leaving the factory, the lens imaging effect must be tested based on the lens detection system, and then the lens is judged whether it meets the factory requirements based on the test results. In order to facilitate subsequent handling and adjustment, the current lens detection system is mostly assembled in a detachable manner. For example, the camera used to obtain the lens imaging results can be removed from the camera bracket, and the position and angle of the camera bracket can be adjusted at will.

[0003] The industry standard lens inspection rules require that during the lens inspection process, the camera center, lens imaging center and target center are coaxial, and the target surface is perpendicular to the camera imaging visual axis. When the lens inspection system does not meet the above requirements, the inspection results obtained are strictly speaking not meaningful for reference. However, there is currently a lack of reasonable and convenient ways to calibrate the lens inspection system so that it can meet the above requirements during lens inspection. Summary of the invention

[0004] The embodiments of the present application provide a detection device and a control method for the detection device, which are used to calibrate a lens detection system so that the camera center, the lens imaging center and the target center are coaxial, and the target surface is perpendicular to the camera imaging visual axis.

[0005] To achieve the above purpose, the technical solution of the embodiment of the present application is implemented as follows:

[0006] In a first aspect, an embodiment of the present application provides a detection device, the detection device is used to calibrate a camera and a target of a lens detection system, the device comprising a base and a column structure;

[0007] The base is provided with a matching circumferential surface adapted to the lens ring of the camera, and a connection port for connecting to the column structure is provided at the center of one end away from the matching circumferential surface;

[0008] The column structure is provided with an alignment vertex at one end away from the base; the column structure is used to make the imaging visual axis of the camera be located at the center point of the target by embedding the matching circumference of the base into the lens ring of the camera and fitting the alignment vertex with the center point of the target after being connected to the base;

[0009] The column structure is also used to fit the base to the target and fit the alignment vertex to the lens of the camera after connecting the base, so that the imaging visual axis of the camera is located in the plane where the target is located.

[0010] In some possible embodiments, the detection device further includes a verification component; the verification component includes a bracket, a drive motor, a loading surface and an image acquisition device;

[0011] A through hole adapted to the column structure is provided at a designated position of the bracket, and the through hole is used to fix the bracket to the column structure;

[0012] The driving motor and the loading surface are both fixed to the bracket, and the driving motor is used to drive the loading surface to rotate along a specified direction;

[0013] The image acquisition device is fixed to the object loading surface and is used for acquiring images of the target during the rotation of the object loading surface.

[0014] In some possible embodiments, the driving motor and the loading surface are fixed on two sides of the bracket, and the image acquisition device is fixed on a side of the loading surface away from the driving motor.

[0015] In some possible embodiments, the verification component further includes a light source and a photometric probe;

[0016] The light source and the photometric probe are both fixed on a side of the object-carrying surface away from the driving motor; the photometric probe is used to detect the light transmittance intensity of the light emitted by the light source during the rotation of the object-carrying surface.

[0017] In some possible embodiments, the detection device further includes a bayonet structure surrounding the column structure;

[0018] Wherein, the bayonet structure moves on the column structure when the bayonet is opened, and is fixed on the column structure when the bayonet is closed.

[0019] In a second aspect, an embodiment of the present application provides a control method for a detection device, which is applied to the detection device described in the first aspect, and the method includes:

[0020] In response to the detection instruction, fixing the column structure connected to the base to a carrying platform for carrying the lens to be tested in the calibration lens detection system;

[0021] The matching circumference of the base is embedded in the lens ring of the camera and the alignment vertex is aligned with the center point of the target, so that the imaging visual axis of the camera is located at the center point of the target;

[0022] The current positions of the camera and the target are fixed, and the position of the column structure on the support platform is adjusted to fit the alignment vertex with the lens of the camera and the base with the target, so that the imaging visual axis of the camera relative to the target is perpendicular to the plane where the target is located.

[0023] In some possible embodiments, whether the alignment vertex is aligned with the center point of the target is determined by:

[0024] Power on and enable the verification component, receive the video frame images acquired by the image acquisition device at different positions relative to the target, and determine the interval distance between the alignment vertex and the center point of the target in the video frame image;

[0025] Whether the alignment vertex is aligned with the center point of the target is determined according to a comparison result of the spacing distance and the spacing threshold.

[0026] In some possible embodiments, whether the base is in contact with the target is determined by:

[0027] Powering on and enabling the verification component to receive the light transmission intensity detected by the photometric probe at different positions relative to the target;

[0028] Whether the base is in contact with the target is determined based on a comparison result between the light transmittance and the light threshold.

[0029] In some possible embodiments, the method further includes fixing the column structure connected to the base in front of a supporting platform for supporting the lens to be tested in the calibration lens detection system:

[0030] The position of the bayonet structure on the column structure is adjusted according to the imaging distance calibrated by the lens to be tested during the testing phase, so that the distance from the side of the bayonet structure adjacent to the base to the alignment vertex is the imaging distance.

[0031] In some possible embodiments, the step of fixing the column structure connected to the base to a support platform for supporting the lens to be tested in the calibration lens detection system includes:

[0032] The side of the bayonet structure adjacent to the base is fixed to the side of the supporting platform away from the camera.

[0033] In a third aspect, an embodiment of the present application provides a control device for a detection device, including a data transmission unit and a controller;

[0034] The data transmission unit is used to receive a detection indication;

[0035] The controller is used to fix the column structure connected to the base on the support platform for supporting the lens to be tested in the calibration lens detection system in response to the detection instruction;

[0036] The matching circumference of the base is embedded in the lens ring of the camera and the alignment vertex is aligned with the center point of the target, so that the imaging visual axis of the camera is located at the center point of the target;

[0037] The current positions of the camera and the target are fixed, and the position of the column structure on the support platform is adjusted to fit the alignment vertex with the lens of the camera and the base with the target, so that the imaging visual axis of the camera relative to the target is perpendicular to the plane where the target is located.

[0038] In some possible embodiments, whether the alignment vertex is aligned with the center point of the target is determined by:

[0039] Power on and enable the verification component, receive the video frame images acquired by the image acquisition device at different positions relative to the target, and determine the interval distance between the alignment vertex and the center point of the target in the video frame image;

[0040] Whether the alignment vertex is aligned with the center point of the target is determined according to a comparison result of the spacing distance and the spacing threshold.

[0041] In some possible embodiments, whether the base is in contact with the target is determined by:

[0042] Powering on and enabling the verification component to receive the light transmission intensity detected by the photometric probe at different positions relative to the target;

[0043] Whether the base is in contact with the target is determined based on a comparison result between the light transmittance and the light threshold.

[0044] In some possible embodiments, before fixing the column structure connected to the base to a support platform for supporting the lens to be tested in the calibration lens detection system, the controller is further configured to:

[0045] The position of the bayonet structure on the column structure is adjusted according to the imaging distance calibrated by the lens to be tested during the testing phase, so that the distance from the side of the bayonet structure adjacent to the base to the alignment vertex is the imaging distance.

[0046] In some possible embodiments, the step of fixing the column structure connected to the base to a carrier platform for carrying the lens to be tested in the calibration lens detection system is performed, and the controller is further configured to:

[0047] The side of the bayonet structure adjacent to the base is fixed to the side of the supporting platform away from the camera.

[0048] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a computer, the computer executes any one of the methods described in the second aspect.

[0049] In a fifth aspect, an embodiment of the present application provides a computer program product, comprising: a computer program code, when the computer program code is run on a computer, the computer executes any one of the methods described in the second aspect.

[0050] The detection device of the embodiment of the present application is configured such that after the column structure is connected to the base, the matching circumference of the base is embedded in the lens ring of the camera, and the alignment vertex of the column structure is aligned with the center point of the target so that the imaging visual axis of the camera is located at the center point of the target. Furthermore, the base is aligned with the target and the alignment vertex of the column structure is aligned with the lens of the camera so that the imaging visual axis of the camera is located in the plane where the target is located. The above process can realize the calibration of the lens detection system, so that the camera center, the lens imaging center and the target center are coaxial and the target surface is perpendicular to the camera imaging visual axis.

[0051] Other features and advantages of the present application will be described in the subsequent description, and partly become apparent from the description, or be understood by practicing the present disclosure. The purpose and other advantages of the present application can be realized and obtained by the structures specifically pointed out in the written description, claims, and drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0052] Figure 1 A schematic diagram of the structure of a lens detection system 100 provided in an embodiment of the present application;

[0053] Figure 2 A schematic diagram of lens detection requirements provided in an embodiment of the present application;

[0054] Figure 3 A schematic diagram of the structure of a detection device 200 provided in an embodiment of the present application;

[0055] Figure 4 A schematic diagram of the connection method between the base and the camera provided in an embodiment of the present application;

[0056] Figure 5 A schematic diagram of the structure of the verification component 300 provided in an embodiment of the present application;

[0057] Figure 6 Another schematic diagram of the structure of the verification component 300 provided in the embodiment of the present application;

[0058] Figure 7 An overall flow chart of a control method for a detection device provided in an embodiment of the present application;

[0059] Figure 8 A schematic diagram of a verification component provided in an embodiment of the present application being fixed to a detection device;

[0060] Fig. 9 A schematic diagram of the imaging distance of the lens to be tested provided in an embodiment of the present application;

[0061] Fig.10 A schematic diagram of the height of the imaging visual axis of the lens to be tested relative to the ground provided in an embodiment of the present application;

[0062] Fig.11 A schematic diagram of the height of the center of the detection device provided in an embodiment of the present application relative to the ground;

[0063] Fig.12 A schematic diagram of determining whether the alignment vertex and the target center are aligned with each other provided in an embodiment of the present application;

[0064] Fig.13 A schematic diagram of the central coaxial structure provided in an embodiment of the present application;

[0065] Fig.14 A schematic diagram of a surface where the imaging visual axis of the detection camera provided in an embodiment of the present application is perpendicular to the target;

[0066] Fig.15 A schematic diagram of target movement provided in an embodiment of the present application;

[0067] Fig.16 A structural diagram in which the imaging visual axis provided in the embodiment of the present application is not perpendicular to the surface where the target is located;

[0068] Fig.17 A schematic diagram of determining whether the base and the target surface are in contact with each other provided in an embodiment of the present application;

[0069] Fig.18 A schematic diagram of the structure of a control device of a detection device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0070] In order to make the purpose, technical scheme and advantages of the present application clearer, the technical scheme in the embodiment of the present application will be clearly and completely described below in conjunction with the drawings in the embodiment of the present application. Obviously, the described embodiment is only a part of the embodiment of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present application. In the absence of conflict, the embodiments in the present application and the features in the embodiments can be arbitrarily combined with each other. In addition, although the logical order is shown in the flow chart, in some cases, the steps shown or described can be performed in an order different from that here.

[0071] The terms "first" and "second" in the specification and claims of the present application and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the term "comprising" and any of their variations are intended to cover non-exclusive protection. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but optionally also includes steps or units that are not listed, or optionally also includes other steps or units inherent to these processes, methods, products or devices. "Multiple" in the present application can mean at least two, for example, two, three or more, and the embodiments of the present application are not limited.

[0072] To facilitate understanding of the technical solution provided in the embodiment of the present application, the lens detection system is briefly introduced below. Figure 1 As shown:

[0073] Figure 1 The lens detection system 100 shown includes a camera 101 for obtaining imaging results of the lens to be tested, a camera supporting platform 102 for carrying the camera, a lens to be tested 103, a lens supporting platform 104 for carrying the lens to be tested, a target 105 for imaging the lens to be tested, and a target supporting platform 106 for carrying the target.

[0074] During the process of inspecting the lens 103 to be tested by the lens inspection system 100, the lens 103 to be tested needs to be fixed on the lens support platform 104 first, and the end of the lens 103 to be tested used for collecting images is brought close to the center of the target and the end of the lens 103 to be tested used for imaging is brought close to the camera 101, so that the camera 101 collects the imaging results of the lens 103 to be tested for the target 105 and sends them to an external device 107 such as a mobile phone or a computer for relevant personnel to view.

[0075] The placement position and placement angle of each support platform component (102, 104 and 106) in the lens detection system 100 are movable. Figure 2 As shown in the figure, the industry standard lens detection rules require that during the lens detection process, the camera center, lens imaging center and target center are coaxial, and the target surface is perpendicular to the camera imaging visual axis. When the lens detection system does not meet the above requirements, the detection results obtained are strictly speaking not meaningful for reference. However, there is currently a lack of reasonable and convenient ways to calibrate the lens detection system so that it can meet the above requirements during lens detection.

[0076] In order to solve the above problems, the present application provides a detection device including a base and a column structure. After the column structure is connected to the base, the matching circumference of the base is embedded in the lens ring of the camera, and the alignment vertex of the column structure is aligned with the center point of the target so that the imaging visual axis of the camera is located at the center point of the target. Furthermore, the base is aligned with the target and the alignment vertex of the column structure is aligned with the lens of the camera so that the imaging visual axis of the camera is located in the plane where the target is located. The above process can realize the calibration of the lens detection system, so that the camera center, the lens imaging center and the target center are coaxial and the target surface is perpendicular to the camera imaging visual axis.

[0077] Figure 3 A schematic diagram of the structure of a detection device 200 provided in an embodiment of the present application is shown. Figure 3 As shown, the detection device 200 includes a base 201 and a column structure 202 .

[0078] The base 201 is provided with a matching circumference surface adapted to the lens ring of the camera, and a connection port for connecting to the column structure 202 is provided at the center of one end away from the matching circumference surface; the column structure 202 is provided with an alignment vertex 203 at one end away from the connection with the base 201. The alignment vertex is located on the center line of the column structure 202, and the vertex surface area of ​​the alignment vertex 203 is determined according to the target center point, and specifically, the vertex surface area can be set to be the same as the area of ​​the target center point.

[0079] During the lens detection process, lenses of different sizes are required to capture the imaging results of the lens, so interchangeable lens cameras are mostly used in lens imaging detection. The base 201 in the embodiment of the present application is configured as follows Figure 4 The base 201 is cylindrical or conical, and one side of the base 201 is provided with a matching circumferential surface adapted to the lens ring, and the matching circumferential surface can be embedded in the lens of the camera.

[0080] In some possible embodiments, in order to avoid scratching the lens and prevent deformation of various components of the detection device 200, the base 201, the column structure 202 and the alignment vertex 203 are all made of synthetic rubber materials such as propyl cyanide and polyurethane.

[0081] The base 201 in the embodiment of the present application has a connection port for connecting to the column structure 202 at the center of one end away from the mating circumference. The connection port can be an embedded interface or a threaded interface, which is not limited in the present application.

[0082] At present, the industry has set up strict public testing standards for the lens testing process, which stipulates multiple parameters such as camera lens size, lens imaging distance, etc. Based on the testing standards, the embodiment of the present application sets bases 201 of various sizes to adapt to camera lenses of various sizes specified in the standards. Therefore, the lens testing system can be calibrated by the testing device 200 before the lens testing and after each replacement of the camera lens during the testing process.

[0083] In some possible embodiments, the detection device 200 further includes a bayonet structure 204 surrounding the column structure 202. The bayonet structure 204 moves on the column structure 202 when the bayonet is opened, and is fixed on the column structure 202 when the bayonet is closed.

[0084] The detection device 200 of the embodiment of the present application further includes a verification component 300, specifically as follows Figure 5 As shown, the verification assembly 300 includes a bracket 301, a drive motor 302, a loading surface 303 and an image acquisition device 304;

[0085] The driving motor 302 and the loading surface 303 are both fixed on the bracket 301, and the driving motor 302 is used to drive the loading surface 303 to rotate in a specified direction. The image acquisition device 304 is fixed on the loading surface 303 and is used to acquire images of the target during the rotation of the loading surface 303.

[0086] In some possible embodiments, the driving motor 302 and the object loading surface 303 are fixed on two sides of the bracket 301 , and the image acquisition device is fixed on a side of the object loading surface 303 away from the driving motor 302 .

[0087] In some possible embodiments, the bracket 301 is provided with a through hole adapted to the column structure 202 at a specified position, and the through hole is used to fix the bracket 301 to the column structure 202. Figure 6 As shown, the bracket 301 of the embodiment of the present application is a floor-standing bracket, the loading surface 303 is a rotatable turntable structure, and a through hole compatible with the bracket 301 is provided at the center of the turntable. Thus, the column structure 202 is passed through the bracket 301 and the through hole at the center of the loading surface to fix the verification component 300 on the detection device 200.

[0088] As mentioned above Figure 5 As shown, the verification component 300 of the embodiment of the present application further includes a light source 305 and a photometric probe 306. The light source 305 and the photometric probe 306 are both fixed on the side of the object-carrying surface 303 away from the driving motor 302. The photometric probe 306 is used to detect the light transmission intensity of the light emitted by the light source 305 during the rotation of the object-carrying surface 303.

[0089] After introducing the detection device 200 provided in the embodiment of the present application through the above content, the following is how to control the detection device 200 to the aforementioned Figure 1 The lens detection system 100 shown is calibrated for explanation. Figure 7 As shown, Figure 7 The overall process of a control method of a detection device provided in an embodiment of the present application is shown, including:

[0090] Step 701: In response to a detection instruction, a column structure connected to a base is fixed to a support platform for supporting a lens to be tested in the calibration lens detection system;

[0091] During implementation, the base 201 adapted to the lens ring is determined according to the lens size of the camera 101 in the lens detection system 100. Figure 8 As shown, the base 201 is connected to the column structure 202 and fixed on the lens support platform 104 for supporting the lens 103 to be tested in the calibration lens detection system 100. The column structure 202 is passed through the through holes of the bracket 301 and the support plate 303 in the calibration assembly 300, so that the detection device 300 is fixed on the column structure 202.

[0092] As mentioned above, the current industry inspection standards for lens inspection processes specify the imaging distance of the lens. Fig. 9 As shown, the position of the bayonet structure 204 on the column structure 202 is adjusted according to the known imaging distance L1, and the side of the bayonet structure 204 adjacent to the base 201 is fixed to the side of the lens support platform 104 away from the camera 101, so that the distance from the side of the bayonet structure 204 adjacent to the base 201 to the alignment vertex 203 is the imaging distance L1.

[0093] In this way, after the calibration of the lens detection system 100 is completed, Fig. 9 As shown in FIG. 1 , by fixing the end of the lens 104 to be tested used for imaging on the edge of one side of the lens support platform 104 close to the camera 101 , the imaging distance requirement for the lens 104 to be tested can be achieved.

[0094] In some possible embodiments, in order to ensure that the camera center, the lens imaging center and the target center of the lens detection system 100 are coaxial, the embodiment of the present application fixes the lens 103 to be tested on the lens support platform 104 in advance before executing step 701 to determine the position of the imaging visual axis of the lens to be tested. Fig.10 As shown, the lens 103 to be tested is fixed on the lens support platform 104 in advance, and the height L2 of the imaging visual axis of the lens 103 to be tested relative to the ground is determined.

[0095] Next, Fig.11As shown, the detection device 200 is fixed on the lens support platform 104 to determine the height L3 of the center of the current column structure 202 relative to the ground. Then, according to the difference between L2 and L3, the height of the lens support platform 104 is adjusted to make the height of the center of the column structure 202 relative to the ground reach . In this way, it can be ensured that the center point of the column structure 202 is located on the plane where the imaging visual axis of the lens 103 to be tested is located.

[0096] Step 702: embed the matching circumference of the base into the lens ring of the camera and fit the alignment vertex with the center point of the target, so that the imaging visual axis of the camera is located at the center point of the target;

[0097] During implementation, the camera platform 102 is controlled to move to the side of the base 201 away from the target 105, the matching circumference of the base 201 is embedded in the lens ring of the camera 101, and the current position of the camera platform 102 is fixed.

[0098] Next, the target carrier 106 is controlled to move to the alignment vertex 203, so that the target center point is aligned with the alignment vertex 203. When implementing, the drive motor 302 of the verification component 300 needs to be powered on to control the carrier surface 303 to rotate clockwise. Fig.12 As shown, during the rotation of the carrying surface 303 , the image acquisition device 304 fixed on the carrying surface 303 will acquire images of the target center point at preset time intervals.

[0099] The image acquisition device 304 sends the video frame images acquired at different positions relative to the target 105 to the external device 107 for image recognition, and obtains the interval distance between the alignment vertex 203 and the center point of the target 105 in the video frame image. Therefore, it can be determined whether the alignment vertex 203 and the center point of the target 105 are aligned based on the comparison result of the interval distance and the spacing threshold.

[0100] Specifically, a general adjustment algorithm can be configured in the external device 107 to set the adjustment strategy of the target 105 according to the comparison result of the interval distance and the spacing threshold, and the position of the target 105 relative to the alignment vertex 203 can be adjusted by moving the target carrier 106 so that the alignment vertex 203 can be aligned with the target center point.

[0101] As described above, the center of the end of the base 201 away from the mating surface is provided with a connection port for connecting to the column structure 202, that is, when the base 201 is connected to the column structure 202, the center points of the base 201 and the column structure 202 are coaxial. In addition, since the alignment vertex 203 is located on the center line of the column structure 202, Fig.13As shown, through the above process, the lens center of the camera 101 and the target center aligned with the alignment vertex 203 can be coaxial with the center of the column structure 202. That is, at this time, the camera center, the lens imaging center and the target center in the lens detection device 100 are coaxial.

[0102] Step 703: Fix the current positions of the camera and the target, and adjust the position of the column structure on the support platform to align the alignment vertex with the lens of the camera and the base with the target, so that the imaging axis of the camera relative to the target is perpendicular to the plane where the target is located.

[0103] Specific as Fig.14 As shown, after the camera center, the lens imaging center and the target center are determined to be coaxial through the aforementioned process, the camera 101 is controlled to translate a certain distance away from the base 201 to release the state in which the base 201 is embedded in the lens ring. Further, the fixed position of the detection device 200 on the lens carrier 104 is adjusted (head-to-tail swapped) so that the camera 101 is aligned with the alignment vertex 203 after being reset.

[0104] The target position in the above process has not changed, so the base 201 is in contact with the target 105. However, since the target 105 can be placed on the target carrier 106 Fig.15 Therefore, although the adjustment in step 702 can make the imaging axis of the camera be located at the center of the target, it cannot ensure that the imaging axis of the camera 101 relative to the target 105 is perpendicular to the surface where the target is located. Fig.16 The positions of the camera 101 and the target 105 shown in the figure indicate that the camera 101 is not perpendicular to the surface where the target is located. In order to make the center of the camera relative to the target perpendicular to the surface where the target is located, it is necessary to ensure that the base 201 is closely attached to the surface where the target is located.

[0105] When implementing Fig.17 As shown, the control verification device 300 is powered on and enabled, and the light source 305 of the bearing surface 300 will emit a light beam to the base 201 during the rotation process. The photometer probe 306 performs light detection on the joint of the base 201 and the target to obtain the light transmission intensity detected by the photometer probe 306 at different positions relative to the joint of the target. Then, according to the comparison result of the light transmission intensity and the photometric threshold, it is determined whether the base 201 is in contact with the target 105. When the base 201 is in contact with the target 105, it means that the horizontal section of the base 201 is parallel to the surface where the target is located. After the adjustment of the aforementioned step 702, the imaging visual axis of the camera 101 is collinear with the center line of the column structure 202. Therefore, when the base 201 is parallel to the surface where the target is located, the center line of the column structure 202 will be perpendicular to the surface where the target is located, that is, the surface where the target is located at this time is perpendicular to the imaging visual axis of the camera.

[0106] When the light transmission intensity does not meet the light threshold requirement, it means that the base 201 and the target 105 are not tightly fitted. At this time, the target can be controlled to rotate to adjust the surface where the target is located to fit the base 201.

[0107] Therefore, the lens detection system can be calibrated through the above process, so that the camera center, the lens imaging center and the target center are coaxial and the target surface is perpendicular to the camera imaging visual axis.

[0108] Based on the same inventive concept, the present application embodiment also provides a control device 130 of a detection device, specifically as follows Fig.18 As shown, it includes: a data transmission unit 131 and a controller 132;

[0109] The data transmission unit 131 is used to receive a detection instruction;

[0110] The controller 132 is used to fix the column structure connected to the base on the support platform for supporting the lens to be tested in the calibration lens detection system in response to the detection instruction;

[0111] The matching circumference of the base is embedded in the lens ring of the camera and the alignment vertex is aligned with the center point of the target, so that the imaging visual axis of the camera is located at the center point of the target;

[0112] The current positions of the camera and the target are fixed, and the position of the column structure on the support platform is adjusted to fit the alignment vertex with the lens of the camera and the base with the target, so that the imaging visual axis of the camera relative to the target is perpendicular to the plane where the target is located.

[0113] In some possible embodiments, whether the alignment vertex is aligned with the center point of the target is determined by:

[0114] Power on and enable the verification component, receive the video frame images acquired by the image acquisition device at different positions relative to the target, and determine the interval distance between the alignment vertex and the center point of the target in the video frame image;

[0115] Whether the alignment vertex is aligned with the center point of the target is determined according to a comparison result of the spacing distance and the spacing threshold.

[0116] In some possible embodiments, whether the base is in contact with the target is determined by:

[0117] Powering on and enabling the verification component to receive the light transmission intensity detected by the photometric probe at different positions relative to the target;

[0118] Whether the base is in contact with the target is determined based on a comparison result between the light transmittance and the light threshold.

[0119] In some possible embodiments, before fixing the column structure connected to the base on a support platform for supporting the lens to be tested in the calibration lens detection system, the controller 132 is further configured to:

[0120] The position of the bayonet structure on the column structure is adjusted according to the imaging distance calibrated by the lens to be tested during the testing phase, so that the distance from the side of the bayonet structure adjacent to the base to the alignment vertex is the imaging distance.

[0121] In some possible embodiments, the controller 132 is further configured to:

[0122] The side of the bayonet structure adjacent to the base is fixed to the side of the supporting platform away from the camera.

[0123] In an exemplary embodiment, a computer-readable storage medium including instructions is also provided, such as a memory 132 including instructions, and the instructions can be executed by the processor 131 of the above device to complete the above method. Alternatively, the computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0124] In an exemplary embodiment, a computer program product is also provided, including a computer program / instruction, and when the computer program / instruction is executed by the processor 131, any method in the control method of a detection device provided in the present application is implemented.

[0125] In an exemplary embodiment, various aspects of a control method for a detection device provided in the present application can also be implemented in the form of a program product, which includes a program code. When the program product is run on a computer device, the program code is used to enable the computer device to execute the steps of a control method for a detection device according to various exemplary embodiments of the present application described above in this specification.

[0126] The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination thereof. More specific examples of readable storage media (a non-exhaustive list) include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof.

[0127] The program product for controlling the detection device of the embodiment of the present application can adopt a portable compact disk read-only memory (CD-ROM) and include program code, and can be run on the control device. However, the program product of the present application is not limited to this. In this document, the readable storage medium can be any tangible medium containing or storing a program, which can be used by or in combination with an instruction execution system, an apparatus or a device.

[0128] A readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, wherein readable program code is carried. Such propagated data signals may take a variety of forms, including, but not limited to, electromagnetic signals, optical signals, or any suitable combination of the foregoing. A readable signal medium may also be any readable medium other than a readable storage medium, which may transmit, propagate, or transfer a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0129] The program code embodied on the readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.

[0130] The program code for performing the operations of the present application can be written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Java, C++, etc., and also conventional procedural programming languages ​​such as language or similar programming languages. The program code can be executed entirely on the user control device, partially on the user device, as a separate software package, partially on the user control device and partially on the remote control device, or entirely on the remote control device or server. In the case of a remote control device, the remote control device can be connected to the user control device through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external control device (for example, using an Internet service provider to connect through the Internet).

[0131] It should be noted that, although several units or subunits of the device are mentioned in the above detailed description, this division is merely exemplary and not mandatory. In fact, according to the embodiments of the present application, the features and functions of two or more units described above can be embodied in one unit. Conversely, the features and functions of one unit described above can be further divided into multiple units to be embodied.

[0132] In addition, although the operations of the method of the present application are described in a specific order in the drawings, this does not require or imply that the operations must be performed in this specific order, or that all the operations shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps.

[0133] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0134] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable image scaling device to produce a machine, so that the instructions executed by the processor of the computer or other programmable image scaling device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0135] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable image scaling device to operate in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, the instruction device being implemented in the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0136] These computer program instructions may also be loaded onto a computer or other programmable image scaling device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, whereby the instructions executed on the computer or other programmable device provide for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0137] Although the preferred embodiments of the present application have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present application.

[0138] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims

1. A detection device, characterized in that: The detection device is used to calibrate the camera and target of the lens detection system; the detection device includes a base and a column structure; The base is provided with a matching circumferential surface adapted to the lens ring of the camera, and a connection port for connecting to the column structure is provided at the center of one end away from the matching circumferential surface; The column structure is provided with an alignment vertex at one end away from the base; the column structure is used to make the imaging visual axis of the camera be located at the center point of the target by embedding the matching circumference of the base into the lens ring of the camera and fitting the alignment vertex with the center point of the target after being connected to the base; The column structure is also used to fit the base to the target and fit the alignment vertex to the lens of the camera after connecting the base, so that the imaging visual axis of the camera is located in the plane where the target is located.

2. The detection device according to claim 1, characterized in that: The detection device also includes a verification component; the verification component includes a bracket, a drive motor, a loading surface and an image acquisition device; A through hole adapted to the column structure is provided at a designated position of the bracket, and the through hole is used to fix the bracket to the column structure; The driving motor and the loading surface are both fixed to the bracket, and the driving motor is used to drive the loading surface to rotate along a specified direction; The image acquisition device is fixed to the object loading surface and is used for acquiring images of the target during the rotation of the object loading surface.

3. The detection device according to claim 2, characterized in that: The driving motor and the object-carrying surface are fixed on two sides of the bracket, and the image acquisition device is fixed on a side of the object-carrying surface away from the driving motor.

4. The detection device according to claim 2 or 3, characterized in that: The verification component also includes a light source and a photometric probe; The light source and the photometric probe are both fixed on a side of the object-carrying surface away from the driving motor; the photometric probe is used to detect the light transmittance intensity of the light emitted by the light source during the rotation of the object-carrying surface.

5. The detection device according to claim 1, characterized in that: The detection device also includes a bayonet structure surrounding the column structure; Wherein, the bayonet structure moves on the column structure when the bayonet is opened, and is fixed on the column structure when the bayonet is closed.

6. A control method for a detection device, characterized in that: Applied to the detection device according to any one of claims 1 to 5, the method comprises: In response to the detection instruction, fixing the column structure connected to the base to a carrying platform for carrying the lens to be tested in the calibration lens detection system; The matching circumference of the base is embedded in the lens ring of the camera and the alignment vertex is aligned with the center point of the target, so that the imaging visual axis of the camera is located at the center point of the target; The current positions of the camera and the target are fixed, and the position of the column structure on the support platform is adjusted to fit the alignment vertex with the lens of the camera and the base with the target, so that the imaging visual axis of the camera relative to the target is perpendicular to the plane where the target is located.

7. The method according to claim 6, characterized in that Determine whether the alignment vertex and the center point of the target are aligned by: Power on and enable the verification component, receive the video frame images acquired by the image acquisition device at different positions relative to the target, and determine the interval distance between the alignment vertex and the center point of the target in the video frame image; Whether the alignment vertex is aligned with the center point of the target is determined according to a comparison result of the spacing distance and the spacing threshold.

8. The method according to claim 6, characterized in that Determine whether the base and the target are in contact with each other by: Powering on and enabling the verification component to receive the light transmission intensity detected by the photometric probe at different positions relative to the target; Whether the base is in contact with the target is determined based on a comparison result between the light transmittance and the light threshold.

9. The method according to any one of claims 6 to 8, characterized in that: The method further comprises fixing the column structure connected to the base in front of a support platform for supporting the lens to be tested in the calibration lens detection system: The position of the bayonet structure on the column structure is adjusted according to the imaging distance calibrated by the lens to be tested during the testing phase, so that the distance from the side of the bayonet structure adjacent to the base to the alignment vertex is the imaging distance.

10. The method according to claim 9, characterized in that The method of fixing the column structure connected to the base on a support platform for supporting the lens to be tested in the calibration lens detection system comprises: The side of the bayonet structure adjacent to the base is fixed to the side of the supporting platform away from the camera.