← Open Source

Repo for next generation of ml5.js: friendly machine learning for the web.

AI EngineeringMake agent see hear talkJavaScript
Momentum
+0stars in 24 hours0.0%
188
Stars
45
Forks
+0
This week
21
Contributors
Created 2023-03-13 Β· Updated 2026-11-29 Β· #27986 today
Top developers
ziyuan-linnshiffmangohai
README

Friendly machine learning for the web!

Read our ml5.js Code of Conduct and software licence here!

This project is currently in development.

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.

The library is supported by code examples, tutorials, and sample data sets with an emphasis on ethical computing. Bias in data, stereotypical harms, and responsible crowdsourcing are part of the documentation around data collection and usage.

ml5.js is heavily inspired by Processing and p5.js.

Please read our Code of Conduct, which establishes our commitment to make ml5.js a friendly and welcoming environment.

Usage

Before getting started with ml5.js, review our Code of Conduct. There are several ways you can use the ml5.js library:

  • You can have the browser fetch the latest 1.x version (currently: 1.5.1) by adding this to the head section of your HTML document:
<script src="https://unpkg.com/ml5@1/dist/ml5.js"></script>

We will try our best to maintain compatibility with the existing API going forward, switching to a future 2.x if needed.

  • If you prefer to use a specific version now and in the future, you can also specify the exact version number. The previous versions of ml5.js can be found here. You can do so by replacing <version> with the ml5 version of interest:

    <script src="https://unpkg.com/ml5@<version>/dist/ml5.min.js"></script>

    For example:

    <script src="https://unpkg.com/ml5@0.6.1/dist/ml5.min.js"></script>

    Note: To access the source code of version 0.12.2 or earlier, please visit the archived repository.

Resources

Code of Conduct

We believe in a friendly internet and community as much as we do in building friendly machine learning for the web. Please refer to our Code of Conduct for our rules for interacting with ml5 as a developer, contributor, or as a person using the library.

Contributing

Want to be a contributor πŸ— to the ml5.js library? If yes and you're interested to submit new features, fix bugs, or help develop the ml5.js ecosystem, please go to our CONTRIBUTING documentation to get started.

See CONTRIBUTING πŸ› 

Acknowledgements

ml5.js is supported by the time and dedication of open source developers from all over the world. Funding and support is generously provided by a Google Education grant at NYU's ITP/IMA program.

Many thanks BrowserStack for providing testing support.

Contributors ✨

Thanks goes to these wonderful people (emoji key):


Daniel Shiffman

πŸ’» πŸ’‘ πŸ“† πŸ‘€ ⚠️ πŸ“Ή

CristΓ³bal Valenzuela

πŸ’» πŸ’‘ πŸ‘€ πŸ”§ ⚠️

Yining Shi

πŸ’» πŸ’‘ πŸ‘€ πŸ”§ ⚠️ πŸ›

Hannah Davis

πŸ’» πŸ’‘

Joey Lee

πŸ’» πŸ’‘ πŸ‘€ πŸ–‹ ⚠️

AshleyJaneLewis

πŸ“ 🎨 πŸ“‹ πŸ–‹

Ellen Nickles

πŸ“ πŸ–‹ πŸ€” βœ…

Itay Niv

πŸ’» πŸ’‘

Nikita Huggins

πŸ“ πŸ–‹ πŸ€”

Arnab Chakravarty

πŸ–‹ πŸ““

Aidan Nelson

πŸ’» πŸ’‘

WenheLI

πŸ’» πŸ’‘ 🚧 πŸ€”

Darius Kazemi

πŸ€” πŸ’¬

Dingsu Wang

πŸ’» πŸ’‘

garym140

πŸ–‹ πŸ“ πŸ€” πŸ““

Gene Kogan

πŸ’» πŸ’‘ πŸ€”

Hayley Hwang

πŸ’» πŸ’‘ πŸ€”

Lisa Jamhoury

πŸ’‘ πŸ€”

Alejandro Matamala Ortiz

🎨 πŸ–‹ πŸ“

Maya Man

πŸ’» πŸ’‘

Mimi Onuoha

πŸ€” πŸ–‹ πŸ‘€

