Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 505 Bytes

README.md

File metadata and controls

23 lines (17 loc) · 505 Bytes

Hog-feature

HOG feature extractor with simple python implementation

Running

# hog.py
img = cv2.imread('data/picture1.png', cv2.IMREAD_GRAYSCALE)
hog = Hog_descriptor(img, cell_size=8, bin_size=8)
vector, image = hog.extract()
plt.imshow(image, cmap=plt.cm.gray)
plt.show()

Result