Awesome
webcam-ml
Train your own real-time image classifier on-the-fly. Real-time image classification using your webcam with tensorflow.js
Features
- Custom label driven real-time image classification. Learn what anything looks like, and call it what it is! Wide range of applications from medical to meme.
- Authentication-less model save! Who wants to create an account? Not me... just copy the UUID and save it somewhere!
- Authentication-less model load! Send the UUID of your trained model to your friends and have them load it! Great for memes.
Demo of App
Usage
- Focus on an object or entity with your webcam
- Enter label describing what the webcam is viewing
- Submit several example captures (ideally with different object angles)
- Observe the model's classification in real time
- Repeat to build your own personally trained image classifer
- Save the model for later! Or send the code to your friends for them to load your model!
Installation for local development
- Run
git clone https://github.com/james-salafatinos/webcam-ml.git
in your desired directory - Run
npm install -i
to install the dependencies - Run
npm start
to initiate the server listening athttp://localhost:8080/
Installation for Google Cloud deployment
- Run
git clone https://github.com/james-salafatinos/webcam-ml.git
in your cloud shell - Run
npm install -i
to install the dependencies - Run
gcloud app deploy
and wait a few minutes to spin up the active server in the cloud
To-dos:
[Feature]
- Add loading gif for when webcam is initializing and model is downloading[Bug]
- Fix unsupported Safari "getUserMedia()"
Tool Landscape
- Testing Framework
- Mocha
- App Deployment
- Google App Engine
- Editor
- VS Code
- Server
- Express
- Backend
- NodeJS
- Front End
- None
- CI/CD
- Github Actions
- Database
- MongoDB