Description
MMOCR is an open source toolbox for text detection, text recognition and the downstream tasks built on them, including key information extraction. It is part of the OpenMMLab project and is built on PyTorch and mmdetection. The toolbox supports a wide range of models for each task, including DBNet and DBNet++ for text detection, and it has a modular design in which you can define your own optimisers, data preprocessors, backbones, necks, heads and losses. Utilities include visualisers that draw images, ground truths and predicted boxes, a validation tool for checking checkpoints during training, and data converters that turn your own data into the annotation formats the toolbox reads. The current version is 1.0.0, released in April 2023, and the main branch works with PyTorch 1.6 or later. The Model Zoo lists supported algorithms and their publication venues. The project has a migration guide for users upgrading from the earlier 0.x branch, and an installation guide that covers PyTorch, MMEngine, MMCV and MMDetection. A tutorial notebook and documentation are included. The code is on GitHub and released as open source for researchers and developers working on text recognition.…
Highlights
- Text detection, recognition and key information extraction
- Models such as DBNet and DBNet++
- Modular design for custom models
- Visualisers and checkpoint validation
- Data converters and dataset preparers
Ratings & Reviews
No ratings yet
Be the first to rate Mmocr.
People also visit
Mmocr FAQ
What is MMOCR?
It is an open source toolbox for text detection, text recognition and related tasks such as key information extraction.
What does it run on?
It is built on PyTorch and mmdetection, and the main branch works with PyTorch 1.6 or later. It depends on MMEngine, MMCV and MMDetection.
Which models are included?
The Model Zoo lists algorithms such as DBNet and DBNet++ for detection, along with recognition and key information extraction models.
Can I train on my own data?
Yes. Data converters show how to turn your own data into the annotation formats the toolbox supports.
What changed in version 1?
Version 1.0.0 was released in April 2023. A migration guide covers moving from the earlier 0.x branch.
Where is the code?
The code is on GitHub as part of the OpenMMLab project.
What are the best Mmocr alternatives?
Popular alternatives to Mmocr include MixTeX-Latex-OCR, Tesseract.js and Light OCR. See all Mmocr alternatives

