Skip to content

Instantly share code, notes, and snippets.

View louist87's full-sized avatar

Louis Thibault louist87

View GitHub Profile
@louist87
louist87 / Image.findHOGFeatures
Created February 27, 2014 12:13
Vectorized HOG feature detector for SimpleCV images
def findHOGFeatures(self, n_divs=3, n_bins=6):
"""
**SUMMARY**
Get HOG(Histogram of Oriented Gradients) features from the image.
**PARAMETERS**
* *n_divs* - the number of divisions(cells).
* *n_divs* - the number of orientation bins.