Diamond waist size detector and detection method

By designing a diamond waist code detector, using three-axis adjustment components and OCR algorithm, the problem of difficulty in focal length adjustment in traditional methods is solved, and the clarity and recognition accuracy of waist code images are improved.

CN119967283APending Publication Date: 2025-05-09CHOW SANG SANG JEWELLERY(FOSHAN) CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202510071840.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-16
Publication Date
2025-05-09

AI Technical Summary

Technical Problem

In the absence of early diamond sample data collection and analysis, traditional diamond waist code quick acquisition device is difficult to adjust to the optimal imaging focal length at one time, resulting in insufficient clarity of diamond waist code image, affecting the accuracy of waist code recognition.

Method used

A diamond waist code detector was designed to collect diamond images through the first camera, calculate the diamond diameter and crown height, and use the three-axis adjustment component to accurately adjust the position of the second camera to obtain a clear waist code image. Finally, the OCR algorithm is used for waist code recognition.

Benefits of technology

It improves the clarity of the diamond waist code image, enhances the accuracy of waist code recognition, and solves the problem of difficulty in focal length adjustment in traditional methods.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119967283A_ABST
    Figure CN119967283A_ABST
Patent Text Reader

Abstract

The invention discloses a diamond waist size detector and a detection method. The detector comprises a driver, a diamond fixing assembly, a first camera, a three-axis adjusting assembly, a second camera fixing frame, a second camera and a controller. The diamond fixing assembly is used for fixing a to-be-detected diamond, the driver is used for driving the diamond fixing assembly to rotate, and the first camera is used for collecting an image of the to-be-detected diamond; the three-axis adjusting assembly is used for adjusting the front-back, left-right and up-down movement of the second camera fixing frame, and the second camera is used for collecting a waist code image of the to-be-detected diamond; and the controller is used for calculating the diameter and crown height of the diamond according to the image of the diamond to be detected, controlling the three-axis adjusting assembly to adjust the position of the second camera according to the diameter and crown height of the diamond, and identifying the image by adopting an OCR algorithm. According to the invention, the problem of insufficient definition of the acquired diamond waist code image caused by the mode of adjusting the focal length of the camera in the diamond waist code rapid acquisition device in the absence of earlier-stage diamond sample data acquisition and analysis in the prior art is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of diamond girth code detection, in particular to a diamond girth code detection instrument and a detection method. Background Art

[0002] As an important means of diamond identification, waist code technology plays a vital role in the diamond industry. With the rapid development of automation technology, an efficient diamond waist code rapid acquisition device has been widely used in the field of diamond identification and evaluation. The device integrates components such as camera, surface light source, magnifying lens, rotating platform and screw motor focusing module to realize the automatic acquisition and processing of diamond waist code. In actual operation, the diamond sample is first placed on the rotating platform, and the surface light source is activated to illuminate the inside of the diamond. Then, the screw motor focusing module adjusts the imaging focal length to ensure that the clarity of the diamond waist image reaches the best state. Then, the rotating platform accurately locates the waist code position and displays it in the center so that the camera can accurately capture the waist code image. Finally, according to the waist code image, the image processing method is used to automatically identify the waist code. However, during the focusing process of the screw motor focusing module, due to the lack of previous diamond sample data collection and analysis, the screw motor focusing module is often difficult to adjust to the optimal imaging focal length at one time, resulting in insufficient clarity of the collected diamond waist code image, thereby affecting the accuracy of the subsequent identified diamond waist code. Summary of the invention

[0003] In view of the above defects, the present invention proposes a diamond girdle code detector and a detection method, which aims to solve the problem that in the traditional method of adjusting the focal length of the camera in the diamond girdle code rapid acquisition device in the absence of preliminary diamond sample data collection and analysis, the screw motor focusing module is often difficult to adjust to the optimal imaging focal length at one time, resulting in insufficient clarity of the collected diamond girdle code image, thereby affecting the accuracy of the subsequently identified diamond girdle code.

[0004] To achieve this object, the present invention adopts the following technical solutions:

[0005] A diamond waist code detector comprises a bottom plate, a first mounting frame, a second mounting frame, a first camera fixing frame, a driver, a diamond fixing assembly, a first camera, a first light source, a second light source, a three-axis adjustment assembly, a second camera fixing frame, a second camera and a controller, wherein the first camera comprises a first lens, and the second camera comprises a second lens;

