2017-09-13 01:08:50 -0600 | received badge | ● Popular Question (source) |
2013-07-12 15:38:45 -0600 | commented question | The elusive road to LBP cascade training... help! Thanks Prasanna, based on your post I tried training a classifier with 10 frontal faces fairly well aligned (see http://goo.gl/udv7p)... but strangely I'm getting the same crazy results: a 380KB cascade.xml file, 30-40 seconds per call to detectMultiScale, and always one false positive result as a 104x104 square in the center of the image. I'll contact you offline, thanks for offering to assist! |
2013-07-12 05:38:52 -0600 | received badge | ● Student (source) |
2013-07-12 01:29:27 -0600 | asked a question | The elusive road to LBP cascade training... help! I'm fairly new to OpenCV, working on a fun personal project -- using a webcam + OpenCV on a Raspberry Pi to detect birds in my fig tree and trigger a scare device. But I'm hitting serious roadblocks trying to train a simple LBP cascade. I have a simple test app which runs detectMultiScale on a few test images. Using the standard lbpcascade_frontalface.xml the test successfully detects faces within ~200 milliseconds, which is awesome. Then I took 11 different photos of a square cookie cutter and cropped them to 24x24, obtained 20 random negative images cropped to 200x200, and created 12 test images at 320x240. See the images here. I then trained the cascade.xml with: and run my detection with:
Things I've tried in training which haven't made any difference:
As you can see, I've spent a lot of time but am getting nowhere. I've studied several online tutorials/references but none addresses the total failure I'm encountering. Any of the following would be EXTREMELY helpful:
Thanks in advance! |