An open API service indexing awesome lists of open source software.

https://github.com/saswatamcode/digit_classifier

A web app which uses TensorFlow.js to train a model on the MNIST dataset and then classify handwritten digits.
https://github.com/saswatamcode/digit_classifier

javascript machine-learning tensorflow tfjs

Last synced: 12 months ago
JSON representation

A web app which uses TensorFlow.js to train a model on the MNIST dataset and then classify handwritten digits.

Awesome Lists containing this project

README

          

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg)](https://GitHub.com/Naereen/StrapDown.js/graphs/commit-activity)
[![Ask Me Anything !](https://img.shields.io/badge/Ask%20me-anything-1abc9c.svg)](https://GitHub.com/Naereen/ama)
[![made-for-VSCode](https://img.shields.io/badge/Made%20for-VSCode-1f425f.svg)](https://code.visualstudio.com/)
[![GitHub forks](https://img.shields.io/github/forks/saswatamcode/digit_classifier?style=social)](https://GitHub.com/saswatamcode/digit_classifier/network/)
[![GitHub stars](https://img.shields.io/github/stars/saswatamcode/digit_classifier?style=social)](https://GitHub.com/saswatamcode/digit_classifier/stargazers/)
[![GitHub issues](https://img.shields.io/github/issues/saswatamcode/digit_classifier.svg)](https://GitHub.com/saswatamcode/digit_classifier/issues/)
[![Open Source Love svg1](https://badges.frapsoft.com/os/v1/open-source.svg?v=103)](https://github.com/ellerbrock/open-source-badges/)
[![Netlify Status](https://api.netlify.com/api/v1/badges/b359025a-c2fb-46c0-a816-d56eeb94ce45/deploy-status)](https://app.netlify.com/sites/digitclassifier/deploys)

# Handwritten Digit Classifier
A web app which uses TensorFlow.js to train a model on the MNIST dataset and then classify handwritten digits.
Also uses tfjs-vis to visualize training. Currently only works for desktop browsers.

## Screenshot
![MainScreen!](screenshots/Screenshot-1.png)

## To Run
- Clone into repo
- Run `npm i serve` or some other alternative
- Visit `localhost:5000` and wait for training to complete
- Draw your digits and see them get classified

A demo is hosted [here](https://digitclassifier.netlify.app/).