Explore how machine learning works, live in the browser. No coding required.
Clone or download
Pull request Compare This branch is 5 commits ahead, 14 commits behind googlecreativelab:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets
deeplearn
html
src
style
.eslintrc.json
.gitignore
.stylintrc
CONTRIBUTING.md
LICENSE
README.md
app.yaml
appengine_config.py
main.py
package-lock.json
package.json
requirements.txt
yarn.lock

README.md

Teachable Machine

About this fork

Translated to spanish by @luiscosio

About

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.

Development

Install dependencies by running (similar to npm install)

yarn

Build project

yarn build

Start local server by running

yarn run watch

Code Styles

  • There’s a pre-commit hook set up that will prevent commits when there are errors
  • Run yarn eslint for es6 errors & warnings
  • Run yarn stylint for stylus errors & warnings

To run https locally:

https is required to get camera permissions to work when not working with localhost

  1. 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
  1. Use yarn run watch-https
  2. Go to https://YOUR_IP:3000, then accept the insecure privacy notice, and proceed.

Credit

This is not an official Google product, but an experiment that was a collaborative effort by friends from Støj, Use All Five and Creative Lab and PAIR teams at Google.