1027 Commits

Author SHA1 Message Date
Ferry Huang
1413b5043a
[Feature] CodeCamp #116 Add SROIE to dataset preparer (#1639)
* added sroie/metafile.yml

* add sample_anno.md and textdet.py

* modify and add all

* fix lint

* fix lint

* fix lint

* Update mmocr/datasets/preparers/data_converpyter.

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

* fix the reviewed

* add comment of try to sroie_parser.py

* modify data_obtainer.py

* fix lint errors

* fix download link

Co-authored-by: Tong Gao <gaotongxiao@gmail.com>
2022-12-29 16:52:51 +08:00
Qing Jiang
b79382cd6b
[Feature] CodeCamp #115 Add NAF to dataset preparer (#1609)
* add naf converter

* fix test

* update

* use fuzzy search instead

* update

* update
2022-12-29 15:19:49 +08:00
Xinyu Wang
e3fd570687
[Docs] add translation (#1647) 2022-12-29 09:52:55 +08:00
liukuikun
9baf440d7a
[Feature] ConditionApply (#1646) 2022-12-28 11:53:32 +08:00
Tong Gao
89606a1cf1
[Configs] Totaltext cfgs for DB and FCE (#1633)
* fcenet configs

* dbnet config

* update fcenet config

* update dbnet config

* Add readme and metafile
2022-12-28 11:51:38 +08:00
Tong Gao
e1aa1f6f42
[Fix] CI (#1636) 2022-12-28 11:51:06 +08:00
Tong Gao
101f2b6eef
[Enhancement] Enhance FixInvalidPolygon, add RemoveIgnored transform (#1632)
* fix polygon_utils

* ut for poly_make_valid

* optimize crop_polygon

* FixInvalidPolygon, debug msg included

* add remove_pipeline_elements to utils

* enhance fixinvalidpolys

* fix transform_utils

* remove ignored

* RemoveIgnored

* add tests

* fix

* fix ut

* fix ut
2022-12-27 10:30:10 +08:00
Kevin Wang
d2a6845c64
[Fix] negative number encountered in sqrt when compute distances from points to a line (#1640) 2022-12-27 10:29:22 +08:00
Janghoo Lee
0ec1524f54
[Fix] Support custom font to visualize some languages (e.g. Korean) (#1567)
* [Fix] Support custom font for some languages

* [Style] Not need

* [Style] add `font_families` argument to fn
2022-12-27 09:35:30 +08:00
Tong Gao
e81bb13696
[Projects] Refine example projects and readme (#1628)
* update projects

* powerhsell
2022-12-27 09:29:22 +08:00
Xinyu Wang
24bfb18768
[Feature] Add TextOCR to Dataset Preparer (#1543)
* add textocr

* cfg gen

Co-authored-by: gaotongxiao <gaotongxiao@gmail.com>
2022-12-20 17:45:34 +08:00
Xinyu Wang
fb78c942d6
[Feature] Add Funsd to dataset preparer (#1550)
* add funsd

* done

* done

Co-authored-by: gaotongxiao <gaotongxiao@gmail.com>
2022-12-20 17:22:15 +08:00
Xinyu Wang
4396e8f5d8
[Feature] Add CocoTextv2 to dataset preparer (#1514)
* add cocotextv2 to data preparer

* fix sample anno

* support variant COCO-like format

* support textocr variant

* config generator

Co-authored-by: gaotongxiao <gaotongxiao@gmail.com>
2022-12-20 16:49:46 +08:00
Xinyu Wang
c38618bf51
[Feature] Support browse_dataset.py to visualize original dataset (#1503)
* update browse dataset

* enhance browse_dataset

* update docs and fix original mode

Co-authored-by: gaotongxiao <gaotongxiao@gmail.com>
2022-12-16 22:34:23 +08:00
Kevin Wang
f6da8715b9
[Docs] Fix some doc mistakes (#1630)
* [Docs] fix a mistake in user_guides/visualization.md

* [Docs] fix some mistakes in user_guides/dataset_prepare.md

* Update docs/en/user_guides/dataset_prepare.md

Co-authored-by: Tong Gao <gaotongxiao@gmail.com>
2022-12-16 22:34:08 +08:00
Qing Jiang
b11c58897c
[ASTER] Update ASTER config (#1629)
* update aster config

* update

* update en api

* Update configs/textrecog/aster/metafile.yml

Co-authored-by: Tong Gao <gaotongxiao@gmail.com>
2022-12-15 19:49:55 +08:00
Qing Jiang
302efb9db3
[ASTER] Add ASTER config (#1238)
* [Docs] Limit extension versions (#1209)

* loss

* fix

* [update] limit extension versions

* add aster config

* aster

Co-authored-by: gaotongxiao <gaotongxiao@gmail.com>
2022-12-15 14:53:24 +08:00
Qing Jiang
419f98d8a4
[ASTER] Add ASTER decoder (#1625)
* add aster decoder

* aster decoder

* decoder

Co-authored-by: gaotongxiao <gaotongxiao@gmail.com>
2022-12-15 14:53:17 +08:00
Qing Jiang
0bd62d67c8
[ASTER] Add ASTER Encoder (#1239)
* [Docs] Limit extension versions (#1209)

* loss

* fix

* [update] limit extension versions

* add aster encoder

* aster encoder

Co-authored-by: gaotongxiao <gaotongxiao@gmail.com>
2022-12-15 14:53:05 +08:00
Tong Gao
e096df8b57
[Fix] Remove outdated tutorial link (#1627) 2022-12-15 14:04:46 +08:00
zhuda
547ed31eda
[Docs] Update README.md (#1626)
reset the DBNetpp_r50 model`s config file path
2022-12-14 16:10:55 +08:00
Tong Gao
5cfe481f7f
[CI] Add torch 1.13 (#1619) 2022-12-13 17:42:03 +08:00
liukuikun
ffe5237aa8
[Refactor] Refactor icdardataset metainfo to lowercase. (#1620) 2022-12-13 11:45:33 +08:00
liukuikun
58ea06d986
[Fix] ctc loss bug if target is empty (#1618) 2022-12-13 10:57:57 +08:00
liukuikun
38d2fc3438
[Enhancement] Update ic15 det config according to DataPrepare (#1617) 2022-12-13 10:56:24 +08:00
liukuikun
5ded52230a
nn.SmoothL1Loss beta can not be zero in PyTorch 1.13 version (#1616) 2022-12-13 10:55:27 +08:00
Tong Gao
ebdf1cf90d
Bump version to 1.0.0rc4 (#1600)
* Bump version to 1.0.0rc4

* update changelog

* fix

* update readme

* Update README.md

Co-authored-by: liukuikun <24622904+Harold-lkk@users.noreply.github.com>

Co-authored-by: liukuikun <24622904+Harold-lkk@users.noreply.github.com>
v1.0.0rc4
2022-12-06 17:24:35 +08:00
Tong Gao
f4940de2a4
[Fix] Keep E2E Inferencer output simple (#1559) 2022-12-06 16:47:31 +08:00
liukuikun
79a4b2042c
[Feature] abcnet v1 infer (#1598)
* bezier align

* Update projects/ABCNet/README.md

* Update projects/ABCNet/README.md

* update

* updata home readme

Co-authored-by: Tong Gao <gaotongxiao@gmail.com>
2022-12-06 16:47:02 +08:00
Tong Gao
e095107518
[Fix] Fix TextSpottingConfigGenerator and TextSpottingDataConverter (#1604)
* [Fix] Fix TextSpottingConfigGenerator

* fix
2022-12-06 16:28:37 +08:00
Tong Gao
d9ea92191e
[Enhancement] Simplify mono_gather (#1588)
* [Enhancement] Simplify mono_gather

* remove mono gather split

Co-authored-by: liukuikun <641417025@qq.com>
2022-12-06 16:03:12 +08:00
liukuikun
3a0aa05d9c
[Feature] textspotting datasample (#1593)
* textspotting datasample

* rename
2022-12-06 14:03:32 +08:00
liukuikun
9ac9a227ec
[Improve] support head loss or postprocessor is None for only infer (#1594)
* support head loss or postprocessor is None for only infer

* default to None
2022-12-06 14:02:37 +08:00
liukuikun
5940d6bc9c
[Fix] textspotting ut (#1599) 2022-12-06 14:02:12 +08:00
Tong Gao
fa4fd1fd42
[Enhancement] Update textrecog config and readme (#1597)
* [Dataset Preparer] Add TextSpottingConfigGenerator

* update init

* [Enhancement] Update textrecog configs and raedme

* cfg

* fix
2022-12-06 14:01:39 +08:00
liukuikun
08cab32832
[Enhancement] add common typing (#1596) 2022-12-05 18:50:42 +08:00
Tong Gao
b9152a2239
[Docs] Update dataset preparer (CN) (#1591)
* [Docs] Update dataset preparer docs

* [Docs] Update dataset preparer (CN)
2022-12-05 16:58:35 +08:00
Tong Gao
782bcc446d
[Dataset Preparer] Add TextSpottingConfigGenerator (#1561)
* [Dataset Preparer] Add TextSpottingConfigGenerator

* update init
2022-12-05 15:00:47 +08:00
Qing Jiang
a12c215e85
[Refactor] Refactor TPS (#1240)
* [Docs] Limit extension versions (#1209)

* loss

* fix

* [update] limit extension versions

* refactor tps

* Update mmocr/models/textrecog/preprocessors/tps_preprocessor.py

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

* Update mmocr/models/textrecog/preprocessors/tps_preprocessor.py

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

* refine

Co-authored-by: Tong Gao <gaotongxiao@gmail.com>
2022-12-05 14:51:40 +08:00
liukuikun
b8c445b04f
[Fix] fix icdar data parse for text containing seperator (#1587)
* [Fix] fix icdar data parse for text containing seperator

* Update mmocr/datasets/preparers/parsers/base.py

Co-authored-by: Tong Gao <gaotongxiao@gmail.com>
2022-12-01 18:43:09 +08:00
Tong Gao
d9356252af
[Docs] Collapse some sections; update logo url (#1571) 2022-12-01 17:25:24 +08:00
Tong Gao
c957ded662
[Fix] Auto scale lr (#1584) 2022-12-01 14:07:10 +08:00
vansin
2b6d258ae1
[Docs] update the qq group link (#1569) 2022-11-24 14:02:28 +08:00
Tong Gao
c32ce6baa3
[Fix] Fix IC13 textrecog annotations (#1568) 2022-11-24 12:42:50 +08:00
Xinyu Wang
31a353a892
[Fix] Fix IC13 textdet config (#1563) 2022-11-23 14:32:28 +08:00
Tong Gao
f6472eab2a
[Dataset] Add config generators to all textdet and textrecog configs (#1560) 2022-11-23 10:28:45 +08:00
Tong Gao
24aaec2675
[Dataset] Update CT80 config (#1555)
* [Dataset] Update CT80 config

* [Dataset] Update CT80 config
2022-11-21 14:24:04 +08:00
Tong Gao
26e7ea6e77
[Config] Support IC15_1811 (#1556)
* [Config] Update IC15 recog cfg

* Update dataset_zoo/icdar2015/textrecog.py

Co-authored-by: liukuikun <24622904+Harold-lkk@users.noreply.github.com>

Co-authored-by: liukuikun <24622904+Harold-lkk@users.noreply.github.com>
2022-11-21 14:23:39 +08:00
Tong Gao
cfce57ad87
[Feature] Add config generator (#1552)
* [Feature] Add config generator

* update icdar2013

* fix ut

* simplify design

* cfg generator

* update

* fix
2022-11-21 14:23:20 +08:00
Tong Gao
37f3b88a05
[Feature] Add get_md5 (#1553)
* [Feature] Add get_md5

* fix
2022-11-18 15:22:47 +08:00