Applying Linear Regression to Estimate Weight of Non Axi-Symmetric fruit


Hurriyatul Fitriyah, Eko Setiawan, Muhammad Rifqi Radifan Masruri


Weight is an important parameter in fruits’ quality identification. Measuring fruits’ weight using scale is tedious since fruits must be taken from tree and placed on contact to scale. Many researches have proposed non-contact estimation methods of fruits’ weight using 2D images. The studies were commonly applied in axi-symmetric fruits, such oranges. In this paper, an algorithm to estimate weight of non axi-symmetric fruit is developed. It used a Linear Regression rather than geometric-based methods as proposed by other researches. The non axi-symmetric fruits chosen was star fruits. It is a challenging fruits since its basic shape is not round but irregular star shape. The estimation used pixel count from one-view image of the fruits’ projection as feature. The proposed method has RMSE of 16.322 Gram and MAPE of 7.089% compare to the expected weights. It also has high Coefficient of Determination, R^2, 0.8829 compare to the weight scale measurement.

Full Text:



Y. Liu, A. Sowmya and H. Khamis, "Single camera multi-view anthropometric measurement of human height and mid-upper arm circumference using linear regression," PLoS One, vol. 13, no. 4, 2018.

X. Song, E. Bokkers, P. Van der Tol, P. Groot Koerkamp and S. van Mourik, "Automated body weight prediction of dairy cows using 3-dimensional vision," Journal of Dairy Science, vol. 101, no. 5, pp. 4448-4459, 2018.

H. Henninger, G. Christensen, C. Taylor, J. Kawakami, B. Hillyard, R. Tashjian and P. Chalmer, "The Muscle Cross-sectional Area on MRI of the Shoulder Can Predict Muscle Volume: An MRI Study in Cadavers," Clinnical Orthopaedic and Related Research, 2019.

R. P. Agency, "Guidance: Marketing standards for fresh fruit and vegetables," 4 October 2018. [Online]. Available: [Accessed 19 November 2019].

"SNI 8024:2014 Apel," Badan Standardisasi Nasional Indonesia, Jakarta, 2014.

"SNI 3164:2009," Badan Standardisasi Nasional Indonesia, Jakarta, 2009.

G. Venkatesh, S. Iqbal, A. Gopal and D. Ganesan, "Estimation of Volume and Mass of Axi-Symmetric Fruits Using Image Processing Technique," International Journal of Food Properties, vol. 18, pp. 608-626, 2014.

A. Costa, R. Elisângela, A. Braga and F. Pinto, "Measurement of volume of macaw palm fruit using traditional and the digital Moiré techniques," Revista Brasileira de Engenharia Agrícola e Ambiental, vol. 20, no. 2, pp. 152-157, 2016.

O. Comert, M. Hekim and k. Adem, "Weight and Diameter Estimation Using Image Processing and Machine Learning Techniques on Apple Images," International Journal of Engineering Research and, vol. 9, no. 3, 2017.

C. Teoh and A. Syaifudin, "Image processing and analysis techniques for estimating weight of chokanan mangoes," Journal of Tropical Agriculture and Food Sciences, vol. 35, no. 1, pp. 183-190, 2007.