Deep-learning detection and recognition based intelligent inspection method for electronic bench scale
By collecting and processing the image and depth data of the electronic bench scale through deep learning technology, and combining it with the robotic arm for unmanned verification, it solves the problem of heavy verification workload in the existing technology and realizes an efficient and automated verification process.
Patent Information
- Application Number
- PCT/CN2023/121486
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-02-21
- Filing Date
- 2023-09-26
- Publication Date
- 2024-08-29
AI Technical Summary
The existing electronic bench scale calibration workload is heavy, and it is difficult to achieve efficient verification of unmanned weighing performance, repeatability, offset load, discrimination and other properties.
Using target detection technology based on deep learning, by collecting the top image and depth data of the electronic bench scale, the scale pan detection and recognition model is used to obtain the scale pan spatial position, combined with the indication value detection and recognition model to obtain the indication value, and cooperated with the three-axis robotic arm for wireless Humanization check.
It realizes unmanned calibration of electronic bench scales, improves calibration efficiency and accuracy, and can automatically obtain test results of weighing performance, repeatability, bias load, and discrimination.
Smart Images

Figure CN2023121486_29082024_PF_FP_ABST
Abstract
Description
An intelligent calibration method for electronic table scales based on deep learning detection and recognition
[0001] The present invention claims priority to Chinese patent application No. 2023101402716, filed with the Patent Office of China on February 21, 2023, entitled “A method for intelligent calibration of electronic table scales based on deep learning detection and identification”, the entire contents of which are incorporated herein by reference. Technical Field
[0002] The present invention relates to the field of electronic table scale calibration, and in particular to an intelligent calibration method for electronic table scales based on deep learning detection and recognition. Background Art
[0003] Electronic scales are measuring instruments covered by the Metrology Law, specifically regulated by Article 42. Organizers of commodity trading venues must fulfill corresponding metrological management responsibilities. For commodities with reproducible values, certified measuring instruments that meet re-inspection requirements must be prominently displayed in commodity trading venues. Relevant national standards require performance indicators such as weighing performance, repeatability, eccentricity, and discrimination, and annual re-calibration is required. This presents a significant workload.
[0004] The present invention provides a method for intelligently sensing key information for electronic table scale calibration based on deep learning. By collecting an image of the top and depth data of the electronic table scale, using a scale pan detection and recognition model to obtain the accurate scale pan position, and collecting an image of the front of the electronic table scale, using an indication detection and recognition model to obtain the electronic table scale indication, combined with a calibration program and device, unmanned calibration of weighing performance, repeatability, overload, and discrimination can be achieved. A method and device for intelligent calibration of electronic table scales based on deep learning detection and recognition are provided. This method, developed based on deep learning target detection technology, achieves intelligent sensing of key information for electronic table scale calibration, obtains the scale pan spatial position and display device indication, and, in conjunction with a calibration device, facilitates unmanned calibration of electronic table scales.
[0005] Summary of the Invention
[0006] In order to solve the above technical problems, the purpose of the present invention is to provide an intelligent calibration method for electronic table scales based on deep learning detection and recognition. This method is developed based on deep learning target detection technology, realizes intelligent perception of key information of electronic table scale calibration, obtains the spatial position of the scale plate and the indication of the display device, cooperates with the calibration device, and helps to realize unmanned calibration of electronic table scales.
[0007] The purpose of the present invention is achieved through the following technical solutions:
[0008] An intelligent verification method for electronic table scales based on deep learning detection and recognition, comprising:
[0009] Step A collects the top image, top depth data and front image of the electronic table scale, and selects a display device for reading on the front image of the electronic table scale;
[0010] Step B: Input the top image of the electronic table scale into the scale pan detection and recognition model to obtain the scale pan target detection result. The scale pan target detection result is verified with the top depth data to obtain the scale pan spatial position and output the spatial coordinates of the four vertices of the scale pan.
[0011] Step C: Input the image of the top of the electronic table scale into the indication detection and recognition model to obtain the indication characters and positions of the display device, correct similar characters and characters with low confidence, and obtain the electronic table scale indication based on the arrangement of the horizontal coordinates of the indication characters;
[0012] In step D, unmanned verification of weighing performance, repeatability, eccentricity, and discrimination is performed based on the acquired spatial position of the scale pan and the indication of the display device, and by controlling the three-axis robotic arm to load weights.
[0013] Compared with the prior art, one or more embodiments of the present invention may have the following advantages:
[0014] An intelligent perception method for key information of electronic table scale calibration based on deep learning target detection obtains the spatial position of the scale pan and the indication of the display device, and cooperates with the calibration device to help realize unmanned calibration of electronic table scales. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1 is a flowchart of the intelligent perception method for key information of electronic table scale calibration based on deep learning;
[0016] Figures 2a and 2b are schematic diagrams of the scale pan target detection results of the scale pan detection and recognition model. DETAILED DESCRIPTION
[0017] In order to make the objectives, technical solutions and advantages of the present invention more clear, the present invention will be described in further detail below with reference to embodiments and accompanying drawings.
[0018] As shown in Figure 1, the deep learning-based intelligent perception method for key information of electronic table scale calibration includes the following steps:
[0019] Step 10: Key information for electronic platform scale calibration includes the scale pan's spatial position and the display device's indication. A depth camera is used to capture an image of the scale's top and top depth data. A color camera is used to capture an image of the scale's front. A user manually selects the display device to be read from the scale's front image.
[0020] Step 20: Input the top image of the electronic table scale into the scale pan detection and recognition model to obtain the scale pan target detection result. The scale pan target detection result is verified with the top depth data to obtain the accurate scale pan position and output the spatial coordinates of the four vertices of the scale pan.
[0021] The scale pan detection and recognition model is a deep learning target detection model, with the categories of scale pan and background. The model structure can be YOLO, SSD, Faster R-CNN, etc.
[0022] The scale pan target detection result is a rectangular bounding box of the scale pan on the image, which can be recorded in two ways: the upper left vertex of the bounding box and the length and width of the bounding box (u0, v0, w, d) or the upper left vertex and lower right vertex of the bounding box (u0, v0, u2, v2).
[0023] The verification with the top depth data is to map the rectangular bounding box of the scale plate on the image to the coordinate space of the depth data, that is, the upper left vertex and lower right vertex of the bounding box are respectively (u0, v0)→(x0, y0, z0) and (u1, v1)→(x1, y1, z1);
[0024] The scale pan is in the range of (x0,y0)→(x0,y2)→(x2,y2)→(x1,y0)→(x0,y0) in the point cloud. The depth of each point in the range is tracked to obtain the accurate scale pan position and output the spatial coordinates of the four vertices of the scale pan, namely (X0,Y0,Z0), (X1,Y1,Z1), (X2,Y2,Z2), and (X3,Y3,Z3).
[0025] As shown in Figures 2a and 2b, the top image of the electronic table scale (Figure 2a) is first input into the scale pan detection and recognition model to obtain the scale pan target detection result. The bounding box of the target detection result is slightly larger than the scale pan; the bounding box is: [452.46, 64.79, 805.03, 513.26].
[0026] The accurate position of the scale pan is obtained by verifying it with the top depth data, and the spatial coordinates of the four vertices of the scale pan are output (Figure 2b). It is also applicable to the case where the scale pan is placed offset.
[0027] Upper left vertex: [0.0436, -0.1128, 0.581]m
[0028] Lower right vertex: [0.0436, 0.0286, 0.581]m
[0029] Lower left vertex: [-0.067, 0.0286, 0.581]m
[0030] Upper right vertex: [-0.067,-0.1128,0.581]m
[0031] Step 30: Input the image of the top of the electronic table scale into the indication detection and recognition model to obtain the indication characters and positions of the display device. Two corrections are performed: non-maximum suppression of similar characters and decimal point addition of low-confidence characters. The indication characters are arranged from small to large according to their horizontal coordinates (u) to obtain the electronic table scale indication.
[0032] The indication detection and recognition model is a deep learning target detection model with 21 categories including 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0., 1., 2., 3., 4., 5., 6., 7., 8., 9., background, etc. The model structure is Faster R-CNN, etc. This method helps to accurately identify decimal points.
[0033] The target detection result of the scale is the display character and position, and two corrections are performed.
[0034] The similar characters are subjected to non-maximum suppression, that is, 10 pairs of similar characters such as 0-0., 1-1. are subjected to non-maximum suppression to prevent repeated detection.
[0035] The method of adding decimal points to characters with low confidence is to perform a decimal point adding operation on the detection results of characters with low confidence, that is, if the detection results have low confidence, 0→0., 1→1.
[0036] Arrange the horizontal coordinates (u) of the indicating characters from small to large to obtain the indication of the electronic table scale.
[0037] Step 40: The calibration program controls the three-axis robotic arm to load the weights based on the acquired spatial position of the scale pan and the indication of the display device, and performs unmanned calibration of weighing performance, repeatability, eccentricity, and discrimination according to the calibration procedures.
[0038] The calibration procedure can use the method in step 20 to obtain the spatial coordinates of the four vertices of the scale pan, thereby calculating the unbalanced load area or center of the scale pan and controlling the robotic arm to place the weights;
[0039] After loading is completed, the method in step 30 is used to obtain the indication of the electronic table scale.
[0040] According to the regulations, repeat steps 20 to 30 continuously to complete the unmanned verification of weighing performance, repeatability, overload and discrimination.
[0041] Although the embodiments disclosed herein are as described above, the contents described herein are merely embodiments for facilitating understanding of the present invention and are not intended to limit the present invention. Any person skilled in the art may make any modifications and variations in the form and details of the embodiments without departing from the spirit and scope of the present invention. However, the scope of patent protection of the present invention shall remain subject to the scope defined by the appended claims.
Claims
1. A method for intelligent perception of key information of electronic table scale calibration based on deep learning, It is characterized in that The following steps are involved: Step A collects the top image, top depth data and front image of the electronic table scale, and selects a display device for reading on the front image of the electronic table scale; Step B: Input the top image of the electronic table scale into the scale pan detection and recognition model to obtain the scale pan target detection result, verify the scale pan target detection result with the top depth data, obtain the scale pan spatial position, and output the spatial coordinates of the four vertices of the scale pan; Step C: Input the top image of the electronic table scale into the indication detection and recognition model, obtain the indication characters and positions of the display device, correct similar characters and characters with low confidence, and obtain the indication of the electronic table scale according to the arrangement of the horizontal coordinates of the indication characters; Step D performs unmanned verification of weighing performance, repeatability, eccentric load and discrimination according to the obtained spatial position of the scale pan and the indication of the display device, and by controlling the three-axis mechanical arm to load weights.
2. The method for intelligently sensing key information of electronic table scale calibration based on deep learning as claimed in claim 1, It is characterized in that In the step A, the top image and top depth data of the electronic table scale are collected by a depth camera; and the front image of the electronic table scale is collected by a color camera.
3. The method for intelligently sensing key information of electronic table scale calibration based on deep learning as claimed in claim 1, It is characterized in that In the step B, The scale plate detection and recognition model is a deep learning target detection model; The result of the pan object detection is the rectangular bounding box of the pan on the image, which can be recorded using the upper left vertex of the bounding box and the length and width of the bounding box (u 0 ,v 0 ,w,d) or the upper left and lower right vertices of the bounding box (u 0 ,v 0 ,u 2 ,v 2 ) Two ways; Verification with the top depth data is to map the rectangular bounding box of the scale plate on the image to the coordinate space of the depth data, that is, to map the upper left vertex (u 0 ,v 0 )→(x 0 ,y 0 ,z 0 )、lower right vertex (u 1 ,v 1 )→(x 1 ,y 1 ,z 1 ); The scale plate is in the point cloud (x 0 ,y 0 )→(x 0 ,y 2 )→(x 2 ,y 2 )→(x 1 ,y 0 )→(x 0 ,y 0 ) range, and follow up the depth of each point in the range to obtain the accurate position of the scale plate, and output the spatial coordinates of the four vertices of the scale plate, namely (X 0 ,Y 0 ,Z 0 )、(X 1 ,Y 1 ,Z 1 )、(X 2 ,Y 2 ,Z 2 )、(X 3 ,Y 3 ,Z 3 ).
4. The method for intelligently sensing key information of electronic table scale calibration based on deep learning as claimed in claim 1, It is characterized in that In the step C, The indication detection and recognition model is a deep learning target detection model; The target detection result of the weighing pan is the indicating character and position; The correction includes non-maximum suppression correction for similar characters and decimal point correction for low-confidence characters. The non-maximum suppression correction for similar characters is to perform non-maximum suppression correction on similar characters; the decimal point correction for low-confidence characters is to perform a decimal point correction operation on the detection result of the character with low confidence, that is, if the detection result has a low confidence, 0→0., 1→1; The horizontal coordinates of the indicating characters are arranged from small to large.
5. The method for intelligently sensing key information of electronic table scale calibration based on deep learning as claimed in claim 1, It is characterized in that In step D, the spatial coordinates of the four vertices of the scale pan are obtained by the calibration program, thereby calculating the overload area or center of the scale pan and controlling the mechanical arm to place the weights.
Citation Information
Patent Citations
Automatic calibrating device for electronic balance
CN110243452A
Balance automatic detection method and device
CN111238623A
Universal electronic platform scale calibrating device and calibrating method
CN111829640A
Electronic table scale calibrating device and calibrating method
CN111829641A
Image-based digital display instrument intelligent identification method and device
CN114241197A
