The utility model provides on-line two-dimensional detection equipment which comprises a detection
assembly, and the detection
assembly comprises a mounting sleeve, a mounting seat, a mounting groove, a mounting rack, two
infrared sensors, a
servo motor, two guide rods, a lifting seat, a
laser scanner, a mounting plate, a screw rod and two supporting rods. And the mounting seat is fixedly connected to the front surface of the mounting sleeve. According to the utility model, the
laser scanner is used for scanning the workpiece to measure the pattern and the curved surface of the workpiece, the two
infrared sensors are used for detecting the size of the workpiece in the conveying process of the workpiece, and when the size of the workpiece exceeds a rated value, the
infrared sensors detect the position of the workpiece and send a
signal to the controller; the controller controls the
servo motor to work, the
servo motor drives the lead screw to rotate, and the lifting seat drives the mounting plate, so that the
laser scanner can move upwards to comprehensively scan a large-size workpiece, and the accuracy of scanning measurement is ensured.