FPGA implementation and hardware–software co-optimization of a handcrafted-feature ANN pipeline for real-time potato leaf disease classification
Plant diseases pose a significant threat to global food security, reducing agricultural productivity and economic stability. Early and accurate diagnosis is crucial to mitigating these impacts, but conventional methods often rely on resource-intensive computations, making them impractical for deployment on edge devices with limited power and processing capabilities. This paper presents a Field Programmable Gate Array (FPGA) based real-time potato leaf disease identification system. The proposed approach integrates algorithmic simplifications with hardware-level optimizations to meet the stringent latency and power requirements of edge environments. Segmentation is performed along a single spatial dimension rather than two, reducing computational complexity while maintaining classification accuracy. Feature extraction leverages Local Binary Patterns (LBP) combined with color descriptors, and multiple feature combinations are empirically evaluated to determine the most effective set. A low-complexity artificial neural network (ANN) classifier is developed, achieving an average accuracy of 97.50%, outperforming prior approaches in both precision and efficiency. The inference engine is implemented on an FPGA-based System-on-Chip (SoC), where design strategies such as pixel-wise serial processing, approximation of computationally intensive functions, and pre-thresholding are employed to minimize area and energy consumption. A pipelined hardware architecture further enhances throughput, yielding a 7.2× improvement over non-pipelined design and sustaining a frame rate of 33.23 frames per second. Moreover, comparison with prior FPGA-based implementation shows an improvement in latency and throughput. This combined hardware-software co-optimization enables an accurate and real-time diagnosis of plant disease, making it a practical solution for agricultural application.
Authors
- Syed Azhar Ali Zaidi (ORCID: https://orcid.org/0000-0001-8535-4905)
- Junaid Ahmed (ORCID: https://orcid.org/0009-0009-0539-3839)
Institutions
- University of Engineering and Technology Taxila (PK)
Publication Details
- Journal
- PLoS ONE
- Published
- 2026-12-03
- DOI
- https://doi.org/10.1371/journal.pone.0364096
- Primary Topic
- Smart Agriculture and AI
- Type
- article
- Field-Weighted Citation Impact
- 0.00