Ask Your Question

CiL's profile - activity

2012-10-29 07:02:20 -0600 received badge  Editor (source)
2012-10-29 07:01:08 -0600 asked a question GPU HOG detection

I'm using Windows 7 64bit, visual studio 2010, opencv 2.4.2

I'm trying to use GPU hog detector.

For now I can use my own CPU hog detector (my trained version).

My hog has cellsize of Size(4,4).

However, in opencv/modules/gpu/src/cuda/hog.cu , it states that

// Other values are not supported
#define CELL_WIDTH 8
#define CELL_HEIGHT 8

or, in opencv/modules/gpu/src/hog.cpp , in the

cv::gpu::HOGDescriptor::HOGDescriptor( ... ) { ... CV_Assert(cell_size == Size(8, 8)); ... }

I think this is the reason why my program crashes. However I don't want to use cell size 8. How can I chage it to 4 ?