Commit Graph

15 Commits (d7c59f3325aaf4cbf6ddd3ec69f03230bc582d19)

Author SHA1 Message Date
Kevin Wang bed778fc3f
[Fix] fix isort pre-commit error (#1697)
* [Fix] fix isort pre-commit error

* [Fix] add mmengine to setup.cfg and rerun pre-commit
2023-01-31 18:50:13 +08:00
liukuikun b40d3ffd47 remove pytest ini 2022-07-21 10:55:45 +08:00
Tong Gao c466e6f82d
[Enhancement] Upgrade isort (#771)
* [Enhancement] Upgrade isort

* Fix files
2022-02-09 23:22:14 +08:00
liukuikun 7d36a7e882
[Feature] Add torchserve support for text detection and recognition (#522)
* add torchserve

* add test torchserve

* delete unused postprocess and delete parse_results

* fix bug

* fix bug

* fix bug

* Update tools/deployment/test_torchserve.py

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

* Update tools/deployment/mmocr_handler.py

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

Co-authored-by: Tong Gao <gaotongxiao@gmail.com>
2021-10-13 22:21:16 +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 0881c2d2a2
[Fix] Add zero division handler in poly utils, remove Polygon3 (#448)
* Add check to avoid zero div in iou computation

* replace polygon3 with shapely

* remove req of Polygon3
2021-08-25 13:14:58 +08:00
Tong Gao 4f7270e574
Fix #282: Support init_cfg & update depreciated configs (#365)
* update coco ref

* init_cfg for dbnet

* initcfg for mask_rcnn

* textsnake init_cfg

* fix dbnet

* panet initcfg

* psenet initcfg

* fcenet initcfg

* drrg initcfg

* add init_cfg to detectors

* update maskrcnn config file to support mmdet

* fix init_cfg of fce_head

* crnn initcfg

* init_weights in training

* nrtr initcfg

* robust_scanner initcfg

* sar init_cfg

* seg init_cfg

* tps_crnn init_cfg

* sdmgr initcfg

* ner init_cfg

* fix textsnake

* sdmgr initcfg

* move "pretrained" to "init_cfg" for config files

* Moduleslist update

* fix seg

* ner init_cfg

* fix base

* fix encode decode recognizer

* revert dbnet config

* fix crnn

* fix base.py

* fix robust_scanner

* fix panet

* fix test

* remove redundant init_weights() in fcehead

* clean up

* relex mmdet version in workflow

* Add dependency version check

* Update mmocr/models/textdet/dense_heads/pse_head.py

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

Co-authored-by: Hongbin Sun <hongbin306@gmail.com>
2021-07-20 23:18:25 +08:00
quincylin1 243f47dc03
add totaltext for recog and det (#357)
* add totaltext for recog and det

* add setup

* fix doc

* fix based on comments
2021-07-08 21:52:50 +08:00
AllentDan f1b003ddb1
[Feature] Add deployment evaluation (#291)
* add deployment evaluation

* fix lint

* remove cpu unit tests for trt and onnx

* use pytest.mark to skip cpu unit test

* move to mmocr/core

* emm... renamed to wrappers

* renamed to deploy_utils

* renamed unit test to test_deploy_utils

* fix lint

* using pytest.mark.importorskip
2021-06-18 12:27:10 +08:00
AllentDan d57f279083
[Fix] Correct isort setup (#288)
* isort

* remove tools from setup.cfg
2021-06-16 19:44:01 +08:00
Jianyong Chen 2414c65577
Add drrg (#189)
* merge drrg

* directory structure&fix redundant import

* docstrings

* fix isort

* drrg readme

* merge drrg

* directory structure&fix redundant import

* docstrings

* fix isort

* drrg readme

* add unittests&fix docstrings

* revert test_loss

* add unittest

* add unittests

* fix docstrings

* fix docstrings

* fix yapf

* fix yapf

* Update test_textdet_head.py

* Update test_textdet_head.py

* add unittests

* add unittests

* add unittests

* fix docstrings

* fix docstrings

* fix docstring

* fix unittests

* fix pytest

* fix pytest

* fix pytest

* fix variable names

Co-authored-by: Hongbin Sun <hongbin306@gmail.com>
2021-05-18 11:15:47 +08:00
Max Bachmann 942298dea2
Replace python-Levenshtein with RapidFuzz (#24) 2021-04-09 11:16:27 +08:00
jeffreykuang b10bb9eb6a
Enhance/synthtext pretrain (#20)
* fix 19: add synthtext pretrained model

* fix 19: setup.cfg linting
2021-04-04 21:15:21 +08:00
Hongbin Sun 3c0f9d87c5
fix #9: [feature]: setting norms for contributing (#10)
* fix #9: [feature]: setting norms for contributing

* fix #9: [feature]: setting norms for contributing

* fix #9: [feature]: setting norms for contributing

* fix #9: [feature]: setting norms for contributing
2021-04-03 19:40:29 +08:00
jeffreykuang 31f1c007c0 [feature]: add textdet 2021-04-03 01:03:52 +08:00