Ask Your Question

Revision history [back]

OpenCV HaarTraining Positive images background

Hi all!

I have a few questions about background in positive images for haartraining.

  1. Is it good to have only the desired object in the positive image or to have also some portion of different possible backgrounds?
  2. If it's better to have only the desired object what is the best way to crop it if it has some specific shape? I mean a situation when you can't dispose of all the background because the object is not rectangular? Is it good just to make this background transparent?