carhubIt is a cylindrical metal part used to support the tire, the center is installed on the shaft, to be precise, it is installed on the central axis of the wheel, it is an important part connecting the brake drum, the wheel and the half shaft, the center of the hub is Hub center hole, there are generally four to six threaded holes next to the center hole, which are used to fix the hub on the axle.
provides an image-basedCar wheelsThe steel sleeve detection method, through computer vision detection technology, installs the steel sleeve at the screw hole position of the wheel. Features: In the case of light irradiation, combined with the characteristics of the wheel image, it can be judged whether the wheel has a steel sleeve, thereby improving the efficiency of the production enterprise.
To locate the position of the hub, first preprocess the images of the hub collected on the production line, detect the area where the hub is located, and locate the area of the steel casing. According to the actual installation position of the center of the hub and the steel casing, select an area from the center of the hub.
Circle detection: Perform circle detection on grayscale stretched images, filter the obtained circles, obtain candidate circles, cluster candidate circles, cluster candidate circles, and select clustering results containing two or more circles, If all the circles are clustered into N types, the average center of the circle and the radius of the steel sleeve are selected to obtain N steel sleeve candidate areas.