[0006] The first mounting frame and the three-axis adjustment assembly are both mounted on the top surface of the bottom plate, the first mounting frame is located at the front side of the three-axis adjustment assembly, the driver is mounted inside the first mounting frame, the diamond fixing assembly is arranged at the driving end of the driver, the diamond fixing assembly is used to fix the diamond to be detected, and the driver is used to drive the diamond fixing assembly to rotate, the second mounting frame is mounted on the front side of the first mounting frame, the second light source is mounted on the rear side of the second mounting frame, the first camera fixing frame is mounted on the front side of the second mounting frame, the first camera is mounted on the first camera fixing frame, the first camera is located directly above the diamond fixing assembly, the first lens faces downward and is provided with the first light source, and the first camera is used to capture an image of the diamond to be detected;

[0007] The second camera fixing frame is arranged on the three-axis adjustment component, and the three-axis adjustment component is used to adjust the second camera fixing frame to move forward and backward, left and right, and up and down. The second camera is installed on the second camera fixing frame, and the second lens faces forward. The second camera is used to collect the waist code image of the diamond to be detected; the controller is installed on the top surface of the bottom plate, and the controller is used to control the switch of the first light source and the second light source, and calculate the diamond diameter and crown height according to the image of the diamond to be detected, and control the three-axis adjustment component to adjust the position of the second camera according to the diamond diameter and crown height, so as to obtain a clear waist code image of the diamond to be detected, and adopt the OCR algorithm to perform waist code recognition on the waist code image of the diamond to be detected.

[0008] Preferably, the diamond fixing assembly comprises a rotating platform, and the rotating platform is mounted on the driving end of the driver.

[0009] Preferably, the diamond fixing assembly comprises a rotating platform and a fixture, wherein the rotating platform is mounted on the driving end of the driver, and the fixture is mounted on the top surface of the rotating platform, wherein a conical groove is provided in the fixture, and the conical groove is used to place the diamond to be detected.

[0010] Preferably, the three-axis adjustment assembly includes a first screw motor module, a second screw motor module, a third screw motor module, a first moving platform and a second moving platform;

[0011] The first screw motor module is arranged on the bottom plate, the first moving platform is arranged on the bottom plate so as to be slidable forward and backward, and the first screw motor module is used to drive the first moving platform to slide forward and backward;

[0012] The second screw motor module is arranged on the first moving platform, the second moving platform is arranged on the top of the first moving platform so as to be slidable left and right, and the second screw motor module is used to drive the second moving platform to slide left and right;

[0013] The third screw motor module is arranged on the second mobile platform, and the second camera fixing frame is arranged on the top of the second mobile platform so as to be movable up and down. The third screw motor module is used to drive the second camera fixing frame to move up and down.

[0014] Preferably, the second camera fixing bracket comprises a base plate and an arc-shaped mounting plate, the top surface of the base plate is provided with an arc-shaped groove, the arc-shaped groove is arranged along the front-back direction, and the arc-shaped mounting plate is detachably mounted on the top surface of the base plate.

[0015] Another aspect of the present application provides a diamond girdle detection method, the method comprising the following steps:

[0016] Step S1: fixing the diamond to be tested on the diamond fixing assembly;

[0017] Step S2: turning on the first light source, and using the first camera to capture an image of the diamond to be inspected at a top-down angle;

[0018] Step S3: Calculating the diameter and crown height of the diamond to be tested according to the image of the diamond to be tested;

[0019] Step S4: adjusting the three-axis adjustment assembly to move the second camera forward and backward according to the diameter of the diamond to be detected, so as to adjust the distance from the second camera to the waist of the diamond to be detected;

[0020] Step S5: adjusting the three-axis adjustment assembly to move the second camera left and right, so that the imaging picture of the second camera is horizontally aligned with the center of the diamond girdle to be inspected;

[0021] Step S6: adjusting the three-axis adjustment assembly to move the second camera up and down according to the crown height of the diamond to be tested, so that the imaging image of the second camera is directly aligned with the center of the girdle of the diamond to be tested in the vertical direction;

[0022] Step S7: turning on the second light source, and starting the driver to drive the diamond fixing assembly to rotate 360°, and collecting a waist code image of the diamond to be detected at a certain angle by the second camera;

[0023] Step S8: Using an OCR algorithm to perform girth code recognition on each girth code image of the diamond to be tested, so as to identify the girth code of the diamond.

[0024] Preferably, in step S3, the crown height of the diamond to be tested is calculated, which specifically includes the following sub-steps:

[0025] Step S31: obtaining the crown height ratio of the diamond to be tested;

[0026] Step S32: Calculate the crown height of the diamond to be tested according to the diameter and crown height ratio of the diamond to be tested. The specific calculation formula is as follows:

[0027] CH = D × e;

[0028] Wherein, CH represents the crown height of the diamond to be tested; D represents the diameter of the diamond to be tested; and e represents the crown height ratio of the diamond to be tested.

[0029] Preferably, step S8 further includes the following steps: screening the text area in each waist code image of the diamond to be tested, and screening out the waist code image with the smallest distance between the text area and the image center.

[0030] The technical solution provided by the present invention may include the following beneficial effects:

[0031] Compared with the traditional method of adjusting the focal length of the camera in the diamond girdle code rapid acquisition device in the absence of preliminary diamond sample data collection and analysis, in this solution, the image of the diamond to be tested is firstly collected by the first camera, and the diameter and crown height of the diamond to be tested are calculated accordingly, and then the second camera is accurately and quickly adjusted to the best imaging position according to the diameter and crown height of the diamond to be tested, thereby improving the clarity of the collected diamond girdle code image, thereby improving the accuracy of the diamond girdle code subsequently identified. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] Figure 1 It is a structural schematic diagram of one embodiment of the present invention;

[0033] Figure 2 is a partial exploded view of one embodiment of the present invention;

[0034] Figure 3 Schematic diagram of a diamond fixing assembly according to one embodiment of the present invention.

[0035] Among them, 1. bottom plate; 2. first mounting frame; 3. second mounting frame; 4. first camera fixing frame; 5. driver; 6. diamond fixing assembly; 7. first camera; 8. first light source; 9. second light source; 10. three-axis adjustment assembly; 11. second camera fixing frame; 12. second camera; 13. diamond to be detected; 61. rotating platform; 62. fixture; 70. first lens; 101. first screw motor module; 102. second screw motor module; 103. third screw motor module; 104. first moving platform; 105. second moving platform; 111. substrate; 112. arc-shaped mounting plate; 120. second lens; 620. conical groove; 1110. arc-shaped groove. DETAILED DESCRIPTION

[0036] The technical solution of the present invention is further described below with reference to the accompanying drawings and through specific implementation methods.

[0037] In the description of the present invention, it is necessary to understand that the terms "length", "middle", "upper", "lower", "left", "right", "top", "bottom", etc. indicate orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention 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, and therefore cannot be understood as a limitation on the present invention.

[0038] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, unless otherwise specified, "plurality" means more than two.

[0039] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the terms "installation", "splicing" and "connection" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a direct connection, or an indirect connection through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0040] A diamond waist code detector includes a base plate 1, a first mounting frame 2, a second mounting frame 3, a first camera fixing frame 4, a driver 5, a diamond fixing assembly 6, a first camera 7, a first light source 8, a second light source 9, a three-axis adjustment assembly 10, a second camera fixing frame 11, a second camera 12 and a controller (not shown in the figure), wherein the first camera 7 includes a first lens 70, and the second camera 12 includes a second lens 120;

[0041] The first mounting frame 2 and the three-axis adjustment assembly 10 are both mounted on the top surface of the bottom plate 1, the first mounting frame 2 is located at the front side of the three-axis adjustment assembly 10, the driver 5 is mounted inside the first mounting frame 2, the diamond fixing assembly 6 is arranged at the driving end of the driver 5, the diamond fixing assembly 6 is used to fix the diamond 13 to be detected, and the driver 5 is used to drive the diamond fixing assembly 6 to rotate, the second mounting frame 3 is mounted on the front side of the first mounting frame 2, the second light source 9 is mounted on the rear side of the second mounting frame 3, the first camera fixing frame 4 is mounted on the front side of the second mounting frame 3, the first camera 7 is mounted on the first camera fixing frame 4, the first camera 7 is located directly above the diamond fixing assembly 6, the first lens 70 faces downward and is provided with the first light source 8, and the first camera 7 is used to capture the image of the diamond 13 to be detected;

