The invention discloses a structure of an on-line appearance
detector and a detection method thereof. The structure of the
detector comprises a base, a complete
machine frame, an upper cover plate and a side cover plate. A shading plate and a
handle are installed on the side cover plate. The inner side of the base is provided with a
light source, the
light source is installed in a
diffusion cover, a Y-axis screw rod is installed on the base, a screw rod mounting base is arranged on the Y-axis screw rod, a Z-axis rod is fixed to the screw rod mounting base and connected with a movable frame, a camera is fixed to the movable frame, and a support is further installed on the base. A method of detection by the
detector comprises the steps of installing the detector above a to-be-measured workpiece; causing a computer to automatically start after
electrification, and manually opening detection
software; opening a
light source, using a camera to take a picture, and adjusting shade of the light source and the position of the camera; taking the camera to
shoot a whole picture of the to-be-measured workpiece, using
software to calculate and analyze whether the to-be-measured workpiece is qualified, pointing out a defect position, and recording the
pass rate. The structure of the on-line appearance detector is good in matching effect, manual errors are reduced, and product yield and efficiency are improved.