Machine-Learning Extracte features using PCA or HOG and classfy it using SVM. Just put your data in the dataset folder and run the code.