基于机器视觉的花生种子外观品质检测与分类方法研究
2021-06-15马佳佳王克强郑奕雄蔡肯林钦永
马佳佳 王克强 郑奕雄 蔡肯 林钦永



摘要 [目的] 花生种子的有效分类是花生产业中选育良种的重要环节,为降低花生产业对人工的依赖程度,简化选种过程,提出了一种基于机器视觉的花生种子外观品质检测与分类方法。[方法]在相同环境下采集单粒花生种子图像,建立花生种子对象在图像中像素数与其实际质量的回归模型,以花生种子尺寸和外观颜色作为主要特征,采用支持向量机分类模型完成分类任务。[结果]使用該方法完成12个类别的分类,对批量花生种子的分类准确率达86%,符合实际生产中花生种子初步分类要求。[结论]该方法对花生种子图像代表性特征的选择和识别样本的简化使得分类系统更符合实际生产需要,对同品种花生种子的不同品质分类以及不同品种花生种子的直接分类有着积极意义。
关键词 花生种子;机器视觉;图像识别;支持向量机
中图分类号 S126文献标识码 A
文章编号 0517-6611(2021)10-0225-03
doi:10.3969/j.issn.0517-6611.2021.10.057
开放科学(资源服务)标识码(OSID):
Research on the Appearance Quality Detection and Classification of Peanut Seeds Based on Machine Vision
MA Jia-jia, WANG Ke-qiang, ZHENG Yi-xiong et al (Zhongkai University of Agriculture and Engineering, Guangzhou, Guangdong 510225)
Abstract [Objective]The effective classification of peanut seeds was an important link in peanut breeding. In order to reduce the dependence of peanut industry on labor and simplify the seed selection process, a method of peanut seed appearance quality detection and classification based on machine vision was proposed. [Method] The image of single peanut seed was collected in the same environment, and the regression model between the image prime number and the actual quality of peanut seed object was established. The classification task was completed by using support vector machine (SVM) classification model with the main characteristics of peanut seed size and appearance color. [Result]The classification accuracy of 12 categories was 86%, which met the preliminary classification requirements of peanut seeds in actual production. [Conclusion]The selection of representative features of peanut seed image and the simplification of recognition samples make the classification system more in line with the actual production needs. It has positive significance for different quality classification of the same peanut seed and direct classification of different peanut seeds.
Key words Peanut seeds;Machine vision;Image recognition;Support vector machine
花生是中国产量丰富、食用广泛的一种坚果,同时也是中国为数不多的具有强劲国际竞争力的出口创汇农产品[1]。花生良种的选择与培育是花生种植的关键,因此花生种子的精选分类也是我国花生高产稳产的首要保证。分类是对农作物果实的大小、形状、颜色、营养物质含量、表面缺陷等性状进行检测和识别后,根据行业标准划分类别的操作过程[2]。通过机器视觉对花生种子进行有效分类有利于花生种植中选育良种,降低产业对人工的依赖程度,提高相关产业竞争力,对我国花生产业升级也具有重要意义。……
