HOG Algorithm Implementation
Description
HOG (Histograms of Oriented Gradients) Algorithm is an algorithm aiming to realize object segmentation (edge detection) on images before CNN models are widely used.
Reference
Navneet Dalal and Bill Triggs, Histograms of Oriented Gradients, CVPR 2005
Getting Started
- Clone this repository
git clone https://github.com/LeoTheBestCoder/HOG_implementation.git
- Install related libraries
pip install opencv-python
pip install numpy
pip install matplotlib
- Put your input image under same directory and modify line 10 in image.py (include filename extension)
IMAGE_NAME = 'amumu.jpg'
- Run the script
python3 image.py