Auckland University of Technology
TinyML for Real-Time Crop Disease Detection in Precision Agriculture: A Proof-of-Concept Study on Maize Leaf Disease Detection
Abstract
dc:description.abstractTraditional machine learning approaches for crop disease detection often require substantial computational resources, energy consumption, and net-work connectivity. Tiny Machine Learning (TinyML) addresses these limita-tions by enabling machine learning inference directly on resource-constrained edge devices, like microcontrollers. It is therefore well-suited for remote field applications with limited or nonexistent internet connectivity and cloud infrastructure. This study proposes a TinyML-based framework for real-time crop disease detection, demonstrated through a proof-of-concept study on binary maize leaf disease detection. Three lightweight deep learning models, namely a custom CNN, a custom MobileViT model, and a transfer learning-based MobileNetV1 model, were developed and evaluated on two publicly available maize leaf image datasets. To ensure a robust performance assessment, five-fold cross-validation was used, and model performance was evaluated using accuracy, precision, recall, F1-score, false positives, and false negatives. The trained models were subsequently opti-mised and converted to TensorFlow Lite format for deployment on Arduino Portenta H7. The comparative analysis showed that while MobileNetV1 demonstrated superior deployment efficiency with a latency of 71 ms and RAM of 125 KB, custom CNN and transformer-based MobileViT models achieved mean classification accuracy of 91.90% and 96.07%, comparable to, and in some cases exceeding, that of the transfer learning-based MobileNetV1 model. The results also demonstrate the trade-off between disease detection performance and deployment feasibility, highlighting the need to balance predictive accuracy with computational efficiency in TinyML applications. Using binary maize leaf disease detection as a proof-of-concept, this study demonstrates the feasibility of deploying lightweight deep learning models on resource-constrained edge devices for real-time crop disease detection in precision agriculture.
Degree
thesis:*- Name thesis:degree_name
- Master of Engineering
- Grantor dc:publisher
- Auckland University of Technology
- Year dc:date.issued
- 2026
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Nag, Prama
- Advisor dc:contributor.advisor
-
- Alam, Fakhrul
Rights
dc:rights.accessrights- Statement dc:rights.accessrights
-
- OpenAccess
- Language dc:language.iso
- en
Identifiers
dc:identifier.*- Handle dc:identifier.uri
- https://hdl.handle.net/10292/22187