https://ml5js.org/

Reference: https://learn.ml5js.org/#/reference/index

List of official examples: https://ml5js.github.io/ml5-examples/public/

Code of conduct: https://github.com/ml5js/Code-of-Conduct

Plan for this session

<aside> ⚠️ Having issues running the examples in the browser😬?

Try switching browser to Google Chrome

Allow camera and microphone in Google Chrome

Allow camera on MacOSX in System Preferences

Webcam access on Windows 10: Select Start > Settings > Privacy > Camera. Set “Let apps use my camera” to “On”. Make sure Chrome has access to use the camera.

Older computers with less powerful graphics cards might run out of memory if you record hundreds or thousands of examples from the webcam, especially on Windows. If it happens, switch to another computer or be more modest when recording training data.

</aside>

0) p5js online editor (optional)

Setup an account with the p5js online editor

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/e22ff021-aea6-48d4-a236-8e45c3ca3561/Screenshot_2020-08-05_at_12.56.01.png

1) Train a classification algorithm

https://ml4a.github.io/images/demos_thumbs/ml5_classifier.jpg

Simple template: Webcam classifier