This project is a final project of the 'Deep Learning and Practice' course hosted in NCTU 2017 SUMMER.
The air_writing project is basically but not totally following the ideals of A Novel Approach to On-Line Handwriting Recognition Based on Bidirectional Long Short-Term Memory Networks to implement a BLSTM model using tensorflow.
tensorflow >= 1.2
numpy
scipy
python 3.5
xml
Go to http://www.fki.inf.unibe.ch/databases/iam-handwriting-database download the IAM On-Line Handwriting DataBase. And store the dataset folders 'ascii' and 'lineStrokes' under air_writing/data/
Generate dense tensor input data: data.npy and label.npy.
python air_writing/recognition/src preprocess.py
Generate the dense representation of label(text line): dense.npy
python air_writing/recognition/src read.py
python air_writing/recognition/src air_writing/recognition/src train_blstm.py
hyper parameters:
--data_dir
--checkpoint_dir
-- log_dir
--restore_path
--batch_size
--total_epoches
...(details please refer to air_writing/recognition/src/train_blstm.py)
python air_writing/ui_labeling/preprocessing sphere_fitting.py
python air_writing/recognition/src tagProcess.py
python air_writing/recognition/src test_blstm.py
MIT License
Copyright (c) [2017] [Chen Chieh Yu, Wen Ze Lai]
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.