Demonstrates improved soil particle size distribution predictions using smartphone images, highlighting practical applications.
We present GRAI3, a device-agnostic web application for generalizable prediction of soil particle size distribution from standardized smartphone images. GRAI3 couples a streamlined acquisition protocol using a photo-box with a deep learning pipeline based on EfficientNetV2-S, trained on an expanded, diverse dataset. The method models the cumulative particle size distribution with a two-parameter Weibull function, inferring its scale and shape directly from an image. To achieve device-agnostic performance, GRAI3 automatically reads camera EXIF metadata, retrieves per-device pixel density from a calibration table or estimates pixel density when the device is unknown based on the typical angle of view. Images are normalized to a target pixel density and centre-cropped to a fixed resolution before inference, reducing covariate shift across cameras. A lightweight verification model checks whether the uploaded image depicts soil and adheres to photo-box capture requirements. The web application performs real-time inference and provides a one-click PDF report, embedding the original photo, PSD curve and computed parameters. Monte Carlo dropout was implemented to provide a measure of confidence in the model’s predictions. Comparison with a SAM-refined, U-Net-based segmentation pipeline shows that GRAI3 remains robust with fine textures. Validation on an expanded dataset and cross-device scenarios indicates improved generalizability relative to prior versions, attributable to the upgraded backbone and group cross-validation. GRAI3 thus offers a practical, reproducible workflow for soil granulometry estimation using commodity smartphones, supporting rapid screening, documentation and reporting in geotechnical and environmental applications.
No takes yet. Share an insight, caveat, or question.
Enrico Soranzo (2026) studied this question.
Synapse has enriched 5 closely related papers on similar clinical questions. Consider them for comparative context: