117 Commits

Author SHA1 Message Date
shaohua.zhang
3d177deae9
[Docs] Add getting_started.md in docs/zh (#841)
* Update README_zh-CN.md

* Update README_zh-CN.md

* Add files via upload

* Update getting_started.md

* Update getting_started.md

* Update getting_started.md

Co-authored-by: Tong Gao <gaotongxiao@gmail.com>
2022-03-16 14:18:13 +08:00
Xinyu Wang
368325f129
[Docs] Fix confused description for load-from and resume-from (#842)
* fix confusions

* fix confusions
2022-03-15 14:19:33 +08:00
kira
b0101839de
[Docs] Translate testing.md. (#822)
* Create testing.md

* Update testing.md

* Update testing.md
2022-03-11 20:38:20 +08:00
Tong Gao
c25404b358
[Enhancement] Option for different seeds on different ranks (#820) 2022-03-10 10:43:36 +08:00
Tong Gao
f1609b50e9
[Docs] Correct misleading section title in training.md (#819)
* [Docs] Correct misleading section title in training.md

* grammar
2022-03-09 16:52:43 +08:00
Xinyu Wang
14c75da7bd
[Feature] Add FUNSD Converter (#808)
* Add FUNSD Converter

* Update tools/data/textrecog/funsd_converter.py

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

* Update tools/data/textrecog/funsd_converter.py

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

* Update tools/data/textdet/funsd_converter.py

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

* blank line between sections

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

* fix incorrect docstrings

* fix docstrings & fix timer

* add --preserve-vertical arg for preserving vertical texts

* fix --preserve-vertical

* [doc] fix recog.md incorrect description

* fix docstring style

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

* fix docstring spaces

Co-authored-by: Tong Gao <gaotongxiao@gmail.com>
2022-03-04 12:25:54 +08:00
Tong Gao
ac4462f374
[Feature] Add CurvedSyntext150k Converter (#719)
* [Feature] Add bezier_to_polygon to box_util

* Add num_sample to parameter

* add sort_point util

* update docstring

* Add curvedsyntext converter
2022-03-02 11:02:14 +08:00
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
Tong Gao
b91421e8b1
[Docs] Add detailed version requirement tables (#778) 2022-02-16 20:42:31 +08:00
liukuikun
1aae45b7d3
[Docs] Relax mmcv version requirement (#775)
* update ci and readme

* Update docs/en/install.md

* Update docs/zh_cn/install.md

Co-authored-by: Tong Gao <gaotongxiao@gmail.com>
2022-02-10 09:41:36 +08:00
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
liukuikun
e0ff11819b
[Feat] Support specify gpu for testing and training with gpu-id instead of gpu-ids and gpus (#756)
* support set gpu number for testing and deprecate gpu_ids and gpus with gpu_id

* update gpu-ids gpus and gpu-id dostring

* add args.gpus process

* fix typo

Co-authored-by: Tong Gao <gaotongxiao@gmail.com>
2022-01-27 10:11:14 +08:00
Tong Gao
a809a52c78
[Feature] Support CPU training/testing (#752)
* [Feature] Support CPU training/testing

* check mmcv version for cpu training
2022-01-27 09:59:09 +08:00
liukuikun
976b976e4a
[Docs] update readme according to standard (#742)
* config/readme standard

* add ABINet linking

* fix linking error, delete unused cite and adjust note sytle

* union note format

* Remove > before paper link when generating docs
2022-01-25 23:02:59 +08:00
Tong Gao
94a1de4fdb
[Docs] Update docs link (#710) 2022-01-05 21:44:13 +08:00
Tong Gao
a0f1c011c0
[Docs] Add model summary (#693)
* Add model summary

* Update text recog jpg

* update pictures and add kie
2021-12-31 11:26:38 +08:00
Tong Gao
96beda6f2d
[Docs] Add config tutorial (#683)
* Add config tutorial and reorganize dataset_type.md

* update cn docs toc

* Add misc tool

* Improve docs api menu and config docs
2021-12-28 12:41:24 +08:00
Tong Gao
22a7d384dd
[Docs] Fix recog.md (#674) 2021-12-15 07:04:41 +00:00
Tong Gao
af9a62502c
Bump version to 0.4.0 (#672) 2021-12-15 11:34:56 +08:00
Tong Gao
9104667112
[Model] Full ABINet Framework (#651)
Co-authored-by: liukuikun <24622904+Harold-lkk@users.noreply.github.com>
2021-12-15 11:21:54 +08:00
Hongbin Sun
a4237ad568
[Enhancement] Support muitiple pipelines for different datasets (#657)
* support multi pipelines

* support different pipelines

* fix

* fix replace_image_to_tensor

* remove redundant check

* update

* add copyright

* not in-place modify
2021-12-14 12:29:43 +00:00
Tong Gao
d58fac9760
[Docs] Docs fix (#664)
* [Docs] Update readme links

* Fix docs merge script
2021-12-13 19:08:42 +08:00
Tong Gao
b04775fd78
[Docs] Refactor docs structure (#662)
* Refactor docs structure

* update script paths

* update path ignore
2021-12-10 17:19:27 +08:00
Tong Gao
6d1a5ce046
[Docs] Use shared menu from theme instead (#655) 2021-12-10 11:39:21 +08:00
Tong Gao
925b365dcf
[Docs] Add MMHuman3D in readme (#644)
* [Docs] Add MMHuman3D in readme

* add docs
2021-12-03 16:52:38 +08:00
Tong Gao
e203d546b4
[Docs] Docstring for textdet models (#561)
* add docstring for dbnet
2021-12-02 18:57:01 +08:00
Tong Gao
69d5040590
[Docs] Update model readme (#604)
* update satrn

* Add intro and pic to readmes

* update stats.py

* abstract for tps

* Fix CRNN and TPS CRNN readme
2021-11-30 16:40:18 +08:00
Tong Gao
04ef6053a6
[Docs] Add MMFewShot (#621) 2021-11-26 11:18:57 +08:00
Tong Gao
53b050b0ca
[Docs] Add MMFlow & MIM (#597)
* [Docs] Add MMFlow

* add mim
2021-11-19 14:16:42 +08:00
apiaccess21
284b5acc12
[Docs] C++ example section for deployment (#593)
* C++ example section

* Optimize the section for readthedocs

Co-authored-by: gaotongxiao <gaotongxiao@gmail.com>
2021-11-17 14:16:54 +08:00
Tong Gao
9de4ddf952
fix broken links (#576) 2021-11-11 17:57:15 +08:00
Tong Gao
34bd6b9bbb
[Docs] Docs for KIE CloseSet & OpenSet (#573)
* add kie docs

* fix paths

* sync cn docs

* fix layout error
2021-11-11 17:39:27 +08:00
Tong Gao
1efdbda790
[Docs] Update docs menu (#564)
* update docs menu

* fix wrong links
2021-11-09 17:16:13 +08:00
Darwin Bautista
80741e1479
[Feature] Add converter for the Open Images v5 text annotations by Krylov et al. (#497)
* Add converter for the OpenVINO annotations for Open Images by Krylov et al.

Open Images V5 Text Annotation and Yet Another Mask Text Spotter
Paper: https://arxiv.org/abs/2106.12326

* docs fix & add chinese docs
2021-10-28 16:49:36 +08:00
Tong Gao
027cb7aac5
[Docs] TorchServe docs (#539)
* Add torchserve docs

* polish contents and fix the visiualization bug in torchserve testing

* polish content
2021-10-22 16:49:28 +08:00
liukuikun
5671939bbc
[Fix] fix converting to onnx bug because of changing key from img_shape to resize_shape (#523)
* fix pytorch to onnx for mmocr0.3.0

* fix pytorch to onnx for mmocr0.3.0

* modify deployment doc and fix scale_factor bug and test psenet and panet

* fix trt part

* init detector with **(cfg.model)

Co-authored-by: AllentDan <AllentDan@yeah.net>
2021-10-20 19:55:57 +08:00
Tong Gao
75d32504e0
[Feature] Add codespell pre-commit hook and fix typos (#520)
* add spellcheck hook

* fix typos
2021-10-13 22:56:11 +08:00
Tong Gao
f72012092f
[Docs] Enhancement & sync Chinese docs (#492)
* reorder navigation links, add links to twitter and zhihu

* update chinese docs
2021-09-28 11:32:44 +08:00
Tong Gao
e23b765956
[Docs] Improve docs style (#474)
* new theme

* add theme

* update zh_cn

* improve docs style

* use customized

* fix

* update req

* docs

* Update docs

* update conf

* update

* update layout

* disable logo url

* free version limit

* update conf

* Fix api ref

* fix version
2021-09-08 11:40:51 +08:00
Tong Gao
f9d158fafa
Bump version to 0.3.0 (#461)
* Bump version to 0.3.0

* update changelog
2021-08-25 16:43:31 +08:00
Tong Gao
c0728c49b8
[Docs] Refactor docs (#409) 2021-08-25 16:41:07 +08:00
LvTianlei
8f377f2fa2
[Feature] Add Satrn (#405)
* Add SATRN

* Create satrn_small_academic.py

* Update README.md

* change config name

* Update mmocr/models/textrecog/backbones/shallow_cnn.py

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

* Update configs/textrecog/satrn/satrn_academic.py

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

* Update configs/textrecog/satrn/satrn_small.py

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

* Update shallow_cnn.py

* Update mmocr/models/textrecog/layers/transformer_layer.py

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

* Update mmocr/models/textrecog/layers/transformer_layer.py

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

* Update test_ocr_encoder.py

* change keep_aspect_ratio=False

* Update transformer_layer.py

* Update configs/textrecog/satrn/satrn_small.py

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

* Update configs/textrecog/satrn/satrn_academic.py

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

* Update mmocr/models/textrecog/layers/transformer_layer.py

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

* Update mmocr/models/textrecog/layers/transformer_layer.py

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

* Update mmocr/models/textrecog/layers/transformer_layer.py

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

* Update mmocr/models/textrecog/layers/transformer_layer.py

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

* Update mmocr/models/textrecog/layers/transformer_layer.py

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

* Update mmocr/models/textrecog/layers/transformer_layer.py

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

* Update mmocr/models/textrecog/layers/transformer_layer.py

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

* Update mmocr/models/textrecog/layers/transformer_layer.py

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

* Update mmocr/models/textrecog/layers/transformer_layer.py

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

* Update transformer_layer.py

* Apply suggestions from code review

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

* Update transformer_layer.py

* update satrn readme

* add satrn to ocr.py

* add satrn_sm and fix configs

* add a test for config

* add copyright info

* use mmocr registry

Co-authored-by: Tong Gao <gaotongxiao@gmail.com>
2021-08-19 22:02:58 +08:00
Tong Gao
b8f7ead74c
[Enhancement] Add copyright info (#439)
* add copyright info
2021-08-17 17:39:30 +08:00
Tong Gao
304b48e187
[Docs] Full screen support in readthedocs (#413)
* add full screen css

* New dir structure
2021-08-09 11:16:43 +00:00
Tong Gao
2cbb1a6cd6
[Docs] Fix docs (#395)
1. Supplement links for ct80 and svtp
2. Simplify getting_started.md
3. clarify batch_mode support in demo.md
2021-08-04 14:26:16 +08:00
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
Omkar Manjrekar
68ec3f5519
Add kie image demo and docs. (#374)
* Add kie_image_demo.py

* Add kie demo docs

* Add brief instructions for kie image demo

* Add ann file field and return data for kie image demo

* Follow lint and import rules

* Fix bugs, reuse functions in KIEDataset, and use a new demo pic

* Add config-dir and fix indexing bug in ocr script

* [Feature] Improve ocr.py

1. Add box stitching back to ocr.py
2. Add config_dir which allows users to specify the default config path
3. Warn users when overriding parameters are set
4. Allow users to use customized checkpoint files

* Add docs for new ocr.py

* Add docs for merge

* Support kie in ocr.py

* Merged kie to ocr.py

* update docs, remove unsupported unvisual sdmgr

* Update mmocr/apis/inference.py

Co-authored-by: Hongbin Sun <hongbin306@gmail.com>

* Apply suggestions from code review

Co-authored-by: Hongbin Sun <hongbin306@gmail.com>

* fix linting

Co-authored-by: gaotongxiao <gaotongxiao@gmail.com>
Co-authored-by: Hongbin Sun <hongbin306@gmail.com>
2021-08-04 14:20:13 +08:00
Tong Gao
9c76f7b5cc
[Feature] Improve ocr.py (#400)
* [Feature] Improve ocr.py

1. Add box stitching back to ocr.py
2. Add config_dir which allows users to specify the default config path
3. Warn users when overriding parameters are set
4. Allow users to use customized checkpoint files
5. Add docs
2021-08-03 15:57:30 +08:00
SamAyala
a2af2b4d31
Add output option to det_recog_show_result method (#386)
* add out_file arg

* fix small bug

* Update visualize.py
2021-07-25 12:29:40 +08:00
SamAyala
76785e185a
User friendly API v2 + Docs ! (#371)
* major update

- Refactor code
- Support for folder and list/tuple or np.arrays or img paths
- Better export method
* feature update

- Batch size support
- More refactoring

* added docs


* Optimize docs structure, fix improper layout in readthedocs


Co-authored-by: gaotongxiao <gaotongxiao@gmail.com>
2021-07-25 00:22:27 +08:00