[0042] The second camera fixing frame 15 is arranged on the three-axis adjustment component 10, and the three-axis adjustment component 10 is used to adjust the second camera fixing frame 15 to move forward and backward, left and right, and up and down. The second camera 12 is installed on the second camera fixing frame 15, and the second lens 120 faces forward. The second camera 12 is used to collect the waist code image of the diamond 13 to be detected; the controller is installed on the top surface of the bottom plate 1, and the controller is used to control the switch of the first light source 8 and the second light source 9, and calculate the diamond diameter and crown height according to the image of the diamond 13 to be detected, and control the three-axis adjustment component 10 to adjust the position of the second camera 12 according to the diamond diameter and crown height, so as to obtain a clear waist code image of the diamond 13 to be detected, and use the OCR algorithm to perform waist code recognition on the waist code image of the diamond 13 to be detected.

[0043] A diamond waist code detector of the present invention, such as Figure 1As shown, in this embodiment, the driver 5 is a motor, and the first light source 8 and the second light source 9 are both LED lights. When it is necessary to detect the girdle of a diamond, the diamond 13 to be detected is first fixed on the diamond fixing assembly 6. Then, the controller controls the first light source 8 to turn on, and the setting of the first light source 8 provides sufficient light for the subsequent imaging of the diamond 13 to be detected, thereby improving the clarity of the image of the diamond 13 to be detected. At the same time, the first camera 7 captures the image of the diamond 13 to be detected at a top-down angle. Then, the controller calculates the diameter and crown height of the diamond 13 to be detected according to the image of the diamond 13 to be detected, and controls the three-axis adjustment assembly 10 to move the second camera 12 forward and backward according to the diameter of the diamond 13 to be detected, thereby adjusting the distance from the second camera 12 to the girdle of the diamond 13 to be detected, so as to ensure the clarity of the girdle image collected subsequently. Then, the controller controls the three-axis adjustment assembly 10 to move the second camera 12 left and right, so that the imaging picture of the second camera 12 is directly opposite to the girdle center of the diamond 13 to be detected in the horizontal direction. At the same time, the controller controls the three-axis adjustment component 10 to move the second camera 12 up and down according to the crown height of the diamond 13 to be detected, so that the imaging picture of the second camera 12 is directly opposite to the girdle center of the diamond 13 to be detected in the vertical direction. By making the imaging picture of the second camera 12 directly opposite to the girdle center of the diamond 13 to be detected in the horizontal and vertical directions, it is ensured that the subsequent waist code image of the diamond 13 to be detected taken by the second camera 12 is accurate and clear. Furthermore, the controller controls the second light source 9 to turn on, and the setting of the second light source 9 can improve the clarity of the waist code image of the diamond 13 to be detected, and starts the driver 5, and the driver 5 drives the diamond fixing component 6 to rotate 360°, thereby driving the diamond 13 to be detected to rotate 360°, and the second camera 12 takes a waist code image of the diamond 13 to be detected at a certain angle. Finally, the controller uses the OCR algorithm to perform waist code recognition on each waist code image of the diamond 13 to be detected.

[0044] Compared with the traditional method of adjusting the focal length of the camera in the diamond girdle code rapid acquisition device in the absence of preliminary diamond sample data collection and analysis, in this solution, the first camera 7 is first used to collect the image of the diamond 13 to be detected, and the diameter and crown height of the diamond 13 to be detected are calculated accordingly, and then the second camera 12 is accurately and quickly adjusted to the best imaging position according to the diameter and crown height of the diamond 13 to be detected, thereby improving the clarity of the diamond girdle code image collected by it, thereby improving the accuracy of the diamond girdle code subsequently identified.

[0045] Preferably, the diamond fixing assembly 6 comprises a rotating platform 61, and the rotating platform 61 is mounted on the driving end of the driver 5. Figure 1As shown, when the diamond 13 to be tested needs to be placed and fixed with the bottom tip facing upward, it only needs to be placed in the center of the rotating platform 61.

