Detection of Hands using HAAR Cascades in OpenCV for UG Project Souce code, classifiers and associated data for UnderGraduate Project. This repository deals with detection of open hand using OpenCV 3.1.0 on Python 3.5. Data files are omitted for now
- OpenCV for Python 3.5
- numpy
- matplotlib
In this repository, we explore the effects of various parameters on accuracy of detection. For training, about 8000 samples were used, and for testing, about 3000. We then tweak:
- Size of window
- No of neighbours
- Image scaling We run the classifier after changing the above parameters one at a time, on a test set to generate plots of accuracy versus the parameter in question. If you want the data for re-training, please contact [email protected]
There are scripts to generate plots of accuracy versus several parameters of HAAR classifier Navigate to ./src and run python .py to run the respective script