问题描述:

I just started to use OpenCV and faced with some problems. I want to create my own haar cascade classifier for object detection. In my case for bags. Unfortunately, it doesn't want to detect it. What I did:

  1. Downloaded about 2000 cleared images of bags from imageNet.
  2. Converted them to grayscale and resized to 100x100.
  3. Used them to train haar classifier with local binary pattern.

Unfortunately when I used trained cascade.xml file it doesn't detect bags on images(from webcam). Am I use too small images or there is anything else? What is the best image size for detecting such objects?

Thank you!

相关阅读:
Top