Skip to Content
SustainabilitySustainability
  • Article
  • Open Access

27 November 2026

36 Pages

Rice Moisture Classification from Smartphone Images: Balancing Performance, Stability, and Cost with Data Envelopment Analysis

,
,
,
,
,
and
1
Dirección de Investigación y Vinculación, Universidad de las Américas, Quito 170125, Ecuador
2
Department of Scholarly Research, Andrews University, Berrien Springs, MI 49104, USA
3
Ingeniería Industrial, Facultad de Ingeniería y Ciencias Aplicadas, Universidad de las Américas, Quito 170125, Ecuador
4
SI2Lab, Ingeniería de Software, Facultad de Ingeniería y Ciencias Aplicadas, Universidad de las Américas, Quito 170125, Ecuador

Abstract

Affordable moisture assessment is essential for sustainable rice postharvest management. This exploratory study classifies seven moisture levels (10% to 16%) of rice grains from 1771 smartphone images acquired under eight conditions of lighting, color channel, and zoom. Global descriptors were classified with three classifiers and local keypoint descriptors with Random Forest only; in the original analysis, the maximum macro F1-score (averaged over classifiers) was 0.95 on held-out images from the same acquisition sessions. Data Envelopment Analysis (DEA) was applied to 126 pipelines (classifier, global descriptor, and image scale), with feature length and image scale as cost inputs and mean F1-score and stability across acquisition conditions as outputs. With these cost proxies, the descriptor, rather than the classifier, drove efficiency: local binary patterns (LBPs, 18 dimensions) offered the best trade-off. In a re-evaluation of 21 global-descriptor pipelines, the mean F1-score was 0.76 with random image splits, 0.68 with time-block cross-validation, and 0.10 across conditions. With measured extraction time and model size, simple color histograms became the most efficient, and the proxy-based and measured-cost rankings were unrelated. Since each level was photographed in a single session, the results do not establish a moisture-measurement method, and validation on independent batches is required. The DEA framework makes computational cost an explicit criterion for selecting low-cost moisture-monitoring pipelines.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.