Research on soybean quality detection based on optimized support vector machines

  • YAO Lidong ,
  • QIN Huawei ,
  • YANG Lulu
Expand
  • School of Mechanical Engineering, Hangzhou Dianzi University, Hangzhou Zhejiang, 310018, China

Received date: 2023-03-08

  Online published: 2025-03-21

Abstract

In order to improve the accuracy and speed of soybean quality detection by computer vision, two soybean quality detection models, based on Sparrow Search Algorithm (SSA) optimized Support Vector Machine (SVM) and Principal Component Analysis (PCA) further optimized SSA-SVM model are proposed. Normal, damaged and mildewed soybean images were collected and preprocessed to extract 12 color feature parameters in HSV color space, and 4 texture feature parameters were extracted based on gray co-existence matrix method. The SSA was used to find the optimal penalty factor and kernel radius of the SVM, The results show that the accuracy of SSA-SVM model is 98.00%, which is 2.67% higher than that of SVM model (95.33%).PCA was used to reduce the dimension of 16 characteristic parameters to 8, and the PCA-SSA-SVM model was constructed. The accuracy of the model was 97.33%, which was 2.00% higher than that of the SVM model (95.33%). Compared with the SSA-SVM model, the accuracy is 0.67% lower, but the iteration time is 11.78 s, which is 14.14% shorter than the 13.72 s before dimension reduction. The results show that both the SSA-SVM model and the PCA-SSA-SVM model are superior to the SVM model in soybean quality detection.

Cite this article

YAO Lidong , QIN Huawei , YANG Lulu . Research on soybean quality detection based on optimized support vector machines[J]. Journal of Hangzhou Dianzi University, 2025 , 45(1) : 67 -73 . DOI: 10.13954/j.cnki.hdu.2025.01.009

References

[1] 高宇,孙晨棋,罗英,等.中国大豆种子处理剂应用现状及研究进展[J].大豆科学, 2022,41(5):617-623.
[2] 刘霞.计算机视觉技术赋能五大行业[N].科技日报, 2022-07-04(004).
[3] 王茂森.计算机视觉技术在农产品质量检测中的运用探究[J].数字通信世界, 2022(6):129-131.
[4] 王铁胜.计算机视觉技术的发展及应用[J].信息系统工程, 2022(4):63-66.
[5] 王润涛,张长利,房俊龙,等.基于机器视觉的大豆籽粒精选技术[J].农业工程学报, 2011,27(8):355-359.
[6] 邓立苗,韩仲志,于仁师.基于机器视觉的花生品种识别系统研究[J].农机化研究, 2013,35(8):166-169.
[7] MOMIN M A, YAMAMOTO K, MIYAMOTO M, et al. Machine vision based soybean quality evaluation[J]. Computers and Electronics in Agriculture, 2017,140:452-460.
[8] LIN P, LI X L, LI D, et al. Rapidly and exactly determining postharvest dry soybean seed quality based on machine vision technology[J]. Scientific Reports, 2019,9(1):17143.
[9] UZAL L C, GRINBLAT G L, NAMÍAS R, et al. Seed-per-pod estimation for plant breeding using deep learning[J]. Computers and Electronics in Agriculture, 2018,150:196-204.
[10] LIU D J, NING X F, LI Z M, et al. Discriminating and elimination of damaged soybean seeds based on image characteristics[J]. Journal of Stored Products Research, 2015,60:67-74.
[11] 祁欣,陈剑锋,罗伟林.图像预处理算法的FPGA实现[J].国外电子测量技术, 2021,40(2):102-107.
[12] 刘嘉政,王雪峰,王甜.基于深度学习的5种树皮纹理图像识别研究[J].北京林业大学学报, 2019,41(4):146-154.
[13] 刘丽,赵凌君,郭承玉,等.图像纹理分类方法研究进展和展望[J].自动化学报, 2018,44(4):584-607.
[14] HARALICK R M, SHANMUGAM K, DINSTEIN I. Textural features for image classification[J]. IEEE Transactions on Systems Man and Cybernetics, 1973,3(6):610-621.
[15] ULABY F T, KOUYATE F, BRISCO B, et al. Textural information in SAR images[J]. IEEE Transactions on Geoscience and Remote Sensing, 1986, GE-24(2):235-245.
[16] 郭慧,王霄,刘传泽,等.基于灰度共生矩阵和分层聚类的刨花板表面图像缺陷提取方法[J].林业科学,2018,54(11):111-120.
[17] REN G X, LIU Y, NING J M, et al. Assessing black tea quality based on visible–near infrared spectra and kernel-based methods[J]. Journal of Food Composition and Analysis, 2021,98:103810.
[18] 李秀昊,马 旭,李泽华,等.基于特征融合和SVM的稻谷品种识别[J].中国农机化学报,2019,40(7):97-102.
[19] XUE J K, SHEN B. A novel swarm intelligence optimization approach: sparrow search algorithm[J]. Systems Science & Control Engineering, 2020,8(1):22-34.
[20] 韩敏,李宇,韩冰.基于改进结构保持数据降维方法的故障诊断研究[J].自动化学报,2021,47(2):338-348.
[21] 张强,李家金,王毛毛,等.基于改进主成分分析法的测井曲线岩性分层技术[J].吉林大学学报(地球科学版),2022,52(4):1369-1376.
[22] 纪 龙,申红芳,徐春春,等.基于非线性主成分分析的绿色超级稻品种综合评价[J].作物学报,2019,45(7):982-992.
Outlines

/

〈 〉