Introduction - If you have any usage issues, please Google them yourself
1 This program uses PCA dimensionality reduction algorithm training images obtained feature image 2 would mean every picture with the image projected onto the difference feature vector space 3. Computing training images projected maximum pairwise Euclidean from distance_max 4. the test image is projected to the feature vector space, with all the training images calculate its minimum Euclidean distance projection distanceST_min. 5 Set judging threshold (set 0.3* distance_max, the experience obtained by the test, different threshold values will affect the determination result). When distanceST_min> 0.3* distance_max, then that test image and the training images do not belong to the same class, on the contrary, it is considered to be.