Table 5 Image preprocessing and dataset augmentation details.

From: AI and IoT-powered edge device optimized for crop pest and disease detection

Processing technique

Details

Image resizing

224 × 224 pixels

Width and height shifts

Up to 0–30%

Shear

Up to 30%

Zoom

Up to 30%

Brightness adjustments

[0.8, 1.2]

Horizontal flips

Applied randomly

Fill mode

Nearest

Dataset splitting

70% training, 15% validation, 15% testing