seuretm / printed-vs-handwritten

Apache License 2.0
20 stars 9 forks source link

System for classifying segmented text lines as printed or handwritten. The provided neural network has been trained on:

If you intend to use it, it is highly advised that you train it on your own data. To do so, create the following folders: lines/training/handwritten lines/training/printed lines/validation/handwritten lines/validation/printed and place your line images in these folders. Train the model by running train-model.py, and evaluate it with evaluate-model.py.

Usage example: python3 classify.py 616.jpg