Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

positive image cropping haar cascades

Hi,

Im taking my first steps in making a haar cascade for custom object recognition. Ive spent time getting a fair bit of data and wrote some preprocessing scripts to convert videos to frames. My next step is to crop the object of interes in order to create some positive training examples. I have a few questions which i genuinely have looked around for answers online - i'm slightly confused:-

  1. I read i should aim to keep the aspect ratio the same (http://note.sonots.com/SciSoftware/haartraining.html) - does this mean the same as the original frame OR for all images that i want to use for positive training examples (i.e. frames from completely different videos)

  2. Size - aspect ratio and sizing are obviously not the same. So again do i need to ensure my positive samples are all the same height and width (im pretty sure they should be but thought worth double checking).

  3. Negative samples - should these all be the same aspect ratio and / or size?

I understand this is a probably a very low level/ silly question however it's been far from clear what best practice is here!

Thanks