HOG feature extractor with simple python implementation
# 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()



