湖北农业科学 ›› 2019, Vol. 58 ›› Issue (23): 201-206.doi: 10.14088/j.cnki.issn0439-8114.2019.23.050

• 农业工程 • 上一篇    下一篇

基于计算机视觉的葵花子外观品质检测研究

吴进玲, 张海东, 李哲, 施伟, 田小军   

  1. 云南农业大学机电工程学院,昆明 650201
  • 收稿日期:2018-09-30 出版日期:2019-12-10 发布日期:2019-12-18
  • 通讯作者: 张海东(1974-),男,博士,主要从事农产品品质无损检测方面的研究,(电话)159121895820(电子信箱)zhd_74@126.com。
  • 作者简介:吴进玲(1992-),女,山东临沂人,在读硕士研究生,研究方向为农产品品质无损检测,(电话)18313806397(电子信箱)2515090827@qq.com
  • 基金资助:
    云南农业大学科研开发基金项目

Research on detection of sunflower seed's appearance quality based on computer vision

WU Jin-ling, ZHANG Hai-dong, LI Zhe, SHI Wei, TIAN Xiao-jun   

  1. School of Mechanical and Electrical Engineering,Yunnan Agricultural University,Kunming 650201,China
  • Received:2018-09-30 Online:2019-12-10 Published:2019-12-18

摘要: 通过采集完好、霉变、破损葵花子的图像并对其进行预处理,研究共提取了3个颜色特征值(G、B、I)和5个纹理特征值(灰度均匀性、梯度均匀性、惯性矩、一致性、熵),采用BP神经网络和决策树算法分别对3种葵花子进行检测识别。结果显示,BP网络采纳全部8个特征值,正确率98.58%;决策树算法采纳2个特征值(G、B),正确率99.25%,说明决策树算法模型更简洁,效果更好,表明计算机视觉技术可以实现完好、霉变、破损葵花子的检测识别。

关键词: 葵花子, 计算机视觉, 神经网络, 决策树

Abstract: The images of intact, mildewed and damaged sunflower seed samples were acquired and preprocessed to extract 3 color features’value of G, B and I, and extract 5 texture feature values which include gray uniformity, gradient uniformity, moment of inertia, consistency and entropy. Then BP neural network and decision tree algorithm were conducted to discriminate above three kinds of sunflower seed samples based on extracted color features and texture features. Results showed that all eight image features were adopted by BP neural network, and the BP model gave the recognition rate by 98.58% for intact, mildewed and damaged sunflower seed samples respectively; while only two features were inputted into decision tree model, G and B, and the model gave the recognition rate by 99.25%. Compared with BP neural network model, the decision tree model shows more concise structure and more efficient performance. Result told that intact, mildew and damaged sunflower seeds can be discriminated computer vision technology.

Key words: sunflower seeds, computer vision, neural network, decision tree

中图分类号: