Detection of humans using HoG and SVM.
- Python 2.7.x
- numpy
- opencv 3
- scikit-learn
This script will train and test the class Human_Detector.
-
To train run:
python detect_human.py -t
This will also save the Human_Detector class in a file calledhuman_detector.pkl
-
To test and load previously trained Human_Detector run:
python detect_human.py -l
This script will loop through images and detech humans using a sliding window approach
- To run:
python detect_human2.py