Fusion Algorithm for Appearance Quality Detection of Puer Tea Cake Based on Machine Vision

WANG Jianchao, LI Wei, TI Hailong, LIAO Hongsen, BAI Jianan, LI Jianlong

PDF(2992 KB)
PDF(2992 KB)
Forest Engineering ›› 2025, Vol. 41 ›› Issue (03) : 585-594. DOI: 10.7525/j.issn.1006-8023.2025.03.015
Forest Industry Technology and Equipment

Fusion Algorithm for Appearance Quality Detection of Puer Tea Cake Based on Machine Vision

Author information +
History +

Abstract

With the popularization of automated production lines, the pressing process of tea cakes has become particularly important for product quality. However, the quality control of Pu'er mini tea cakes produced by automated production lines often falls short of those made by hand. Therefore, the detection of the appearance quality of tea cakes after production by automated lines has become an urgent issue to be addressed. To this end, this study proposes an automated quality detection algorithm for Pu'er tea cakes based on machine vision. The algorithm comprehensively applies various image processing techniques, including Otsu threshold segmentation and Canny edge detection, and introduces multiple algorithm optimization strategies to improve detection accuracy and efficiency. The algorithm can automatically complete the detection and evaluation of the appearance quality of tea cakes and transmit the results in real-time to a Programmable Logic Controller (PLC). Experimental results show that the algorithm can accurately identify appearance defects of tea cakes, with an average computational accuracy of 95.75%, demonstrating high robustness and reliability. It is suitable for quality control in automated production lines and has a wide range of application prospects, especially in the intelligent transformation of the tea production industry, where it has significant reference value.

Key words

Automated production line / Pu'er tea cake / machine vision / image processing / defect detection / PLC

Cite this article

Download Citations
WANG Jianchao , LI Wei , TI Hailong , et al . Fusion Algorithm for Appearance Quality Detection of Puer Tea Cake Based on Machine Vision. Forest Engineering. 2025, 41(03): 585-594 https://doi.org/10.7525/j.issn.1006-8023.2025.03.015

References

