The invention provides a redried tobacco strip grading method and
system based on
computer vision, and belongs to the technical field of tobacco
processing and
quality control. The method comprises the following steps: firstly, detecting working conditions, including detecting the position of a pressure head, the position of a
smoke box, obstacles, the working state of a press and the like; after the working conditions are met, the
camera obscura is started to move to the position vertically above the
smoke box; starting a
light source and a camera, and collecting a clear tobacco strip image; preprocessing operations such as denoising, enhancement,
cutting and
color correction are carried out on the collected image; abnormal conditions including box covering,
exposure, local shielding, leaf breaking and the like are detected; inputting a grading
algorithm to the normal condition image, and outputting tobacco lamina grade and matching degree information; and visualizing a tobacco strip analysis result, aligning the result with the image data, and storing the result in a
database. According to the method and the
system,
automation, high efficiency and accuracy of tobacco strip
data acquisition and grading are realized, abnormal conditions can be effectively identified and processed, and the method and the
system are suitable for online
quality control of a tobacco
production line.