First step: create a reference to the library in the index.html file.
Second step: Create a .js file including the code for ml5 in it.
The ml5 code holds two different parts, one part for hosting the pictures of the items and the other hosting the different items in the database, in which you will find the item.
Before to start here is a quick video on how to use ml5 for beginners.
click here
Then here is a link to learn how to use image classifier.
click here
NOW YOU ARE READY TO START!
This is the code you have to type to start using imageclassifier: