Profile picture

Curious software engineer with a keen interest in craftsmanship and design principles. At Remote, I work with a great team to create delightful products, ensuring everything runs smoothly under the hood, aiming to enable global remote work.


Improvising bits and melodies @diegocasmo.


IAM Dataset Writer Recognition Using a CNN

November 09, 2018

During the past few days I have been studying how to identify the author of a text based on their writing styles. Fortunately, I found the “handwriting_recognition” Jupyter notebook by “Priyanka Dwivedi”, which uses the method explained in the paper “DeepWriter: A Multi-Stream Deep CNN for Text-independent Writer Identification” to solve this problem.

I had some issues while trying to understand the notebook, as it lacks specific instructions on how to setup the dataset and how exactly the data parsing is done. As a result, I decided to rewrite the notebook step-by-step to improve my own understanding of the method, and hopefully help others who wish to do the same.

The code and instructions on how to set it up can be found in the “iam_writer_recognition” repository. I have tried to explain each step during the process as clearly as possible, as well as to provide visual examples of what the code is doing at each step. Let me know if you have any questions or suggestions on how to improve it.