Smart Trash bin uses the Watson Api with a Raspberry Pi and a Camera to sort the trash as it is being throwned. Using the Watson API USe instructions on IBM Watson : First of all registe and download cloud, follow the instructions. Go on Watson Studio to create a model to train (find Data sets on websites like Kaggle) Follow the instructions here : https://cloud.ibm.com/apidocs/visual-recognition?language=python#classify-images
SmarTrash.py is a merge of every other code for easier implementation on Raspberry Pi.