Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Core ML Models
  3. CTPN

CTPN

NOASSERTIONJupyter Notebook

Scene text detection using Connectionist Text Proposal Network (CTPN) for detecting text lines in natural images.

Visit WebsiteGitHubGitHub
1.3k stars529 forks0 contributors

What is CTPN?

CTPN is a deep learning model for detecting text lines in natural scene images. It uses a Connectionist Text Proposal Network architecture that combines convolutional and recurrent neural networks to accurately localize text in unconstrained environments. The project provides an implementation and pre-trained model for scene text detection tasks.

Target Audience

Computer vision researchers and developers working on optical character recognition (OCR), document analysis, or scene understanding who need robust text detection in images.

Value Proposition

CTPN offers a specialized, research-backed approach to text detection that outperforms generic object detectors for text localization. Its open-source implementation and pre-trained model allow developers to integrate state-of-the-art text detection without training from scratch.

Overview

Detecting Text in Natural Image with Connectionist Text Proposal Network (ECCV'16)

Use Cases

Best For

  • Extracting text from photographs of street signs and storefronts
  • Preprocessing step for OCR systems handling natural scene images
  • Building applications that detect text in user-uploaded photos
  • Research and experimentation with scene text detection algorithms
  • Educational purposes for learning about text detection in computer vision
  • Document analysis systems that process images containing text

Not Ideal For

  • Real-time text detection on CPU-only edge devices
  • Applications requiring detection of rotated or curved text
  • Teams using modern deep learning frameworks like PyTorch or TensorFlow
  • Projects with tight deadlines and limited system administration expertise

Pros & Cons

Pros

Research-Backed Accuracy

Based on the ECCV 2016 paper, CTPN combines CNN and RNN architectures to capture text sequence context, providing robust detection in natural scenes.

Pre-Trained Model Included

Offers a 78MB trained model ready for inference, saving significant time and resources compared to training from scratch.

GPU Acceleration Support

Optimized for GPU with CUDNN, requiring about 1.5GB memory for faster processing, as noted in the README.

Specialized Text Detection

Designed specifically for text-line detection, treating text as sequences of fine-scale proposals to outperform generic object detectors.

Cons

Outdated and Complex Setup

Requires compiling Caffe with legacy dependencies like Python2.7, CUDA 7.0, and CUDNN 3.0, which are difficult to install on modern systems.

Limited Text Orientation Handling

Focuses on horizontal text lines without side-refinement, making it ineffective for detecting rotated or curved text.

Poor CPU Performance

The README admits the CPU implementation is non-optimal and extremely slow, necessitating a GPU for practical use.

Frequently Asked Questions

Quick Stats

Stars1,288
Forks529
Contributors0
Open Issues70
Last commit4 years ago
CreatedSince 2016

Tags

#deep-learning#caffe#text-detection#image-processing#ocr#computer-vision#lstm

Built With

c
cuDNN
C
CUDA
C
Cython
P
Python
C
Caffe

Links & Resources

Website

Included in

Core ML Models7.0k
Auto-fetched 5 hours ago

Related Projects

TensorFlow Slim ModelsTensorFlow Slim Models

Models and examples built with TensorFlow

Stars77,672
Forks45,008
Last commit12 days ago
TensorFlow ModelsTensorFlow Models

Models and examples built with TensorFlow

Stars77,672
Forks45,008
Last commit12 days ago
Caffe Model ZooCaffe Model Zoo

Caffe: a fast open framework for deep learning.

Stars34,576
Forks18,462
Last commit1 year ago
ColorizationColorization

Automatic colorization using deep neural networks. "Colorful Image Colorization." In ECCV, 2016.

Stars3,459
Forks922
Last commit2 years ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub