python3 ./hog_pca_svm_detection.py --pca False
disable PCA
0.9740740740740741
Train and predict one picture time 8.84 seconds
Train and detection car time 9.86 seconds
enable PCA
python3 ./hog_pca_svm_detection.py --pca True
0.9754208754208754
Train and predict one picture time 2.84 seconds
Train and detection car time 3.92 seconds
dataset:
https://drive.google.com/u/0/uc?id=1dqLSViCIl67GX3vY2oqfa1BvFi8ZHaBj
refer to:
https://www.researchgate.net/publication/262987479_Efficient_eye_detection_using_HOG-PCA_descriptor
https://www.kaggle.com/code/mehmetlaudatekman/support-vector-machine-object-detection/notebook
https://github.com/irfanhanif/FaceRecognition-HOG-PCA-SVM
https://github.com/HandsomeHans/SVM-classification-localization
https://github.com/EdoardoGruppi/AMLS_assignment20_21