[0046] Preferably, the diamond fixing assembly 6 comprises a rotating platform 61 and a fixture 62, wherein the rotating platform 61 is mounted on the driving end of the driver 5, and the fixture 62 is mounted on the top surface of the rotating platform 61. A conical groove 620 is provided in the fixture 62, and the conical groove 620 is used to place the diamond 13 to be detected. In one embodiment, Figure 3 As shown, when the diamond 13 to be tested needs to be placed and fixed with its bottom tip facing downward, it needs to be placed in the conical groove 620 of the fixture 62, so as to ensure that the diamond 13 to be tested with its bottom tip facing downward can be stably fixed on the rotating platform 61.

[0047] Preferably, the three-axis adjustment assembly 10 includes a first screw motor module 101, a second screw motor module 102, a third screw motor module 103, a first moving platform 104 and a second moving platform 105;

[0048] The first screw motor module 101 is disposed on the bottom plate 1, and the first moving platform 104 is slidably disposed on the bottom plate 1, and the first screw motor module 101 is used to drive the first moving platform 104 to slide forward and backward;

[0049] The second screw motor module 102 is disposed on the first moving platform 104, and the second moving platform 105 is disposed on the top of the first moving platform 104 so as to be slidable left and right. The second screw motor module 102 is used to drive the second moving platform 105 to slide left and right.

[0050] The third screw motor module 103 is disposed on the second movable platform 105 , and the second camera fixing frame 11 is movably disposed on the top of the second movable platform 105 , and the third screw motor module 103 is used to drive the second camera fixing frame 11 to move up and down.

[0051] In this embodiment, Figure 2As shown, when the second camera 12 needs to move forward and backward to adjust the focal length, the first screw motor module 101 is started, and the first screw motor module 101 drives the first moving platform 104 to move forward and backward, thereby driving the second camera 12 to move forward and backward. When the second camera 12 needs to move left and right so that its imaging picture is directly aligned with the center of the girdle of the diamond 13 to be detected in the horizontal direction, the second screw motor module 102 is started, and the second screw motor module 102 drives the second moving platform 105 to move left and right, thereby driving the second camera 12 to move left and right. When the second camera 12 needs to move left and right so that its imaging picture is directly aligned with the center of the girdle of the diamond 13 to be detected in the vertical direction, the third screw motor module 103 is started, and the third screw motor module 103 drives the second camera fixing frame 11 to move up and down, thereby driving the second camera 12 to move up and down.

[0052] Preferably, the second camera fixing bracket 11 comprises a base plate 111 and an arc-shaped mounting plate 112, the top surface of the base plate 111 is provided with an arc-shaped groove 1110, the arc-shaped groove 1110 is arranged along the front-back direction, and the arc-shaped mounting plate 112 is detachably mounted on the top surface of the base plate 111. Figure 2 As shown, the outer side surface of the second camera 12 is an arc-shaped structure. Therefore, when installing the second camera 12 on the second camera fixing frame 11, the outer side surface of the second camera 12 is first placed in the arc groove 1110 of the substrate 111, and then the arc-shaped mounting plate 112 is installed on the top surface of the substrate 111. The arc-shaped mounting plate 112 cooperates with the outer side surface of the second camera 12 to fix the second camera 12.

[0053] Another aspect of the present application provides a diamond girdle detection method, the method comprising the following steps:

[0054] Step S1: fixing the diamond 13 to be tested on the diamond fixing assembly 6;

[0055] Step S2: turning on the first light source 8, and collecting an image of the diamond 13 to be inspected from a top-down angle through the first camera 7;

[0056] Step S3: Calculating the diameter and crown height of the diamond 13 to be detected based on the image of the diamond 13 to be detected;

[0057] Step S4: According to the diameter of the diamond 13 to be inspected, adjusting the three-axis adjustment assembly 10 to move the second camera 12 forward and backward, so as to adjust the distance between the second camera 12 and the waist of the diamond 13 to be inspected;

[0058] Step S5: adjusting the three-axis adjustment assembly 10 to move the second camera 12 left and right, so that the imaging picture of the second camera 12 is horizontally aligned with the center of the girdle of the diamond 13 to be inspected;

[0059] Step S6: According to the crown height of the diamond 13 to be inspected, the three-axis adjustment assembly 10 is adjusted to move the second camera 12 up and down, so that the imaging picture of the second camera 12 is vertically aligned with the girdle center of the diamond 13 to be inspected;

