This is an Object Classification Project .
The data is trained using Teachable Machine(https://teachablemachine.withgoogle.com/).
Teachable machine is an online tool which predicts values by making an instant dataset using your webcam and training it online.
The code is then generated and can be imported into the python script.
Here is how Teachable Machine looks : -
Real Time implementation :-