Abstract :
Maintaining nutrition, increasing yield, and minimizing an overabundance all depend on prompt identification and accurate classification of pests and diseases in tropical fruit crops. However, current deep learning approaches frequently have significant computing expenses and little flexibility to actual farming operations. In order to accomplish excellent classification precision with considerably fewer processing necessities, this study proposes ESA-ResNet34-Lite+, a novel lightweight, attention-enhanced deep learning framework that can be used in mobile and Internet of Things-based farming systems. Optimizing extracting features and concentrating on disease-specific behaviours while lowering the complexity of the model is achieved by integrating separable convolutions by depth and Efficient Spatial Attention (ESA) modules within a modified ResNet34 foundation. Furthermore, greater levels utilize Convolutional Block Attention Modules (CBAM) to improve multi-scale visualization of features and accuracy in classification. To train and validate the approach, a carefully selected dataset of roughly 3,500 tagged photos of tropical fruit crops including important guava diseases like Phytophthora, Scab, and Styler was utilized. Investigations show that ESA-ResNet34-Lite+ outperforms standard models like VGG16, MobileNet, and ResNet34 by 2–4% in classification accuracy, with an overall accuracy of 95.7%, precision, recall, and F1-scores of 95.6%, 95.8%, and 95.7%, respectively. The model also achieves a 70% reduction in FLOPs and an 85% reduction in specifications when compared to traditional architectures, highlighting its effectiveness and appropriateness for real-time field implementation. These results demonstrate that ESA-ResNet34-Lite+ offers an adaptable and economical intelligent agricultural approach by striking a good balance between accuracy and computational cost. Through the demonstration of exceptional detection performance on a difficult tropical crop dataset, this study creates a useful and trustworthy foundation for precision gardening, facilitating prompt disease control and encouraging ethical farming practices.