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

https://github.com/jmlich/opencv-hog

Simple detector based on histogram of oriented gradients and support vector machines
https://github.com/jmlich/opencv-hog

computer-vision hog opencv svm

Last synced: about 1 month ago
JSON representation

Simple detector based on histogram of oriented gradients and support vector machines

Awesome Lists containing this project

README

          

# opencv-hog

- extracts feature vector from image (see feature_vector function)
- "simple" hog
- hog_cv
- color histogram
- support vector machines classification
-- training set (first 80% of data) generates model
-- testing set (last 20% of data) evaluates model
- list of true/false positive/negative of testing set is printed in html to stdout

The input is defined as set of pictures with same resolution (e.g. 48x48) and class name

annotation file looks like this:
```
/var/www/html/fire/sun-dataset/SUNOUT/a/art_school/sun_aprywzqxjcezkbch.jpg,non-fire
/var/www/html/fire/labelme_samples-80/000093_65.jpg,fire
```
![Sample Output](https://git.fit.vutbr.cz/imlich/opencv-hog/raw/master/sample_output.jpg)