Teachable Machine

Teach a machine using your camera, live in the browser. No coding required.

Let’s Go!

or skip the tutorial

Sorry, your browser doesn’t support the latest technologies.
Download Google Chrome to use this and other experiments.

Mobile version
is highly experimental.

If you’re new to machine learning, visit the site on a desktop for a helpful first-time tutorial and better performance.

GOT IT

Sorry, looks like your browser or device doesn't support this experiment. Learn more about Teachable Machine here. Or try visiting this site on a desktop computer in a browser like Chrome.

Input

Learning

0 examples
Confidence
0%
Train Green
0 examples
Confidence
0%
Train Purple
0 examples
Confidence
0%
Train Orange

Output

GIF
Sound
Speech

Record a 10-second video clip. You can use your mic to say something about it.

Share your video below, or redo it.

0:10

Start Recording Post to Facebook

or, Download it!

Record a video

Share your machine with a screen captured video.

What is this?

This experiment lets anyone explore how machine learning works, in a fun, hands-on way. You can teach a machine to using your camera, live in the browser – no coding required. You train a neural network locally on your device, without sending any images to a server. That’s how it responds so quickly to you. Watch this video to learn more:

What kind of things can I do?

Here are some links to things people have done so far: Make your hand say moo. Rock out by wiggling your fingers. And stay tuned, we’ll add more examples here soon. (Want to share something with us? Use the record button and share it on social media with #teachablemachine so we can check it out.)

Any tips I should keep in mind?

Capture at least 30 images per class. Be aware of when you’re pressing and releasing the button (that’s when it starts/stops capturing images). And you might need to capture lots of angles or variations of whatever it is you want your machine to recognize.

Why isn’t my machine working the way I want it to?

Don’t worry. Keep playing around. Seeing what works and what doesn’t is one way to explore how machine learning works. Keep in mind that your machine doesn’t have an understanding of higher level concepts, like faces or objects. It’s learning through the examples you give it. So if it’s not working the way you want, you might want to click the x to reset your classes and try out different approaches.

Where can I find more things like this?

Check out Wekinator by Rebecca Fiebrink, one of the inspirations for this project. It lets anyone use machine learning through simple actions instead of code. Here are some interactive guides for learning about machine learning. And check out other fun projects like this and this.

Are my images being stored on Google servers?

No. All the training is happening locally on your device.

How do I learn more about machine learning?

Here’s an intro-level video explainer. This site lets you interact with neural networks in more detail. And this free online course lets you dive in even deeper.

How was this built?

The image recognition is powered by a neural network. It uses the open-source library deeplearn.js, which allows web developers to run machine learning models locally in the browser. We’ve also open-sourced the experiment here on Github.

Who made this?

This experiment was a collaborative effort by friends from Støj, Use All Five and Creative Lab and PAIR teams at Google.

To teach your machine, you need to click up here to turn on your camera and then refresh the page. you need to refresh the page and allow camera access.