The invention discloses a method and
system for detecting NG product marking paper through a camera instead of a
color code sensor, and relates to the field of
automatic control and adjustment, and the method comprises the steps: initializing a camera
system, and carrying out environment data collection and dynamic threshold adjustment; capturing a
label image in real time by using an intelligent camera, calculating
label parameters,
synchronizing the MARK position, and calculating the relative position of the
label; according to the adjusted dynamic threshold value, label parameters are judged, and real-time quality
trend analysis is carried out on a judgment result; based on historical data and a real-time quality trend, possible equipment problems or quality abnormalities are predicted, automatic closed-loop adjustment is carried out, and when potential problems are predicted, the
system automatically generates maintenance suggestions and notifies related personnel. Through an intelligent camera system and a self-
adaptive algorithm, the accuracy and stability of detection are remarkably improved, and through analysis of historical data and real-time quality trend, prediction and prevention of equipment problems and quality abnormity are realized.