Bacterial spot caused by Xanthomonas campestris pv. vesicatoria is a critical disease in bell peppers that can reduce productivity by up to 50%. This study implements MobileNetV2 with two-stage transfer learning for real-time bacterial spot detection using lightweight architecture approach, with ResNet50 as baseline comparison. PlantVillage dataset (2,475 images) was used for training and in-domain evaluation, while India dataset (132 images) for domain shift assessment. Results demonstrate MobileNetV2 achieves 98.66% accuracy on PlantVillage test set, outperforming ResNet50 (89.78%) by 8.88 percentage points despite being 9.2× lighter (2.7 MB vs 24.3 MB TFLite) and 2.0× faster (22.4 ms vs 45.8 ms inference time). MobileNetV2 efficiency advantage is also evident in its inference memory footprint of only 107 MB RAM, significantly 2.3x lower than ResNet50(242 MB RAM), making it highly suitable for deployment on mid-range smartphones with limited RAM. External dataset evaluation reveals MobileNetV2 maintains superior robustness with 65.3% retention rate versus ResNet50's 52.3%. Trade-off analysis positions MobileNetV2 on the Pareto frontier, achieving optimal accuracy-efficiency sweet spot for plant disease detection applications. This research contributes empirical evidence for lightweight architecture superiority, comprehensive efficiency-oriented evaluation framework, ULTRA-LIGHT training strategy for addressing inverse overfitting, and realistic generalization assessment using tropical external dataset.
Copyrights © 2026