Yuuno, Hibiki

πŸ’» πŸ’‘ 🚧

Dan Oved

πŸ’» πŸ’‘ πŸ’¬ πŸ€”

Stephanie Koltun

πŸ’» πŸ’‘ πŸ–‹ πŸ“ 🎨

YG Zhang

πŸ’» πŸ’‘ πŸ€”

Wenqi Li

πŸ’» πŸ’‘ πŸš‡

Brent Bailey

⚠️ πŸ’» πŸ’‘

Jonarod

πŸ’»

Jasmine Otto

πŸ’» ⚠️ πŸ’‘

Zaid Alyafeai

πŸ’» πŸ’‘ πŸ€” πŸ’¬

Jacob Foster

πŸ’» πŸ’‘ ⚠️

Memo Akten

πŸ’» πŸ’‘

Mohamed Amine

πŸ’» πŸ’‘ πŸ€” ⚠️

Oliver Wright

πŸ’» ⚠️

Marshal Hayes

πŸ“–

Reiichiro Nakano

πŸ’» ⚠️ πŸ’‘

Nikhil Thorat

πŸ’» πŸ’‘ πŸ€” πŸš‡

Irene Alvarado

πŸ’» πŸ’‘ 🚧 πŸ€”

Andrew Lee

πŸ’» πŸ’‘ πŸ€”

Jerhone

πŸ“–

achimkoh

πŸ’» πŸ’‘ ⚠️

Jim

πŸ’‘ πŸ“– πŸ–‹

Junya Ishihara

🚧 πŸ’»

Naoto HIÉDA

🚧

aarΓ³n montoya-moraga

🚧 πŸ’‘

b2renger

πŸ’» πŸš‡

Aditya Sharma

🚧

okuna291

πŸ€”

Jenna

πŸ€”

nicoleflloyd

πŸ–‹ 🎨 πŸ““

jepster-dk

πŸ’» πŸ€”

Xander Jake de los Santos

πŸ€”

Cassie Tarakajian

πŸ› πŸš‡ πŸ€”

Dave Briccetti

πŸ›

Sblob1

πŸ›

Jared Wilber

πŸ’‘ πŸ€” πŸ’»

danilo

πŸ’» πŸ€”

Emma Goodliffe

πŸ€” πŸ’¬ 🚧

Yang

πŸ’» πŸ›

Lydia Jessup

πŸ’» πŸ€” πŸ’‘

CJ R.

πŸ“– πŸ–‹

Fabio Corona

πŸ›

Tobias Nickel

πŸ› πŸ’»

Michael Salaverry

πŸ–‹ πŸ›

Rob

πŸ› πŸ’¬

Pujaa Rajan

πŸ’‘ πŸ›

Nick McIntyre

⚠️ πŸ›

Andy Baio

πŸ–‹ 🚧

Wenqi Li

πŸ–‹ πŸ’» πŸš‡ 🚧 πŸ€”

garym140

🎨

Jim

πŸ–‹ 🚧 πŸ€”

Yeswanth

🚧 πŸ›

Pettrus Sherlock

πŸ› 🚧

danilo

πŸ–‹

Andreas Refsgaard

πŸ–‹

Brian Jordan

πŸ–‹

bradley inniss

πŸ–‹

Kaushlendra Pratap

πŸ–‹

maxdevjs

πŸ–‹

josher19

πŸ–‹ πŸ›

Frederik De Bleser

πŸ–‹

Violet

πŸ›

Tirta Wening Rachman

πŸ’» πŸ–‹ πŸ€”

MikΓ‘ Kruschel

πŸ’» πŸ›

Takanobu Asanuma

πŸ–‹

Martin L. Jensen

πŸ–‹

Hugo Romano

πŸ–‹

Darshan Sen

πŸ–‹

Ludwig Stumpp

πŸ‘€ πŸ› πŸ’‘

Bomani Oseni McClendon

πŸ–‹ πŸ’»

Jang Haemin

πŸ–‹

Anton Filatov

πŸ–‹

Elijah Lucian

πŸ“–

Tam

πŸ–‹

RGV

πŸ’¬

hansvana

πŸ–‹

Ali Karpuzoglu

