Skip to content

A real-time handwritten digit recognition using tensorflow.js, node.js and socket.io

Notifications You must be signed in to change notification settings

albertnadal/tensorflowjs-mnist-live

Repository files navigation

tensorflowjs-mnist-live

A real-time handwritten digit recognition using tensorflow.js, node.js and socket.io

Prepare the node environment:

$ npm install

First, train the prediction model with the following command:

$ node trainer.js --epochs 5 --model_save_path trained_model

Once the prediction model is trained then you can serve a webtool to play with the model with the command bellow:

$ node server.js --model_path trained_model

Open your the URL http://localhost:1992/ in your browser and start playing.

About

A real-time handwritten digit recognition using tensorflow.js, node.js and socket.io

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published