Ask Your Question

What is the best practice for cropping the positive examples to train a HOG classifier?

asked 2015-01-24 21:54:46 -0600

M.R. gravatar image

I've been reading up on the literature on HOG training, but I can't figure out what the best practices are for cropping the positive examples.

Question: Do you crop tight or with margins on the “object”? Do you crop all positive image to a standard aspect ratio or to whatever rectangle fits the appearance of the object in the particular image?

edit retag flag offensive close merge delete


This is my first question on this site... thanks!!

M.R. gravatar imageM.R. ( 2015-01-25 20:08:00 -0600 )edit

1 answer

Sort by » oldest newest most voted

answered 2016-03-30 09:33:09 -0600

Jian.Xi gravatar image

Just as i tried(,maybe not the best practise), at first i used some cropping tools( you can Google it) to crop your positive or negative Training samples. Of course you should try to hold the aspect ratoin as good as you can. After Training your model with just cropped Images you can use your model than, go get more Trainings samples if it works. Just repeat it one more times, you can get enought samples. Hope it helps you.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2015-01-24 21:54:46 -0600

Seen: 236 times

Last updated: Jan 24 '15