How to recognize specific objects
I have been making application which recognize car light symbols on Android in Java using OpenCV. I take the images from phone's camera. I use OpenCV 3.2.0 version. What I have done so far:
- Filter out the colors in an image
- Reduce the noise
- Detect an object by size
- Sort out the object by color(the object will be compared with the same object's color)
Detected object:
Colors filtered out:
What would be good option to recognize those (binary images) objects? I took a look at HOG, HAAR and k-NN algorithms. But I struggle to get informations about how to train them. Or do I miss something? I do on windows 10 everything. Let me know your opinions.
i'd try much simpler means first, like matchContours(). opencv also has a shape module for this
But wouldn't it be realible enough to recognize the objects? And how is it going to be with speed?