Update _hog.py

Made hog_histograms snake case
This commit is contained in:
Ivo Flipse
2015-06-15 22:51:30 +02:00
parent 502377e9ce
commit c37fc9ec20
+1 -1
View File
@@ -116,7 +116,7 @@ def hog(image, orientations=9, pixels_per_cell=(8, 8),
# compute orientations integral images
orientation_histogram = np.zeros((n_cellsy, n_cellsx, orientations))
_hoghistogram.HogHistograms(gx, gy, cx, cy, sx, sy, n_cellsx, n_cellsy,
_hoghistogram.hog_histograms(gx, gy, cx, cy, sx, sy, n_cellsx, n_cellsy,
visualise, orientations, orientation_histogram)
# now for each cell, compute the histogram