Since I was not getting good recognition results (on aerial photography of cattle on fields), I tried to use transparency in the positives, to let the cows stand out more. Ultimately, I want to count the cows on the image.
But using transparency is a dumb idea, it seems, and I would just like to confirm that
- transparency in the positive images is ignored by the createsamples and traincascade tools
- only the -bgcolor and -bgthresh of createsamples determine what is considered transparent
Is that correct?
The problem I see is that the background of the positive cow images vary a lot (gras vs. sand, gras texture, etc.), so I will have an issue specifying a single -bgcolor. Before I set out to mask the background, I'd like to know how to do it correctly.
Thanks, nobi