Next Article in Journal
Impacts of Local Effects and Surface Loads on the Common Mode Error Filtering in Continuous GPS Measurements in the Northwest of Yunnan Province, China
Previous Article in Journal
A Modified Residual-Based RAIM Algorithm for Multiple Outliers Based on a Robust MM Estimation
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Real-Time Size and Mass Estimation of Slender Axi-Symmetric Fruit/Vegetable Using a Single Top View Image

1
School of Electrical Engineering, International University, Vietnam National University HCMC, Ho Chi Minh City 700000, Vietnam
2
School of Industrial Engineering and Management, International University, Vietnam National University HCMC, Ho Chi Minh City 700000, Vietnam
*
Author to whom correspondence should be addressed.
Sensors 2020, 20(18), 5406; https://doi.org/10.3390/s20185406
Submission received: 1 August 2020 / Revised: 16 September 2020 / Accepted: 17 September 2020 / Published: 21 September 2020
(This article belongs to the Section Sensing and Imaging)

Abstract

:
Among the physical attributes of agricultural materials, mass, volume, and sizes have always been important quality parameters. Previous research focused mostly on volume estimation using stereo-based approaches, which rely on manual intervention or require a multiple-cameras set up or multiple-frames captures from different viewing angles to reconstruct the three-dimensional point-cloud information. These approaches are tedious and not suitable for practical machine vision systems. In this work, we only use a single camera mounted on the ceiling of the imaging chamber, which is directly above the fruit/vegetable to capture its top-view, two-dimensional image. We developed a method to estimate the mass/volume of agricultural products with axi-symmetrical shapes such as a carrot or a cucumber. The mass/volume is estimated as the sum of smaller standard blocks, such as chopped pyramids, an elliptical cone, or a conical cone. The computed mass/volume showed good agreement with analytical and experimental results. The weight estimation error is 95% for the case of the carrot and 96.7% for the cucumber. The method proved to be sufficiently accurate, easy to use, and rotationally invariant.

1. Introduction

With the increase of the population and the improvement of life from day to day, people’s demands on quality, quantity, and type are getting higher. Therefore, factories must expand and change to follow up the amount of production. Currently, people are researching how to speed up the production line but maintain the same quality of food.
Size, weight, and shape are the major indices in determining standards in the industry such as packaging, grading, processing, and conveying. This makes researchers have to investigate the physical characteristics of fruit and vegetables to find the solution boosting up the production line [1,2,3,4,5,6,7,8,9,10]. There are some works that classified the fruit/vegetables based on its shape and features. They applied various classifiers (Artificial Neural Network (ANN), Fourier-descriptor (FD), …) for some types of fruit/vegetable listed in Table A1 of Appendix A. In addition, there is a superior survey that delivers not only a summary of many different methods, tasks, and concepts but also the key challenges and future directions for food computing [11]. Typically, the mass of the product will be measured using a load cell incorporated with a conveyor belt such as C35 AdvancedLine WD Checkweigher by Mettler Toledo, which can measure weight from 25 g to 7000 g with throughput up to 250 packets per minute or 2000 g Checkweigher from A&D Inspection has throughput up to 320 packets per minute or digital scale for individuals or businesses [12,13]. The load cell converts gravitational force into a measurable electrical signal. Usual load cell requires filters and Analog-to-digital Converter (ADC) to work. This leads to a high mechanical structural cost and is also time-consuming when we have to recalibrate the systems after a certain amount of usages time depending on the hardware quality.
Due to the limitation of the load cell, many researchers try to find other methods to estimate weight/volume without using a load cell [14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38]. One of the most accurate ways is to estimate the volume of the product and using a pre-determined “density” to calculate the actual weight of the object because mass and volume are correlated to a certain degree. For instance, the correlation coefficient (R2) between mass and volume of mango is 0.9978 [15], tangerine, lime, lemon, and orange are 0.9045, 0.9592, 0.9641, and 0.9232, respectively [28].
The previous method to estimate the volume of an object is the water displacement method (WDM), which is presented in References [16,17]. The water displacement method is known to give an accurate result by ensuring the water fully submerges the objects. However, this method is hard to do by always keeping the buoyancy force of water acting on the objects. In addition, it is difficult to maintain the force so that the object remains afloat in the water as well as get a good reading.
Another method is a 3D reconstruction using 3D scanning from multiple 3D views [22,23,24,25,26,27,39]. The 3D construction returns highly accurate results, but it requires many cameras. Moreover, the calibration between cameras and the perfect timing when capturing the images at the same time is very complex. It also requires the complicated algorithm to preprocess and reconstruct a 3D representation of the object. On the other hand, the 3D scanning is only applicable in the laboratory because we have to work many times at many different angles. Therefore, the 3D point clouds reconstruction is very time-consuming.
Some researchers also used geometrical features of an object to estimate volume using Multiple Linear Regression (MLR) [14]. The MLR is the supervised learning with a procedure called Ordinary Least Square [40,41]. It is used to predict which one has two or more independent inputs (the widths and volume of an object) and return the function as below.
y = b 0 + i = 1 n b i x i ,
We have, in the total of n inputs, b i is the coefficient of a set of chosen features x i , and y is the predicted volume.
In addition, the Artificial Neural Network (ANN) has also been used for volume estimation [14,26,37]. One of the most popular ways to estimate the volume is to use a single image and measure the widths and/or lengths to feed into their model [14,37]. There are many types of ANNs in the literature [26,37,42]. However, the Levenberg-Marquardt algorithm (LM) still provides sufficiently accurate results in volume estimation [26,37]. The Levenberg-Marquardt neural networks were used to form non-linear combinations of various features to estimate fruits’ volumes [37,42]. It takes the sum of squared of nonlinear functions to get the minimum of a function. With its simple and robust platform, we decided to apply it to predict the volume of fruits/vegetables.
( J k T J k + λ k I ) p k = J k T f k ,
In Equation (3), J is defined as the Jacobian matrix, λ k is a non-negative scalar, and I is the identity matrix. For some scalar Δ related to λ k , the vector p k is the solution of:
m i n i m i z e p R n 1 2 J k p + f k 2 2 ,
s u b j e c t   t o p 2 < Δ ,
Even though the accuracy of ANNs is not high and each approach works for one type of product only, those are very promising approaches. If we can find the appropriate feature, the accuracy will increase so it will be more suitable for real-time implementation.
On the other hand, there are some proposed that used only one two-dimensional image of an object to estimate its volume by using the disk method [29,30,31,32,33]. They slice the fruit into many disks with the properties shown in Figure 1 [15,28,29,30,31,32,33].
Figure 1 shows that, once we have the dimension ( d ) and height ( x ) of each slice, we can calculate its volume (see Equation (6)) via its area (see Equation (5)). Lastly, the volume of an object is calculated by summing all the volume of n disks (see Equation (7)). In detail, the height ( x ) will equal 1 pixel to have the most precise estimated volume.
A i = π ( d i 2 ) 2 ,
V i = A i x ,
V = i = 1 n V i ,
Ibrahim et al. [15] also modified the disk method to fit with unpredictably shaped objects. Once they have two view images (top and side) of a mango, the area of each disk is defined in Equation (8).
A i = π d i z i 4 ,
With z i and d i is the width of the ith disk from the top view and side view, respectively. Figure 2 illustrates one slice with the mentioned parameters in Equation (8).
The disk method, however, is one of the most suitable ones for objects that has a round or elliptical shape. With a fruit/vegetable shape like a carrot, it cannot return the highest results. Moreover, Venkatesh et al. researched that the tilt angle of the fruit or vegetable must be below 10 degrees for the reasonable volume estimation [19]. Therefore, the alignment step must be integrated into the production line. This also increases the cost of the alignment module or workforce.
Some fruits/vegetables also have an elliptical cone or cap sphere shape on its top or bottom such as a cucumber, melon, pumpkin, carrot, grape, tomato, kiwi fruit, passionfruit, etc. Among these fruits/vegetables, a carrot, a cucumber, a daikon, etc. are considered to be the slender axi-symmetric fruits or vegetables due to their height being much longer than their width. With this property, Vankatesh et al. cannot assume those fruits as an ellipsoid or a sphere [19]. In addition, this approach requires multiple manual captures with different angles. Thus, it is not practical to implement in a read machine vision system.
Our approach focuses on improving the accuracy and computational time of the disk method [29,30,31,32,33], so that the model will be accurate enough and fast for real-time measurement [36]. With only one top view image of the fruit or vegetable, we slice the object into a number of equal slices. Then, the volumes of the top and bottom parts are assumed to be the volumes of the elliptical cone. We considered each slice of the middle part as a chopped pyramid. Based on the results of those previously mentioned steps, we can estimate the fruit/vegetable volume. In addition, since we know there is a high correlation between fruit/vegetable weight and its volume [15,19,28], we can infer the mass based on volume information. Once we get the volume of the top, the middle, and the bottom parts, we estimate the volume and the density, from which we can calculate the object’s weight. In this paper, we focus on the carrot and cucumber, which are ranked as the most common vegetables in the world [43].
We divided the content of this paper into three main sections. In the introduction, we briefly mention the current concerns regarding volume measurement of the fruit/vegetable in the assembly lines as well as in the laboratory settings. In addition, the literature review that we are going to apply and compare is also discussed in this section. The Materials and Methods section presents our proposed approach and how we collect data. The result shows the outcome of our method and other research studies and compare each.

