OpenMMLab Text Detection, Recognition and Understanding Toolbox
 
 
 
Go to file
Tong Gao a75fc6bf99
Bump version to 0.4.1 (#755)
* 0.4.1 change log

* update version number

* update changelog

* update changelog

* update dates

* update version
2022-01-27 14:39:17 +08:00
.circleci [Enhancement] Add markdown linter in pre-commit hook (#643) 2021-12-08 15:36:47 +08:00
.github [Docs] Add pull request template.md (#711) 2022-01-06 14:05:10 +08:00
configs [Fix] Add necessary keys to test_pipelines to enable test-time visualization (#754) 2022-01-26 21:02:31 +08:00
demo [Fix] Support both ConcatDataset and UniformConcatDataset (#675) 2021-12-22 12:32:02 +00:00
docker [Fix] upgrade version requirement of mmdet to 2.14.0 to avoid known bugs (#382) 2021-07-21 18:01:55 +08:00
docs Bump version to 0.4.1 (#755) 2022-01-27 14:39:17 +08:00
mmocr Bump version to 0.4.1 (#755) 2022-01-27 14:39:17 +08:00
requirements [Fix] limit pycocotools vesion (#707) 2022-01-06 14:36:18 +08:00
resources [Docs] Add model summary (#693) 2021-12-31 11:26:38 +08:00
tests [Enhancement] Add setup multi-processing both in train and test. (#757) 2022-01-26 20:34:19 +08:00
tools [Enhancement] Remove unnecessary custom_import from test.py (#758) 2022-01-27 11:02:16 +08:00
.codespellrc [Feature] Add codespell pre-commit hook and fix typos (#520) 2021-10-13 22:56:11 +08:00
.coveragerc [feature]: add textdet 2021-04-03 01:03:52 +08:00
.gitignore [Docs] Refactor docs structure (#662) 2021-12-10 17:19:27 +08:00
.pre-commit-config.yaml [Enhancement] Download flake8 from github as pre-commit hooks (#695) 2021-12-31 14:01:35 +08:00
.pylintrc [feature]: add textdet 2021-04-03 01:03:52 +08:00
.readthedocs.yml [Docs] Fix API reference & version, support exporting pdf & epub (#406) 2021-08-04 14:24:52 +08:00
CITATION.cff [Enhancement] add CITATION.cff (#476) 2021-09-01 20:01:30 +08:00
LICENSE Fix typos (#26) 2021-04-05 20:16:13 +08:00
MANIFEST.in add mim support (#394) 2021-08-04 14:21:41 +08:00
README.md Bump version to 0.4.1 (#755) 2022-01-27 14:39:17 +08:00
README_zh-CN.md Bump version to 0.4.1 (#755) 2022-01-27 14:39:17 +08:00
model-index.yml [Model] Full ABINet Framework (#651) 2021-12-15 11:21:54 +08:00
requirements.txt [feature]: add textdet 2021-04-03 01:03:52 +08:00
setup.cfg [Feature] Add torchserve support for text detection and recognition (#522) 2021-10-13 22:21:16 +08:00
setup.py [Enhancement] Deprecate the support for 'python setup.py test' (#722) 2022-01-11 12:49:06 +08:00

README.md

 
OpenMMLab website HOT      OpenMMLab platform TRY IT OUT
 

Introduction

English | 简体中文

build docs codecov license PyPI Average time to resolve an issue Percentage of issues still open

MMOCR is an open-source toolbox based on PyTorch and mmdetection for text detection, text recognition, and the corresponding downstream tasks including key information extraction. It is part of the OpenMMLab project.

The main branch works with PyTorch 1.6+.

Documentation: https://mmocr.readthedocs.io/en/latest/.

Major Features

  • Comprehensive Pipeline

    The toolbox supports not only text detection and text recognition, but also their downstream tasks such as key information extraction.

  • Multiple Models

    The toolbox supports a wide variety of state-of-the-art models for text detection, text recognition and key information extraction.

  • Modular Design

    The modular design of MMOCR enables users to define their own optimizers, data preprocessors, and model components such as backbones, necks and heads as well as losses. Please refer to Getting Started for how to construct a customized model.

  • Numerous Utilities

    The toolbox provides a comprehensive set of utilities which can help users assess the performance of models. It includes visualizers which allow visualization of images, ground truths as well as predicted bounding boxes, and a validation tool for evaluating checkpoints during training. It also includes data converters to demonstrate how to convert your own data to the annotation files which the toolbox supports.

Model Zoo

Supported algorithms:

Text Detection
Text Recognition
Key Information Extraction
Named Entity Recognition

Please refer to model_zoo for more details.

License

This project is released under the Apache 2.0 license.

Citation

If you find this project useful in your research, please consider cite:

@article{mmocr2021,
    title={MMOCR:  A Comprehensive Toolbox for Text Detection, Recognition and Understanding},
    author={Kuang, Zhanghui and Sun, Hongbin and Li, Zhizhong and Yue, Xiaoyu and Lin, Tsui Hin and Chen, Jianyong and Wei, Huaqiang and Zhu, Yiqin and Gao, Tong and Zhang, Wenwei and Chen, Kai and Zhang, Wayne and Lin, Dahua},
    journal= {arXiv preprint arXiv:2108.06543},
    year={2021}
}

Changelog

v0.4.1 was released in 2022-01-27.

Installation

Please refer to our Install Guide.

Get Started

Please see Getting Started for the basic usage of MMOCR.

Contributing

We appreciate all contributions to improve MMOCR. Please refer to CONTRIBUTING.md for the contributing guidelines.

Acknowledgement

MMOCR is an open-source project that is contributed by researchers and engineers from various colleges and companies. We appreciate all the contributors who implement their methods or add new features, as well as users who give valuable feedbacks. We hope the toolbox and benchmark could serve the growing research community by providing a flexible toolkit to reimplement existing methods and develop their own new OCR methods.

Projects in OpenMMLab

  • MMCV: OpenMMLab foundational library for computer vision.
  • MIM: MIM Installs OpenMMLab Packages.
  • MMClassification: OpenMMLab image classification toolbox and benchmark.
  • MMDetection: OpenMMLab detection toolbox and benchmark.
  • MMDetection3D: OpenMMLab's next-generation platform for general 3D object detection.
  • MMSegmentation: OpenMMLab semantic segmentation toolbox and benchmark.
  • MMAction2: OpenMMLab's next-generation action understanding toolbox and benchmark.
  • MMPose: OpenMMLab's pose estimation toolbox and benchmark.
  • MMTracking: OpenMMLab video perception toolbox and benchmark.
  • MMEditing: OpenMMLab image editing toolbox and benchmark.
  • MMOCR: A Comprehensive Toolbox for Text Detection, Recognition and Understanding.
  • MMGeneration: OpenMMLab image and video generative models toolbox.
  • MMFlow: OpenMMLab optical flow toolbox and benchmark.
  • MMFewShot: OpenMMLab FewShot Learning Toolbox and Benchmark.
  • MMHuman3D: OpenMMLab Human Pose and Shape Estimation Toolbox and Benchmark.
  • MMSelfSup: OpenMMLab self-supervised learning Toolbox and Benchmark.
  • MMRazor: OpenMMLab Model Compression Toolbox and Benchmark.
  • MMDeploy: OpenMMLab Model Deployment Framework.