OpenMMLab Text Detection, Recognition and Understanding Toolbox
 
 
 
Go to file
DEEPBLUE 186aecbf59
[Docs] Add demo/README_zh.md (#802)
* add README_zh.md

* translate

* rough translation

* refine demo/README_zh.md

* fixes #802

* fix #802

* add README_zh.md

* fixes #802

* Update README_zh.md

* fix white-space problem

* Update demo/README_zh.md

Co-authored-by: Tong Gao <gaotongxiao@gmail.com>

* Update demo/README_zh.md

Co-authored-by: Tong Gao <gaotongxiao@gmail.com>

* fix Readthedocs' keywords @gaotongxiao

* Fix minor errors, rename the file and process this file in the scripts for redthedocs

Co-authored-by: Tong Gao <gaotongxiao@gmail.com>
2022-03-02 09:51:37 +08:00
.circleci [Enhancement] Add markdown linter in pre-commit hook (#643) 2021-12-08 15:36:47 +08:00
.github [Docs] Relax mmcv version requirement (#775) 2022-02-10 09:41:36 +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 [Docs] Add demo/README_zh.md (#802) 2022-03-02 09:51:37 +08:00
docker [Fix]: Use mmdet 2.20.0 in Dockerfile (#763) 2022-01-27 19:54:45 +08:00
docs [Docs] Add demo/README_zh.md (#802) 2022-03-02 09:51:37 +08:00
mmocr [Enhancement] Add open-mmlab precommit hook (#787) 2022-02-22 12:52:04 +08:00
requirements [Fix] Set up the minimumversion requirement of albumentations (#769) 2022-02-15 16:51:58 +08:00
resources [Docs] Add model summary (#693) 2021-12-31 11:26:38 +08:00
tests [Enhancement] Automatically infer device for inference if not speicifed (#781) 2022-02-16 20:42:47 +08:00
tools [Enhancement] Add deprecation message for deploy tools (#801) 2022-02-28 16:22:47 +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] Add open-mmlab precommit hook (#787) 2022-02-22 12:52:04 +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 [Docs] Update README.MD (#806) 2022-03-01 15:55:02 +08:00
README_zh-CN.md [Docs] Update README.MD (#806) 2022-03-01 15:55:02 +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 [Enhancement] Upgrade isort (#771) 2022-02-09 23:22:14 +08:00
setup.py [Enhancement] Upgrade isort (#771) 2022-02-09 23:22:14 +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

  • 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.
  • MMRotate: OpenMMLab rotated object detection toolbox and benchmark.
  • MMSegmentation: OpenMMLab semantic segmentation toolbox and benchmark.
  • MMOCR: OpenMMLab text detection, recognition, and understanding toolbox.
  • MMPose: OpenMMLab pose estimation toolbox and benchmark.
  • MMHuman3D: OpenMMLab 3D human parametric model toolbox and benchmark.
  • MMSelfSup: OpenMMLab self-supervised learning toolbox and benchmark.
  • MMRazor: OpenMMLab model compression toolbox and benchmark.
  • MMFewShot: OpenMMLab fewshot learning toolbox and benchmark.
  • MMAction2: OpenMMLab's next-generation action understanding toolbox and benchmark.
  • MMTracking: OpenMMLab video perception toolbox and benchmark.
  • MMFlow: OpenMMLab optical flow toolbox and benchmark.
  • MMEditing: OpenMMLab image and video editing toolbox.
  • MMGeneration: OpenMMLab image and video generative models toolbox.
  • MMDeploy: OpenMMLab model deployment framework.