All Projects → diaomin → Crnn Mxnet Chinese Text Recognition

diaomin / Crnn Mxnet Chinese Text Recognition

An implementation of CRNN (CNN+LSTM+warpCTC) on MxNet for chinese text recognition

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Crnn Mxnet Chinese Text Recognition

insightocr
MXNet OCR implementation. Including text recognition and detection.
Stars: ✭ 100 (-37.89%)
Mutual labels:  ocr, mxnet, crnn
crnn.mxnet
crnn in mxnet.can train with chinese characters
Stars: ✭ 47 (-70.81%)
Mutual labels:  ocr, mxnet, crnn
ReadToMe
No description or website provided.
Stars: ✭ 51 (-68.32%)
Mutual labels:  ocr, mxnet
CRNN.tf2
Convolutional Recurrent Neural Network(CRNN) for End-to-End Text Recognition - TensorFlow 2
Stars: ✭ 131 (-18.63%)
Mutual labels:  ocr, crnn
Tr
Free Offline OCR 离线的中文文本检测+识别SDK
Stars: ✭ 598 (+271.43%)
Mutual labels:  crnn, ocr
CRNN-OCR-lite
Lightweight CRNN for OCR (including handwritten text) with depthwise separable convolutions and spatial transformer module [keras+tf]
Stars: ✭ 130 (-19.25%)
Mutual labels:  ocr, crnn
BankCard-Recognizer
Identifying numbers from bankcard, based on Deep Learning with Keras [China Software Cup 2019]
Stars: ✭ 74 (-54.04%)
Mutual labels:  ocr, crnn
Crnn attention ocr chinese
CRNN with attention to do OCR,add Chinese recognition
Stars: ✭ 315 (+95.65%)
Mutual labels:  crnn, ocr
Captcha break
验证码识别
Stars: ✭ 2,268 (+1308.7%)
Mutual labels:  crnn, ocr
Crnn With Stn
implement CRNN in Keras with Spatial Transformer Network
Stars: ✭ 83 (-48.45%)
Mutual labels:  crnn, ocr
Pottan Ocr
A stupid OCR for malayalam language
Stars: ✭ 39 (-75.78%)
Mutual labels:  crnn, ocr
Sightseq
Computer vision tools for fairseq, containing PyTorch implementation of text recognition and object detection
Stars: ✭ 116 (-27.95%)
Mutual labels:  crnn, ocr
Pytorchocr
基于pytorch的ocr算法库,包括 psenet, pan, dbnet, sast , crnn
Stars: ✭ 198 (+22.98%)
Mutual labels:  crnn, ocr
Ocr.pytorch
A pure pytorch implemented ocr project including text detection and recognition
Stars: ✭ 196 (+21.74%)
Mutual labels:  crnn, ocr
Deep Text Recognition Benchmark
Text recognition (optical character recognition) with deep learning methods.
Stars: ✭ 2,665 (+1555.28%)
Mutual labels:  crnn, ocr
Crnn.pytorch
crnn实现水平和垂直方向中文文字识别, 提供在3w多个中文字符训练的水平识别和垂直识别的预训练模型; 欢迎关注,试用和反馈问题... ...
Stars: ✭ 145 (-9.94%)
Mutual labels:  crnn, ocr
Text renderer
Generate text images for training deep learning ocr model
Stars: ✭ 931 (+478.26%)
Mutual labels:  crnn, ocr
Easyocr
Ready-to-use OCR with 80+ supported languages and all popular writing scripts including Latin, Chinese, Arabic, Devanagari, Cyrillic and etc.
Stars: ✭ 13,379 (+8209.94%)
Mutual labels:  crnn, ocr
Paddleocr
Awesome multilingual OCR toolkits based on PaddlePaddle (practical ultra lightweight OCR system, support 80+ languages recognition, provide data annotation and synthesis tools, support training and deployment among server, mobile, embedded and IoT devices)
Stars: ✭ 18,084 (+11132.3%)
Mutual labels:  crnn, ocr
Neuralnet Handwriting Ios
A handwriting recognition example for iOS using NeuralNet
Stars: ✭ 148 (-8.07%)
Mutual labels:  ocr

crnn-mxnet-chinese-text-recognition

This is an implementation of CRNN (CNN+LSTM+CTC) for chinese text recognition.

Building MXNet with warp-ctc

  1. In order to use mxnet.symbol.WarpCTC layer, you need to first build Baidu's warp-ctc library from source
  2. Then build MXNet from source with warp-ctc config flags enabled.

Data Preparation

  1. Download the Synthetic Chinese Dataset(contributed by https://github.com/senlinuc/caffe_ocr and many thanks)

    A glance of the dataset:

    • almost 3.6 million synthetic chinese text images.
    • 5,990 different categories in total.
    • each image has a length of 10 characters.
  2. Create train.txt and text.txt with the format like this:

           image_name1 label1_1 label1_2 label1_3...
           image_name2 label2_1 label2_2 label2_3...

Optional: downoad the two files here

Training

  1. Modify the path of images and txt files in train.py
  2. Run
$ python train.py 2>&1 | tee log.txt
  1. After almost 19 epoches, you can get 99.0502% validation accuracy.
2018-04-01 03:35:35,136 Epoch[18] Batch [25450]	Speed: 53.10 samples/sec	accuracy=0.988125
2018-04-01 03:37:37,482 Epoch[18] Batch [25500]	Speed: 52.31 samples/sec	accuracy=0.986719
2018-04-01 03:39:38,613 Epoch[18] Batch [25550]	Speed: 52.84 samples/sec	accuracy=0.989531
2018-04-01 03:41:40,470 Epoch[18] Batch [25600]	Speed: 52.52 samples/sec	accuracy=0.987969
2018-04-01 03:42:27,544 Epoch[18] Train-accuracy=0.988672
2018-04-01 03:42:27,544 Epoch[18] Time cost=80796.510
2018-04-01 03:42:27,610 Saved checkpoint to "./check_points/model-0019.params"
2018-04-01 05:34:43,096 Epoch[18] Validation-accuracy=0.990502

Hare is a pre-trained model you can download directly.

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].