The invention relates to the technical field of medical state monitoring, in particular to a
cardiothoracic surgery drainage tube running state mode
recognition system which comprises a drainage imaging positioning module, a
leading edge rhythm judgment module, a
liquid column direction judgment module, a state collaborative recognition module and a running state labeling module. According to the method, the
visual range of the drainage liquid in the transparent section is positioned through the continuous images, the
leading edge boundary and the starting and ending positions of the
liquid column are extracted, the quantitative tracking capability of the dynamic characteristics of the liquid is enhanced, and the recognition accuracy of stagnation and flowing states is improved through
leading edge displacement change and rhythmicity analysis; the judgment of the
length change direction of the
liquid column defines the flow direction of the liquid, reduces single-frame visual misjudgment, cooperatively judges the leading edge state and the direction of the liquid column, screens out a synchronous section, improves the stability and consistency of
state recognition, completes state labeling in combination with an image
timestamp, constructs a sequential and
continuous operation state recognition system, and improves the accuracy of
state recognition. And the intelligence and accuracy of drainage state monitoring are enhanced.