2. Materials and Methods

2.1. Materials

In this research, both 191 carrot and 160 cucumber samples were chosen randomly from the supermarket after they were harvested for two to three days.
For the reference length and width of the fruit/vegetable, we used the digital caliper with an error of ±0.1 mm, as shown in Figure 3a. Figure 3b reveals the digital scale model VNS CL 2001 (division of 0.1 g and capacity of 2000 g) that we used to get the reference mass. To get the volume of the fruit or vegetable, we applied the water displacement method, which consists of a digital scale, a tank of water, and a stick to hold the fruit/vegetable while being fully submerged. This is similar to the work of Chalidabhongse et al., which is shown in Figure 3c.
Various instruments were used to measure fruits’ physical properties. Length, width, and thickness are measured using a Vernier caliper. The fruits’ actual volume is measured by the water displacement method. In this method, fruits were submerged in distilled water. We can obtain the volume of the fruit as a function of three kinds of mass: (1) The mass of the measurement apparatus with water filled to the marking level, (2) mass of the fruit, and (3) the mass of the apparatus with the fruit submerged with the same water level as in (1).
Fruit volume, V, is then given by the equation below with M 1 , M 2 , M 3 being the three mentioned masses. These are actually the weight of the water displaced by the fruit and ρ w a t e r is the density of the water.
V = M 1 + M 2 M 3 ρ w a t e r
Forbes et al. [14] improved the original WDM by integrating a funnel-like tube on top of a wide water container. The funnel-like tube helps to prevent the fruit from floating to the surface, which will reduce the measurement’s accuracy. The narrow tube on top reduces the measurement error of the setup since only a small change in water volume results in a larger change in the water level within the narrow tube.

2.2. Our Proposal

With the slender axi-symmetric property of fruits/vegetables, we slice the fruits/vegetables into many parallel parts. For each part, Figure 4 and Equation (10) demonstrates an example and formula to calculate its volume, respectively.
Once we have the area of two area B and B′ ( B B = constant) of a chopped pyramid, its volume is defined as below.
V c h o p p e d p y r a m i d = h 3 ( B + B + B B ) ,

2.2.1. Volume of the Cross-Section of the Circular Vegetable or Fruit

For the fruit that has a round shape, its cross-section is also a circle such as lemons, tangerines, clementine, orange, etc. Therefore, the area B and B′ in Equation (10) are now defined as Equations (11) and (12) with r and r being the radius of the top and the radius of the bottom of the cross-section.
B = π r 2 ,
B = π r 2 ,

2.2.2. Volume of the Cross-Section of an Elliptical Vegetable or Fruit

Figure 5 illustrates one cross-section (frustum) of an elliptical vegetable or fruit and Equations (13) and (14) show the formulas of calculating the areas B and B′.
B = π ( d 1 2 ) ( d 2 2 ) ,
B = π ( b 1 2 ) ( b 2 2 ) ,

2.2.3. Volume of the Cross-Section of an Arbitrary Polygon Vegetable or Fruit

For the fruit with a star shape such as a starfruit or bell peppers or having a complicated shape, the area B and B′ can be derived when analyzing its physical properties or approximate its shapes/cross-section as one of the common geometry forms.

2.2.4. Volume of the Top and Bottom of a Circular or Elliptical Vegetable or Fruit

The top and bottom of these vines and underground fruits/vegetables are special with an elliptical cone shape (see Figure 6 and Figure 9a). Therefore, the volume top and bottom part can be estimated by using the elliptical cone formula as detailed in Equation (15).
V t o p / b a s e = π × d 1 × d 2 × h 6 ,
With all the chopped-pyramid volumes of the body and two elliptical cone volumes of the top and bottom of the fruit/vegetable, we can estimate the total volume by using Equation (16).
V t o t a l = V c h o p p e d p y r a m i d + V t o p + V b a s e ,