1
赵春江.智慧农业发展现状及战略目标研究[J].智慧农业20191(1):1-7.
ZHAO C J.State-of-the-art and recommended developmental strategic objectives of smart agriculture[J].Smart Agriculture20191(1):1-7.
2
王刻铭,黄勇,刘仲华.中国茶叶国际竞争力分析[J].农业现代化研究202041(1):45-54.
WANG K M HUANG Y LIU Z H.Empirical analysis of the international competitiveness of China’s tea industry[J].Research of Agricultural Modernization202041(1):45-54.
3
黄晓琛,张凯利,刘元杰,等.机器学习与计算机视觉技术在食品质量评价中的研究进展[J].食品科学202445(12):1-10
HUANG X C ZHANG K L LIU Y J,et al.Research progress on machine learning and computer vision technology in food quality evaluation[J].Food Science202445(12):1-10.
4
PANNAWAN A SUDSAWAT S.Automated part inspection by image processing system in vehicle part manufacturing[J].Journal of Applied Science201716(1):45-59.
5
张晓阳,何军红,牛云,等.改进Canny算子在零件尺寸测量中的应用[J/OL].机械科学与技术,1-7.
ZHANG X Y HE J H NIU Y,et al.Application of improved Canny operator in size measurement of parts[J/OL].Mechanical Science and Technology for Aerospace Engineering,1-7.
6
李强,曾曙光,郑胜,等.基于机器视觉的陶瓷瓦表面裂纹检测方法[J].激光与光电子学进展202057(8):081004.
LI Q ZENG S G ZHENG S,et al.Machine vision based detection method for surface crack of ceramic tile[J].Laser & Optoelectronics Progress202057(8):081004.
7
尚宏伟.基于机器视觉的丝饼外观缺陷检测方法设计[D].合肥:安徽大学,2023.
SHANG H W.Design of appearance defect detection method of textile spindle based on machine vision[D].Hefei:Anhui University,2023.
8
朱俊松.基于机器视觉的小麦外观品质检测技术研究[D].镇江:江苏大学,2021.
ZHU J S.Thesis for academic master degree study on wheat appearance quality inspection based on machine vision[D].Zhenjiang:Jiangsu University,2021.
9
ZAITOUN N M AQEL M J.Survey on image segmentation techniques[J].Procedia Computer Science201565:797-806.
10
梁巧仪.彩色图与灰度图可逆转换算法研究[D].广州:暨南大学,2022.
LIANG Q Y.Research on invertible color-to-grayscale image conversion algorithm[D].Guangzhou:Jinan University,2022.
11
BONCELET C.Chapter 7 - Image noise models[M]//Al Bovik.The Essential Guide to Image Processing.Burlington,USA:Academic Press,2009:143-167.
12
杨天敏,王晓燕.基于强噪声条件下的激光图像边缘检测研究[J].激光杂志202445(3):156-160.
YANG T M WANG X Y.Research on laser image edge detection based on strong noise[J].Laser Journal202445(3):156-160.
13
宋涛.图像中值滤波算法在智能采摘机器人中的应用[J].农机化研究202547(7):1-6.
SOMG T.Application of image median filtering algorithm in intelligent picking robot[J].Journal of Agricultural Mechanization Research202547(7):1-6.
14
李子旋,杨宇,黄双双,等.自适应权重的均值和快速中值滤波融合算法的研究[J].计算机与数字工程202452(3):700-704.
LI Z X YANG Y HUANG S S,et al.Research on adaptive weighted algorithm fusion of mean value and fast median filtering algorithm[J].Computer & Digital Engineering202452(3):700-704.
15
CHEN Y J DING Y Y ZHAO F,et al.Surface defect detection methods for industrial products:A review[J].Applied Sciences202111(16):7657.
16
BHATT P M MALHAN R K RAJENDRAN P,et al.Image-based surface defect detection using deep learning:A review[J].Journal of Computing and Information Science in Engineering202121(4):040801.
17
李浩然,田秀霞,卢官宇,等.基于OSTU的光照不均匀图像自适应增强算法[J].计算机仿真202239(2):315-321,386.
LI H R TIAN X X LU G Y,et al.Adaptive enhancement algorithm for non-uniform illumination images based on OSTU[J].Computer Simulation202239(2):315-321,386.
18
YANG P SONG W ZHAO X B,et al.An improved Otsu threshold segmentation algorithm[J].International Journal of Computational Science and Engineering202022(1):146-153.
19
陈忠,赵忠明.基于区域生长的多尺度遥感图像分割算法[J].计算机工程与应用200541(35):7-9
CHEN Z ZHAO Z M.A multi-scale remote sensing image segmentation algorithm based on region growing[J].Computer Engineering and Applications200541(35):7-9.
20
黄怡静,胡小平,彭向前,等.改进Canny算子的图像边缘检测算法[J/OL].机械科学与技术,1-11.
HUANG Y J HU X P PENG X Q,et al.Image edge detection algorithm with improved Canny operator[J/OL].Mechanical Science and Technology for Aerospace Engineering,1-11.
21
郭运冲,李孟军,刘名果,等.基于Canny算子的建筑裂缝边缘检测改进算法[J].计算机仿真202239(11):360-365,410.
GUO Y C LI M J LIU M G,et al.Improved algorithm for edge detection of building cracks based on Canny operator[J].Computer Simulation202239(11):360-365,410.
22
肖庆追,李捷,陈鹤峰,等.基于改进Canny算子的图像边缘检测方法[J].数学的实践与认识202252(7):77-87.
XIAO Q Z LI J CHEN H F,et al.Image edge detection method based on improved Canny operator[J].Journal of Mathematics in Practice and Theory202252(7):77-87.
23
刘智慧,林荣智.基于图像处理技术的纸张质量检测方案[J].造纸科学与技术202443(4):70-72,80.
LIU Z H LIN R Z.Paper quality inspection scheme based on image processing technology[J].Paper Science & Technology202443(4):70-72,80.
24
利红,秦雅倩,张闯.基于动态特征融合的监控视频图像小目标检测研究[J].长江信息通信202437(3):90-92.
LI H QIN Y Q ZHANG C.Research on small object detection of surveillance video images based on dynamic feature fusion[J].Changjiang Information & Communications202437(3):90-92.
25
WAN Z Y CHEN Y M DENG S T,et al.Slender object detection:Diagnoses and improvements[J].Computer Vision and Pattern Recognition2020,doi:10.48550/arXiv.2011.08529 .
26
路鹭,杨炯,梁杰,等.一种快速高精度的矩形检测算法[J].激光与光电子学进展202057(18):181002.
LU L YANG J LIANG J,et al.Fast and high-precision rectangle detection algorithm[J].Laser & Optoelectronics Progress202057(18):181002.
27
张楠.西门子PLC在工业智能化转型中的关键技术与应用[J].中国金属通报2024(4):79-82.
ZHANG N.Key technologies and applications of Siemens PLC in industrial intelligent transformation[J].China Metal Bulletin2024(4):79-82.
28
魏学舟,刘涛.基于Snap7的PLC上位机监控软件开发[J].设备管理与维修2018(14):129-131.
WEI X Z LIU T.Development of PLC upper computer monitoring software based on Snap7[J].Plant Maintenance Engineering2018(14):129-131.
29
DING C P ZHAI J T DAI Y W.An improved ICS honeypot based on SNAP7 and IMUNES[C]//SUN X,PAN Z,BERTINO E.Cloud Computing and Security.ICCCS 2018.Lecture Notes in Computer Science.Cham:Springer International Publishing,2018:303-313.
30
凌建华.关于上位机和西门子PLC通信的研究[J].计算机光盘软件与应用2014(20):305-306.
LING J H.Research on communication between host computer and Siemens PLC[J].Computer CD Software and Application2014(20):305-306.
31
张学超.基于IEC61131-3标准的PLC系统研究与应用[D].太原:太原科技大学,2011.
ZHANG X C.Research and application of PLC system based on IEC61131-3 standard[D].Taiyuan:Taiyuan University of Science and Technology,2011.
32
蒋婷.基于《中国十大茶叶区域公用品牌之普洱茶》分析普洱茶的文化特征及产业化发展[J].中国瓜菜202336(6):150.
JIANG T.Analysis of the cultural characteristics and industrialized development of Pu'er tea based on "China's top ten tea regional public brands-Pu'er tea"[J].China Cucurbits and Vegetables202336(6):150.
33
赵春江,李瑾,冯献,等."互联网+"现代农业国内外应用现状与发展趋势[J].中国工程科学201820(2):50-56.
ZHAO C J LI J FENG X,et al.Application status and trend of “Internet Plus” modern agriculture in china and abroad[J].Strategic Study of CAE201820(2):50-56.

Comments

PDF(2992 KB)

Accesses

Citation

Detail

Sections
Recommended

/