Natural Produce Classification Using Computer Vision Based on Statistical Color Features and Derivative of Radius Function .pptx

JokoSisawantoro 15 views 15 slides Sep 22, 2024
Slide 1
Slide 1 of 15
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15

About This Presentation

Natural Produce Classification Using Computer Vision Based on Statistical Color Features and Derivative of Radius Function .pptx


Slide Content

Natural Produce Classification Using Computer Vision Based on Statistical Color Features and Derivative of Radius Function

Outline Introduction Material and methods Computer vision system Image acquisition Segmentation Feature extraction Classification Validation Result

Introduction… Natural produce classification aims to classify the produce into one of classes . Applications in agriculture industry: Sorting Grading Measuring Pricing Traditionally is performed by human expert: Inaccurate Difficult to standardize Computer vision over promising method for natural produce classification.

Introduction… Current research in computer vision for natural produce classification: Using combination of very long features descriptor Unser’s descriptors Color coherence vectors Border/interior Global color histogram Appearance descriptors Color autocorrelogram Local activity spectrum Quantized compound change histogram Edge orientation autocorrelogram

Introduction Using complex classification method to obtain classification accuracy more than 97% Fusion of SVM with RBF kernel Bagging ensemble of linear discriminant analysis Fusion of binary classifier More time is required To extract the long features from an image To train complex classifier using the long features

Material and methods… Computer vision system: Camera: Logitech HD Pro Webcam C910 Light source: tube lamp light Personal computer: 3.00 GHz Pentium (R) Dual-Core, 2.00 GB RAM, 32-bit Windows 7 Software: coded in Matlab R2010a Produce Light source Computer Camera USB cable

Material and methods… Image acquisition: From top view The produce was placed on a table about 40 cm below the camera Acquired with a black background. Image: saved in RGB, 640 × 480 pixels, 96 dpi.

Material and methods… Segmentation To separate the produce from its background Converted to HSV Used only image in S channel Gaussian filter Automatic thresholding Morphological openings and closings (a) original image, (b) image in H channel, (c) image in S channel, (d) image in V channel, (e) binary image, (f) segmented image

Material and methods… Feature extraction: Statistical color (12 features) Mean Standard deviation Skewness Kurtosis Derivative of radius function (4 features) Mean Standard deviation Skewness Kurtosis Pixel values in H, S, and V channel  r (  ) 36 values of radius function is measured for with interval .  

Material and methods… Classification k -nearest neighbors (k-NN ) k was determined by experiment Euclidean distance was used to measure the closeness between testing and training sample Artificial neural network (ANN) : Three layers Input: 16 neurons Hidden: the number of neurons was determined by experiment Output : 3 neurons Transfer function: tansig Learning algorithm: Levenberg -Marquardt backpropagation

Material and methods Validation For preliminary experiment: 160 images of natural produce 53 apples 52 mangos 55 tomatoes 50 % samples were randomly chosen as training set and the rest for testing set 10 training sets and 10 testing sets were constructed Classification accuracy:

Result… k -NN classifier The number of nearest neighbors k was heuristically determined for The best average classification accuracy was achieved using and training : 94.25 % testing : 74.5%  

Result… ANN classifier The number of neurons in hidden layer was heuristically determined from two until 12 neurons The best average classification accuracy was achieved using 9 neurons in hidden layer training : 100 % Testing: 99.875%

Result Average processing time: Process a raw sample image and extract features: less than 0.22 second Classify testing set using k -NN: less than 0.01 second /sample Train ANN: less than 1 second Classify testing set using ANN : less than 0.01 second /sample Total time used to classify a new produce image: less than 0.23 second

Thank you
Tags