Live digit recognition with Tensorflow.js and React

github logo ・1 min read

ixartz / handwritten-digit-recognition-tensorflowjs

Digit recognition with Tensorflow.js and React using Mnist dataset

Handwritten digit recogniton

Digit recognition built with Tensorflow.js, Mnist dataset, React, Redux, Redux-Saga, Babel, Webpack, Styled-components, Eslint, Prettier and Ant Design.

A demo is available at this location: https://digit-recognition.ixartz.com.


Phone (iOS and Android) version:

Demo on phone

Desktop version:

Demo on desktop

Setup environment

This project is based on JavaScript environment and you need to install dependencies with Yarn or NPM:

$ yarn install

Launch locally

$ yarn start
$ Open https://localhost:9000 with your favorite browser

Build for production

$ yarn build

twitter logo DISCUSS
Classic DEV Post from Oct 14 '19

Render HTML with Vanilla JavaScript and lit-html

Sometimes you need to render HTML elements on a web page. And like Goldilocks' search for "just right", you have to try a few techniques before you find the right one. Using a framework may be too hard. Using pure HTML and the DOM API may be too soft. What you need is something in the middle that is just right. Is that thing lit-html? Let's find out.

Rémi Weng profile image

dev.to now has dark theme. 🌝

Go to the "misc" section of your settings and select night theme

P.S. It's the best move you can make for your dev career.