development of a compact quality sorting machine for cherry - ATB

development of a compact quality sorting machine for cherry - ATB development of a compact quality sorting machine for cherry - ATB

cigr.ageng2012.org
from cigr.ageng2012.org More from this publisher

Selection and inspection <strong>of</strong> the color <strong>of</strong> <strong>cherry</strong> tomatoes with human resources is problematicbecause <strong>of</strong> fatigue and inconsistencies. Undoubtedly, there is great difference betweencomputer vision grading systems and human eye sight. So, eye sight inspection systemcannot be considered quantitative analysis. But CCD camera <strong>of</strong>fers the sensitive quantitativecolor grade methods and the obtained image shows detailed views <strong>of</strong> <strong>cherry</strong> tomato’s colorproperties.In this study, the obtained color images from a CCD camera were used to investigate thefeasibility <strong>of</strong> a <strong>compact</strong> ripening stage <strong>sorting</strong> system <strong>for</strong> <strong>cherry</strong> tomatoes based on real-timeimage processing.2. Material and methods.2.1. Whole <strong>cherry</strong> tomato samplesIn this experiment ‘yoyo’ Cherry tomatoes were harvested from a farm in Nonsan, Chungnam,South Korea in April 2012. The total number <strong>of</strong> <strong>cherry</strong> tomatoes used in this experiment was360. The harvested tomatoes were divided into six different categories <strong>of</strong> ripeness. Thedifferent ripening stages <strong>of</strong> each were characterised according to the USDA standards (Table1). Each <strong>cherry</strong> tomato was measured and classicfied into 3 stages, and these are provided inFigure 1.TABLE 1: USDA ripening classes <strong>of</strong> tomatoes (USDA, 1991)Ripeness Stage External Color aGreenAll percentages refer to both color distribution and intensity.BreakerThere is a definite break in color from green to tannish-yellow,pink or red on not more than 10% <strong>of</strong> the surface.TurningPinkLight redRed10% to 30% <strong>of</strong> the surface is not green; the aggregate, shows adefinite change from green to tannish-yellow, pink, red, or acombination there<strong>of</strong>.30% to 60% <strong>of</strong> the surface is not green; the aggregate, showspink or red color.60% to 90% <strong>of</strong> the surface is not green; the aggregate, showspinkish-red or red.More than 90% <strong>of</strong> the surface is not green; the aggregate,shows red color.a All percentages refer to both color distribution and intensity.


FIGURE 1: Photos <strong>of</strong> the tomato samples2.2. Image acquisition systemInterface s<strong>of</strong>tware to control the imaging acquisition system was developed by using visualstudio (version 2008, Micros<strong>of</strong>t, Seattle, Washington, U.S.A) operating in a Micros<strong>of</strong>tWindows plat<strong>for</strong>m.Figure 2 shows a <strong>compact</strong> <strong>quality</strong> <strong>sorting</strong> <strong>machine</strong> <strong>for</strong> <strong>cherry</strong> tomatoes. The <strong>sorting</strong> systemwas composed <strong>of</strong> three charge coupled device (CCD) colour camera (HCC-640, Honeywell,Seoul, Korea) and a frame grabber (Cronos plus, Matrox, Cannada), which were connected toa personal computer to display the captured image. The CCD camera captures color images in640 x 480 pixels. Compact fluorescent lamp lighting (4EA) was used as light sources <strong>for</strong>color imaging. The frame grabber digitized the acquired analogue signals and provided threeuser-defined buffers in red, green and blue channels (RGB). When the tomatoes were notarrangied in a row or a line, the camera was unable to capture a single tomato image.There<strong>for</strong>e, arranging the tomatoes in a line was a very importatnt process. To arrange <strong>cherry</strong>tomatoes in a row, two conveyors belt parts weres used. The velocity <strong>of</strong> the two belts was setdifferently from one another. Figure 5 shows part <strong>of</strong> the system that sorts <strong>for</strong> color.TABLE 2: Specification <strong>of</strong> the prototype <strong>of</strong> color <strong>sorting</strong> systemItemSpecificationColor CCD camera Color 1/3'' 768(H) × 494(V), NTSC signal <strong>for</strong>mat, 10 bit digitalFrame grabberLenssignal processing, 480 TV Lines, Internal or External SyncSystemVideo capture board <strong>for</strong> PCI <strong>for</strong>m factor, Captures from NTSC,PAL, RS-170 and CCR video sources, Connect up to 4 CVBSor 1 Y/C trigger input8 mm manual focusing lensLighting 25 W <strong>compact</strong> fluorescent lamp × 4FIGURE 2: Schematics and photo <strong>of</strong> the prototype <strong>of</strong> the color <strong>sorting</strong> system


