Location of Irregular Holes Based on Machine Vision

Mingfei Li, Zhigao Ma, Donglai Xu, Xiangli Li · 2021 4th International Conference on Advanced Electronic Materials, Computers and Software Engineering (AEMCSE) · 2021

In the actual environment, the various deformations of the positioning holes of the mechanical parts and the different backgrounds will cause the circle to have irregular boundaries, which will cause the identification and positioning of the center of the circle to be inaccurate. Therefore, this paper proposes a centroid compensation algorithm based on the centroid of a circular hole. The algorithm first performs image preprocessing on the circular hole to enhance its contrast, and then performs binary and filtering processing to find its centroid. According to the binary image in the pixel The area occupied by the plane is used to identify, determine and compensate the center position of the circular hole. Experiments show that the algorithm can accurately locate the center of irregular holes with deformation, and has high accuracy and stability.

Read the paper · More papers on PaperTik