I used to google teachable machine to create four different classes for images. A created a class for a shoe image, a book image, a cube image, and a calculator. I then trained the model to distinguish between the different images. Using that, I imported the model into the p5,js web editor and displayed a video using the webcam on my computer. When a shoe, cube, book. or calculator was shown, text would display what image it was.