中国农业科学 ›› 2020, Vol. 53 ›› Issue (16): 3257-3268.doi: 10.3864/j.issn.0578-1752.2020.16.005

• 耕作栽培·生理生化·农业信息技术 • 上一篇    下一篇

面向移动终端的农业害虫图像智能识别系统的研究与开发

邵泽中1(),姚青1(),唐健2(),李罕琼3,杨保军2,吕军1,陈轶4   

  1. 1浙江理工大学信息学院,杭州 310018
    2中国水稻研究所/水稻生物学国家重点实验室,杭州 310006
    3嘉善县农业农村局,浙江嘉兴 314100
    4桐乡市农业技术推广服务中心,浙江桐乡 314500
  • 收稿日期:2019-10-16 接受日期:2019-12-02 出版日期:2020-08-16 发布日期:2020-08-27
  • 通讯作者: 姚青,唐健
  • 作者简介:邵泽中,E-mail:812193586@qq.com
  • 基金资助:
    浙江省公益性项目(LGN18C140007);国家“863”计划(2013AA102402)

Research and Development of the Intelligent Identification System of Agricultural Pests for Mobile Terminals

SHAO ZeZhong1(),YAO Qing1(),TANG Jian2(),LI HanQiong3,YANG BaoJun2,LÜ Jun1,CHEN Yi4   

  1. 1School of Information and Technology, Zhejiang Sci-Tech University, Hangzhou 310018
    2State Key Laboratory of Rice Biology, China National Rice Research Institute, Hangzhou 310006
    3Jia Shan County Agricultural and Rural Bureau, Jiaxing 314100, Zhejiang
    4Tongxiang Agricultural Technology Extension Service Center, Tongxiang 314500, Zhejiang
  • Received:2019-10-16 Accepted:2019-12-02 Online:2020-08-16 Published:2020-08-27
  • Contact: Qing YAO,Jian TANG

摘要:

【目的】农作物田间害虫种类繁多,存在种间相似和种内差异的现象,容易混淆。本研究开发一个面向移动终端的农业害虫图像智能识别系统,为广大农户和基层测报人员提供一个便捷准确的农业害虫智能识别工具。【方法】农业害虫图像智能识别系统包括装有系统APP的移动客户端、服务器和基于深度学习的农业害虫识别模型。APP是在Android环境下开发的,可安装于Android系统的移动设备中。APP包括登录模块、害虫信息查询模块、害虫智能识别模块、害虫地图标记模块和害虫专家远程鉴定模块,UI界面采用底部导航栏形式。移动终端与服务器间的信息交互采用HTTP协议,害虫采集地信息显示使用百度的Android地图SDK来实现,用户和害虫信息使用MySQL数据库进行保存。在相同训练集和测试集条件下,比较了不同深度卷积神经网络模型,筛选出基于DenseNet121的农业害虫识别模型具有最高的精准度和最低的虚警率。农业害虫识别模型的程序部署在阿里云远程服务器上,当服务器端接收到移动客户端上传的害虫图像时,运行害虫识别模型,识别结果通过服务器反馈给客户端,同时将上传的图像和识别结果保存在数据库中,便于害虫图像的追溯。【结果】当用户在农田遇到不认识的害虫时,可通过装有该系统APP的移动设备(如手机或平板)拍摄害虫图像,并上传到服务器,识别结果和害虫防治信息在1—2 s内反馈至用户移动终端的屏幕上,对识别结果不满意还可远程请求专家鉴定。该系统对66种常见农业害虫图像平均识别率为93.9%,平均虚警率为8.2%。【结论】面向移动终端的农业害虫图像智能识别系统实现了66种常见农业害虫信息查询、自动识别,害虫采集地的地图显示和专家远程鉴定等功能。为农民和基层测报人员提供了一个农业害虫便捷准确的自动识别工具,无需专家到田间即可实现了用户“一对一”的防治指导,大大节省了经济和时间成本。

关键词: 农业害虫, 移动终端, 云服务器, 卷积神经网络, 图像智能识别

Abstract:

【Objective】There are various species of pests in crop fields, and interspecific similarity and intraspecific difference are common in agricultural pests, which are easy to be confused. In this study, an intelligent system based on mobile terminals was developed to identify agricultural field pests. This system is an easy and intelligent tool of pest identification for peasants and pest forecasting technicians. 【Method】The intelligent identification system of agricultural field pests consists of a mobile client with a system APP, a server and a pest identification model based on deep learning. The application (APP) can be installed in mobile devices with Android system and includes user registration, pest information inquiry, pest automatic identification, pest location information and remote expert identification. The UI interface in this APP uses the style of bottom navigation bar, the information exchange between mobile client and server adopts HTTP protocol and the SDK of Baidu Android map is used to mark the geographic information of pests. The information of users and pests is saved in MySQL database. In the same training and testing sets, different convolutional neural network models were developed to identify agricultural pests. The results showed that the DenseNet121 model achieved the highest precision and lowest false alarm rate. The pest identification model based on DenseNet121 was installed in Alibaba Cloud remote server. When the server received the images from the mobile clients, the identification model was performed. The identification results were feed back to clients from the server. All images and results were saved in database for being traced back in future.【Result】When the users met unidentified pests in crop fields, the users could collect pest images and upload them to the server by the APP installed in mobile clients, such as mobile phone or PAD. The identification results and pest control information would be fed back to the mobile clients in 1-2 seconds. If the results were unsatisfied, the user could ask the expert to remotely identify pests. This system could identify 66 species of pests, and the average precision was 93.9% and false alarm rate was 8.2%. 【Conclusion】The intelligent identification system of agricultural pests could automatically identify the 66 species of agricultural pests. The system could inquire pest information, show the pest geographic information, and ask expert to remotely identify pests. This system is a tool for peasants and pest forecasting technicians to easily and accurately identify agricultural pests in crop fields. It can provide users the one-to-one pest control information and experts needn't go to crop fields for guiding peasants to manually identify pests. This system can save money and time.

Key words: agricultural pests, mobile clients, cloud server, convolutional neural networks, image intelligent identification