Research on quality identification method of star anise based on image processing

  • CHEN Saisai ,
  • WU Qiong ,
  • XU Min ,
  • YANG Wenbo ,
  • CHEN Hu ,
  • ZHENG Lin ,
  • CHEN Chaojie
Expand
  • 1(Anyang Food and Drug Inspection and Testing Center, Anyang 455000, China)
    2(School of Food and Strategic Reserves, Henan University of Technology, Zhengzhou 450001, China)
    3(Zhengzhou Fruit Research Institute, Chinese Academy of Agriculture Science, Zhengzhou 450009, China)

Received date: 2025-01-17

  Revised date: 2025-02-28

  Online published: 2025-11-21

Abstract

The traditional method of identifying the quality of star anise is subjective and complicated.To realize accurate and rapid identification of star anise, fumigated star anise with sulfur and its counterfeit, a novel detection method based on image feature analysis and pattern recognition was studied to identify the quality of star anise.The RGB images of star anise, fumigated star anise with sulfur, sikimi, and wild star anise were captured respectively, then the image was preprocessed by median filtering, image binarization, morphological open and close operation, and image segmentation afterwards, a total of 58 feature parameters in 3 categories of shape, color, and texture were extracted.Furthermore, the feature parameters were screened, and dimensionality was reduced by stepwise discriminant and principal component analyses, respectively.Finally, a linear parameter classifier and back propagation neural network model were established to identify star anise and its counterfeits and sulfur-fumigated star anise.Results showed that the accuracy of the stepwise discriminant analysis-linear parameter classifier was 87.50%-100% for the star anise, fumigated star anise with sulfur, sikimi, and wild star anise, and the average recognition rate was 96.75%.The accuracy of the principal component analysis-BP neural network model was 85.00%-100% for the star anise, fumigated star anise with sulfur, sikimi, and wild star anise, and the average recognition rate was 91.88%.The results indicated that image processing and analysis could effectively detect and identify star anise and its counterfeit products, and make an effective judgment for sulfur-fumigated star anise.

Cite this article

CHEN Saisai , WU Qiong , XU Min , YANG Wenbo , CHEN Hu , ZHENG Lin , CHEN Chaojie . Research on quality identification method of star anise based on image processing[J]. Food and Fermentation Industries, 2025 , 51(21) : 383 -391 . DOI: 10.13995/j.cnki.11-1802/ts.042186

References

