cat detection
Hi there,
i am trying to build a cascade classifier to identify my cat (used with a cat flap). So the goal is just to identify ONE cat.
I have made 10 images of my cat and builded altogether 200 positives with
./opencv_createsamples -img positives/yuki01.jpg -vec samples/yuki01.vec -w 50 -h 50 -num 20
and
./mergevec samples/info.dat samples/yuki.vec
The vec-File is fine, it contains 200 images. Furthermore I have got 1000 negative images (size 640x480) for the training. I started the classification like this:
./opencv_traincascade -data results -vec samples/yuki.vec -bg negatives/info.dat -w 50 -h 50 -numPos 200 -numNeg 1000
After 16 Stages and a long Time I finally got the cascade.xml file. I used the source code from an OpenCV Tutorial I found here: CascadeClassifier
Of course I changed the cascade name into "cascade.xml". When I start the detection it finds nothing, even if I point the camera directly to the positive images. Feature Type was HAAR but I also tried LBP and its the same result.
Any idea what went wrong? Thanks!