2.3. System Flow

All the steps of our system are shown in Figure 7. The details of each step are described from Section 2.3.1, Section 2.3.2, Section 2.3.3, Section 2.3.4, Section 2.3.5 and Section 2.3.6 below.

2.3.1. Hardware Setup

Figure 8 displays that our system consists of an aluminum frame and one camera model CANON 60D (lens Tamron 17–50 mm, f2.8) mounted on top where it is perpendicular to the bottom of the frame. In addition, we placed a light source inside the frame to get rid of the shadow of an object. After the fruit or vegetable is captured, the system is then calibrated to have the pixel per centimeter square of the image.

2.3.2. Background Subtraction

There are many types of thresholds. Red-Green-Blue (RGB), Hue-Saturation-Value (HSV), or Hue-Saturation-Lightness (HSL) thresholding and Otsu’s method are one of the most famous in digital signal processing. This depends on the situation where researchers will apply the suitable one for their works. For instance, we extracted the red color and green color out of the white background, as illustrated in Figure 9. In addition, all the input images we used in this paper have a JPG format.

2.3.3. Finding a Bounding Box

The minimal bounding box technique supported by OpenCV will place a minimum rectangular box that fits the object in the image. The system will return four coordinates of the corners of the box by combining with the pixel per centimeter we have already calibrated and measured in Section 2.3.1. We can calculate the length as well as the maximum width of some fruits. Figure 10 illustrates that the object is inside a bounding rectangle (blue outlines) with a perfect fit. This step will be the premise to help reduce the time and increase the accuracy of the system.
By using the bounding box supported by the OpenCV library, the width w and height h of the box are constants on different angles. We can estimate the volume of the fruit or vegetable no matter how the object is rotated. Figure 11 shows that this technique can also align with the fruit/vegetable. This helps us reduce the alignment step in the production line.

2.3.4. Approximating the Cross-Section as Known Geometrical Shapes

By using Equation (16), the major part of the volume calculation is the volume of the fruit/vegetable comprised of multiple chopped pyramids. Each chopped pyramid is assumed to have the same kind of cross-section even though their sizes can be different. In order to get this information, we take many cross-section samples and find the curve that deviates the least from a set of common curves, such as a circle, ellipse, etc.
The carrot and cucumber have very good elliptical curve fitting results, as shown in Figure 12. The ellipse uses the following equation.
a x 2 + b x y + c y 2 + d x + e y + f = 0 ,
We found that the average width/height ratios of the carrot and cucumber are 0.9531 and 0.9677, respectively.

2.3.5. Volume Estimation

After all preprocessing and setup steps meet our criteria, the volume estimation step is specifically described in this section.
Since we can see that the fruits or vegetables related to a banana or an axi-symmetric one like a carrot, cucumber, white turnip, etc. has virtually round or ellipse cross-sections, we can split it into many single slices to easily estimate the volume of the fruit/vegetable. We then divided the fruit/vegetable into equal parallel slices, as illustrated in green lines in Figure 13. Each line has the same slope as the slope of the width of the bounding box.
By computing each chopped pyramid volume in the mid-regions and elliptical cone volume for the top and bottom part of the fruit/vegetable, as introduced in Section 2.2, the total volume of each experimental object can be estimated using Equation (16).

2.3.6. Mass Estimation

Figure 14 shows the weight against volume when using the water displacement method. We split our dataset into 70 samples for calculating the average density and the others for testing. Once the average density of each type of fruit/vegetable is calculated and combined with the estimated volume, we can get the estimated mass based on Equation (18) below.
M e s t i m a t e d = V e s t i m a t e d × d a v e r a g e ,

3. Results

3.1. Proposed Method

We have to divide each type of fruit/vegetable into different equal slices to get the most accurate value. After slicing the fruit/vegetable from three slices, we noticed that the errors are unvarying from the 13th slices. Because of this result, Figure 15 and Figure 16 shows the outcome of up to 15 slices with the error bar being the standard deviation of a different volume. In detail, those figures show that the carrot needs eight slices and the cucumber needs eight slices for the lowest error, which is 3.421% and 3.2025%, respectively.
Over the dataset of 191 carrots and 160 cucumbers, the deviation plot of each fruit/vegetable when applying the proposed method is listed in Figure 17. We can see that almost all the estimated data are in the range of a 95% limit of agreement (outer lines) and the average difference between the two methods is the centerline.
Figure 18 also illustrates the R2 value and the correlation of each tested fruit with our proposed method and water displacement and we can clearly see that our approach returns highly accurate results.
Table 1 shows the results of the paired t-test between our proposal and the water displacement method. The paired mean difference of the carrot is m = 0.6901 mL and the standard deviation is σ = 7.4791 mL. The paired mean difference and the standard deviation of the cucumber is m = 0.4436 mL and σ = 6.729 mL, respectively. The 95% confidence interval includes zero: a zero mean difference is well within the range of likely population outcomes. The mean difference between our proposed method and the water displacement method is not statistically significant at α = 0.05. This is because p > 0.05.
We also compare our research with other methods such as the disk method, the ANN method, and MLR and have some significant results.

3.2. Disk Method

As describe by Ibrahim et al. [15], we capture two sides of the fruits/vegetables. We placed one camera on the top and one on the side of the fruit/vegetable. Those cameras have the same specification and have been calibrated. Figure 19 shows the top view of the fruit/vegetable while Figure 20 shows the side view.
Next, their background was filtered out to get only the inner object as Section 2.3.2. After estimating all the dimensions of the top view and side view, we then applied Equation (8) to get the area of each slice. Once we had the areas, Equations (6) and (7) had been used to estimate the volume of the object.
Figure 21 and Figure 22 describe the deviation of volume difference and correlation when using the disk method proposed by Ibrahim [15].

3.3. ANN Method

Örnek’s work is using a 1-layer ANN and the training algorithms that he used are Back Propagation (BP), Levenberg-Marquardt (LM), and Product Unit Neural Network (PUNN) with the number of neurons being 15, 14, and 2, respectively [37]. The outcomes are also potential, which is listed in Table 2.
In this section, we reproduced Örnek’s works with the same setting but using our dataset. Each carrot and cucumber dataset is divided into two parts, which are the training set (153 carrot samples and 128 cucumber samples) and the testing set (38 carrot samples and 32 cucumber samples). The LM method and PUNN has the same result. Therefore, we just pick only the LM algorithm to test. In addition, we use the MATLAB R2019a software to perform this task. Furthermore, a 10-fold cross validation deviation of volume difference has been recorded in Figure 23. Moreover, Figure 24 shows the correlation of this method when compared with the water displacement method.

3.4. Using MLR

The result in Section 3.3 shows that there is a high correlation among length, widths, and volume of the carrot and cucumber. Due to that fact, in this section, we also apply the Multiple Linear Regression method to estimate the volume. The input is the same as the Örnek’s work with the input parameters being length, five parallel widths, and volume of each fruit or vegetable [37].
After using the MLR, the ±1.96 standard deviation of each type of the experimental fruit is illustrated in Figure 25. Moreover, the correlation as well as R2 are also shown in Figure 26.

3.5. Mass Estimation

For the result of the mass estimation and classification, Section 3.5.1. and Section 3.5.2 below shows the standard illustrated in Table 3 and Table 4 as well as the confusion matrix described in Table 5 and Table 6 of the validation of carrots and cucumbers. The accuracy gained for this mass estimation is 95% for the carrot and 96.7% for the cucumber.

3.5.1. Carrot Classification

Table 4 describes the confusion matrix when we apply Equation (18) with d a v e r a g e = 1.0987   g / mL . Our classification system achieved 95% accuracy in classification. The error may happen due to the error of the estimated volume, which is 3.421% and the average density.

3.5.2. Cucumber Classification

Table 6 shows that there is only one wrongly predicted sample and the prediction error is 3.3% in the test dataset of the cucumber. The average density of the cucumber among 70 samples is d a v e r a g e = 1.019   g / mL . In addition, this result indicates that mass estimation via density is applicable for a cucumber.

3.6. Computational Expense

The computational device that we used for this research was Dell 5558 with Intel Core i7-5500U (2.4 Ghz). In addition, the OpenCV Library using Python programming language is also used in this project. After measuring the computational time with 100 repetitions, the processing time for each fruit or vegetable is in the range of 0.032 to 0.05 s. This means that we can estimate and classify the mass of 30–50 fruits/vegetables per second. Currently, we use a spatial resolution of 1538 × 2175 for our image datasets. We can safely expect that, when the resolution of images reduces to 1080 × 1440 or 720 × 960 pixels, our calculation speed will greatly increase while the calculation accuracy is still reasonable with the reduction of 0.2078% and 1%, respectively. Moreover, the time execution also reduces from 0.017 to 0.035 s for the resolution of 1080 × 1440 pixels and from 0.009 to 0.016 s for the resolution of 720 × 960 pixels. In addition, we have not fully optimized our code or made use of graphical processing units (GPU). Implementing those would also lead to faster calculation speed as well. These improvements will be implemented in the near future.

4. Discussion

From Table 7 and Table 8, we can see that other methods’ accuracy rates are slightly lower and have a higher deviation than our research except for that of the ANN method on estimating the volume of the carrot.
In detail, the errors for the volume estimation of the proposed method were 3.4% and 3.2% for the case of the carrot and cucumber, respectively. With the same datasets, the disk method’s error rates were 6.7% and 6.6%, while those of the ANN method were 3.9% and 5.5%, and MLR’s error rates were 8.3% and 5.4%, respectively. The standard deviation of our method on estimating the volume of the carrot ranked second, which was 7.4 mL, surpassed by ANN’s one, which was 6.2 mL, and was followed by 12.5 mL and 14.8 mL when using MLR and the disk method. However, for the standard deviation of the cucumber dataset, the highest value was 15.1 mL for the disk method, while our proposed method ranked first with 6.7 mL. This was followed by 8.4 mL of MLR and 9.1 mL of the ANN method.
In addition, most of the works that we have done are completely automatic by using Computer Vision while Örnek et al. had to measure each carrot manually [37]. Moreover, the accuracy of the disk method with two side images will decrease due to some loss at the contact surface between the object and the base. Additionally, the time execution for the disk method is also higher when each slice’s thickness is 1 pixel.
With a high correlation between mass and volume, we can estimate the weight via the density. All the results illustrated that the image processing technique can be applied in the estimation size and mass of slender axi-symmetric fruits/vegetables and gained high accuracy and was fast enough to be embedded into the production lines.
The errors of our system come from many phases during the process such as the preprocessing step, camera, and computational rounded. The error will be higher when the fruits/vegetables in which its special shape is not axi-symmetric such as a banana [36]. However, the proposed method is able to work with a banana, which is the type of bending agricultural products shown in Figure 27. In addition, our system can even process the fruits/vegetables from different angles, which is the concern of Venkatesh et al. [19].
Figure 27 illustrated the slicing of a banana using our method. We found that the result is still reasonable with a mean error of 5.7% and the deviation of estimated volume is only 4.5875 mL. With bananas having smaller bending radii, our method provided better results. The error is only 1.2%. This demonstrates that our method is still applicable to fruits/vegetables having small bending radii. Additionally, a further improvement needs to be implemented in the near future.

5. Conclusions

In this paper, we proposed a method to estimate mass/volume and sizes of slender axi-symmetrical agricultural products using image processing. Experimental results show good results for products such as carrots and cucumbers. The mean of volume estimation error is 3.42% (σ = 2.60%) and 3.20% (σ = 2.82%) for the carrot and the cucumber, respectively. Furthermore, our method has a very low computational requirement. The average computing time for images having 1538 × 2175-pixels is only in the range of 30 to 50 ms, which is very favorable for real-time grading/sorting applications. Furthermore, this approach only requires one camera mounted on the top of the imaging chamber to capture one single top-view two-dimensional image. The samples do not need to be especially aligned. Therefore, they do not require any special mechanical alignment devices from the conveyor belts.
The present work may be extended in some ways.
-
We can improve the main axis extraction algorithm from the top-view image for products with bending shapes. Preliminary testing on fruits with bending shapes show that the accuracy of our method reduces as the bending of the fruits becomes larger.
-
The background segmentation can readily be modified for other fruits. The estimated mass/volume and size may be used together with the online defects/blemishes and color sorting. We may use another color space, such as HSI or YCbCr, for cases with difficult lighting.
-
The shape classification can be implemented after the background subtraction step of our system. Referring to Table A1, we will test our datasets with the ANN, FD, and MLR classifier due to high precision in shape detection. After that, we may consider the processing time of each classifier to choose the optimal one that is suitable for our system.

