ZPdesu / HOG_descriptor

This is a simple implementation of the HOG algorithm

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HOG_descriptor

This code is implemented from the bottom of the hog algorithm by python. Peng Zhaoqing optimized this code and improved some computing speed. You can use two versions of the code. The first version is an integrated version and easy to call. The second version is implemented step by step, easy for readers to understand. You can learn more details from this website

Prerequisite

  • [OpenCV]
  • [matplotlib]
  • [Numpy]

Usage

$ git clone https://github.com/ZPdesu/HOG_descriptor
$ cd HOG_descriptor

change the image name in hog_feature1.py or hog_feature2.py, then run it.

case images

o s s

feature map

s

About

This is a simple implementation of the HOG algorithm


Languages

Language:Python 100.0%