Classification of edible vegetable oil using digital image and pattern recognition techniques

Abstract This work presents a simple and non-expensive method based on digital image and pattern recognition techniques for the classification of edible vegetable oils with respect to the type (soybean, canola, sunflower and corn) and the conservation state (expired and non-expired shelf life). For this purpose, vegetable oil sample images were obtained from a webcam and the frequency distribution of color indexes in the red–green–blue (RGB), hue (H), saturation (S), intensity (I), and grayscale channels were obtained. Linear discriminant analysis (LDA) was employed in order to build classification models on the basis of a reduced subset of variables. For the purpose of variable selection, two techniques were utilized, namely the successive projection algorithm (SPA) and stepwise (SW) formulation. For the study evolving the classification with respect to oil type, LDA/SPA and LDA/SW models achieved a correct classification rate (CCR) of 95% and 90% respectively. For the identification of expired and non-expired samples, LDA/SPA models were found to be the best method for classifying sunflower, soybean and canola oils, achieving a CCR in the overall data set of 97%, 94% and 93%, respectively, while the LDA/SW correctly classified at 100% for corn oil data. These results suggest that the proposed method is a promising alternative for the inspection of authenticity and the conservation state of edible vegetable oils. As advantages, the method does not use reagents to carry out the analysis and laborious procedures for chemical characterization of the samples are not required.

[1]  Da-Wen Sun,et al.  Recent developments in the applications of image processing techniques for food quality evaluation , 2004 .

[2]  M. J. C. Pontes,et al.  Determining the quality of insulating oils using near infrared spectroscopy and wavelength selection , 2011 .

[3]  Yael Edan,et al.  IMAGE–PROCESSING ALGORITHMS FOR TOMATO CLASSIFICATION , 2002 .

[4]  Roberto Kawakami Harrop Galvão,et al.  The successive projections algorithm for spectral variable selection in classification problems , 2005 .

[5]  Elena Vittadini,et al.  Differential scanning calorimeter application to the detectionof refined hazelnut oil in extra virgin olive oil. , 2008, Food chemistry.

[6]  Jindong Tan,et al.  DietCam: Automatic dietary assessment with mobile camera phones , 2012, Pervasive Mob. Comput..

[7]  N. Vlachos,et al.  Applications of Fourier transform-infrared spectroscopy to edible oils. , 2006, Analytica chimica acta.

[8]  M. C. U. Araújo,et al.  Internal and External Validation in SPA-LDA: A Comparative Study Involving Diesel/Biodiesel Blends , 2012 .

[9]  Richard D. O'Brien,et al.  Fats and oils: formulating and processing for applications. , 1998 .

[10]  Maria Fernanda Pimentel,et al.  Detection of adulteration in hydrated ethyl alcohol fuel using infrared spectroscopy and supervised pattern recognition methods. , 2012, Talanta.

[11]  Giorgia Foca,et al.  Automated identification and visualization of food defects using RGB imaging: Application to the detection of red skin defect of raw hams , 2012 .

[12]  Ali H. El-Hamdy,et al.  Detection of olive oil adulteration by measuring its authenticity factor using reversed-phase high-performance liquid chromatography , 1995 .

[13]  G. Dalen Determination of the size distribution and percentage of broken kernels of rice using flatbed scanning and image analysis , 2004 .

[14]  Roberto Kawakami Harrop Galvão,et al.  UV–Vis spectrometric classification of coffees by SPA–LDA , 2010 .

[15]  Paulo Henrique Gonçalves Dias Diniz,et al.  Using a simple digital camera and SPA-LDA modeling to screen teas , 2012 .

[16]  Maria Fernanda Pimentel,et al.  Screening analysis to detect adulteration in diesel/biodiesel blends using near infrared spectrometry and multivariate classification. , 2011, Talanta.

[17]  J. M. Bunn,et al.  Tomato Maturity Evaluation Using Color Image Analysis , 1995 .

[18]  Petr Dejmek,et al.  Colour and image texture analysis in classification of commercial potato chips , 2007 .

[19]  Y. Ishikawa,et al.  COLOR CHANGE MODEL FOR BROCCOLI PACKAGED IN POLYMERIC FILMS , 2001 .

[20]  M. C. U. Araújo,et al.  Classification of edible vegetable oils using square wave voltammetry with multivariate data analysis. , 2009, Talanta.

[21]  F. Silva,et al.  Métodos para avaliação do grau de oxidação lipídica e da capacidade antioxidante , 1999 .

[22]  Toby P. Breckon,et al.  Fundamentals of Digital Image Processing: A Practical Approach with Examples in Matlab , 2011 .

[23]  Mário César Ugulino Araújo,et al.  A digital image-based method for determining of total acidity in red wines using acid-base titration without indicator. , 2011, Talanta.

[24]  Maria Fernanda Pimentel,et al.  Classification of blue pen ink using infrared spectroscopy and linear discriminant analysis , 2013 .

[25]  Chris Murphy,et al.  Real World Color Management , 2003 .

[26]  L. A. Stone,et al.  Computer Aided Design of Experiments , 1969 .

[27]  Francesco Addeo,et al.  1H and 13C NMR of virgin olive oil. An overview , 1997 .

[28]  José Manuel Amigo,et al.  Grading and color evolution of apples using RGB and hyperspectral imaging vision cameras , 2012 .

[29]  Dana H. Ballard,et al.  Computer Vision , 1982 .

[30]  Dong-Sun Lee,et al.  Characterization of fatty acids composition in vegetable oils by gas chromatography and chemometrics , 1998 .

[31]  Patrizia Fava,et al.  Automated evaluation of food colour by means of multivariate image analysis coupled to a wavelet-based classification algorithm , 2004 .

[32]  Celio Pasquini,et al.  Assessment of infrared spectroscopy and multivariate techniques for monitoring the service condition of diesel-engine lubricating oils. , 2006, Talanta.

[33]  Fernando Mendoza,et al.  Analysis and classification of commercial ham slice images using directional fractal dimension features. , 2009, Meat science.

[34]  R. Fisher THE USE OF MULTIPLE MEASUREMENTS IN TAXONOMIC PROBLEMS , 1936 .

[35]  José Miguel Aguilera,et al.  Image analysis of changes in surface color of chocolate , 2005 .