Week 5 (17 Dec – 23 Dec) – Code Explanation

Tensorflow will be implemented in the code as the main library to read and convert the text images into text. The code provided by Niek Temme will be the basis of our handwriting to text algorithm. The code uses the MNist database to train the model, which is then saved locally to eliminate the redundancy of training the model every time the code is executed. The model is then loaded into a python script, where the user will provide their handwritten text image to feed to the algorithm. The image will be then compared to those in the Mnist database; however, it is important that the dimensions of the image given is similar in size to the one existing in the MNist database. The code does not provide the image size conversion, hence this a task that the group shall accomplish. Predint() will be the main function to produce a prediction based off the image given to the algorithm. 

Source: https://niektemme.com/2016/02/21/tensorflow-handwriting/

This entry was posted in Uncategorized. Bookmark the permalink.

Comments are closed.