[1] SHAHRAJABIAN M H, SUN W L, CHENG Q.Chinese star anise and anise, magic herbs in traditional Chinese medicine and modern pharmaceutical science[J].Asian Journal of Medical and Biological Research, 2019, 5(3):162-179.
[2] 包正宇, 李耀文, 李言, 等.八角茴香的生物学活性及其应用[J].食品与发酵工业, 2023, 49(11):323-329.
BAO Z Y, LI Y W, LI Y, et al.Biological activity and application of Illicium verum[J].Food and Fermentation Industries, 2023, 49(11):323-329.
[3] 赵二劳, 徐未芳, 刘乐.八角茴香抑菌作用研究进展[J].中国调味品, 2019, 44(4):191-193.
ZHAO E L, XU W F, LIU L.Research progress of the bacteriostasis of star anise[J].China Condiment, 2019, 44(4):191-193.
[4] 孙长花, 王征远, 刘俊, 等.八角茴香提取液的抑菌效果及稳定性探讨[J].食品工业, 2020, 41(12):189-192.
SUN C H, WANG Z Y, LIU J, et al.Study on antibacterial effect and stability of Illicium verum extract[J].The Food Industry, 2020, 41(12):189-192.
[5] 郑燕菲, 张强, 蓝亮美, 等.八角茴香壳与籽中挥发油成分分析及抗氧化性研究[J].粮食与油脂, 2022, 35(5):83-86.
ZHENG Y F, ZHANG Q, LAN L M, et al.Component analysis and antioxidant activity of volatile oils from star anise shell and seed[J].Cereals & Oils, 2022, 35(5):83-86.
[6] YU C Y, ZHANG J F, WANG T.Star anise essential oil:Chemical compounds, antifungal and antioxidant activities:A review[J].Journal of Essential Oil Research, 2021, 33(1):1-22.
[7] LI W, WU Z N, XIA Y P, et al.Antiviral and antioxidant components from the fruits of Illicium verum Hook.f.(Chinese star anise)[J].Journal of Agricultural and Food Chemistry, 2022, 70(12):3697-3707.
[8] SHARAFAN M, JAFERNIK K, EKIERT H, et al.Illicium verum (star anise) and trans-anethole as valuable raw materials for medicinal and cosmetic applications[J].Molecules, 2022, 27(3):650.
[9] SHARAFAN M, MAILNOWSKA M, EKIERT H, et al.The use of star anise (Illicium verum) and trans-anethole in cosmetology[J].Farmacja Polska, 2022, 78(4):219-231.
[10] 孔馨逸, 江大海, 王洁.八角茴香三萜类化合物分离及其生物活性研究[J].中国调味品, 2022, 47(11):57-60.
KONG X Y, JIANG D H, WANG J.Study on isolation and bioactivity of triterpenoids from star anise[J].China Condiment, 2022, 47(11):57-60.
[11] 陈赛赛, 徐民, 吴琼, 等.八角茴香真伪鉴别研究进展[J].食品安全质量检测学报, 2023, 14(13):126-133.
CHEN S S, XU M, WU Q, et al.Research progress in adulterants identification of star anise[J].Journal of Food Safety & Quality, 2023, 14(13):126-133.
[12] KHALAF E M, MOHAMMADI M J, SULISTIYANI S, et al.Effects of sulfur dioxide inhalation on human health:A review[J].Reviews on Environmental Health, 2022, 39(2):331-337.
[13] 陈虎, 陈赛赛, 吴琼, 等.八角茴香中二氧化硫残留量分析及安全性评价[J].食品安全质量检测学报, 2024, 15(13):215-223.
CHEN H, CHEN S S, WU Q, et al.Analysis and safety evaluation of sulfur dioxide residue in Illicium verum[J].Journal of Food Safety & Quality, 2024, 15(13):215-223.
[14] 张玉荣, 陈赛赛, 姜忠丽, 等.基于图像处理的小麦容重检测方法研究[J].中国粮油学报, 2015, 30(3):116-121.
ZHANG Y R, CHEN S S, JIANG Z L, et al.Detection method of volume- weight of wheat by image processing[J].Journal of the Chinese Cereals and Oils Association, 2015, 30(3):116-121.
[15] JAVANMARDI S, MIRAEI ASHTIANI S H, VERBEEK F J, et al.Computer-vision classification of corn seed varieties using deep convolutional neural network[J].Journal of Stored Products Research, 2021, 92:101800.
[16] ZHANG Y Z, LYU C X, WANG D C, et al.A novel image detection method for internal cracks in corn seeds in an industrial inspection line[J].Computers and Electronics in Agriculture, 2022, 197:106930.
[17] MON T, ZARAUNG N.Vision based volume estimation method for automatic mango grading system[J].Biosystems Engineering, 2020, 198:338-349.
[18] GHAZAL S, QURESHI W S, KHAN U S, et al.Analysis of visual features and classifiers for fruit classification problem[J].Computers and Electronics in Agriculture, 2021, 187:106267.
[19] 张展硕, 刘苗苗, 陆雯沁, 等.基于图像传感技术的娃娃菜外观品质检测[J].食品安全质量检测学报, 2021, 12(4):1374-1379.
ZHANG Z S, LIU M M, LU W Q, et al.Detection of external quality for baby cabbage by image sensing technology[J].Journal of Food Safety & Quality, 2021, 12(4):1374-1379.
[20] 李明, 王润涛, 姜微.基于机器视觉的马铃薯加工原料分选系统[J].食品与机械, 2021, 37(9):139-144.
LI M, WANG R T, JIANG W.Research on separation system of potato processing raw materials based on machine vision[J].Food & Machinery, 2021, 37(9):139-144.
[21] 姚应方, 刘峰, 张海东, 等.基于机器视觉的八角颜色与果形识别研究[J].中国农业科技导报, 2021, 23(11):110-120.
YAO Y F, LIU F, ZHANG H D, et al.Research on octagon color and fruit shape recognition based on machine vision[J].Journal of Agricultural Science and Technology, 2021, 23(11):110-120.
[22] WU W, YANG T L, LI R, et al.Detection and enumeration of wheat grains based on a deep learning method under various scenarios and scales[J].Journal of Integrative Agriculture, 2020, 19(8):1998-2008.
[23] LI Y H, CHEN X Y, YIN L N, et al.Deep learning-based methods for multi-class rice disease detection using plant images[J].Agronomy, 2024, 14(9):1879.
[24] LI H, HAO Y, WU W F, et al.Rapid detection of turtle cracks in corn seed based on reflected and transmitted images combined with deep learning method[J].Microchemical Journal, 2024, 201:110698.
Outlines

/