Author Contributions

The conceptualization, methodology and original manuscript draft preparation was done by S.D. and T.H. The validation, supervision, manuscript editing, manuscript review and funding acquisition was done by S.D. and L.T. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Acknowledgments

We greatly appreciate all reviewers’ expertise and time, and want to thank you for your suggestions, comments, and support. We also want to thank Le Thi Hoang Ngan and other undergraduate students at International University for their selfless help to perform many measurements as suggested by the reviewers.

Conflicts of Interest

The authors declare no conflict of interest.

Abbreviations

The following abbreviations are used in Appendix A.
ANNArtificial neural network
BPBack projection
BPNNBack propagation neural network
DADiscriminant Analysis
FDFourier-descriptor
FDRFisher discrimination ratio
FNNFeed forward neural network
FSCABCFitness-scaled chaotic artificial bee colony algorithm
LBPLocal binary pattern
MLRMultiple linear regression
PCAPrincipal component analysis
PNNProbabilistic neural network
RBPNNRadial basis probabilistic neural networks
SVMSupport vector machine
WLDWeber local descriptor

Appendix A

Table A1 shows the current research related to fruit classification and grading methods. Some of the literature reviews for some specific features are also summarized in this table.
Table A1. Summary of recent grading methods and fruit classification.
Table A1. Summary of recent grading methods and fruit classification.
Fruit Features Classifier Accuracy (%) Reference
DateColor, textureNearest Neighbor, DA, ANN83–98Jana et al. [44]
Size, shape, texture,LBP, WLD, FDR98Muhammad et al. [45]
colorBP Zhang et al. [46]
MangoWeight, volume, size, shape FD98Ibrahim et al. [15]
Maturity, sizeFuzzy, thermal imaging90Pandey et al. [47]
Size, volumeMLR, ANN96.7Schulze et al. [48]
Shape, weightFD,
DA/SVM/Weight
95Sa’ad et al. [49]
TomatoColor, texturePCA, SVM92Semary et al. [50]
Color, shape, texturePNN84.4Arjenaki et al. [51]
OrangeColor, textureANN88Capizzi et al. [52]
AppleColor, sizeNaive Bayes91Ronald et al. [53]
KiwiShape, weight, volumeMLR98.3Fu et al. [54]
StrawberryColor, size, shapeCluster Analysis, Multidimensional scaling, DA>68Yamamoto et al. [55]
CucumberSize, shapeANN97Kheiralipour et al. [56]
PearSize, volumeANN, MLR97Forbes et al. [14]
AppleSize, volumeANN99.4Ziaratban et al. [26]
CarrotSize, volumeANN99.9Örnek et al. [37]

