I'm building a classifier to detect an electrical outlet. Specifically the three holes of an outlet, like so:
Do I need to do something more than create a .vec
file with quite a bit of angle variation to generating positives using OpenCV's createsamples
utility? It seems so because my object is standardized (except for potentially being darkly colored between the outlet holes).
I see many people provide an info.dat
or similar file that contains paths to many positive images, including the number and location of the object-to-be-detected in the positive file. If I can avoid this extra work and still get excellent detection results, I would like to.
I do want to be able to detect different size outlets (i.e. from various distances) and from all detectable angles.
If there are ideal dimensions for this file before creating samples with it, that would be helpful too.