Teachable Machine is an experiment that makes it easier for anyone to explore machine learning, live in the browser – no coding required. Learn more about the experiment and try it yourself on g.co/teachablemachine.
The experiment is built using the deeplearn.js library.
We have also released a boilerplate version of this project that can be used as a starting point for your own projects: googlecreativelab/teachable-machine-boilerplate
Install dependencies by running (similar to
Start local server by running
yarn run watch
- There’s a pre-commit hook set up that will prevent commits when there are errors
yarn eslintfor es6 errors & warnings
yarn stylintfor stylus errors & warnings
To run https locally:
https is required to get camera permissions to work when not working with
- Generate Keys
openssl genrsa -out server.key 2048 openssl req -new -x509 -sha256 -key server.key -out server.cer -days 365 -subj /CN=YOUR_IP
yarn run watch-https
- Go to
https://YOUR_IP:3000, then accept the insecure privacy notice, and proceed.