Giter VIP home page Giter VIP logo

afl's Introduction

Implementation of "Robust offline handwritten character recognition through exploring writer-independent features under the guidance of printed data" (AFL)

Paper

YapingZhang, Shan Liang, Shuai Nie, Wenju Liu, Shouye Peng, "Robust offline handwritten character recognition through exploring writer-independent features under the guidance of printed data", PR Letter 2018

Dependency

  • Please use python3, as we cannot guarantee its compatibility with python2.

  • Our code is based on Anaconda.

  • The version of Tensorflow we use is 1.10.1.

  • Other depencencies:

    pip install keras
    

Usage

  1. Clone the repo.

    git clone https://github.com/AprilYapingZhang/AFL.git
    cd AFL

Using ready-made data

  1. Download the prepared data in hdf5 from Baidu Yun with passwd pf7f , to the repo root, and uncompress it.

    NOTE: For the raw CASIA-HWDB, built by the CASIA, are released for academic research free of cost under an agreement.

  2. Make sure the structure looks like the following:

    data/:
    CASIA_HWDB_1.0_1.1_data
    data/CASIA_HWDB_1.0_1.1_data:
    norm_hand_pair_3755.hdf5  trn-HWDB1.0-1.1-3756-uint8.hdf5  tst-HWDB1.0-1.1-3756-uint8.hdf5
    
  3. Run model

    • Download the pretrain weights from Baidu Yun with passwd ie3j , to the repo root.

    • Run Baseline:

      python baseline.py --data_dir ./data
    • Run AFL model:

      python main.py --data_dir ./data --pretrain_weights ./pre_weights.hdf5

Bibtex

@article{zhang2018robust,
  title={Robust offline handwritten character recognition through exploring writer-independent features under the guidance of printed data},
  author={Zhang, Yaping and Liang, Shan and Nie, Shuai and Liu, Wenju and Peng, Shouye},
  journal={Pattern Recognition Letters},
  volume={106},
  pages={20--26},
  year={2018},
  publisher={Elsevier}
}

Acknowledgements

  • This code is built on keras.
  • The authors are grateful that Professor Cheng-lin Liu shared the CASIA-HWDB databases for our research.

afl's People

Contributors

aprilyapingzhang avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.