All Projects → chychen → air_writing

chychen / air_writing

Licence: other
Online Hand Writing Recognition using BLSTM

Programming Languages

C#
18002 projects
Classic ASP
548 projects
python
139335 projects - #7 most used programming language
ShaderLab
938 projects
GLSL
2045 projects
HLSL
714 projects

Projects that are alternatives of or similar to air writing

deep-improvisation
Easy-to-use Deep LSTM Neural Network to generate song sounds like containing improvisation.
Stars: ✭ 53 (+103.85%)
Mutual labels:  lstm, rnn, deeplearning
Deeplearning.ai Assignments
Stars: ✭ 268 (+930.77%)
Mutual labels:  lstm, rnn, deeplearning
Ailearning
AiLearning: 机器学习 - MachineLearning - ML、深度学习 - DeepLearning - DL、自然语言处理 NLP
Stars: ✭ 32,316 (+124192.31%)
Mutual labels:  lstm, rnn, deeplearning
novel writer
Train LSTM to writer novel (HongLouMeng here) in Pytorch.
Stars: ✭ 14 (-46.15%)
Mutual labels:  lstm, rnn
Lightnet
Efficient, transparent deep learning in hundreds of lines of code.
Stars: ✭ 243 (+834.62%)
Mutual labels:  lstm, rnn
Nlstm
Nested LSTM Cell
Stars: ✭ 246 (+846.15%)
Mutual labels:  lstm, rnn
Natural Language Processing With Tensorflow
Natural Language Processing with TensorFlow, published by Packt
Stars: ✭ 222 (+753.85%)
Mutual labels:  lstm, rnn
Automatic speech recognition
End-to-end Automatic Speech Recognition for Madarian and English in Tensorflow
Stars: ✭ 2,751 (+10480.77%)
Mutual labels:  lstm, rnn
Har Stacked Residual Bidir Lstms
Using deep stacked residual bidirectional LSTM cells (RNN) with TensorFlow, we do Human Activity Recognition (HAR). Classifying the type of movement amongst 6 categories or 18 categories on 2 different datasets.
Stars: ✭ 250 (+861.54%)
Mutual labels:  lstm, rnn
lstm har
LSTM based human activity recognition using smart phone sensor dataset
Stars: ✭ 20 (-23.08%)
Mutual labels:  lstm, rnn
tf-ran-cell
Recurrent Additive Networks for Tensorflow
Stars: ✭ 16 (-38.46%)
Mutual labels:  lstm, rnn
Caption generator
A modular library built on top of Keras and TensorFlow to generate a caption in natural language for any input image.
Stars: ✭ 243 (+834.62%)
Mutual labels:  lstm, rnn
Pytorch Sentiment Analysis
Tutorials on getting started with PyTorch and TorchText for sentiment analysis.
Stars: ✭ 3,209 (+12242.31%)
Mutual labels:  lstm, rnn
Pytorch Seq2seq
Tutorials on implementing a few sequence-to-sequence (seq2seq) models with PyTorch and TorchText.
Stars: ✭ 3,418 (+13046.15%)
Mutual labels:  lstm, rnn
Crnn Audio Classification
UrbanSound classification using Convolutional Recurrent Networks in PyTorch
Stars: ✭ 235 (+803.85%)
Mutual labels:  lstm, rnn
Deepjazz
Deep learning driven jazz generation using Keras & Theano!
Stars: ✭ 2,766 (+10538.46%)
Mutual labels:  lstm, rnn
DrowsyDriverDetection
This is a project implementing Computer Vision and Deep Learning concepts to detect drowsiness of a driver and sound an alarm if drowsy.
Stars: ✭ 82 (+215.38%)
Mutual labels:  lstm, rnn
5baa61e4c9b93f3f0682250b6cf8331b7ee68fd8
RNN-LSTM that learns passwords from a starting list
Stars: ✭ 35 (+34.62%)
Mutual labels:  lstm, rnn
ArrayLSTM
GPU/CPU (CUDA) Implementation of "Recurrent Memory Array Structures", Simple RNN, LSTM, Array LSTM..
Stars: ✭ 21 (-19.23%)
Mutual labels:  lstm, rnn
Kprn
Reasoning Over Knowledge Graph Paths for Recommendation
Stars: ✭ 220 (+746.15%)
Mutual labels:  lstm, rnn

On-Line Hand Writing Recognition using BLSTM [incomplete]

Demo Video

Introduction

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.

Requirement:

tensorflow >= 1.2
numpy
scipy
python 3.5
xml

Setup

  1. 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/

  2. Generate dense tensor input data: data.npy and label.npy.

python air_writing/recognition/src preprocess.py
  1. Generate the dense representation of label(text line): dense.npy
python air_writing/recognition/src read.py

Traning on IAM data

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)

Testing on VR data

  1. Project and normalize the 3D coordinated VR writing trajectory data and get filename.json
python air_writing/ui_labeling/preprocessing sphere_fitting.py
  1. Generate input data from filename.json and get VRdataValidation.npy and VRlabelValidation.npy
python air_writing/recognition/src tagProcess.py
  1. Test
python air_writing/recognition/src test_blstm.py

Reference

[LiBu05-03] Liwicki, M. and Bunke, H.: IAM-OnDB - an On-Line English Sentence Database Acquired from Handwritten Text on a Whiteboard. 8th Intl. Conf. on Document Analysis and Recognition, 2005, Volume 2, pp. 956 - 961

A Novel Approach to On-Line Handwriting Recognition Based on Bidirectional Long Short-Term Memory Networks

License

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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].