Hi,
I’m trying to get the hog features at specific keypoints of an image.
I’m resizing the images to size 256x256x3
then, I initialize
hog = cv2.HOGDescriptor(winSize=(256, 256), blockSize=(16,16), blockStride=(8,8), cellSize=(8,8), nbins=9)
hog.compute(image) → this returns a vector of length 34596
if I’m using ‘locations’
hog.compute(image, locations=[points]) it returns a vector of length 34596xnum_points. but for some reason this vector is all 0’s.
What am I doing wrong?
appreciate any help