{"title":"Application of computer vision and machine learning in morphological characterization of Adansonia digitata fruits","authors":"","doi":"10.1016/j.atech.2024.100528","DOIUrl":null,"url":null,"abstract":"<div><p>Measuring fruit mass and volume is a time-consuming and tedious task that can affect production planning. This study developed a computer vision system to estimate the volume and mass of baobab fruits from single-view images captured from inexpensive and readily available cameras such as those in smartphones. The baobab fruits were collected from two study fields within the savanna ecological zone. Their images were captured, and subsequently, they were detected and segmented with over 97 % accuracy. The segmented images were binarized, and two-dimensional (2D) features such as the segmented area, centroid, bounding box, equivalent diameter, and major diameter were extracted from them. The volumes of the fruits were estimated from the 2D features using random forest, linear, polynomial, and radial support vector machine models. All the models achieved high goodness of fit; however, the random forest model delivered the best performance, with an <em>R</em><sup>2</sup> value of 99.8 %. The relationship between mass and volume was a quadratic equation (mass = 38.23 + 0.25 × volume + 4.49e−05 × volume<sup>2</sup>) and had an <em>R<sup>2</sup></em> value of 92 %. Correlations were validated via plots and statistical tests, and credible intervals of point estimates were determined from the posterior distributions of their samples. This highlights the potential of artificial intelligence methods to be applied in a less constrained environmental setting for ecological research and agricultural management. Commercial companies producing baobab powder and seed oil should apply these models for effective production planning. To enhance the model, it would be beneficial to gain a better understanding of how climate gradients affect the morphological characteristics of baobab fruits.</p></div>","PeriodicalId":74813,"journal":{"name":"Smart agricultural technology","volume":null,"pages":null},"PeriodicalIF":6.3000,"publicationDate":"2024-08-06","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.sciencedirect.com/science/article/pii/S2772375524001333/pdfft?md5=28c0bd462ab75be057a6e0439591686c&pid=1-s2.0-S2772375524001333-main.pdf","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Smart agricultural technology","FirstCategoryId":"1085","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S2772375524001333","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"AGRICULTURAL ENGINEERING","Score":null,"Total":0}
引用次数: 0
Abstract
Measuring fruit mass and volume is a time-consuming and tedious task that can affect production planning. This study developed a computer vision system to estimate the volume and mass of baobab fruits from single-view images captured from inexpensive and readily available cameras such as those in smartphones. The baobab fruits were collected from two study fields within the savanna ecological zone. Their images were captured, and subsequently, they were detected and segmented with over 97 % accuracy. The segmented images were binarized, and two-dimensional (2D) features such as the segmented area, centroid, bounding box, equivalent diameter, and major diameter were extracted from them. The volumes of the fruits were estimated from the 2D features using random forest, linear, polynomial, and radial support vector machine models. All the models achieved high goodness of fit; however, the random forest model delivered the best performance, with an R2 value of 99.8 %. The relationship between mass and volume was a quadratic equation (mass = 38.23 + 0.25 × volume + 4.49e−05 × volume2) and had an R2 value of 92 %. Correlations were validated via plots and statistical tests, and credible intervals of point estimates were determined from the posterior distributions of their samples. This highlights the potential of artificial intelligence methods to be applied in a less constrained environmental setting for ecological research and agricultural management. Commercial companies producing baobab powder and seed oil should apply these models for effective production planning. To enhance the model, it would be beneficial to gain a better understanding of how climate gradients affect the morphological characteristics of baobab fruits.