Ask Your Question

Problem with HOG training, getting detection in negative image ...

asked 2013-07-15 01:49:58 -0500

updated 2013-07-15 04:49:31 -0500


for the last few days, I'm trying to train my hog descriptor for pedestrian recognition. I ran into the following problem: training is OK but when I test the detector on negative images, it detects 1 person in the center of the image...

Does anyone have any idea why this is happening?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2013-07-15 04:46:17 -0500

If it is a consistent error then I would hop through your code and make sure that you do not start drawing rectangles before anything is actually drawn. However, print out the amount of detections returned in negatives, it could well be a false positive getting through, which also occurs in negative images.

Training a pedestrian detector which will get ZERO detections in negatives, is almost impossible unless you have millions of training footage. Structures like light lanterns, trees, sides of houses, have remarkably same features as a human would do.

However adding more knowledge, like background - foreground information, could help you in removing stuff happening in background for example. Give us some more information, some pictures where it goes wrong, your code snippet, ...

edit flag offensive delete link more

Question Tools


Asked: 2013-07-15 01:49:58 -0500

Seen: 416 times

Last updated: Jul 15 '13