African Journal of
Agricultural Research

  • Abbreviation: Afr. J. Agric. Res.
  • Language: English
  • ISSN: 1991-637X
  • DOI: 10.5897/AJAR
  • Start Year: 2006
  • Published Articles: 6842

Full Length Research Paper

Design and implementation of a low cost computer vision system for sorting of closed-shell pistachio nuts

J. Ghezelbash1*, A. M. Borghaee1, S. Minaei1, S. Fazli2 and M. Moradi2
1Department of Agricultural Machinery, Islamic Azad University, Science and Research Branch, Tehran, Iran. 2Department of Electrical and Computer, Zanjan University, Zanjan, Iran.
Email: [email protected]

  •  Accepted: 20 November 2013
  •  Published: 19 December 2013


Iran is one of the most important producers and exporters of pistachio nuts in the world. Certainly, the quality of pistachio is very important for customers. Sorting of pistachio nuts is a post-harvesting process which is currently performed using a mechanical apparatus called “pin picker”. Due to the possibility of kernel damage by the pin picker, mechanical methods of closed-shell pistachio removal are gradually being replaced by other appropriate systems. Low cost systems for post-harvesting processes such as computer vision-based sorting systems are experiencing rapid growth. In this paper, a low cost intelligent system is implemented for pistachio sorting using computer vision. The system uses a combination of two flat mirrors and one low cost camera to obtain suitable 3 dimensional images from pistachios which are processed to detect closed-shell nuts. The experimental results for the three varieties of pistachios nuts shows 92.7 and 86.7% average removal accuracy, respectively for open and closed shell pistachio nuts.

Key words: Pistachio, closed shell, sorting, computer vision.