Simple workaround of digit recognizer and an implementation of digit Generative Adverserial Network using Keras.
This project includes 4 notebooks (Jupyter) + the application that uses the model from the notebook 04.
The application is used to predict single number from an image selected by the user, and it shows brievly how the image is pre processed.
01_digit_prepocess.ipynb: Preprocessing data to obtains features and labels02_digit_model.ipynb: Training the model03_digit_GAN.ipynb: Using GAN to generate fake number04_digit_recognizer_extra.ipynb: Training a new model with single handwritten number which is deployed in the app (MNSIT dataset)
| nb. of epochs | 1 | 40 | 100 | 200 |
|---|---|---|---|---|
| preview | ![]() |
![]() |
![]() |
![]() |
Upgrade the model to be able to detect multi digit number. To get multi digit number data it's possible to concatenate image and update their labels like there https://github.com/thomalm/svhn-multi-digit/blob/master/03-mnist-synthetic-dataset.ipynb
http://ufldl.stanford.edu/housenumbers/ - Data for notebook 01 & 02 https://keras.io/examples/generative/conditional_gan/, https://github.com/Zackory/Keras-MNIST-GAN - GAN implementation for notebook 03 http://yann.lecun.com/exdb/mnist/ - MNSIT dataset for notebook 04