πŸ› 🚧

Jacob Wysko

πŸ–‹

Dilwoar Hussain

πŸ“–

Manaswini Das

πŸ“–

Benjamin Botwin

πŸ‘€ πŸ’¬ πŸ€”

Henrique Mota

πŸ‘€ πŸ’¬ πŸ€”

CaseyPan

πŸ’» πŸ€”

Sam Tarakajian

πŸ’» πŸ› 🚧 πŸ€”

Michael Bell

πŸ“– πŸ› 🚧

machenmusik

πŸ’‘

Pranav Dudhane

πŸ“–

TΓΌndi SzΓ‘sz

🎨 πŸ€”

hellonun

πŸ€” πŸ““

Pierre Grimaud

πŸ“– πŸ–‹

Greg French

πŸ›

Dale Markowitz

πŸ’» πŸ€”

Ragland Asir

πŸ“–

Tom-Lucas SΓ€ger

πŸ“–

altruios

πŸ“–

mennosc

πŸ’»

neta

πŸ’» πŸ“–

Koji

πŸ’» πŸ“–

josephrocca

πŸ’» πŸ“–

Lauren Lee McCarthy

πŸ’» πŸ“–

Sorin Curescu

πŸ’»

mofanke

πŸ› πŸ’»

Ikko Ashimine

πŸ“–

Mudasar-Makandar

πŸ› πŸ’»

Amir Feqhi

πŸ’»

DasK

πŸ’» πŸ€”

Amir

πŸ’» πŸ’‘

lindapaiste

πŸ’» πŸ€” πŸ›

Evan Weinberg

πŸ“–

Coder Gautam

πŸ“–

Yong-Yuan Chen

πŸ“–

adrianfiedler

πŸ“– πŸ›

Micaelle Lages Lucena

πŸ“ πŸ‘₯ πŸ“‹

Vivian Chen

πŸ’»

ch3926

πŸ’»

Ziyuan Lin

πŸ’» πŸ“– πŸ’‘ 🚧 πŸ€”

Ozioma Chukwukeme

πŸ“ πŸ‘₯ πŸ“‹

Zhuolin Li

πŸ’» πŸ“– πŸ€” ⚠️

Apoorva Avadhana

️️️️♿️ πŸ› 🎨 πŸ€” πŸ”¬

QuinnHe

πŸ’» πŸ–‹ πŸ“–

J.H. Moon

πŸ’» πŸ–‹ 🎨 πŸ“– πŸ’‘ πŸ§‘β€πŸ« βœ…

Alan Ren

πŸ› πŸ’» πŸ–‹ 🎨 πŸ“– πŸ€”

Jack B. Du

πŸ› πŸ’‘ βœ…

OrpheasK

πŸ’» πŸ’‘ 🚧

Myrah Sarwar

️️️️♿️ πŸ–‹ πŸ“–

Sherab

πŸ’» 🚧

Michael Weinberg

πŸ“ πŸ‘₯ πŸ“ƒ

Gottfried Haider

πŸ’» πŸ’‘ 🚧 πŸ‘€

douaaz

πŸ’» 🚧 πŸ”¬

Xiaozao Wang

πŸ–‹ 🎨

Ricci-Liu

πŸ’» πŸ”¬

Lisa-HuangZijin

πŸ’» πŸ”¬

chanel1130

πŸ’» πŸ”¬

agrshch

πŸ› πŸ’»

Quinton Ashley

πŸ’»

Nasif

πŸ“ πŸ› πŸ’» πŸ“–

Bairui Su

πŸ“ πŸ’»

Mathew Ponon

πŸ’»

Jin

πŸ“ πŸ’»

Christina Dacanay

πŸ“ πŸ‘₯ πŸ“ƒ 🎨 πŸ–‹

Junhao Zhu

πŸ’» πŸ“– πŸ’‘

colemanliyah

πŸ“ πŸ’» πŸ“– πŸ’‘ πŸ”¬ πŸ‘€

yash

πŸ’»

This project follows the all-contributors specification. Contributions of any kind welcome!

Nearby in the ranking
Similar items

AI Rank for iPhone

Follow AI model rankings

Download on the App Store