References

  1. Dang, N.T.; Vo, M.-T.; Nguyen, T.-D.; Dao, S.V.T. Analysis on Mangoes Weight Estimation Problem using Neural Network. In Proceedings of the 2019 19th International Symposium on Communications and Information Technologies (ISCIT), Ho Chi Minh City, Vietnam, 25–27 September 2019; pp. 559–562. [Google Scholar]
  2. Multimodal Classification of Mangoes|IntechOpen. Available online: https://www.intechopen.com/books/agricultural-robots-fundamentals-and-applications/multimodal-classification-of-mangoes (accessed on 5 September 2020).
  3. Mendoza, F.; Aguilera, J.M. Application of Image Analysis for Classification of Ripening Bananas. J. Food Sci. 2004, 69, E471–E477. [Google Scholar] [CrossRef]
  4. Emadi, B.; Abbaspour-Fard, M.H.; Yarlagadda, P.K. Mechanical Properties of Melon Measured by Compression, Shear, and Cutting Modes. Int. J. Food Prop. 2009, 12, 780–790. [Google Scholar] [CrossRef]
  5. Lorestani, A.N.; Tabatabaeefar, A. Modelling the mass of kiwi fruit by geometrical attributes. Int. Agrophys. 2006, 20, 135–139. [Google Scholar]
  6. Hall, A.J.; McPherson, H.G.; Crawford, R.A.; Seager, N.G. Using early-season measurements to estimate fruit volume at harvest in kiwifruit. N. Z. J. Crop Hortic. Sci. 1996, 24, 379–391. [Google Scholar] [CrossRef] [Green Version]
  7. Liming, X.; Yanchao, Z. Automated strawberry grading system based on image processing. Comput. Electron. Agric. 2010, 71, S32–S39. [Google Scholar] [CrossRef]
  8. Terdwongworakul, A.; Chaiyapong, S.; Jarimopas, B.; Meeklangsaen, W. Physical properties of fresh young Thai coconut for maturity sorting. Biosyst. Eng. 2009, 103, 208–216. [Google Scholar] [CrossRef]
  9. Clayton, M.; Amos, N.D.; Banks, N.H.; Morton, R.H. Estimation of apple fruit surface area. N. Z. J. Crop Hortic. Sci. 1995, 23, 345–349. [Google Scholar] [CrossRef]
  10. Maw, B.W.; Hung, Y.C.; Tollner, E.W.; Smittle, D.A.; Mullinix, B.G. Physical and mechanical properties of fresh and stored sweet onions. Trans. ASAE 1996, 39, 633–637. [Google Scholar] [CrossRef]
  11. Min, W.; Jiang, S.; Liu, L.; Rui, Y.; Jain, R. A Survey on Food Computing. arXiv 2019, arXiv:1808.07202. [Google Scholar] [CrossRef] [Green Version]
  12. C35 AdvancedLine WD Checkweigher. Available online: https://www.mt.com/vn/en/home/products/Product-Inspection_1/checkweighing/C35-Washdown.html (accessed on 5 September 2020).
  13. 2000g Checkweigher|A&D Inspection. Available online: https://inspection.andonline.com/product/2000g-checkweigher/ad-4961-2kd-2035?commerce_product=13 (accessed on 5 September 2020).
  14. Forbes, K.A.; Tattersfield, G.M. Estimating fruit volume from digital images. In Proceedings of the 1999 IEEE Africon. 5th Africon Conference in Africa (Cat. No.99CH36342), Cape Town, South Africa, 28 September–1 October 1999; Volume 1, pp. 107–112. [Google Scholar]
  15. Ibrahim, M.F.; Ahmad Sa’ad, F.S.; Zakaria, A.; Md Shakaff, A.Y. In-Line Sorting of Harumanis Mango Based on External Quality Using Visible Imaging. Sensors 2016, 16, 1753. [Google Scholar] [CrossRef]
  16. Rush, S.A.; Maddox, T.; Fisk, A.T.; Woodrey, M.S.; Cooper, R.J. A precise water displacement method for estimating egg volume. J. Field Ornithol. 2009, 80, 193–197. [Google Scholar] [CrossRef]
  17. Materials, A.S. For T. and Annual Book of ASTM Standards: Construction. Wood. Sect. 4. Vol. 9; ASTM: West Conshohocken, PA, USA, 1987; ISBN 978-0-8031-1029-8. [Google Scholar]
  18. Jarimopas, B.; Nunak, T.; Nunak, N. Electronic device for measuring volume of selected fruit and vegetables. Postharvest Biol. Technol. 2005, 35, 25–31. [Google Scholar] [CrossRef]
  19. Venkatesh, G.V.; Iqbal, S.M.; Gopal, A.; Ganesan, D. Estimation of Volume and Mass of Axi-Symmetric Fruits Using Image Processing Technique. Int. J. Food Prop. 2015, 18, 608–626. [Google Scholar] [CrossRef]
  20. Sapkal, D.; Upasani, A.; Amberkar, D.; Singh, P.; Nijampurkar, P. Estimation of an Object Using 2 D Images. Int. J. Pure Appl. Math. 2017, 114, 333–341. [Google Scholar]
  21. Lee, D.-J.; Eifert, J.D.; Zhan, P.; Westover, B.P. Fast surface approximation for volume and surface area measurements using distance transform. Opt. Eng. 2003, 42, 2947–2955. [Google Scholar] [CrossRef]
  22. Artaso, P.; López-Nicolás, G. Volume estimation of merchandise using multiple range cameras. Measurement 2016, 89, 223–238. [Google Scholar] [CrossRef]
  23. Siswantoro, J.; Prabuwono, A.S.; Abdulah, A. Volume Measurement of Food Product with Irregular Shape Using Computer Vision and Monte Carlo Method: A Framework. Procedia Technol. 2013, 11, 764–770. [Google Scholar] [CrossRef] [Green Version]
  24. Chopin, J.; Laga, H.; Miklavcic, S.J. A new method for accurate, high-throughput volume estimation from three 2D projective images. Int. J. Food Prop. 2017, 20, 2344–2357. [Google Scholar] [CrossRef] [Green Version]
  25. Lo, F.P.-W.; Sun, Y.; Qiu, J.; Lo, B. Food Volume Estimation Based on Deep Learning View Synthesis from a Single Depth Map. Nutrients 2018, 10, 2005. [Google Scholar] [CrossRef] [Green Version]
  26. Ziaratban, A.; Azadbakht, M.; Ghasemnezhad, A. Modeling of volume and surface area of apple from their geometric characteristics and artificial neural network. Int. J. Food Prop. 2017, 20, 762–768. [Google Scholar] [CrossRef] [Green Version]
  27. Hahn, F.; Sanchez, S. Carrot Volume Evaluation using Imaging Algorithms. J. Agric. Eng. Res. 2000, 75, 243–249. [Google Scholar] [CrossRef]
  28. Omid, M.; Khojastehnazhand, M.; Tabatabaeefar, A. Estimating volume and mass of citrus fruits by image processing technique. J. Food Eng. 2010, 100, 315–321. [Google Scholar] [CrossRef]
  29. Khojastehnazhand, M.; Omid, M.; Tabatabaeefar, A. Determination of Tangerine Volume Using Image Processing Methods. Int. J. Food Prop. 2010, 13, 760–770. [Google Scholar] [CrossRef]
  30. Rashidi, M.; Gholami, M.; Abbasi, S. Cantaloupe Volume Determination through Image Processing. J. Agric. Sci. Technol. 2009, 11, 623–631. [Google Scholar]
  31. Koc, A.B. Determination of watermelon volume using ellipsoid approximation and image processing. Postharvest Biol. Technol. 2007, 45, 366–371. [Google Scholar] [CrossRef]
  32. Sabliov, C.M.; Boldor, D.; Keener, K.M.; Farkas, B.E. Image Processing Method to Determine Surface Area and Volume of Axi-Symmetric Agricultural Products. Int. J. Food Prop. 2002, 5, 641–653. [Google Scholar] [CrossRef]
  33. Wang, T.Y.; Nguang, S.K. Low cost sensor for volume and surface area computation of axi-symmetric agricultural products. J. Food Eng. 2007, 79, 870–877. [Google Scholar] [CrossRef]
  34. Fellegari, R.; Navid, H. Determining the orange volume using image processing. In Proceedings of the 2011 International Conference on Food Engineering and Biotechnology (ICFEB 2011), Bangkok, Thailand, 7–9 May 2011; Volume 9, pp. 180–184. [Google Scholar]
  35. Chaithanya, C.; Priya, S. Object weight estimation from 2D images. Arpn J. Eng. Appl. Sci. 2015, 10, 7574–7578. [Google Scholar]
  36. Huynh, T.; Dao, S. Highly Efficient Fruit Mass and Size Estimation Using Only Top View Images. Proceedings 2019, 42, 57. [Google Scholar] [CrossRef] [Green Version]
  37. Örnek, M.N.; Kahramanli, H. Determining the Carrot Volume via Radius and Length Using ANN. Int. J. Intell. Syst. Appl. Eng. 2018, 6, 165–169. [Google Scholar] [CrossRef] [Green Version]
  38. Lee, D.; Kim, S.; Park, M.; Yang, Y. Weight Estimation of the Sea Cucumber (Stichopus japonicas) using Vision-based Volume Measurement. J. Electr. Eng. Technol. 2014, 9, 2154–2161. [Google Scholar] [CrossRef] [Green Version]
  39. Chalidabhongse, T.; Yimyam, P.; Sirisomboon, P. 2D/3D Vision-Based Mango’s Feature Extraction and Sorting. In Proceedings of the 2006 9th International Conference on Control, Automation, Robotics and Vision, Singapore, 5–8 December 2006; pp. 1–6. [Google Scholar]
  40. Seber, G.A.F.; Lee, A.J. Linear Regression Analysys, 2nd ed.; John Wiley & Sons: Hoboken, NJ, USA, 2003. [Google Scholar]
  41. Weisberg, S. Applied Linear Regression, 4th ed.; John Wiley & Sons: Hoboken, NJ, USA, 2013. [Google Scholar]
  42. Bishop, C.M. Neural Networks for Pattern Recognition; Oxford University Press, Inc.: New York, NY, USA, 1995; ISBN 978-0-19-853864-6. [Google Scholar]
  43. The Most Popular Vegetables in the World. Available online: https://www.worldatlas.com/articles/the-most-popular-vegetables-in-the-world.html (accessed on 5 September 2020).
  44. Jana, S.; Parekh, R. Intra-class Recognition of Fruits using Color and Texture Features with Neural Classifiers. Int. J. Comput. Appl. 2016, 148, 1–6. [Google Scholar] [CrossRef]
  45. Muhammad, G. Date fruits classification using texture descriptors and shape-size features. Eng. Appl. Artif. Intell. 2015, 37, 361–367. [Google Scholar] [CrossRef]
  46. Zhang, D.; Lee, D.-J.; Tippetts, B.J.; Lillywhite, K.D. Date maturity and quality evaluation using color distribution analysis and back projection. J. Food Eng. 2014, 131, 161–169. [Google Scholar] [CrossRef]
  47. Pandey, R.; Gamit, N.; Naik, S. Non-destructive quality grading of mango (Mangifera Indica L) based on CIELab colour model and size. In Proceedings of the 2014 IEEE International Conference on Advanced Communications, Control and Computing Technologies, Ramanathapuram, India, 8–10 May 2014; pp. 1246–1251. [Google Scholar]
  48. Schulze, K.; Nagle, M.; Spreer, W.; Mahayothee, B.; Müller, J. Development and assessment of different modeling approaches for size-mass estimation of mango fruits (Mangifera indica L., cv. ‘Nam Dokmai’). Comput. Electron. Agric. 2015, 114, 269–276. [Google Scholar] [CrossRef]
  49. Sa’ad, F.S.A.; Ibrahim, M.F.; Shakaff, A.Y.; Zakaria, A.; Abdullah, M.Z. Shape and weight grading of mangoes using visible imaging. Comput. Electron. Agric. 2015, 115, 51–56. [Google Scholar] [CrossRef]
  50. Semary, N.A.; Tharwat, A.; Elhariri, E.; Hassanien, A.E. Fruit-Based Tomato Grading System Using Features Fusion and Support Vector Machine. In Intelligent Systems’2014; Filev, D., Jabłkowski, J., Kacprzyk, J., Krawczak, M., Popchev, I., Rutkowski, L., Sgurev, V., Sotirova, E., Szynkarczyk, P., Zadrozny, S., Eds.; Springer International Publishing: Cham, Switzerland, 2015; pp. 401–410. [Google Scholar]
  51. Arjenaki, O.O.; Moghaddam, P.A.; Motlagh, A.M. Online tomato sorting based on shape, maturity, size, and surface defects using machine vision. Turk. J. Agric. For. 2013, 37, 62–68. [Google Scholar]
  52. Capizzi, G.; Sciuto, G.L.; Napoli, C.; Tramontana, E.; Woźniak, M. A Novel Neural Networks-Based Texture Image Processing Algorithm for Orange Defects Classification. Int. J. Comput. Sci. Appl. 2016, 13, 45–60. [Google Scholar]
  53. Ronald, M.; Evans, M. Classification of Selected Apple Fruit Varieties Using Naive Bayes. Indian J. Comput. Sci. Eng. 2016, 7, 13–19. [Google Scholar]
  54. Fu, L.; Sun, S.; Li, R.; Wang, S. Classification of Kiwifruit Grades Based on Fruit Shape Using a Single Camera. Sensors 2016, 16, 1012. [Google Scholar] [CrossRef] [Green Version]
  55. Yamamoto, K.; Ninomiya, S.; Kimura, Y.; Hashimoto, A.; Yoshioka, Y.; Kameoka, T. Strawberry cultivar identification and quality evaluation on the basis of multiple fruit appearance features. Comput. Electron. Agric. 2015, 110, 233–240. [Google Scholar] [CrossRef] [Green Version]
  56. Kheiralipour, K.; Pormah, A. Introducing new shape features for classification of cucumber fruit based on image processing technique and artificial neural networks. J. Food Process Eng. 2017, 40, e12558. [Google Scholar] [CrossRef]
Figure 1. An example object is sliced into many disks.
Figure 1. An example object is sliced into many disks.
Sensors 20 05406 g001
Figure 2. An example of a slice’s volume with two widths z and d , with z being the width observed from the top view and d being the width from the side view.
Figure 2. An example of a slice’s volume with two widths z and d , with z being the width observed from the top view and d being the width from the side view.
Sensors 20 05406 g002
Figure 3. Measurement tools: (a) digital caliper, (b) digital scale, and (c) water displacement method [39].
Figure 3. Measurement tools: (a) digital caliper, (b) digital scale, and (c) water displacement method [39].
Sensors 20 05406 g003
Figure 4. Pyramid: (a) Chopped pyramid and (b) cross-section of two surfaces B and B’.
Figure 4. Pyramid: (a) Chopped pyramid and (b) cross-section of two surfaces B and B’.
Sensors 20 05406 g004
Figure 5. Cross-section of an elliptical vegetable or fruit.
Figure 5. Cross-section of an elliptical vegetable or fruit.
Sensors 20 05406 g005
Figure 6. Example of the top and base part of an elliptical vegetable or fruit.
Figure 6. Example of the top and base part of an elliptical vegetable or fruit.
Sensors 20 05406 g006
Figure 7. The activity diagram of the proposed system.
Figure 7. The activity diagram of the proposed system.
Sensors 20 05406 g007
Figure 8. Schematic of the chamber experiment set-up.
Figure 8. Schematic of the chamber experiment set-up.
Sensors 20 05406 g008
Figure 9. Background subtraction using image thresholding of the carrot and cucumber. (a) Original images and (b) images after thresholding.
Figure 9. Background subtraction using image thresholding of the carrot and cucumber. (a) Original images and (b) images after thresholding.
Sensors 20 05406 g009
Figure 10. Bounding box (blue rectangle) in: (a) a carrot and (b) a cucumber.
Figure 10. Bounding box (blue rectangle) in: (a) a carrot and (b) a cucumber.
Sensors 20 05406 g010
Figure 11. Bounding box on a carrot rotated in different angles. (a) 45° and (b) 135°.
Figure 11. Bounding box on a carrot rotated in different angles. (a) 45° and (b) 135°.
Sensors 20 05406 g011
Figure 12. Elliptical representation of the cross-section of: (a) a carrot and (b) a cucumber.
Figure 12. Elliptical representation of the cross-section of: (a) a carrot and (b) a cucumber.
Sensors 20 05406 g012
Figure 13. An example of a fruit or vegetable is sliced into six green equal slices: (a) carrot and (b) cucumber.
Figure 13. An example of a fruit or vegetable is sliced into six green equal slices: (a) carrot and (b) cucumber.
Sensors 20 05406 g013
Figure 14. R2 and correlation between the mass measured by the digital scale and volume measured by the water displacement method for (a) a carrot and (b) a cucumber.
Figure 14. R2 and correlation between the mass measured by the digital scale and volume measured by the water displacement method for (a) a carrot and (b) a cucumber.
Sensors 20 05406 g014
Figure 15. Percentage errors when slicing the carrot into 3 to 15 parts.
Figure 15. Percentage errors when slicing the carrot into 3 to 15 parts.
Sensors 20 05406 g015
Figure 16. Percentage error when slicing the cucumber into 3 to 15 parts.
Figure 16. Percentage error when slicing the cucumber into 3 to 15 parts.
Sensors 20 05406 g016
Figure 17. 1.96-σ plot for the volume difference between the water displacement and our method: (a) a carrot and (b) a cucumber.
Figure 17. 1.96-σ plot for the volume difference between the water displacement and our method: (a) a carrot and (b) a cucumber.
Sensors 20 05406 g017
Figure 18. R2 and the correlation between the proposed method and the water displacement method for (a) a carrot and (b) a cucumber.
Figure 18. R2 and the correlation between the proposed method and the water displacement method for (a) a carrot and (b) a cucumber.
Sensors 20 05406 g018
Figure 19. Top view images: (a) carrot, (b) cucumber.
Figure 19. Top view images: (a) carrot, (b) cucumber.
Sensors 20 05406 g019
Figure 20. Side view images: (a) carrot, (b) cucumber.
Figure 20. Side view images: (a) carrot, (b) cucumber.
Sensors 20 05406 g020
Figure 21. 1.96-σ plot for the volume difference between the water displacement and Ibrahim’s method: (a) carrot and (b) cucumber.
Figure 21. 1.96-σ plot for the volume difference between the water displacement and Ibrahim’s method: (a) carrot and (b) cucumber.
Sensors 20 05406 g021
Figure 22. R2 and correlation between two side views using the disk method and the water displacement method for (a) a carrot and (b) a cucumber.
Figure 22. R2 and correlation between two side views using the disk method and the water displacement method for (a) a carrot and (b) a cucumber.
Sensors 20 05406 g022
Figure 23. 1.96-σ plot for the volume difference between water displacement and the ANN method: (a) carrot and (b) cucumber.
Figure 23. 1.96-σ plot for the volume difference between water displacement and the ANN method: (a) carrot and (b) cucumber.
Sensors 20 05406 g023
Figure 24. R2 and correlation between ANN and the water displacement method for: (a) a carrot and (b) a cucumber.
Figure 24. R2 and correlation between ANN and the water displacement method for: (a) a carrot and (b) a cucumber.
Sensors 20 05406 g024
Figure 25. 1.96-σ plot for the volume difference between the water displacement and MLR method: (a) carrot and (b) cucumber.
Figure 25. 1.96-σ plot for the volume difference between the water displacement and MLR method: (a) carrot and (b) cucumber.
Sensors 20 05406 g025
Figure 26. R2 and correlation between MLR and water displacement method for: (a) a carrot and (b) a cucumber.
Figure 26. R2 and correlation between MLR and water displacement method for: (a) a carrot and (b) a cucumber.
Sensors 20 05406 g026
Figure 27. An example that our system can deal with bending fruits/vegetables.
Figure 27. An example that our system can deal with bending fruits/vegetables.
Sensors 20 05406 g027
Table 1. The paired t-test between our proposal and water displacement.
Table 1. The paired t-test between our proposal and water displacement.
Sig. (2-Tailed)95% Confidence Level of the Mean Difference
LowerUpper
Carrotp = 0.204−0.37731.7576
Cucumberp = 0.406−0.6071.4943
Table 2. R2 of the BP, LM, and PUNN algorithm [37].
Table 2. R2 of the BP, LM, and PUNN algorithm [37].
Training AlgorithmBPLMPUNN
R 2 0.942810.956160.95733
Table 3. Carrot classification.
Table 3. Carrot classification.
TypeCodeWeight (g)
SmallS80–125
MediumM125–200
LargeL200–250
Extra Large2L250–320
Table 4. Confusion matrix of mass prediction through an estimated volume.
Table 4. Confusion matrix of mass prediction through an estimated volume.
ClassSML2L
S24000
M23701
L02330
2L00121
Table 5. Cucumber classification.
Table 5. Cucumber classification.
TypeCodeWeight (g)
SmallS<100
MediumM100–150
LargeL150–200
Extra LargeXL>200
Table 6. Confusion matrix of mass prediction through an estimated volume.
Table 6. Confusion matrix of mass prediction through an estimated volume.
ClassSMLXL
S19100
M02110
L00251
XL00023
Table 7. Comparison between our proposed method and other methods on a carrot dataset.
Table 7. Comparison between our proposed method and other methods on a carrot dataset.
ProductMethodMean Error (%)R2Standard Deviation (mL)
CarrotProposed method3.4210.98057.4595
Disk method6.70210.928914.868
ANN method3.99240.92866.2846
Using MLR8.34440.802412.5503
Table 8. Comparison between our proposed method and other methods on the cucumber dataset.
Table 8. Comparison between our proposed method and other methods on the cucumber dataset.
ProductMethodMean Error (%)R2Standard Deviation (mL)
CucumberProposed method3.20250.9826.7081
Disk method6.65770.919915.1942
ANN method5.53390.94829.1796
Using MLR5.46150.95518.4656

Share and Cite

MDPI and ACS Style

Huynh, T.; Tran, L.; Dao, S. Real-Time Size and Mass Estimation of Slender Axi-Symmetric Fruit/Vegetable Using a Single Top View Image. Sensors 2020, 20, 5406. https://doi.org/10.3390/s20185406

AMA Style

Huynh T, Tran L, Dao S. Real-Time Size and Mass Estimation of Slender Axi-Symmetric Fruit/Vegetable Using a Single Top View Image. Sensors. 2020; 20(18):5406. https://doi.org/10.3390/s20185406

Chicago/Turabian Style

Huynh, Tri, Ly Tran, and Son Dao. 2020. "Real-Time Size and Mass Estimation of Slender Axi-Symmetric Fruit/Vegetable Using a Single Top View Image" Sensors 20, no. 18: 5406. https://doi.org/10.3390/s20185406

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop