Comparison of the Effect Using Color Sensor and Pixy2 Camera on the Classification of Pepper Crop


Mustafa Ahmed Jalal Al-Sammarraie†*, Osman Özbek‡


† Department of Agricultural Machinery and Equipment, College of Agricultural Engineering Sciences, University of Baghdad, Baghdad, Iraq

‡ Department of Agricultural Machineries and Technologies Engineering, Faculty of Agriculture, Selçuk University, 42250 Konya, Turkey

Corresponding Author Email: mustafa.ahm@coagri.uobaghdad.edu.iq

This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

Image processing applications are currently spreading rapidly in industrial agriculture. The process of sorting agricultural fruits according to their color comes first among many studies conducted in industrial agriculture. Therefore, it is necessary to conduct a study by developing an agricultural crop separator with a low economic cost, however automatically works to increase the effectiveness and efficiency in sorting agricultural crops. In this study, colored pepper fruits were sorted using a Pixy2 camera on the basis of algorithm image analysis, and by using a TCS3200 color sensor on the basis of analyzing the outer surface of the pepper fruits, thus This separation process is done by specifying the pepper according to the color of its outer surface, afterward selecting the fruit is achieved, then the crop is sorted by color. An electromechanical system was developed for this process with three different belt conveyor speeds (0.8, 2 and 3 m /s). The image processing algorithms and external surface color analysis that were developed within the scope of the study were tested on this system in real practical time. Moreover, choosing the appropriate speed for the conveyor belt, depending on the time sufficient to process the images or analyze the colors of the outer surface of the pepper fruits. The highest success average of 93.33% was recorded along with the lowest error average of 6.66%, at the first speed using the Pixy2 camera, whereas the sorting process using the TCS3200 color sensor recorded the highest success average of 83.33% along with the lowest error average of 16.66%, at the first speed. It is evident from the above-mentioned values, that the method of sorting the pepper with the Pixy2 camera is more successful than the second method of using the TCS3200 color sensor, nevertheless, the second method can also be used in the process of sorting the pepper fruits.