The automation of agricultural operations not only improves the quality and productivity of agricultural products but also helps in enhancing the national income. Although human sorting and grading are the traditional methods usually used in the postharvest chains, these methods are inconsistent, time-consuming, subjective, expensive and easily influenced by the environment and human fatigue. Therefore, the main aim of this study was to develop a real-time machine vision prototype for sorting and detecting the quality parameters of different agricultural products. The constructed prototype was used for image acquisition and processing. By using the data of color values of all concerned defects, a simple thresholding (min-max method) was developed and employed using Python software. Three types of defects (greening, black spots and scares) in orange, two defects in potato tubers (greening and black spots) and two defects (broken pods and black spots) in peanut were detected using the developed system based on color differences. The system was also used to detect singular peanut pods (half pods containing one internal seed instead of two or three seeds) based on dimensional features. The results obtained in this study revealed that the developed prototype was used successfully to detect the external defects of tested products with reasonable accuracy.The accuracy of defect detection during real-time operations of orange, potato and peanuts were 96.97, 98.50 and 99.09%, respectively. The developed detection method was also very efficient in the classification of the peanut pods into full-size pods and singular pods and with overall classification accuracy of 100%.
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.