open-mmlab/mmocr
Fork: 747 Star: 4326 (更新于 2024-10-26 11:24:09)
license: Apache-2.0
Language: Python .
OpenMMLab Text Detection, Recognition and Understanding Toolbox
最后发布版本: v1.0.1 ( 2023-07-04 15:11:53)
📘Documentation | 🛠️Installation | 👀Model Zoo | 🆕Update News | 🤔Reporting Issues
English | 简体中文
Latest Updates
The default branch is now main
and the code on the branch has been upgraded to v1.0.0. The old main
branch (v0.6.3) code now exists on the 0.x
branch. If you have been using the main
branch and encounter upgrade issues, please read the Migration Guide and notes on Branches .
v1.0.0 was released in 2023-04-06. Major updates from 1.0.0rc6 include:
- Support for SCUT-CTW1500, SynthText, and MJSynth datasets in Dataset Preparer
- Updated FAQ and documentation
- Deprecation of file_client_args in favor of backend_args
- Added a new MMOCR tutorial notebook
To know more about the updates in MMOCR 1.0, please refer to What's New in MMOCR 1.x, or Read Changelog for more details!
Introduction
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+.
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 Overview 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.
Installation
MMOCR depends on PyTorch, MMEngine, MMCV and MMDetection. Below are quick steps for installation. Please refer to Install Guide for more detailed instruction.
conda create -n open-mmlab python=3.8 pytorch=1.10 cudatoolkit=11.3 torchvision -c pytorch -y
conda activate open-mmlab
pip3 install openmim
git clone https://github.com/open-mmlab/mmocr.git
cd mmocr
mim install -e .
Get Started
Please see Quick Run for the basic usage of MMOCR.
Model Zoo
Supported algorithms:
BackBone
- oCLIP (ECCV'2022)
Text Detection
Text Recognition
Key Information Extraction
- SDMG-R (ArXiv'2021)
Please refer to model_zoo for more details.
Projects
Here are some implementations of SOTA models and solutions built on MMOCR, which are supported and maintained by community users. These projects demonstrate the best practices based on MMOCR for research and product development. We welcome and appreciate all the contributions to OpenMMLab ecosystem.
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.
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}
}
License
This project is released under the Apache 2.0 license.
OpenMMLab Family
- MMEngine: OpenMMLab foundational library for training deep learning models
- 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.
- 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.
Welcome to the OpenMMLab community
Scan the QR code below to follow the OpenMMLab team's Zhihu Official Account and join the OpenMMLab team's QQ Group, or join the official communication WeChat group by adding the WeChat, or join our Slack
We will provide you with the OpenMMLab community
- 📢 share the latest core technologies of AI frameworks
- 💻 Explaining PyTorch common module source Code
- 📰 News related to the release of OpenMMLab
- 🚀 Introduction of cutting-edge algorithms developed by OpenMMLab 🏃 Get the more efficient answer and feedback
- 🔥 Provide a platform for communication with developers from all walks of life
The OpenMMLab community looks forward to your participation! 👬
最近版本更新:(数据更新于 2024-10-06 10:54:57)
2023-07-04 15:11:53 v1.0.1
2023-04-06 19:05:25 v1.0.0
2023-03-07 20:27:43 v1.0.0rc6
2023-01-06 17:35:46 v1.0.0rc5
2022-12-06 17:24:57 v1.0.0rc4
2022-11-03 20:01:17 v0.6.3
2022-11-03 19:59:42 v1.0.0rc3
2022-10-14 14:26:33 v1.0.0rc2
2022-10-09 19:21:02 v1.0.0rc1
2022-10-14 14:21:26 v0.6.2
主题(topics):
abcnet, abinet, crnn, dbnet, deep-learning, fcenet, key-information-extraction, maskrcnn, ocr, pan, panet, psenet, pytorch, sar, sdmg-r, segmentation-based-text-recognition, spts, svtr, text-detection, text-recognition
open-mmlab/mmocr同语言 Python最近更新仓库
2024-11-05 15:03:24 Cinnamon/kotaemon
2024-11-05 11:00:51 home-assistant/core
2024-11-04 23:11:11 DS4SD/docling
2024-11-04 10:56:18 open-compass/opencompass
2024-11-04 08:51:21 yt-dlp/yt-dlp
2024-11-02 04:45:40 princeton-vl/infinigen