I'm a complete beginner to object recognition.
I need to identify and count how many of a certain type of Lego, in a picture full of different pieces of Lego, using MATLAB.
The pieces of Lego I need to identify, are of a certain shape, colour and size.
I need suggestions for algorithms that can perform this task, and links to where I can find more information about them.
From the research I've done, so many are focused around facial recognition, and provide no help for me!
I followed a tutorial that used SURF points to identify points of interest, in the scene pictures and the picture of the Lego picture to find. But it wasn't able to pick up on all the aspects of the Lego piece, and therefore didn't have a chance of finding it in the scene.
If there aren't any algorithms that can perform this, how can I at least separate the pieces based on their colours?
Any suggestions would be really handy! Thanks in advance.
Sample picture where I will need to identify certain pieces: