中文说明:一个简单的PCA计算,用于从图像集中提取特征并使用svm进行分类。
English Description:
A simple PCA calculation for extracting feature from set of images and classify it with svm. PCA read a set of training sample which is collected in structured folder. As below : --Train --data1 --data2 --data3 Which data1, data2, data3 contain images associated with class 1, 2, 3 respectively. Since the class data is 3, then SVM classification used in this code is a multiclass classification using one-against-one approach.