Design of a tomato classifier based on machine vision

PLoS One. 2019 Jul 18;14(7):e0219803. doi: 10.1371/journal.pone.0219803. eCollection 2019.

Abstract

This paper attempts to design an automated, efficient and intelligent tomato grading method that facilitates the graded selling of the fruit. Based on machine vision, the color images of tomatoes with different morphologies were studied, and the color, shape and size were selected as the key features. On this basis, an automated grading classifier was created based on the surface features of tomatoes, and a grading platform was set up to verify the effect of the classifier. Specifically, the Hue value distributions of tomatoes with different maturities were investigated, and the Hue value ranges were determined for mature, semi-mature and immature tomatoes, producing the color classifier. Next, the first-order Fourier descriptor (1D- FD) was adopted to describe the radius sequence of tomato contour, and an equation was established to compute the irregularity of tomato contour, creating the shape classifier. After that, a linear regression equation was constructed to reflect the relationship between the transverse diameters of actual tomatoes and tomato images, and a classifier between large, medium and small tomatoes was produced based on the transverse diameter. Finally, a comprehensive tomato classifier was built based on the color, shape and size diameters. The experimental results show that the mean grading accuracy of the proposed method was 90.7%. This means our method can achieve automated real-time grading of tomatoes.

Publication types

  • Research Support, Non-U.S. Gov't

MeSH terms

  • Algorithms
  • Humans
  • Machine Learning*
  • Phenotype*
  • Reproducibility of Results
  • Solanum lycopersicum / classification*

Associated data

  • figshare/10.6084/m9.figshare.8227853
  • figshare/10.6084/m9.figshare.8227853.v2

Grants and funding

This research has received support from the Fundamental Research Funds for the Central Universities (No. 2452016077), the Agricultural Science and Technology Innovation and Research project of Shaanxi Province (No. 2016NY-157). And Students’ Innovative Research Plan of Northwest A&F University (No. 2201810712385).