Shallots are a strategic horticultural commodity in Indonesia, but their productivity can be disrupted by leaf diseases such as purple blotch (Alternaria porri) and downy mildew (Peronospora destructor). Visual identification does not yet provide a quantitative measure of infected tissue area, whereas pixel-level segmentation allows image-based estimation of lesion area. This study evaluated DeepLabV3+ with a ResNet-50 backbone on 2,000 shallot leaf images collected from farmers' fields in Losari, Brebes, in March and October 2025 (750 healthy, 650 purple blotch and 600 downy mildew images). Pixels were labeled as background, healthy leaf or lesion, and the images were split 70:15:15 into 1,400 training, 300 validation and 300 testing images. Training used a 512 × 512 input, 100 epochs, batch size 8, the Adam optimizer with a learning rate of 0.0001, and a combined Dice and cross-entropy loss. On the testing set the model reached a Mean IoU of 87.61%, a Dice Coefficient of 93.40% and a Pixel Accuracy of 94.82%, with a lesion-class IoU of 78.11%. Severity ratios from predicted masks agreed with those from ground-truth masks, with a mean absolute error of 2.15 percentage points and R² of 0.92. The data come from one location and two planting seasons and the severity categories are provisional, so the results serve as an initial baseline that requires independent field validation and expert assessment
Copyrights © 2026