Nguyen Huu Quang , Truong Quoc Bao * and Ngo Quang Hieu

* Corresponding author (tqbao@ctu.edu.vn)

Main Article Content

Abstract

In our country today, the counting of dried coconuts at the production facilities is done manually, takes a lot of time and is not accurate. The goal of this study is to build an automatic, fast and accurate coconut counting system. The study was conducted on the peeled dried coconut fruit with a diameter of 15 cm to 20 cm using image processing technology and open-source computer vision library - OpenCV library. The algorithm includes four main steps. First, determine the object and the background using the Otsu segmentation method. Next, estimate the distance between the background and the object to determine the closest area to the center of the object. Then, find the contour, determine the center and area of the object to reduce the noise. The watershed segmentation algorithm is used to separate overlapping and stacking objects. Finally, count the number of objects contained in the image. In the initial experimental results, the counting system has had an accuracy of over 95% with processing time per image about 75 ms and the counting capacity of the system is over 2000 fruits/hour has confirmed the efficiency of the proposed method.

Keywords: count coconuts, conveyor, morphological operations, distance transform, watershed segmentation

Article Details

References

Behera, S. K., Pattnaik, A., Rath, A. K., Barpanda, N. K., & Sethy, P. K. (2019). Yield estimation of pomegranate using image processing techniques. Int J Innov Technol Explor Eng, 8(6S), 798-803.

Belkasim, S. O., Shridhar, M., & Ahmadi, M. (1991). Pattern recognition with moment invariants: a comparative study and new results. Pattern Recognition, 24(12), 1117-1138.

Dorj, U. O., Lee, M., & Han, S. (2013). A Counting Algorithm for Tangerine Yield Estimation. Center for Advanced Image and Information Technology, School of Electronics & Information Engineering, Chon Buk National University.

Gonzalez, R. C., & Woods, R. E. (2008). Digital Image Processing ( ed.). Pearson Prentice Hall.

Häni, N., Roy, P., & Isler, V. (2020). A comparative study of fruit detection and counting methods for yield mapping in apple orchards. Journal of Field Robotics, 37(2), 263-282.

Malik, Z., Ziauddin, S., Shahid, A. R., & Safi, A. (2016). Detection and counting of on-tree citrus fruit for crop yield estimation. IJACSA International Journal of Advanced Computer Science and Applications, 7(5), 519-523.

Otsu, N. (1979). A threshold selection method from gray-level histograms. IEEE Transactions on Systems, Man, and Cybernetics, 9(1), 62-66.

Szeliski, R. (2010). Computer vision: algorithms and applications. Springer Science & Business Media.

Tran, C. C., Nguyen, D. T., Le, H. D., Truong, Q. B., & Truong, Q. D. (2017). Automatic dragon fruit counting using adaptive thresholds for image segmentation and shape analysis. In 2017 4th NAFOSTED Conference on Information and Computer Science (pp. 132-137). IEEE.

Vu Trung. (2014). Development of the Coconut Industry. STINFO Journal for Science and Technology Information, 10, 4-10.

Wijethunga, P., Samarasinghe, S., Kulasiri, D., & Woodhead, I. (2008). Digital image analysis based automated kiwifruit counting technique. In 2008 23rd International Conference Image and Vision Computing New Zealand (pp. 1-6). IEEE.