Quantitative Analysis of Deep Leaf: A Plant Disease Detector on the Smart Edge


Diagnosis of plant health conditions is gaining significant attention in smart agriculture. Timely recognition of early symptoms of a disease can help avoid the spread of epidemics on the plantations. In this regard, most of the existing solutions use some AI techniques on smart edge devices (IoTs or intelligent Cyber Physical Systems), typically equipped with a hardware like sensors and actuators. However, the resource constraints on such devices like energy (power), memory and computation capability, make the execution of complex operations and AI algorithms (neural network models) for disease detection quite challenging. To this end, compression and quantization techniques offer viable solutions to reduce the memory footprint of neural networks while maximizing performance on the constrained devices. In this paper, we realized a real intelligent CPS on top of which we implemented an AI application, called Deep Leaf running on a microcontroller of the STM32 family, to detect coffee plant diseases with the help of a Quantized Convolutional Neural Network (Q-CNN) model. We present a quantitative analysis of Deep Leaf by comparing five different deep learning models: a 32-bit floating point model, a compressed model, and three different types of quantized models exhibiting differences in terms of accuracy, memory utilization, average inference time, and energy consumption. Experimental results show that the proposed Deep Leaf detector is able to correctly classify the plant health condition with an accuracy of 96%, thus demonstrating the feasibility of our approach on a Smart Edge platform.

Meeting Name

2020 IEEE International Conference on Smart Computing, SMARTCOMP 2020


Computer Science

Research Center/Lab(s)

Center for High Performance Computing Research

Keywords and Phrases

edge computing; intelligent CPS; plant disease; Q-CNN; smart agriculture

International Standard Book Number (ISBN)


Document Type

Article - Conference proceedings

Document Version


File Type





© 2020, All rights reserved.

Publication Date

01 Sep 2020