All Projects → GitYCC → crnn-pytorch

GitYCC / crnn-pytorch

Licence: MIT license
Convolutional Recurrent Neural Network (CRNN) for image-based sequence recognition using Pytorch

Programming Languages

python
139335 projects - #7 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to crnn-pytorch

Ocr densenet
第一届西安交通大学人工智能实践大赛(2018AI实践大赛--图片文字识别)第一名;仅采用densenet识别图中文字
Stars: ✭ 425 (+162.35%)
Mutual labels:  ocr-recognition
Boxdetection
A Box detection algorithm for any image containing boxes.
Stars: ✭ 104 (-35.8%)
Mutual labels:  ocr-recognition
Opencv
📷 Computer-Vision Demos
Stars: ✭ 244 (+50.62%)
Mutual labels:  ocr-recognition
Trwebocr
开源易用的中文离线OCR,识别率媲美大厂,并且提供了易用的web页面及web的接口,方便人类日常工作使用或者其他程序来调用~
Stars: ✭ 618 (+281.48%)
Mutual labels:  ocr-recognition
Zxingcamera
Camera for Android,身份证号码识别 (本地,实时)
Stars: ✭ 34 (-79.01%)
Mutual labels:  ocr-recognition
Text Detector
Tool which allow you to detect and translate text.
Stars: ✭ 173 (+6.79%)
Mutual labels:  ocr-recognition
VehicleInfoOCR
Use your camera to read number plates and obtain vehicle details. Simple, ad-free and faster alternative to existing playstore apps
Stars: ✭ 35 (-78.4%)
Mutual labels:  ocr-recognition
compv
Insanely fast Open Source Computer Vision library for ARM and x86 devices (Up to #50 times faster than OpenCV)
Stars: ✭ 155 (-4.32%)
Mutual labels:  ocr-recognition
Textshot
Python tool for grabbing text via screenshot
Stars: ✭ 1,163 (+617.9%)
Mutual labels:  ocr-recognition
Awesome Ocr
Stars: ✭ 198 (+22.22%)
Mutual labels:  ocr-recognition
Crnn tensorflow
Convolutional Recurrent Neural Networks(CRNN) for Scene Text Recognition
Stars: ✭ 935 (+477.16%)
Mutual labels:  ocr-recognition
Ocr Android
⭕ Text recognition, Leptonica-based deep learning technology, the text on the picture, intelligent recognition as editable text. Support printing and handwriting recognition, including ID cards, business cards and other card types, but also support notes, waybills and other customized scene identification, can effectively replace the manual entry of information scenes. Available in both Chinese and English language libraries, recognition accuracy up to 94%. No networking required.
Stars: ✭ 19 (-88.27%)
Mutual labels:  ocr-recognition
Awesome Deep Text Detection Recognition
A curated list of resources for text detection/recognition (optical character recognition ) with deep learning methods.
Stars: ✭ 2,282 (+1308.64%)
Mutual labels:  ocr-recognition
Easyocr
Java OCR 识别组件(基于Tesseract OCR 引擎)。能自动完成图片清理、识别 CAPTCHA 验证码图片内容的一体化工作。Java Image cleanup, OCR recognition component (based Tesseract OCR engine, automatically cleanup image and identification CAPTCHA verification code picture content).
Stars: ✭ 466 (+187.65%)
Mutual labels:  ocr-recognition
ultimateMICR-SDK
Bank check information extraction/OCR from Magnetic Ink Character Recognition [MICR] (E-13B & CMC-7) using deep learning
Stars: ✭ 42 (-74.07%)
Mutual labels:  ocr-recognition
Vedastr
A scene text recognition toolbox based on PyTorch
Stars: ✭ 290 (+79.01%)
Mutual labels:  ocr-recognition
Srn.pytorch
Unofficial PyTorch implementation of Towards Accurate Scene Text Recognition with Semantic Reasoning Networks
Stars: ✭ 118 (-27.16%)
Mutual labels:  ocr-recognition
deep-learning-for-document-dewarping
An application of high resolution GANs to dewarp images of perturbed documents
Stars: ✭ 100 (-38.27%)
Mutual labels:  ocr-recognition
receipt-manager-app
Receipt parser application written in dart.
Stars: ✭ 140 (-13.58%)
Mutual labels:  ocr-recognition
Deep Text Recognition Benchmark
Text recognition (optical character recognition) with deep learning methods.
Stars: ✭ 2,665 (+1545.06%)
Mutual labels:  ocr-recognition

CRNN Pytorch

python3.6

Quick Demo

$ pip install -r requirements.txt
$ python src/predict.py -h

Everything is okay. Let's predict the demo images.

$ python src/predict.py demo/*.jpg
device: cpu
Predict: 100% [00:00<00:00,  4.89it/s]

===== result =====
demo/170_READING_62745.jpg > reading
demo/178_Showtime_70541.jpg > showtime
demo/78_Novel_52433.jpg > novel

novel novel novel

CRNN + CTC

This is a Pytorch implementation of a Deep Neural Network for scene text recognition. It is based on the paper "An End-to-End Trainable Neural Network for Image-based Sequence Recognition and Its Application to Scene Text Recognition (2016), Baoguang Shi et al.".

Blog article with more info: https://www.ycc.idv.tw/crnn-ctc.html

crnn_structure

Download Synth90k dataset

$ cd data
$ bash download_synth90k.sh
@InProceedings{Jaderberg14c,
  author       = "Max Jaderberg and Karen Simonyan and Andrea Vedaldi and Andrew Zisserman",
  title        = "Synthetic Data and Artificial Neural Networks for Natural Scene Text Recognition",
  booktitle    = "Workshop on Deep Learning, NIPS",
  year         = "2014",
}

@Article{Jaderberg16,
  author       = "Max Jaderberg and Karen Simonyan and Andrea Vedaldi and Andrew Zisserman",
  title        = "Reading Text in the Wild with Convolutional Neural Networks",
  journal      = "International Journal of Computer Vision",
  number       = "1",
  volume       = "116",
  pages        = "1--20",
  month        = "jan",
  year         = "2016",
}

Pretrained Model

We pretrained the RCNN model on Synth90k dataset. The weights saved at checkpoints/crnn_synth90k.pt.

Evaluate the model on the Synth90k dataset

$ python src/evaluate.py

Evaluate on 891927 Synth90k test images:

  • Test Loss: 0.53042
Decoded Method Sequence Accuracy Prediction Time
greedy 0.93873 0.44398 ms/image
beam_search (beam_size=10) 0.93892 6.9120 ms/image
prefix_beam_search (beam_size=10) 0.93900 42.598 ms/image

Train your model

You could adjust hyper-parameters in ./src/config.py.

And train crnn models,

$ python src/train.py

Acknowledgement

Please cite this repo. crnn-pytorch if you use it.

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