TensorFlow 2.0 RC is available Learn more
Demos

See examples and live demos built with TensorFlow.js.

Emoji Scavenger Hunt

Use your phone’s camera to identify emojis in the real world. Can you find all the emojis before time expires?

Webcam Controller

Play Pac-Man using images trained in your browser.

Teachable Machine

No coding required! Teach a machine to recognize images and play sounds.

Move Mirror

Explore pictures in a fun new way, just by moving around.

Performance RNN

Enjoy a real-time piano performance by a neural network.

Node.js Pitch Prediction

Train a server-side model to classify baseball pitch types using Node.js.

Visualize Model Training

See how to visualize in-browser training and model behaviour and training using tfjs-vis.

Examples

tfjs-examples provides small code examples that implement various ML tasks using TensorFlow.js.

MNIST Digit Recognizer

Train a model to recognize handwritten digits from the MNIST database.

Addition RNN

Train a model to learn addition from text examples.

Iris Flower Classification

Classify flowers using tabular data.