← all repositories
Sierkinhane/CRNN_Chinese_Characters_Rec

Recognizing Chinese characters the old-fashioned CNN-RNN way

A PyTorch training pipeline that adapts the classic CRNN architecture to recognize high-vocabulary Chinese text in images.

1.9k stars Python Computer VisionML Frameworks
CRNN_Chinese_Characters_Rec
Not currently ranked — collecting fresh signals.
star history

What it does This repository implements a convolutional recurrent network (CRNN) in PyTorch for recognizing Chinese characters in images. It pairs CNN feature extraction with recurrent layers and CTC loss, which lets the model learn from line-level labels instead of painstaking per-character bounding boxes. You can train on the synthetic 360CC dataset or bring your own image-text pairs.

The interesting bit The project confronts a scale problem that Latin OCR rarely faces: a character set numbering in the thousands. The README casually drops a char_std_5990.txt file, implying support for just under six thousand glyphs, yet treats the whole affair as a standard PyTorch training run with YAML configs.

Key highlights

  • Targets a ~5,990-character Chinese glyph space using CTC decoding
  • Supports both the synthetic 360CC dataset and custom data via YAML config files
  • Includes a pretrained checkpoint for immediate demo.py inference
  • Fixed-length training works out of the box; variable length requires dataloader edits
  • Logs training curves through tensorboardX

Caveats

  • Development environment targets PyTorch 1.2.0 and CUDA 10.0, so modern dependency stacks may need massaging
  • Random-length training is noted as possible but requires modifying the dataloader yourself
  • Dataset and label downloads are hosted on Baidu Pan, which may be region-locked or unstable

Verdict Useful as a starter template or baseline if you are building Chinese text recognition into a larger pipeline and can tolerate some dependency archaeology. Not the right fit if you need a drop-in, multilingual OCR engine with zero tuning.

Frequently asked

What is Sierkinhane/CRNN_Chinese_Characters_Rec?
A PyTorch training pipeline that adapts the classic CRNN architecture to recognize high-vocabulary Chinese text in images.
Is CRNN_Chinese_Characters_Rec open source?
Yes — Sierkinhane/CRNN_Chinese_Characters_Rec is an open-source project tracked on heatdrop.
What language is CRNN_Chinese_Characters_Rec written in?
Sierkinhane/CRNN_Chinese_Characters_Rec is primarily written in Python.
How popular is CRNN_Chinese_Characters_Rec?
Sierkinhane/CRNN_Chinese_Characters_Rec has 1.9k stars on GitHub.
Where can I find CRNN_Chinese_Characters_Rec?
Sierkinhane/CRNN_Chinese_Characters_Rec is on GitHub at https://github.com/Sierkinhane/CRNN_Chinese_Characters_Rec.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.