The invention discloses a
bottle body
label real-time printing method and
system based on image recognition, and the method comprises the steps: obtaining an image
data set of a to-be-labeled
bottle batch in a pre-recognition region, carrying out the image depth analysis of the image
data set through a YOLO model, and obtaining the type and number of the to-be-labeled
bottle batch;
label printing instructions are generated in batches according to the types and number information of the bottles in batches, and the
label printing instructions are classified and stored in a
label information base according to the types of the bottles; when the single bottle arrives at the labeling
station, the single bottle is quickly identified, the type of the bottle is confirmed, a matched label printing instruction is called from the
label information base according to the confirmed type information, and a printer is driven to print a label; and the labels printed in real time are attached to the label attaching positions of the single bottles. The overall labeling efficiency and accuracy are improved by introducing the batch image depth analysis of the pre-recognition area and the batch generation and pre-storage mechanism of the label instruction.