Related Experiment Videos
Hybrid Sensor-Vision Machine Learning for Predicting Mahewu Fermentation Dynamics
Ismail Adeleke1, Oluwafemi Ayodeji Adebo2, Nnamdi Nwulu1
1Center for Cyber-Physical Food, Energy and Water Systems (CCP-FEWS), Department of Electrical and Electronic Engineering Science, University of Johannesburg, Johannesburg, South Africa.
Abstract:
This study developed and evaluated a laboratory-scale hybrid sensor-vision machine learning framework for monitoring and predicting mahewu fermentation dynamics using synchronized physicochemical sensing and surface-image analysis. White- and yellow-maize mahewu were fermented under controlled processing conditions while pH, electrical conductivity (EC), and temperature were recorded and surface images were captured under fixed LED illumination. Images were segmented and converted into color, texture, edge, and morphology descriptors, then aligned with sensor records and raw laboratory total titratable acidity (TTA) and total soluble solids (TSS) measurements using tolerance-valid matching. Semantic segmentation was evaluated separately across 96 manually annotated images from 14 fermentation-run groups using nested grouped validation, producing a run-balanced mean Dice coefficient of 0.8070 and mean intersection over union of 0.7195. Primary raw laboratory prediction models used 7945 matched image-sensor records from 12 main fermentation runs, including 71 TTA and 87 TSS reference records. Leakage-controlled models were evaluated by fermentation run using image-only, sensor-context, and multimodal feature sets. Raw laboratory TTA was predicted most effectively using sensor-context variables with Gradient Boosting (R2 = 0.8298, MAE = 61.03 , RMSE = 96.46 ). Raw laboratory TSS showed the best point-estimate performance with a multimodal Random Forest model (R2 = 0.5939, MAE = 0.624 , RMSE = 0.789 ). Image-only models were weaker for both targets, indicating that surface descriptors are better interpreted as complementary rather than standalone information. Further validation across independent batches, lighting conditions, vessel geometries, and production environments is required before use beyond controlled laboratory conditions. PRACTICAL APPLICATIONS: Mahewu fermentation is often assessed through appearance, sourness, and producer experience. Recording pH, electrical conductivity, temperature, and surface images together provided a more objective account of within-batch changes under laboratory conditions. After validation in practical production settings, this approach could help producers compare batches and make more consistent fermentation decisions.
Related Concept Videos
Microbial Biosensors
Bioreactor Controls-I