# eragonruan/text-detection-ctpn

text detection mainly based on ctpn model in tensorflow, id card detect, connectionist text proposal network

Repository: https://github.com/eragonruan/text-detection-ctpn
Canonical: https://ross.abutalabs.com/products/text-detection-ctpn
Language: Python
License: MIT
License Family: permissive
Topics: text-detection, tensorflow, ctpn, id-card, ocr, robust-reading
Last push: 2023-10-03T21:05:26+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3269, "days_push": 1065, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3429, forks 1310 (observed 2026-08-28T04:08:04.013153+00:00)

## What it is
A TensorFlow implementation of the Connectionist Text Proposal Network (CTPN) for detecting horizontal scene text in images. It includes pretrained models for inference, training scripts, and demonstrates usage on ID card detection.

## Use cases
- detect text regions in natural scene images
- locate text lines on ID cards
- build an OCR pipeline that needs text bounding boxes first
- train a CTPN model on custom horizontal text datasets
- run frozen-graph inference on a folder of images

## When to choose
- you need bounding-box text detection before running OCR
- you want a TensorFlow implementation of the CTPN paper
- you need to retrain a text detector on your own labeled data
- your scenes contain mostly horizontal text

## When to avoid
- you need rotated or curved text detection
- you want a maintained end-to-end OCR system with recognition included
- you need PyTorch or modern TensorFlow 2.x compatibility
- you need active community support or recent updates

## Facets
- artifact type: library
- maturity: maintenance
- function: ocr, computer-vision, image-processing, machine-learning, deep-learning
- domain: computer-vision, image-processing, machine-learning
- platform: python
- tags: text-detection, ctpn, tensorflow, scene-text, id-card-detection, ocr-pipeline, natural-language-processing, linux, gpu

## Member repositories
- eragonruan/text-detection-ctpn (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:04.013153+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:37:47.999976+00:00, confidence not recorded.
  - readme: https://github.com/eragonruan/text-detection-ctpn (fetched 2026-08-28T04:08:04.013153+00:00, sha df61313bb3f3)
- Data as of 2026-08-30T08:39:29.467469+00:00.