FIGURE 3: Schematics and photos <strong>of</strong> the <strong>sorting</strong> part2.3. Image analysisThe real time operation started with the acqusition <strong>of</strong> the original image <strong>of</strong> <strong>cherry</strong> tomatoes(RGB color). Then, the original image’s RGB color space was converted to L, a*, b* colorspaces respectively. After this process, the backgound was removed from b valuethreadholding image and eventually, the filnal a value and b value image were acquired.Figure 4 shows the detection <strong>of</strong> <strong>cherry</strong> tomao surface.FIGURE 4: Image processing procedures <strong>for</strong> <strong>sorting</strong> <strong>cherry</strong> tomato3. Results and DiscussionThe La*b* color spaces were charaterized according to a* ranging from green to red, andb* ranging from blue to yellow. It provided effective color discrimination. There<strong>for</strong>e, the a*and b* value <strong>of</strong> <strong>cherry</strong> tomato colors were applied <strong>for</strong> color evaluation. The resultingdistinction results are shown in figure 5. The a*b* <strong>of</strong> <strong>cherry</strong> tomatoes are used to develop the


oundary equation. The boundary equation could clearly divide each ripening stage into threegroups. Two boundary equations are shown below in Equ. 1 and 2.FIGURE 5: Classification using boundary equation according to ripening stagesFigure 6 shows the real-time pictures <strong>of</strong> <strong>cherry</strong> tomatoes without their stems. The resultantimages show that most <strong>of</strong> the tomato surfaces were effectively removed from the backgroundand stem. These images were used to detect the sufaces <strong>of</strong> <strong>cherry</strong> tomatoes. After removingthe background and the stem, the a* and b* values <strong>of</strong> the picture were collected to calculatethe average and then, the color stages were graded by average a*b* values. The result <strong>for</strong> theaccuracy deciding the stage <strong>of</strong> ripening can seen below in Table 3.FIGURE 6: Resultant images <strong>for</strong> real-time detection <strong>of</strong> <strong>cherry</strong> tomatoes surface.


TABLE 3: Calibration and validation results <strong>of</strong> classification using boundary equationCalibrationClassification resultsCorrect Incorrect Accuracy (%)Ripe(Light red, Red)71 1 98.61Half-ripe(Turning, Pink)46 26 63.89Immature(Green, Breaker)67 5 93.06Total 184 32 85.19ValidationClassification resultsCorrect Incorrect Accuracy (%)Ripe(Light red, Red)46 2 95.83Half-ripe(Turning, Pink)26 22 54.17Immature(Green, Breaker)44 4 91.67Total 116 28 80.564. ConclusionIn this study, computer vision was presented as a method <strong>of</strong> detecting the ripening stage <strong>of</strong><strong>cherry</strong> tomatoes. Color images <strong>of</strong> <strong>cherry</strong> tomatoes moving in the conveyor belt was taken by aCCD camera. Then, the <strong>cherry</strong> tomatoes’ images were isolated from the backgound throughmask image. Following this process, two characteristics <strong>of</strong> a*b* values were extracted fromthe color iamges <strong>of</strong> one <strong>cherry</strong> tomato. Eventually, the optimal boundary equation was used todecide the ultimate ripening stageFurthermore, the grading speed <strong>of</strong> the color <strong>sorting</strong> systemattained 360 kg per hour. As this experiment demonstrates and suggests, it is possible todevelop a color <strong>sorting</strong> system <strong>for</strong> online measurement that can be applied to other industrialusage.5. ACKNOWLEDGEMENTThis Study was supported by Technology Development Program <strong>for</strong> Agriculture andForestry, Ministry <strong>for</strong> Food , Agriculture, Forestry and Fisheries, Republic <strong>of</strong> Korea.6. REFERENCES1. Zhang, Y., Yin, X., Zou, X., & Zhao, J. (2009). On-line <strong>sorting</strong> maturity <strong>of</strong> <strong>cherry</strong> tomato by<strong>machine</strong> vision. International Federation <strong>for</strong> In<strong>for</strong>mation Processing, 295, 2223-2230.2. Syahrir, W. Md., Suryanti, A., & Connsynn, C. (2009). Color grading in tomato maturityestimator using image processing technique. 2 nd IEEE International Conference, 276-280.3. Arivazhagan, S., Shebiah, R. N., Nidhyanandhan, S. S., & Ganesan, L. (2010). Fruitrecognition using color and texture features. Journal <strong>of</strong> Emerging Trends in Computing andIn<strong>for</strong>mation Sciences, 2, 90-94

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!