Build your own AI
Discovery Place Science
- Artificial Intelligence
- Machine Learning
Have you ever wondered how Artificial Intelligence gets its intelligence? One way we can teach AI is to use Machine Learning. We give our AI a bunch of data, it learns how to categorize the data, and then it gets good at telling the difference between different data!
Today we’re going to make our own AI to detect the difference between two different objects!
- A laptop with a stable internet connection
- A webcam
- Objects we want to teach the machine
First – pull up https://teachablemachine.withgoogle.com, and click Get Started!
We’ll start with an Image Project, so click on that to create one! A standard image model will work just fine.
Once we create our project, we’ll see this screen:
For our project, pick two objects that you want to tell the difference between. For this example, I picked a rubber band ball, and a butterfly pamphlet. Label accordingly.
Click on “Webcam” to upload photos. Try to get a variety of angles of your object. The more photos of the object the better.
Next, click Train! This process takes a minute, but once you’re done, you’ll see your working AI in the preview section.
Try showing your AI something it hasn’t seen before. It’ll probably get a little confused. You can add more classes, to cover more objects, but it would take forever to train it on every possible object!