Experiments for handwriting recognition
This repository is mainly for internal usage. If you want to get the data, please have a view at write-math.com/data
If you have new data, but don't want to change the classifier (hence: no difference in preprocessing, features or model and no new symbols), you should do the following:
$ backup.py
: 30 minutes- Update
hwrt/misc/latex2writemathindex.csv
- Update preprocessing data source to new file which was just created by backup.py
hwrt filter_dataset -s ~/GitHub/hwrt/hwrt/misc/symbols.yml -r ~/GitHub/hwr-experiments/raw-datasets/2015-11-14-17-06-handwriting_datasets-all-raw.pickle -d ~/GitHub/hwr-experiments/raw-datasets/2015-11-15-filtered-raw.pickle
- Delete files in preprocessing, features and model folder
$ train.py
: 30 minutes (eventually multiple times for SLP)
See "update existing classifier", but with modifications:
- Adjust the model files (number of output neurons)
- Adjust the data source (look in hwr-experiments/raw-datasets)
- Run
$ test.py -n 3
(should be less than 5%)