carhubIt is a cylindrical metal part used to support the tire, installed in the center of the axle, accurately installed in the center of the axle, it is an important part to connect the brake drum, wheel and half axle, the center of the hub is the center hole, and the center of the side Holes tend to have four or six threaded holes.
proposed an image-basedCar wheelsThe steel bushing detection method uses computer vision detection technology to install the steel bushing at the screw hole of the wheel. Features: In the case of light source illumination, combined with the characteristics of the wheel image, it can be judged that the wheel has a steel bushing, thereby improving the production efficiency of the enterprise.
To find the position of the hub, first preprocess the images of the hub collected by the production line to detect the positions of the hub area and the steel sleeve area, and select an area from the hub center according to the actual installation position of the hub center and the steel sleeve.
Circle detection: Stretch the grayscale image, filter it to obtain circles, obtain candidate circles, cluster the candidate circles, select the candidate circles after clustering, and select the clustering results containing two or more circles , choose the mean center of the circles and the radius of the steel bushing if all circles are clustered into N-shape.