An open API service indexing awesome lists of open source software.

https://github.com/zpdesu/hog_descriptor

This is a simple implementation of the HOG algorithm
https://github.com/zpdesu/hog_descriptor

hog-features

Last synced: 3 days ago
JSON representation

This is a simple implementation of the HOG algorithm

Awesome Lists containing this project

README

          

# HOG_descriptor

This code is implemented from the bottom of the hog algorithm by python. [Peng Zhaoqing](https://github.com/PENGZhaoqing) 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](https://zpdesu.github.io/documents/HOG特征提取/)

## 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](transform_graph/figure_1.png)
![s](transform_graph/Grayscale.png)
![s](transform_graph/Gamma_trans.png)

## feature map
![s](feature_map/feature_1.png)