基于深度学习芒果图像在线识别与计数方法研究

2020-04-16 12:53:06岑冠军华俊达潘怡颖刘大河苏贝贝钟政张连宽高燕
热带作物学报 2020年3期

岑冠军 华俊达 潘怡颖 刘大河 苏贝贝 钟政 张连宽 高燕

摘  要:为实现果树产量的智能评估,本研究对自然环境下的圣心芒果树图像进行果实识别研究,提出基于深度学习算法的芒果图像在线识别计数方法。首先,采用Faster R-CNN深度学习模型构建芒果图像识别算法;接着基于微信小程序与网页平台开发芒果图像上传模块,实现随时随地上传芒果图像至服务器;然后采用基于TCP协议的服务器客户端通信模式,并结合基于MATLAB平台的Faster R-CNN程序集,构建上传图像的在线分析模块,实现线上芒果图像的实时识别与计数;最终,芒果图像的识别与计数结果通过微信小程序和Web页面程序反馈给用户,内容包括单张图片和1个果园区域内所有图片的识别与计数结果,并实现青色芒果和红色芒果的分类统计。应用本研究构建的在线深度学习识别计数方法,在自然环境下采集125幅芒果图像进行测试试验。结果表明:芒果图像识别算法的计数识别准确率达到82.3%,其中漏检率与误检率分别为11.7%和8.6%,平均计数误差与计数误差率分别为4.2和7.9%;芒果图像在线识别计数方法能有效实现果树图像的采集、上传、识别与计数、分类统计和结果反馈,对整个果园区域内结果数量进行统计与分析,为果园的智慧管理提供科学决策依据。

关键词:芒果图像;识别与计数;Faster-RCNN;在線方法

中图分类号:S667.7;TP391.41      文献标识码:A

Online Recognition and Counting with Deep Learning for Mango

Images

CEN Guanjun1, HUA Junda1, PAN Yiying1, LIU Dahe1, SU Beibei1, ZHONG Zheng1, ZHANG Liankuan1*, GAO Yan2*

1. College of Mathematics and Informatics, South China Agricultural University, Guangzhou, Guangdong 510642, China; 2. Plant Protection Research Institute, Guangdong Academy of Agricultural Sciences / Guangdong Provincial Key Laboratory of High Technology for Plant Protection, Guangzhou, Guangdong 510640, China

Abstract: In order to realize the intelligent assessment of fruit yield, this paper carried out an research on the fruit recognition of Shengxin mango image in natural environment, and proposed an online method of recognition and counting with deep learning of mango images. Firstly, the recognition algorithm for mango image was realized using the Faster R-CNN Model, a deep learning framework. Secondly, an upload module for mango images based on Wechat applet and Web platform was developed, which can upload images to a server at all times and places. Thirdly, a server-client communication mode based on the TCP protocol and the Faster R-CNN assembly in MATLAB were adopted to construct an online analysis module, which realized the real-time and online recognition and counting for mango images. Finally, the recognition and counting results for a single picture, or all pictures in an orchard, were feedback to users through the Wechat applet program and Web page program, including the classification statistics of green mango and red mango. A total of 125 mango images in natural environment had been collected and analyzed using the method proposed in the paper. The results showed that the correct recognition and counting rate of mango fruit was 82.3%, among which the rate of missed detection and error detection was 11.7% and 8.6%, respectively, the average counting error was 4.2 and the average counting error rate was 7.9%. The experimental results demonstrated that, the method proposed in the paper was able to provide a scientific decision-making basis for the wisdom management of orchards through results quantity analysis obtained by images recognition and counting.

Keywords: mango image; recognition and counting; Faster R-CNN; on-line method

DOI: 10.3969/j.issn.1000-2561.2020.03.002

芒果(Mangifera indica L.)是多年生的漆树科常绿大乔木,原产印度,营养丰富,是东南亚、非洲东西部和美洲许多发展中国家重要的出口经济作物。……

登录APP查看全文