[0060] Step S7: turning on the second light source 9, and starting the driver 5 to drive the diamond fixing assembly 6 to rotate 360°, and collecting a waist code image of the diamond 13 to be detected at a certain angle by the second camera 12;

[0061] Step S8: Using an OCR algorithm to perform girth code recognition on each girth code image of the diamond 13 to be detected, so as to identify the girth code of the diamond.

[0062] The present invention provides a diamond girdle code detection method, which realizes the identification of the diamond girdle code by executing steps S1-S8. Compared with the traditional method of adjusting the focal length of the camera in the diamond girdle code rapid acquisition device in the absence of preliminary diamond sample data collection and analysis, the present invention firstly collects the image of the diamond 13 to be detected by the first camera 7, and calculates the diameter and crown height of the diamond 13 to be detected based on the image, and then accurately and quickly adjusts the second camera 12 to the best imaging position according to the diameter and crown height of the diamond 13 to be detected, thereby improving the clarity of the diamond girdle code image collected by it, thereby improving the accuracy of the diamond girdle code subsequently identified.

[0063] Preferably, in step S3, the crown height of the diamond 13 to be tested is calculated, which specifically includes the following sub-steps:

[0064] Step S31: obtaining the crown height ratio of the diamond 13 to be tested;

[0065] Step S32: Calculate the crown height of the diamond 13 to be tested according to the diameter and crown height ratio of the diamond 13 to be tested. The specific calculation formula is as follows:

[0066] CH = D × e;

[0067] Wherein, CH represents the crown height of the diamond 13 to be tested; D represents the diameter of the diamond 13 to be tested; and e represents the crown height ratio of the diamond 13 to be tested.

[0068] In one embodiment, when the crown height ratio e of the diamond 13 to be tested is obtained to be 15.5% and the diameter D of the diamond 13 to be tested is calculated to be 4.5 mm, the crown height CH of the diamond 13 to be tested is calculated to be 4.5×15.5%=0.6975 mm.

[0069] Preferably, in step S8, the following step is further included: screening the text area in the waist code image of each diamond 13 to be detected, and screening out the waist code image with the smallest distance between the text area and the image center. In this embodiment, by selecting the waist code image with the smallest distance between the text area and the image center, it is helpful to increase the chance of correctly identifying the waist code and reduce the recognition errors caused by poor image quality or poor text position.

[0070] The technical principle of the present invention is described above in conjunction with specific embodiments. These descriptions are only for explaining the principle of the present invention and cannot be interpreted as limiting the scope of protection of the present invention in any way. Based on the explanations herein, those skilled in the art can associate other specific implementations of the present invention without paying creative labor, and these methods will fall within the scope of protection of the present invention.

Claims

1. A diamond girth detector, characterized by: The device comprises a bottom plate, a first mounting frame, a second mounting frame, a first camera fixing frame, a driver, a diamond fixing assembly, a first camera, a first light source, a second light source, a three-axis adjustment assembly, a second camera fixing frame, a second camera and a controller, wherein the first camera comprises a first lens, and the second camera comprises a second lens; The first mounting frame and the three-axis adjustment assembly are both mounted on the top surface of the bottom plate, the first mounting frame is located at the front side of the three-axis adjustment assembly, the driver is mounted inside the first mounting frame, the diamond fixing assembly is arranged at the driving end of the driver, the diamond fixing assembly is used to fix the diamond to be detected, and the driver is used to drive the diamond fixing assembly to rotate, the second mounting frame is mounted on the front side of the first mounting frame, the second light source is mounted on the rear side of the second mounting frame, the first camera fixing frame is mounted on the front side of the second mounting frame, the first camera is mounted on the first camera fixing frame, the first camera is located directly above the diamond fixing assembly, the first lens faces downward and is provided with the first light source, and the first camera is used to capture an image of the diamond to be detected; The second camera fixing frame is arranged on the three-axis adjustment assembly, and the three-axis adjustment assembly is used to adjust the second camera fixing frame to move forward and backward, left and right, and up and down. The second camera is installed on the second camera fixing frame, and the second lens faces forward. The second camera is used to collect the waist code image of the diamond to be detected; The controller is mounted on the top surface of the bottom plate, and is used to control the switching of the first light source and the second light source, and calculate the diamond diameter and crown height according to the image of the diamond to be detected, and control the three-axis adjustment component to adjust the position of the second camera according to the diamond diameter and crown height, so as to obtain a clear waist code image of the diamond to be detected, and use the OCR algorithm to identify the waist code of the waist code image of the diamond to be detected.

