The utility model relates to the technical field of workpiece detection, in particular to a workpiece detection device which comprises a rack and a detection
assembly, a
workbench is fixedly arranged on the rack, the detection
assembly is movably arranged on the
workbench, the workpiece detection device further comprises a moving
assembly, the moving assembly comprises a sliding seat, a positioning frame and a backlight plate, the sliding seat is movably arranged on the
workbench, and the backlight plate is arranged on the positioning frame. The positioning frame and the backlight plate are fixedly arranged on the sliding seat, a groove and an opening which are communicated are formed in the positioning frame, the groove is located above the opening, the size of the groove is larger than that of the opening, the detection assembly is located above the groove, and the backlight plate is located below the opening. According to the workpiece detection device provided by the utility model, the detection camera and the
telecentric lens are used for shooting, and meanwhile, the backlight plate acts, so that the detection camera and the
telecentric lens can clearly and accurately
shoot details of a workpiece, and the detection accuracy is high; the workpiece is loaded and unloaded by people through the sliding seat and the positioning frame more conveniently, the loading and unloading speed is increased, and the detection efficiency of the workpiece is further improved.