Weight and volume estimation of single and occluded tomatoes using machine vision
Summary
The fundamental characteristics of agricultural products are appearance, size, and weight, which affect their market value, consumer preference, and choice. Thus, food and agricultural industries seek rapid, simple, and nondestructive approaches to assess real-time measurements at the post-harvest stage before packaging for the consumer market. While sorting and grading may be performed by humans, it is unreliable, time-consuming, complicated, subjective, onerous, expensive, and easily influenced by surroundings. Therefore, an astute sorting and grading method for tomato fruit is required. We evaluated two tomato configurations on a conveyor belt: single tomatoes (no occlusion) and multi-tomatoes (partially occluded). We used polygon approximation for concave and convex point extraction algorithms to segment the occluded tomatoes. We developed seven models for regression using single-tomato image features. The Bayesian regularization artificial neural network outranked all the trained models in weight estimation with a root-mean-square error (RMSE) of 1.468 g and R² of 0.971. For volume estimation, the RBF SVM had the best performance with R² of 0.982 and RMSE of 1.2683 cm³. It is feasible to implement a proposed system as a noninvasive in-line sorting technique for tomatoes.
2D & 3D Shape Geometry Descriptors
Polygon Contour Occlusion Splitting
Results
We solved partial tomato occlusion on moving sorting belts via polygon approximation and concave/convex contour point extraction. In addition, we benchmarked seven regression algorithms across 2D and depth features, achieving R² = 0.971 (RMSE 1.468 g) for mass via Bayesian regularization ANN. We also reached R² = 0.982 (RMSE 1.2683 cm³) for non-destructive volume prediction using RBF-SVM across isolated and clustered fruits.
Single & Partially Occluded Tomato Regression Results (2021)
| Prediction Target | Best Model | R² | RMSE |
|---|---|---|---|
| Fruit Volume (cm³) | RBF Support Vector Machine (SVM) | 0.982 | 1.2683 cm³ |
| Fruit Weight (g) | Bayesian Regularized ANN | 0.971 | 1.468 g |
Citation
@article{nyalala2021occludedtomatoes,
title={Weight and volume estimation of single and occluded tomatoes using machine vision},
author={Nyalala, Innocent and Okinda, Cedric and Chao, Qi and Mecha, Peter and Korohou, Tchalla and Zuo, Yi and Nyalala, Samuel and Jiayu, Zhang and Liu, Chao and Chen, Kunjie},
journal={International Journal of Food Properties},
volume={24},
number={1},
pages={818--832},
year={2021},
doi={10.1080/10942912.2021.1933024}
}