This project hasn't been updated in a long time, so it no longer appears on the homepage, categories, or search results — the data is preserved and this page still works normally.
RepositoryJupyter NotebookCNChina
lvjianjin

lvjianjin/crnn

一个基于TensorFlow2的CRNN项目

58stars
30forks
3issues
0views

English | 简体中文

Introduction

A crnn project based on Tensorflow2.

model

Demo

digit

number

chinese

chinese

Features

  1. Refactoring.

Requirements

  • Python 3.6+
  • Tensorflow 2.2.0+

Recent updates

2020-10-13: The first version is online. 2021-3-6: Open source data construction tools 。

Contents

Installation

python

Install the required Python packages,

pip install -r requirements.txt

docker

Usage

train

  1. Pull code
git clone https://github.com/lvjianjin/crnn.git
  1. Prepare the data set

digit dataset

Generate simulation data through this tool, and modify the local dataset path to dataset_path in ./configs/config.py.

chinese dataset

Generate simulation data through this tool or download the following Chinese data set to the local, and modify the local data set path to dataset_path in ./configs/config.py.

链接:https://pan.baidu.com/s/1FgdITVrM_HsyNh7QSpePjw 
提取码:iakr
解压密码:chineseocr
  1. training

执行训练代码,

python main.py -m train

test

Execute training code,

python main.py -m test

Pre-trained model

The pre-trained model will be released soon, so stay tuned.

Contact

  1. e-mail:jianjinlv@163.com
  2. QQ Group:1081332609

License

The codes are released under the MIT License.

Similar Projects

Discover other similar projects and AI models.

RepositoryJupyter Notebook
TomHuynhSG/Vietnamese-Handwriting-Recognition-OCR

Handwriting OCR for Vietnamese Address using state-of-the-art CRNN model implemented with Tensorflow. This was a challenge proposed by the Cinnamon AI Marathon.

110
May 11, 2025
RepositoryPython
JaidedAI/EasyOCR

Ready-to-use OCR with 80+ supported languages and all popular writing scripts including Latin, Chinese, Arabic, Devanagari, Cyrillic and etc.

30.1k
Dec 5, 2025
RepositoryPython
RapidAI/RapidOCR

📄 Awesome OCR multiple programing languages toolkits based on ONNX Runtime, OpenVINO, MNN, PaddlePaddle, TensorRT and PyTorch.

8.3k
Oct 24, 2026
RepositoryPython
myhub/tr

Free Offline OCR 离线的中文文本检测+识别SDK

1.4k
Oct 11, 2026
RepositoryPython
frotms/PaddleOCR2Pytorch

PaddleOCR inference in PyTorch. Converted from [PaddleOCR](https://github.com/PaddlePaddle/PaddleOCR)

1.2k
Jul 10, 2026
RepositoryPython
s3nh/text-detector

Tool which allow you to detect and translate text.

181
Sep 10, 2019
RepositoryPython
42gas42/CRNN-OCR-lite

Lightweight CRNN for OCR (including handwritten text) with depthwise separable convolutions and spatial transformer module [keras+tf]

152
Jun 12, 2019
RepositoryC++
benjaminwan/OcrLiteOnnx

chineseocr lite onnx,超轻量级中文ocr demo,支持onnx推理 ( dbnet+crnn+anglenet)

150
Feb 24, 2023
RepositoryPython
FLming/CRNN.tf2

Convolutional Recurrent Neural Network(CRNN) for End-to-End Text Recognition - TensorFlow 2

150
Apr 26, 2023