中国农业机械化科学研究院集团有限公司 主管

北京卓众出版有限公司 主办

朱霆芳,赵博,刘阳春,等.基于机器视觉的瓶装饮料液位识别与定位[J].农业工程,2023,13(2):19-26. DOI: 10.19998/j.cnki.2095-1795.2023.02.004
引用本文: 朱霆芳,赵博,刘阳春,等.基于机器视觉的瓶装饮料液位识别与定位[J].农业工程,2023,13(2):19-26. DOI: 10.19998/j.cnki.2095-1795.2023.02.004
ZHU Tingfang,ZHAO Bo,LIU Yangchun,et al.Identification and location of beverages liquid level based on machine vision[J].Agricultural Engineering,2023,13(2):19-26. DOI: 10.19998/j.cnki.2095-1795.2023.02.004
Citation: ZHU Tingfang,ZHAO Bo,LIU Yangchun,et al.Identification and location of beverages liquid level based on machine vision[J].Agricultural Engineering,2023,13(2):19-26. DOI: 10.19998/j.cnki.2095-1795.2023.02.004

基于机器视觉的瓶装饮料液位识别与定位

Identification and Location of Beverages Liquid Level Based on Machine Vision

  • 摘要: 为实现饮料生产线PET瓶装饮料液位检测系统集成化和简单化,使用机器视觉方法取代传统传感器触发PET瓶装饮料液位检测程序,实现生产线PET瓶装饮料液位快速识别定位,提出了基于改进YOLOv7的生产线PET瓶装饮料液位快速识别与定位方法。在原YOLOv7的基础上,将原SPPCSPC池化金字塔结构改进为更快的SPPFCSPC结构,并使用SIoU损失函数对原有损失函数进行改进。实测试验结果表明,改进YOLOv7液位识别模型对包含有色彩失真和噪点的PET饮料瓶身、瓶装饮料液位识别精度为98.9%、96.3%,并且单幅图像识别并框定时间均长为12.1 ms。在采集图像样本色彩失真、多噪点和图像旋转情况下,模型仍能实现高精度瓶装饮料液位识别与定位。

     

    Abstract: In order to realize integration and simplification of PET beverage bottles level detection system in beltline of beverage production and replace trigger instruction based on traditional sensors with method of integrated machine vision in liquid level detection program of bottled PET beverage to achieve rapid identification and positioning of PET bottled beverage liquid level in beltline, a real-time dentification and positioning method based on improved YOLOv7 was proposed for PET beverage bottle liquid level in beltline.Based on original YOLOv7, original SPPCSPC pooled pyramid structure was improved to a faster SPPFCSPC structure, and original loss function was improved by using SIoU loss function.Experiments showed that improved YOLOv7 model recognized PET beverage bottles and bottled liquid level whose part of samples contained color distortion and noise with a recognition accuracy of 98.9% and 96.3%, and recognition time of per image was 12.1 ms.The model could still achieve high-precision liquid level recognition and positioning of bottled beverages despite color distortion, multiple noise points, and image rotation in collected image samples.

     

/

返回文章
返回