Skip to content
No description, website, or topics provided.
Python Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
ocrd_typegroups_classifier
616.jpg
LICENSE
README
classify.py
evaluate-model.py
train-model.py

README

System for classifying segmented text lines as printed or handwritten.
The provided neural network has been trained on:
* a private dataset for handwritten text lines
  + 9577 training lines
  + 1562 validation lines
* a dataset of printed text which will be released before August 2019
  + its address will be added here - if not, please send a reminder
  + 40459 training lines
  + 1562 test lines
The accuracy of the classifier on the validation data is 97.47%.

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
You can’t perform that action at this time.