📢

Welcome to our new website! We’ve launched a new version of ml5.js with breaking changes. If you encounter errors such as '... is not a function' or need features that are no longer available, please refer to our FAQ for how to access the previous version and documentation.

Friendly Machine Learning for the Web

A neighborly approach to creating and exploring artificial intelligence in the browser.

Why ml5.js?

Left

More Approachable Machine Learning for the Web

Right

ml5.js aims to make machine learning approachable for a broad audience of artists, creative coders, and students. The library provides access to machine learning algorithms and models in the browser, building on top of TensorFlow.js with no other external dependencies.

What we can do with ml5.js?

BodyPose

Full-body pose estimation

HandPose

Hand-skeleton finger tracking

FaceMesh

Facial landmark detection

ImageClassifier

Image content recognition

SoundClassifier

Audio detection and classification

ml5 NeuralNetwork

Train your own neural networks

Discover the creative possibilities of machine learning!