2. A diamond girth detector according to claim 1, characterized in that: The diamond fixing assembly includes a rotating platform, and the rotating platform is mounted on the driving end of the driver.

3. A diamond girth detector according to claim 1, characterized in that: The diamond fixing assembly comprises a rotating platform and a fixture, wherein the rotating platform is mounted on the driving end of the driver, and the fixture is mounted on the top surface of the rotating platform. A conical groove is arranged in the fixture, and the conical groove is used to place the diamond to be detected.

4. A diamond girth detector according to claim 1, characterized in that: The three-axis adjustment assembly includes a first screw motor module, a second screw motor module, a third screw motor module, a first moving platform and a second moving platform; The first screw motor module is arranged on the bottom plate, the first moving platform is arranged on the bottom plate so as to be slidable forward and backward, and the first screw motor module is used to drive the first moving platform to slide forward and backward; The second screw motor module is arranged on the first moving platform, the second moving platform is arranged on the top of the first moving platform so as to be slidable left and right, and the second screw motor module is used to drive the second moving platform to slide left and right; The third screw motor module is arranged on the second mobile platform, and the second camera fixing frame is arranged on the top of the second mobile platform so as to be movable up and down. The third screw motor module is used to drive the second camera fixing frame to move up and down.

5. The diamond girth detector according to claim 1, characterized in that: The second camera fixing bracket includes a base plate and an arc-shaped mounting plate. The top surface of the base plate is provided with an arc-shaped groove, the arc-shaped groove is arranged along the front-back direction, and the arc-shaped mounting plate is detachably mounted on the top surface of the base plate.

6. A diamond girth code detection method, applied to the diamond girth code detection instrument as claimed in any one of claims 1 to 5, characterized in that: The method comprises the following steps: Step S1: fixing the diamond to be tested on the diamond fixing assembly; Step S2: turning on the first light source, and using the first camera to capture an image of the diamond to be inspected at a top-down angle; Step S3: Calculating the diameter and crown height of the diamond to be tested according to the image of the diamond to be tested; Step S4: adjusting the three-axis adjustment assembly to move the second camera forward and backward according to the diameter of the diamond to be detected, so as to adjust the distance from the second camera to the waist of the diamond to be detected; Step S5: adjusting the three-axis adjustment assembly to move the second camera left and right, so that the imaging picture of the second camera is horizontally aligned with the center of the diamond girdle to be inspected; Step S6: adjusting the three-axis adjustment assembly to move the second camera up and down according to the crown height of the diamond to be tested, so that the imaging image of the second camera is directly aligned with the center of the girdle of the diamond to be tested in the vertical direction; Step S7: turning on the second light source, and starting the driver to drive the diamond fixing assembly to rotate 360°, and collecting a waist code image of the diamond to be detected at a certain angle by the second camera; Step S8: Using an OCR algorithm to perform girth code recognition on each girth code image of the diamond to be tested, so as to identify the girth code of the diamond.

7. A diamond girdle detection method according to claim 6, characterized in that: In step S3, the crown height of the diamond to be tested is calculated, which specifically includes the following sub-steps: Step S31: obtaining the crown height ratio of the diamond to be tested; Step S32: Calculate the crown height of the diamond to be tested according to the diameter and crown height ratio of the diamond to be tested. The specific calculation formula is as follows: CH = D × e; Wherein, CH represents the crown height of the diamond to be tested; D represents the diameter of the diamond to be tested; and e represents the crown height ratio of the diamond to be tested.

8. A diamond girdle detection method according to claim 6, characterized in that: In step S8, the following steps are also included: The text area in each girdle code image of the diamond to be tested is screened, and the girdle code image with the smallest distance between the text area and the image center is screened out.

Citation Information

Patent Citations

  • Diamond waist size rapid acquisition device and method

    CN111340017A

  • Diamond waistline observer and observation method

    CN111707666A

  • System and method for grading clarity of gemstones

    US20240255434A1