Ask Your Question
0

Hog compilation error

asked 2017-09-09 13:29:16 -0600

peter_cz gravatar image

Dears,

I'm trying to understand HOG descriptor which I am using e.g.

//extraction of HoG feature
HOGDescriptor hog(Size(32, 16), Size(4, 4), Size(8, 8), Size(4, 4), 9);
// Size(32,16), //winSize
// Size(8,8), //blocksize
// Size(4,4), //blockStride,
// Size(4,4), //cellSize,
// 9, //nbins,

hog.compute(img1_gray, descriptorsValues1, Size(0, 0), Size(0, 0), locations1);

I have example from scikit-image http://scikit-image.org/docs/dev/auto...

fd, hog_image = hog(image, orientations=8, pixels_per_cell=(16, 16),
                    cells_per_block=(1, 1), visualize=True)

I wanna undestand params of OpenCV HOGDescriptor and translate hog params from scikit-image hog to opencv

What winSize, blocksize, blockStride, cellSize and nbins mean of HOGDescriptor?

What descriptors, winStride, padding, locations of hog.compute() mean?

Thank you.

edit retag flag offensive close merge delete

Comments

have you got any cv knowledge yourself?

peter_cz gravatar imagepeter_cz ( 2017-09-09 17:04:43 -0600 )edit

what do you want to achieve using HOG?

sturkmen gravatar imagesturkmen ( 2017-09-09 18:08:03 -0600 )edit

Access HOG from within OpenVX framework

peter_cz gravatar imagepeter_cz ( 2017-09-10 03:26:12 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2017-09-09 15:36:28 -0600

updated 2017-09-09 16:56:14 -0600

see this post you can train your model to detect objects. you don't need deeper knowledge of params.documentation link

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2017-09-09 13:29:16 -0600

Seen: 226 times

Last updated: Sep 09 '17