CPC B23Q 17/2409 (2013.01) [B23Q 7/1447 (2013.01); B23Q 7/1494 (2013.01); B23Q 17/2471 (2013.01)] | 2 Claims |
1. An intelligent production line for motor pulley, comprising:
a detection mechanism, including a camera, a light source, a positioning block, and an image processing unit, the positioning block is configured to support a motor pulley, the light source is configured to illuminate the motor pulley, and the camera is arranged in a backlight direction of the light source and is configured to take an image of the motor pulley, the image processing unit is configured to detect parameters of the motor pulley through the image of the motor pulley, wherein the image processing unit comprises an extraction module, a fitting module, and a judgment module; the extraction module is configured to extract an edge image of the motor pulley from the image of the motor pulley; the fitting module is configured to respectively fit straight lines according to two edges of corresponding slot corners of the edge image, and calculate an intersection point of the two straight lines; the judgment module is configured to judge whether the intersection point is within a set range according to coordinates of the intersection point, and if yes, judge that the motor pulley is qualified; otherwise, judge that the motor pulley is unqualified.
|