OpenMMLab Text Detection, Recognition and Understanding Toolbox
 
 
 
Go to file
Tong Gao 7b16754006
[Docs] Fix API reference & version, support exporting pdf & epub (#406)
* add mmdet

* remove uncessary autodoc mock import

* update docs version

* bind docs version to version.py

* support pdf and epub

* fix readthedocs
2021-08-04 14:24:52 +08:00
.github [Feature] Add PyTorch 1.9 tests in CI (#401) 2021-08-04 14:23:53 +08:00
configs support batch inference for crnn and segocr (#407) 2021-08-03 16:52:58 +08:00
demo Add kie image demo and docs. (#374) 2021-08-04 14:20:13 +08: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 [Docs] Fix API reference & version, support exporting pdf & epub (#406) 2021-08-04 14:24:52 +08:00
docs_zh_CN [Docs] Fix API reference & version, support exporting pdf & epub (#406) 2021-08-04 14:24:52 +08:00
mmocr Add kie image demo and docs. (#374) 2021-08-04 14:20:13 +08:00
requirements [Docs] Fix API reference & version, support exporting pdf & epub (#406) 2021-08-04 14:24:52 +08:00
resources move demo image to demo/resources (#171) 2021-05-12 20:35:39 +08:00
tests fix bug of dice loss: loss always 1 if empty target (#408) 2021-08-04 06:05:31 +00:00
tools [Fix] Remove depreciated pretrained in kie_test_imgs (#381) 2021-07-21 15:18:59 +08:00
.coveragerc [feature]: add textdet 2021-04-03 01:03:52 +08:00
.gitignore add mim support (#394) 2021-08-04 14:21:41 +08:00
.pre-commit-config.yaml [feature]: add textdet 2021-04-03 01:03:52 +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
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 add mim support (#394) 2021-08-04 14:21:41 +08:00
README_zh-CN.md add mim support (#394) 2021-08-04 14:21:41 +08:00
model-index.yml Fix metafiles (#342) 2021-07-01 10:59:57 +08:00
requirements.txt [feature]: add textdet 2021-04-03 01:03:52 +08:00
setup.cfg Fix #282: Support init_cfg & update depreciated configs (#365) 2021-07-20 23:18:25 +08:00
setup.py add mim support (#394) 2021-08-04 14:21:41 +08:00

README.md

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.md 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:

@misc{mmocr2021,
    title={MMOCR:  A Comprehensive Toolbox for Text Detection, Recognition and Understanding},
    author={MMOCR Contributors},
    howpublished = {\url{https://github.com/open-mmlab/mmocr}},
    year={2021}
}

Changelog

v0.2.1 was released in 2021-7-20.

Installation

Please refer to install.md for installation.

Get Started

Please see getting_started.md 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.