The application discloses a kind of transparent container
liquid content detection methods based on I-YOLOF, it is related to transparent container
liquid content identification technical field.The picture of transparent container is collected, the picture is marked according to empty
bottle, little water, half water, more water and full water 5 kinds of categories, and the collected
data set is divided into
training set and
test set, I-YOLOF model is trained using
training set,
test set is used to test model effect, finally obtain the I-YOLOF model that can be used to detect the
liquid content of transparent container.I-YOLOF
network model is the variant of YOLOF, and the improvement method is: the main network uses ResNet50 to extract features;Decoder introduces a new head
branch for predicting liquid content, which is parallel to the
branch used for container classification, and a ternary attention module is used.The application can quickly and accurately identify the liquid content category in the transparent container by designing and training the I-YOLOF model based on detecting the transparent container.