This paper proposes a set of high-precision visual measurement methods to address the challenges of perspective distortion, thickness corner offset, and continuous tracking of multiple workpieces in the dynamic environment of intelligent manufacturing. In the preprocessing stage, the collected images are converted into approximately orthographic projection views through camera calibration and perspective correction. To obtain accurate edge images, this paper proposes an edge detection algorithm based on multi-scale edge fusion. By applying guided filtering to the collected images at different scales and then using dynamic Canny edge detection, the complete contour of the workpiece is obtained. To address the corner offset caused by the thickness of the workpiece, this paper proposes a high-precision corner extraction algorithm based on thickness interference elimination. By fusing sub-pixel corners and fitted corners, precise corner positioning is achieved. In addition, an object tracking algorithm is designed to match and identify the centroids of the workpieces, enabling automatic size recognition and measurement of multiple workpieces in consecutive frames. Experimental results show that this method can measure the sizes of multiple workpieces in arbitrary poses, with a mean error of 0.599 mm and a standard deviation of 0.172 mm, meeting the measurement requirements in industrial production.
| 科 Family | 属数 Number of genus | 种数 Number of species | 占总种数比例 Percentage of total species (%) | 属 Genus | 种数 Number of species | 占总种数比例 Percentage of total species (%) |
|---|---|---|---|---|---|---|
| 鹅膏菌科Amanitaceae | 2 | 11 | 5.26 | 鹅膏菌属 Amanita | 10 | 4.78 |
| 小菇科 Mycenaceae | 2 | 12 | 5.74 | 丝盖伞属 Inocybe | 5 | 2.39 |
| 多孔菌科 Polyporaceae | 8 | 14 | 6.70 | 蜡蘑属 Laccaria | 5 | 2.39 |
| 红菇科 Russulaceae | 3 | 23 | 11.00 | 小皮伞属 Marasmius | 6 | 2.87 |
| 小菇属 Mycena | 11 | 5.26 | ||||
| 光柄菇属 Pluteus | 5 | 2.39 | ||||
| 红菇属 Russula | 17 | 8.13 | ||||
| 栓菌属 Trametes | 5 | 2.39 |