Computer Vision Classification of Barley Flour Based on Spatial Pyramid Partition Ensemble

Sensors (Basel). 2019 Jul 4;19(13):2953. doi: 10.3390/s19132953.

Abstract

Imaging sensors are largely employed in the food processing industry for quality control. Flour from malting barley varieties is a valuable ingredient in the food industry, but its use is restricted due to quality aspects such as color variations and the presence of husk fragments. On the other hand, naked varieties present superior quality with better visual appearance and nutritional composition for human consumption. Computer Vision Systems (CVS) can provide an automatic and precise classification of samples, but identification of grain and flour characteristics require more specialized methods. In this paper, we propose CVS combined with the Spatial Pyramid Partition ensemble (SPPe) technique to distinguish between naked and malting types of twenty-two flour varieties using image features and machine learning. SPPe leverages the analysis of patterns from different spatial regions, providing more reliable classification. Support Vector Machine (SVM), k-Nearest Neighbors (k-NN), J48 decision tree, and Random Forest (RF) were compared for samples' classification. Machine learning algorithms embedded in the CVS were induced based on 55 image features. The results ranged from 75.00% (k-NN) to 100.00% (J48) accuracy, showing that sample assessment by CVS with SPPe was highly accurate, representing a potential technique for automatic barley flour classification.

Keywords: computer intelligence; food quality; image processing; machine learning.

MeSH terms

  • Algorithms*
  • Artificial Intelligence*
  • Flour / analysis
  • Flour / classification*
  • Food-Processing Industry / methods
  • Hordeum*
  • Image Processing, Computer-Assisted*
  • Machine Learning
  • Random Allocation
  • Support Vector Machine