A preview of this full-text is provided by Springer Nature.
Content available from The Journal of Supercomputing
This content is subject to copyright. Terms and conditions apply.
Vol.:(0123456789)
The Journal of Supercomputing (2024) 80:21837–21866
https://doi.org/10.1007/s11227-024-06301-8
1 3
MiniTomatoNet: alightweight CNN fortomato leaf disease
recognition onheterogeneous FPGA‑SoC
TheodoraSanida1· MinasDasygenis1
Accepted: 9 June 2024 / Published online: 17 June 2024
© The Author(s), under exclusive licence to Springer Science+Business Media, LLC, part of Springer Nature
2024
Abstract
Recognition of leaf diseases in agriculture is considered a significant aspect of
ensuring food quantity, quality, and production. In general, crop leaves are suscepti-
ble and fragile to various diseases such as leaf mold, target spot, late blight, bacterial
spot or early blight of tomato plants. However, these tomato plant diseases are chal-
lenging to recognize, and early diagnosis is vital. At the same time, the continuous
growth of convolutional neural network (CNN) approaches has significantly assisted
plant disease diagnosis, providing a robust mechanism with highly accurate results.
On the other hand, the number of unhealthy leaf images collected is often unbal-
anced, and diagnosing diseases with such an unbalanced data set is complicated.
So, numerous models for tomato disease diagnosis based on CNN models have been
proposed. However, none overcomes the class imbalance problem and, as a result,
does not generate findings with impartial accuracy. This article presents an efficient
and robust solution for the heterogeneous PYNQ-Z1 board. Optimization tech-
niques-including loop unrolling, pipelining, array partitioning, and loop flattening-
enhance the computation speed across the network’s convolutional, fully connected,
and max-pooling layers. The presented CNN approach comprises an 8-layer network
termed MiniTomatoNet. This network is characterized by its streamlined structure,
possessing only under 23 K parameters with all weights and biases and occupying
a memory of 89.51 KB. In addition, the model trains with a re-weighted focal loss
function and achieves 97.63% accuracy and 98.51% AUC score; the inference rate
speed is 0.068s per frame, and the power consumption is 2.35 W. Finally, the model
is efficient, low power, robust, high accuracy and fast speed, making it a promising
solution for diagnosing tomato diseases.
Keywords Heterogeneous FPGA-SoC· Lightweight CNN· Class imbalanced
learning· Tomato disease recognition
Extended author information available on the last page of the article
Content courtesy of Springer Nature, terms of use apply. Rights reserved.