Work

Tomato Plant Disease Classification Based on Leaf Images Using ResNet-50 Feature Extraction and Random Forest

Year: 2026
Type: article
Abstract: Leaf diseases are among the factors believed to destabilize tomato yields, while manual field identification is slow, expert-dependent, and error-prone. This study develops an image-based tomato leaf disease classification system using transfer learning: a frozen ImageNet-pretrained ResNet-50 serves as a feature extractor (2,048-dimensional vectors) and Random Forest serves as the classifier. A public dataset of 11,000 leaf images in ten classes (nine diseases and one healthy class) was resized to 224 × 224 pixels. Three train–test ratios (90:10, 80:20, 70:30) and three forest sizes (100, 300, 500 trees) were evaluated. The best Random Forest configuration, a 70:30 split with 500 trees, reached 90.21% accuracy, yet training accuracy was 100% in every scenario, indicating overfitting. A Dense classifier (512 units, two hidden layers) trained on the same features reached 97.12% test accuracy, with a training–validation gap of only 1.49–3.19 percentage points across configurations. Errors concentrated on Early Blight, Late Blight, and Target Spot, whose symptoms look alike. The Dense Classifier model was deployed as a Streamlit web prototype. The findings show that ResNet-50 features are highly informative for tomato leaf diseases, but the choice of classifier strongly determines generalization.
Language: English
Subfield: Plant Science
Open Access status: diamond
OpenAlex ID: W7236980917
FWCI:
Cites: 13
Cited by:
Related to: 10