Research on Agricultural Products Volume Estimation Method Based on Depth Imaging and Machine Learning Technology
Summary
Accurate, non-contact size and weight grading in horticultural packing houses and poultry processing lines remains constrained by irregular three-dimensional commodity geometry, mutual fruit or egg occlusion on moving conveyors, and ambient illumination shifts. Conducted from September 2017 to December 2023 in the College of Engineering at Nanjing Agricultural University under Prof. Chen Kunjie, this doctoral dissertation formulates and validates depth-imaging and machine learning pipelines for agricultural product volume and mass estimation across five linked empirical investigations. Calibrated Kinect RGB-D sensors acquire multi-orientation depth frames that are filtered, background-subtracted, and transformed into 2-D contour descriptors, active shape cut masks, and 3-D reconstructed surface-integration meshes. Single-commodity regression models benchmarked across tomatoes, intact eggs, and dressed poultry establish RBF Support Vector Regression (RBF-SVR), Exponential Gaussian Process Regression (GPR), Bayesian-regularized artificial neural networks, and Bagged Decision Trees as reliable inline estimators: RBF-SVR achieves 97.06% mass accuracy and 96.94% volume accuracy on cherry tomatoes (allometric power law M = 1.312 V^0.9551, R² = 0.9824); Exponential GPR attains R² = 0.984 (RMSE = 1.175 cm³) on isolated eggs and 1.080 to 1.294 cm³ under partial occlusion via M-circle contour fitting; concave-convex polygon splitting resolves touching tomato clusters at R² = 0.982 for volume and R² = 0.971 for mass; Active Shape Models partition broiler carcasses into commercial cuts (whole carcass R² = 0.9981); and 25-model 3-D surface reconstruction benchmarks confirm Bagged Trees achieve R² = 0.9988 (RMSE = 5.335 cm³, ARE = 2.125%) in under 1.6 s per carcass with paired t-test agreement (P < 0.05).
Calibrated Overhead Kinect Acquisition Station (0.7 m)
Conveyor Broiler Carcass 3-D Point-Cloud Reconstruction
Results
Across five experimental studies and 25 evaluated regression families spanning Support Vector Regression, Gaussian Process Regression, Decision Tree ensembles, Kernel Approximation, and Artificial Neural Networks, combining calibrated depth morphology with 3-D surface reconstruction consistently yields R² ≥ 0.982 on held-out postharvest samples. Paired two-sample t-tests between Bagged Tree predictions (1,420.874 ± 191.456 cm³) and physical Water Displacement Method reference measurements (1,412.736 ± 182.634 cm³) confirm agreement (P < 0.05) at < 1.6 s end-to-end processing time per moving carcass.
Master Doctoral Matrix: Commodities, Modalities & Held-Out Test Performance
Cross-study comparison uniting all five peer-reviewed empirical studies completed for the 2023 Nanjing Agricultural University doctoral dissertation.
| Commodity / Study | Publication Venue | Segmentation / Features | Top Model | Held-Out Accuracy / Error |
|---|---|---|---|---|
| Cherry Tomatoes (Single) | J. Food Eng. 263 (2019) | 2-D + 3-D depth features | RBF-SVM | 96.94% vol · 97.06% mass · Power law R² = 0.9824 |
| Chicken Eggs (Occluded) | J. Food Eng. 283 (2020) | Curvature + k-closest M-circles | Exponential GPR | R² = 0.984 · RMSE 1.175 cm³ (1.080 / 1.294 occluded) |
| Tomato Clusters (Occluded) | Int. J. Food Prop. 24 (2021) | Concave-convex polygon split | RBF-SVM / Bayes ANN | R² = 0.982 vol (1.268 cm³) · R² = 0.971 weight (1.468 g) |
| Broiler Carcass & 4 Cuts | Poultry Sci. 100 (2021) | Active Shape Model (ASM) masks | Bayes ANN / RBF-SVR | Whole R² = 0.9981 · Wings 0.9896 · Head/neck 0.9847 |
| Online 3-D Chicken Carcass | Poultry Sci. 103 (2024) | 3-D mesh + 2-D/3-D morphology | Bagged Trees | R² = 0.9988 · RMSE = 5.335 cm³ · ARE = 2.125% (< 1.6 s) |
Paired t-Test Validation Against Physical Water Displacement Method (Table 15)
Bagged Trees volume estimates compared directly against laboratory Water Displacement Method (WDM) measurements on held-out poultry carcasses (P < 0.05).
| Model | Measured WDM Volume (cm³, mean ± SD) | Estimated Volume (cm³, mean ± SD) | Evaluation Latency |
|---|---|---|---|
| Bagged Trees (Ours) | 1,412.736 ± 182.634 | 1,420.874 ± 191.456 | < 1.6 s / carcass (n = 30) |
Chapter Study I: Single Cherry Tomato Volume & Mass Calibration (J. Food Eng. 2019)
Multi-orientation Kinect depth acquisitions established how sensor height calibration (0.7 m above the 0.5 m conveyor belt) records surface height alongside 2-D silhouette descriptors. Across five candidate regression models, RBF-SVM reached 97.06% accuracy in mass estimation from 2-D features and 96.94% in volume estimation using combined 2-D and depth descriptors.
An empirical power-law calibration M = 1.312 V^0.9551 translated vision-estimated volumes directly into fruit mass on held-out test samples at R² = 0.9824 and RMSE = 15.84 g, creating an inline proxy for produce density sorting.
Cherry Tomato RBF-SVM & Allometric Performance Summary
| Target Estimator | Input Representation | Held-Out Performance |
|---|---|---|
| RBF-SVM Mass Estimator | 2-D geometric features | 97.06% prediction accuracy |
| RBF-SVM Volume Estimator | Combined 2-D + 3-D depth features | 96.94% prediction accuracy |
| Allometric Calibration Model | M = 1.312 × V^0.9551 | R² = 0.9824 · RMSE = 15.84 g |
Chapter Study II: Splitting Occluded Tomato Clusters on Moving Belts (Int. J. Food Prop. 2021)
Packing-line belts rarely isolate single fruits cleanly; mutual contact distorts projected silhouettes and breaks naive area-to-volume regressors. Concave and convex contour vertex detection combined with polygon approximation separates touching multi-tomato clusters cleanly prior to feature computation.
Evaluated across seven regression algorithms trained on isolated tomato geometry, RBF-SVM reached R² = 0.982 (RMSE = 1.2683 cm³) for fruit volume and Bayesian-regularized neural networks achieved R² = 0.971 (RMSE = 1.468 g) for fruit weight across isolated and clustered runs.
Single vs. Partially Occluded Tomato Regression Results (7 Models)
| Estimated Property | Selected Top Model | Test R² | Test RMSE |
|---|---|---|---|
| Displacement Volume (cm³) | RBF Support Vector Machine | 0.982 | 1.2683 cm³ |
| Fruit Mass (g) | Bayesian Regularized ANN | 0.971 | 1.468 g |
Chapter Study III: Infrared-Depth Chicken Egg Volume & M-Circle Segmentation (J. Food Eng. 2020)
Hatchery and table-egg grading lines present ellipsoidal geometry compounded by tight tray packing and specular shell reflections. Contour curvature analysis paired with a k-closest M-circle-center fitting algorithm separated both simple adjacent pairs and complex multi-egg clusters.
Across 13 trained regression models using non-contact infrared depth descriptors, Exponential Gaussian Process Regression (GPR) achieved R² = 0.984 and RMSE = 1.175 cm³ on isolated eggs, sustaining 1.080 cm³ under simple occlusion and 1.294 cm³ under complex occlusion.
Exponential GPR Accuracy Across Egg Occlusion Regimes (13 Models Evaluated)
| Belt / Tray Configuration | Segmentation Algorithm | Test RMSE (cm³) | Validation Status |
|---|---|---|---|
| Isolated Single Egg | Morphological depth thresholding | 1.175 | R² = 0.984 |
| Simple Multi-Egg Contact | Contour curvature + M-circle centers | 1.080 | Held-out validation |
| Complex Multi-Egg Cluster | Contour curvature + k-closest M-circles | 1.294 | Held-out validation |
Chapter Study IV: Broiler Carcass & Anatomical Cut Weight Estimation (Poultry Sci. 2021)
Whole-carcass inspection masks uneven value across commercial poultry cuts. This chapter formulated an Active Shape Model (ASM) capable of segmenting overhead broiler depth frames into drumsticks, breasts, wings, and head-neck regions under processing-plant ambient illumination.
Among five evaluated regression families, Bayesian-regularized neural networks predicted whole-carcass (R² = 0.9981) and head-neck mass (R² = 0.9847), whereas RBF-SVR excelled across articulated cuts (wings R² = 0.9896, breast R² = 0.9352, drumsticks R² = 0.9129).
Active Shape Model Cut Segmentation & Per-Part Weight Accuracy
| Anatomical Target | Best Regression Family | Held-Out R² |
|---|---|---|
| Whole Broiler Carcass | Bayesian Regularized ANN | 0.9981 |
| Wings | RBF Support Vector Regression | 0.9896 |
| Head and Neck | Bayesian Regularized ANN | 0.9847 |
| Breast | RBF Support Vector Regression | 0.9352 |
| Drumsticks | RBF Support Vector Regression | 0.9129 |
Chapter Study V: Live Conveyor 3-D Carcass Reconstruction & 25-Model Benchmark (Poultry Sci. 2024)
The culminating experimental study replaced static 2-D projections with real-time 3-D surface reconstruction on moving shackle conveyors imaged from a calibrated 1.2 m height and 2.0 m standoff with Kinect v2. Background subtraction, ROI cropping, boundary smoothing, and point-cloud alignment yield watertight triangular meshes whose geometric surface-integration volume joins nine 2-D and 3-D morphological predictors.
Benchmarking 25 regression architectures across Regression Trees, SVRs, GPRs, Kernel Approximation, Tree Ensembles, and Neural Networks identified Bagged Trees as top performer (test R² = 0.9988, RMSE = 5.335 cm³, MAE = 4.950 cm³, MSE = 28.462 cm⁶, ARE = 2.125%), finishing end-to-end acquisition, reconstruction, and inference in under 1.6 s across 30 timed carcasses.
25-Model Quantitative Comparison: Top Performers vs. Baseline Regressors (Tables 13 & 14)
Selected held-out test metrics from all 25 evaluated algorithms for online 3-D chicken carcass volume prediction.
| Model (Index) | Train R² | Val R² | Test R² | Test RMSE (cm³) | Test MAE (cm³) | ARE (%) |
|---|---|---|---|---|---|---|
| Bagged Trees (#16, Ours) | 0.9902 | 0.9856 | 0.9988 | 5.335 | 4.950 | 2.125 |
| Exponential GPR (#13) | 0.9989 | 0.9947 | 0.9984 | 6.113 | 5.639 | 2.971 |
| Rational Quadratic GPR (#10) | 0.9712 | 0.9639 | 0.9983 | 7.016 | 6.027 | 3.036 |
| Matern 5/2 GPR (#12) | 0.9938 | 0.9853 | 0.9982 | 8.475 | 7.765 | 3.456 |
| Fine Gaussian SVR (#7) | 0.9852 | 0.9815 | 0.9928 | 12.978 | 6.168 | 3.015 |
| Medium Neural Network (#20) | 0.9800 | 0.9751 | 0.9922 | 13.443 | 6.102 | 3.250 |
| Bayesian Reg. ANN (#24) | 0.9922 | 0.9899 | 0.9910 | 14.539 | 6.772 | 2.975 |
| Fine Tree (#1) | 0.9338 | 0.9053 | 0.9591 | 21.532 | 8.937 | 4.613 |
| Linear SVR (#4) | 0.8726 | 0.8572 | 0.9088 | 28.773 | 10.752 | 4.973 |
Literature Taxonomy, Calibration Physics & Continuity at SAAIL Lab (Zanzibar)
Alongside five experimental systems papers, the doctoral synthesis mapped vision-based metrology across live birds, carcasses, cuts, and eggs (Poultry Science 2021 Review, 144 citations; 503 combined citations across all six doctoral publications), isolating low-quality mesh granularity (5-10% sensitivity) and background illumination shifts as dominant deployment failure modes.
At SAAIL Lab (IIT Madras Zanzibar), those exact calibration and occlusion lessons inform current lightweight computer vision pipelines for Zanzibar export clove grading, smallholder foliar disease diagnostics under domain shift (DGS-Bench, CropGuardNet), and point-of-care edge vision systems.
Citation
@phdthesis{nyalala2023volume,
title={Research on Agricultural Products Volume Estimation Method Based on Depth Imaging and Machine Learning Technology},
author={Nyalala, Innocent},
school={Nanjing Agricultural University},
department={College of Engineering, Agricultural Electrification and Automation Engineering},
address={Nanjing, China},
year={2023},
note={Supervisor: Prof. Chen Kunjie}
}