Ask Your Question

schlimbo's profile - activity

2018-10-01 10:24:46 -0600 received badge  Popular Question (source)
2017-08-29 16:57:34 -0600 received badge  Student (source)
2014-04-11 09:01:09 -0600 commented question How to detect birds (high-tech scarecrow)

aha. ok. I'll try that. Thanks.

2014-04-11 07:59:10 -0600 commented question How to detect birds (high-tech scarecrow)

isn't that what opencv_create_samples does? I was assuming that's what is stored in the vec files.

2014-04-11 05:21:08 -0600 commented question How to detect birds (high-tech scarecrow)

Ok thanks. One though I had was that maybe I just have a few classifiers, like one for flying birds and one for sitting birds. Probably I would need quite a few. There is one more question: opencv_createsamples accepts the flags -bgcolor and -bgthresh. The docu is a little sparse on those. Could I use them (and if so how) to "erase" green-ish things on the images and so improve the results?

2014-04-11 04:08:10 -0600 asked a question How to detect birds (high-tech scarecrow)

I am trying to build a high-tech scarecrow using a opencv-bird-detector. Following the tutorial http://coding-robin.de/2013/07/22/train-your-own-opencv-haar-classifier.html I created 7000 positive samples (from 400 images) and 750 negatives. The resulting classifier detects mostly anything, from grass to blue skies. It even accepts the negative samples.

I wonder why this doesn't work at all. One thought I have is that maybe the positive images are too diverse, showing birds in trees, on the road, walking and flying. I used only 4 different kinds of birds (the ones I expect to eat my cherries). On the other hand that's what I understood the training is meant to handle.

I know I could use motion detection for a first approximation, but with winds etc. that doesn't seem sufficient.

Any idea?