Abstract
[Objective] To improve the quality and yield of liquor by achieving efficient and accurate detection of alcohol content during the liquor gathering process and to develop an detection model of alcohol content in liquor gathering based on improved YOLOv 5s.[Methods] This study replaces the original feature extraction module of the YOLOv 5s model with the lightweight ShuffleNetV 2 module to reduce the model's depth,making it more compact.The convolutional block attention module (CBAM ) dual -channel attention mechanism is added to the feature extraction process to capture features from different dimensions.The SIOU loss function is used to replace the original model's loss function.A novel method for alcohol content detection based on the improved YOLOv 5s model is proposed.[Results]] The improved model achieves an accuracy of 91.9%,with a model size of 6.7 MB.The recall rate and mean average precision (mAP ) are 89.3% and 96.3%,respectively,showing an increase of 10.3% and 12.3% over the original YOLOv 5s model.Compared to current mainstream models like YOLOv 3,YOLOv 5m,and YOLOv 8,the mAP has increased by 44.3%,9.3%,and 13.1%,respectively.[Conclusion] The improved YOLOv 5s model proposed in this paper provides high accuracy in detecting alcohol content during the liquor gathering.
Publication Date
7-11-2025
First Page
65
Last Page
71
DOI
10.13652/j.spjx.1003.5788.2024.80988
Recommended Citation
Shuang, WANG; Yuanxia, JI; Honggang, WU; Runling, YANG; and Shaokun, LU
(2025)
"Detection of alcohol content in liquor gathering based on improved YOLOv 5s,"
Food and Machinery: Vol. 41:
Iss.
7, Article 10.
DOI: 10.13652/j.spjx.1003.5788.2024.80988
Available at:
https://www.ifoodmm.cn/journal/vol41/iss7/10
References
[1] 林慧,张宿义,张炼,等.现代检测技术在白酒自动化摘酒中的研究现状 [J].食品与机械,2022,38(10):235-240.LIN H,ZHANG S Y,ZHANG L,et al.Research status of modern detection technology in automatic liquor picking of Chinese Baijiu [J].Food & Machinery,2022,38(10):235-240.
[2] 韩伟涛.基于转子泵与音叉传感技术的白酒酒度在线测量系|统研究 [D].天津:河北工业大学,2022:23-71.HAN W T.Research on on-line measurement system of Baijiu alcohol content based on rotor pump and tuning fork sensing technology [D].Tianjin:Hebei University of Technology,2022:23-71.
[3] 刘智萍,崔克彬.基于深度学习的白酒酒花实时分类方法 [J].食品与机械,2022,38(11):111-116.LIU Z P,CUI K B.Real-time classification method for liquor hops based on deep learning [J].Food & Machinery,2022,38(11):111-116.
[4] 余锴鑫.基于图像分类算法的自动化摘酒方法研究 [D].杭州:浙江大学,2019:34-77.YU K X.Research on automatic wine picking method based on image classification algorithm [D].Hangzhou:Zhejiang University,2019:34-78.
[5] 田子宸.基于计算机视觉的智能摘酒方法研究 [D].杭州:浙江大学,2020:37-71.TIAN Z C.Research on intelligent liguor selection method based on computer vision [D].Hangzhou:Zhejiang University,2020:37-71.
[6] 杨静娴,任小洪.基于多纹理特征的白酒摘酒酒花图像分类识别 [J].包装与食品机械,2021,39(4):38-45.YANG J X,REN X H.Classification and recognition of liquor receiving hops images based on multiple texture feature extraction [J].Packaging and Food Machinery,2021,39(4):38-45.
[7] 杨静娴,任小洪.基于图像处理的白酒酒花轮廓检测 [J].食品与机械,2019,35(12):52-55,145.YANG J X,REN X H.Liquor hop contour detection based on image processing [J].Food & Machinery,2019,35(12):52-55,145.
[8] 潘斌,陈圩钦,姚娅川.图像分类算法在酒花图像分类中的研究[J].自动化与仪器仪表,2021 (2):186-191.PAN B,CHEN W Q,YAO Y C.Study on image classification algorithm in hops image classification [J].Automation & Instrumentation,2021 (2):186-191.
[9] 范明明.基于近红外技术的白酒摘酒在线检测装置开发 [D].镇江:江苏大学,2019:25-82.FAN M M.Development of an online detection device for liguor picking based on near-infrared technology [D].Zhenjiang:Jiangsu University,2019:25-82.
[10] REN S Q,HE K M,GIRSHICK R,et al.Faster R-CNN:towards real-time object detection with region proposal networks [J].IEEE Transactions on Pattern Analysis and Machine Intelligence,2017,39(6):1 137-1 149.
[11] 龚惟新,杨珍,李凯,等.基于改进 YOLOv 5s的自然环境下猕猴桃花朵检测方法 [J].农业工程学报,2023,39(6):177-185.GONG W X,YANG Z,LI K,et al.Detecting kiwi flowers in natural environments using an improved YOLOv 5s[J].Transactions of the Chinese Society of Agricultural Engineering,2023,39(6):177-185.
[12] REDMON J,DIVVALA S,GIRSHICK R,et al.You only look once:unified,real-time object detection [C]// 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR ).Las Vegas:IEEE,2016:779-788.
[13] ZHU X K,LYU S C,WANG X,et al.TPH-YOLOv 5:improved YOLOv 5 based on transformer prediction head for object detection on drone-captured scenarios [C]//2021 IEEE/CVF International Conference on Computer Vision Workshops (ICCVW ).Montreal:IEEE,2021:2 778-2 788.
[14] 朱茂景.基于视觉 SLAM的移动机器人闭环检测算法研究[D].杭州:浙江工商大学,2022:27-69.ZHU M J.Research on loop closure detection algorithm of mobile robot based on visual SLAM [D].Hangzhou:Zhejiang Gongshang University,2022:27-69.
[15] 朱旭阳,韦春桃,何蔚,等.结合波段选择与改进 Shufflenetv 2的土地利用变化检测 [J].测绘地理信息,2023,48(6):88-93.ZHU X Y,WEI C T,HE W,et al.Land use change detection based on the combination of band recombination and improved Shufflenetv 2[J].Journal of Geomatics,2023,48(6):88-93.