A really basic (boilerplate) code for Human_detection using OpenCV.
The script human_detector.py
is the Wrapper around, HOG-SVM
model already implemented in OpenCV.
The aim of the script is not Accuracy, but ease of usability.
- OpenCV
- Numpy
- Imutils
- Jupyter and associated packages.
These are summarised in requirement.txt
- A virtual environment (recommended)
pip install -r requirements.txt
- Open the Jupyter Notebook.
- The Steps, details and guidelines can be found in comments.
- Using Images
- Using Video
- I have used the most basic SVM Histogram, as it is simple to implement.
- Accuracy is not the Aim
- The Script is as simple as it can be
Made by Vybhav Chaturvedi