A
visual detection device for parts mainly comprises an imaging
system, an optical lens component, a
lighting system, a mechanical adjusting
system, a displacement detection
system and a computer, wherein the imaging system consists of a
CCD camera and an
image acquisition card; the optical lens component consists of a lens body, an amplifying objective lens, and the like; the
lighting system is respectively used for detecting surface defects and measuring topographic sizes; the mechanical adjusting system consists of displacement platforms used for adjusting the positions of the parts; the displacement detection system is used for recording the displacement distance of the displacement platforms; and the computer is used for recording and
processing images. By shooting edge images of theparts through the imaging system and recording the displacement distance of the displacement platforms through the displacement detection system, the detection device calculates the topographic sizessuch as
diameter, and the like, detects the surface defects of the whole spherical surface by the combined rotation of rotary tables, measures the defect sizes accurately, records the number of the defects and meets the two detection requirements of
topography measurement and surface detection. By utilizing the visual microscopic detection technology, the device has high system resolution, good integrated performance and simple measurement process.