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.
Tạp chí khoa học Trường Đại học Cần Thơ
Lầu 4, Nhà Điều Hành, Khu II, đường 3/2, P. Xuân Khánh, Q. Ninh Kiều, TP. Cần Thơ
Điện thoại: (0292) 3 872 157; Email: tapchidhct@ctu.edu.vn
Chương trình chạy tốt nhất trên trình duyệt IE 9+ & FF 16+, độ phân giải màn hình 1024x768 trở lên