新疆农业科学2017,Vol.54Issue(3):538-545,8.DOI:10.6048/j.issn.1001-4330.2017.03.019
机器视觉在线检测核桃大小软件设计
Software Design of Machine Vision On-Line Detection of Walnut Size
摘要
Abstract
[Objective] To design a kind of software which can grade the size of walnut online by machine vision.[Method]In this paper,the Daheng USB2.0 Industrial Camera was used to obtain the RGB image of walnut on-line detection,and the interface of program was developed by VS2010 to convert the image data and preprocess,which could obtain the contour of image.By using OpenCV image moment calculation principle to extract walnut dimensions data,the software could provide different levels of signal for the lower computers to control solenoid valve action.[Result]The software displayed the images before and after the processing and realized the optimization of image acquisition and the manual adjustment of segmentation threshold.[Conclusion]The walnut size software based on machine vision can detect walnut with different sizes and send out grading signal accurately.关键词
机器视觉/在线检测/OpenCV/核桃/自动分级Key words
machine vision/on-line detection/OpenCV/walnut automatic classification分类
农业科技引用本文复制引用
郭政,史建新,周军,蔡建,刘航..机器视觉在线检测核桃大小软件设计[J].新疆农业科学,2017,54(3):538-545,8.基金项目
新疆维吾尔自治区农牧业机械产品质量监督管理站资助项目"基于机器视觉的核桃分级技术研究" ()
"十二五"国家科技支撑计划项目(2011BAD27B02-05-02) (2011BAD27B02-05-02)
新疆维吾尔自治区科技成果转化项目(201130102-4) (201130102-4)
Fund Program of Farming and Animal Husbandry Machinery Products Quality Supervision and Management of Xinjiang"Walnut Grading Technology Research Based on Machine Vision" ()
Supported by Projects in the National Science & Technology Pillar Program during the Twelfth Five-year Plan Period (2011BAD27B02-05-02) (2011BAD27B02-05-02)
Science and technology achievement transformation project of Xinjiang (201130102-4) (201130102-4)