Today their is more and more new brand created every month. Some of them are eco-frendly ect... But how to fing a shoes wear by an anninymous in the subway ? Because a lot of brand do not put their logo visible.
Today with the learning machine this is possible.
So I'm going to explain step by step how to create such a project.
This project uses ml5.js which is a JavaScript library. The idea is to give an image of chose which would be analysed by an artificial intelligence in order to find the brand.
Previoulsy, the AI analysed millions of shoe images and their brand. Thanks to a machine learning process, the AI is know able to match the picture image's brand because it recognizes seleval details.
You can watch the video to get more information about the machine learning !
First things to do is to copy this link in our index.html to use the mi5.js and call ml5 functions:
After we need to copy this link in our index.html to use p5 because some functions will help us:
One this things done we have to create a js file to include the code for ml5. We a need to split each coding language. Now we will use a specific fonction named MobileNet, thanks to it, the Artificial Intelligence will be able to recognize the content of images.
In order to use Mobilenet we have to use this function "imageClassifier()" and create a callback function in order to use the specific function mobilenet.predict which.