OnnxTR and doctr

OnnxTR is a wrapper around docTR that converts its models to ONNX format for optimized inference, making them ecosystem siblings where one provides the core library and the other provides a runtime-specific implementation.

OnnxTR
73
Verified
doctr
62
Established
Maintenance 13/25
Adoption 21/25
Maturity 25/25
Community 14/25
Maintenance 16/25
Adoption 10/25
Maturity 16/25
Community 20/25
Stars: 176
Forks: 18
Downloads: 85,557
Commits (30d): 0
Language: Python
License: Apache-2.0
Stars: 5,956
Forks: 627
Downloads:
Commits (30d): 2
Language: Python
License: Apache-2.0
No risk flags
No Package No Dependents

About OnnxTR

felixdittrich92/OnnxTR

OnnxTR a docTR (Document Text Recognition) library Onnx pipeline wrapper - for seamless, high-performing & accessible OCR

About doctr

mindee/doctr

docTR (Document Text Recognition) - a seamless, high-performing & accessible library for OCR-related tasks powered by Deep Learning.

Implements a two-stage pipeline combining deep learning models for text detection (localizing words via DBNet) and recognition (identifying characters via CRNN), with support for rotated documents and multi-class extraction through the KIE predictor. Processes PDFs, images, and webpages with flexible bounding box handling and exports results as nested document structures (Page/Block/Line/Word) or JSON. Built on PyTorch with optional visualization and HTML synthesis capabilities.

Scores updated daily from GitHub, PyPI, and npm data. How scores work