A fun way to learn about Watson Visual Recognition and creating your own classifier, is with
Lego 42055, and a Raspberry Pi.
This is on top of this Lego 42055 machine
What you can notice in the video is the time it takes to identify a brick, we have 12 bricks, that are transported in 16 seconds. It took 40 seconds more to finish the recognition process.
Not all identifications are correct
We can gain some performance by tighter coupling, but the measurements show that I takes up to 2 seconds to classify an image.
This is the round trip to the Watson Cloud Services.
To train Watson with the images, I first did a couple of rounds just collecting frames/images.
For each brick ca. 35 images are used to train, and not to forget: the "negative" images, those are the images that have no brick but "only" transporter belt.
I made sure the lighting and camera distance stayed (more or less) the same.
First I had hoped to keep op with the fysical world and show live icons.
In the end, I decided to demonstrated the recognition skills by photographing the order in which the bricks were put on the transport belt.
This is how I mounted the Raspberry Pi on the Lego machine