[PYTHON] I made a demo that lets the model learned in the Tensorflow mnist tutorial distinguish the handwritten numbers written on the canvas.

I have a feeling that the title says it I happened to have to make a public presentation on Deep Learning material, I wish I could explain it with some simple demos. I wonder if there is a sample that can be easily moved at hand and can actually make predictions I searched for this and that, but I couldn't find it, so I made it.

スクリーンショット 2017-01-24 12.40.36.png

What I'm doing is using TensorFlow MNIST Tutorial as it is, saving the trained model, and saving it. All you have to do is skip the number image drawn on the canvas to the Flask app and let it be identified. I hope it helps.

demo: munky69rock/mnist-demo

(Note 1: Since I made it with time-constrained movement first, I have not verified the correctness of the code inside, I'm sorry ...) (Note 2: The browser has been confirmed to work only on Chrome, it does not work on smartphones)

reference

Recommended Posts

I made a demo that lets the model learned in the Tensorflow mnist tutorial distinguish the handwritten numbers written on the canvas.
I made a VGG16 model using TensorFlow (on the way)
I tried a TensorFlow tutorial (MNIST for beginners) on Cloud9-Classification of handwritten images-
Visualization of the firing state of the hidden layer of the model learned in the TensorFlow MNIST tutorial
I made a program that solves the spot the difference in seconds
I tried the TensorFlow tutorial MNIST 3rd
[Example of Python improvement] I learned the basics of Python on a free site in 2 weeks.
CodePicnic that can create a [Development | Run | Tutorial | Demo] environment that runs on the browser
Tutorial to infer the model learned in Tensorflow with C ++/OpenVINO at high speed
I tried the MNIST tutorial for beginners of tensorflow.
I made a program to collect images in tweets that I liked on twitter with Python
I tried a convolutional neural network (CNN) with a tutorial on TensorFlow on Cloud9-Classification of handwritten images-
I made a function to check the model of DCGAN
Is there a bias in the numbers that appear in the Fibonacci numbers?
I made an anomaly detection model that works on iOS
I made a neural network generator that runs on FPGA
I wrote a script that splits the image in two
Hannari Python At the LT meeting in December, I made a presentation on "Python and Bayesian statistics".