Ask Your Question

paulsc167's profile - activity

2015-06-24 12:54:30 -0600 commented question Found bug in CascadeClassifier what do I do next ?

ok, just did.

2015-06-22 07:47:49 -0600 commented question Found bug in CascadeClassifier what do I do next ?

Interesting. I wonder if it's platform specific. What environment are you running ?

2015-06-18 10:48:16 -0600 commented question Found bug in CascadeClassifier what do I do next ?

Thanks, just did.

2015-06-18 10:45:06 -0600 received badge  Editor (source)
2015-06-18 10:39:48 -0600 asked a question Found bug in CascadeClassifier what do I do next ?

Hello everyone,

I believe I've found a bug with the CascadeClassifier, I would like to report it but wanted to check in here first.

I'm running Opencv 3.0.0 on Mac 10.10.3.

Quick description:

  1. initialize CascadeClassifier with haarcacscade_profileface.xml
  2. call detectMultiScale on roi in image to detect a first face (works as expected)
  3. call detectMultiScale on same classifier instance, different roi to detect another face (doesn't work as expected, rectangle is offset to the top right)

Note that if I re-instantiate the classifier and use a fresh instance between step 2 and 3, the classifier works as expected and properly detects the face in step 3. That's what's leading me to believe this is a bug.

Full code used to reproduce the issue is here: https://gist.github.com/paulsc/b91b75...

bug: opencv-bug.jpg

no bug (re-initializing classifier): opencv-nobug.jpg

orignal file: bug-equed.jpg

Can anyone confirm this is an issue? What are the next steps to report this ?

Thanks,

Paul