16 Commits

Author SHA1 Message Date
Tong Gao
6992923768
[Enhancement] Discard deprecated lmdb dataset format and only support img+label now (#1681)
* [Enhance] Discard deprecated lmdb dataset format and only support img+label now

* rename

* update

* add ut

* updata document

* update docs

* update test

* update test

* Update dataset.md

Co-authored-by: liukuikun <641417025@qq.com>
2023-01-17 10:10:51 +08:00
Tong Gao
b0557c2c55
[Transforms] SVTR transforms (#1645)
* rec transforms

* fix

* ut

* update docs

* fix

* new name

* fix
2023-01-06 16:04:20 +08:00
liukuikun
9baf440d7a
[Feature] ConditionApply (#1646) 2022-12-28 11:53:32 +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
Tong Gao
db6ce0d95e
[Refactor] ocr.py (#1344)
* [Feature] Add BaseInferencer]

* [Feature] Add Det&Rec Inferencer

* [Feature] Add KIEInferencer

* [Feature] Add MMOCRInferencer

* [Refactor] update ocr.py

* update links

* update two links

* remove ocr.py

* move ocr.py and add loadfromndarray

Co-authored-by: xinyu <wangxinyu2017@gmail.com>
Co-authored-by: liukuikun <liukuikun@sensetime.com>
2022-08-31 22:56:24 +08:00
Xinyu Wang
9bd5258513
[Refactor] Adapt to new dataflow (#1305)
* datasample->datasamples

* update rec data preprocessor

* rename datasamples

* update det preprocessor

* update metric

* update data_sample->data_samples in test

* update

* fix data preprocessor uts

* remove engine runner

* fix kie ut

* fix ut

* fix comments

* refactor evaluator ut

* apply comments

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

* remove useless

* apply comments

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

* apply comments

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

Co-authored-by: Tong Gao <gaotongxiao@gmail.com>
2022-08-25 11:45:42 +08:00
Tong Gao
e760dcd1dd
[Enhancement] Support loading different lmdb datasets in LoadImageFromLMDB (#1293)
* [Enhancement] Support loading different lmdb datasets in LoadImageFromLMDB

* add docstr
2022-08-22 16:43:25 +08:00
Tong Gao
80d85c129f
[Fix] Rename tests (#1244) 2022-08-01 15:28:27 +08:00
wangxinyu
8c5e83c521 [Tests] rename tests 2022-07-21 10:58:04 +08:00
xinyu
254dbdd18a adapt to det package 2022-07-21 10:58:03 +08:00
jiangqing.vendor
993ee5a91c [TODO] Replace resize_cfg with resize_type 2022-07-21 10:57:31 +08:00
gaotongxiao
f107991ac1 [TODO] Add LoadImageFromLMDB 2022-07-21 10:57:30 +08:00
gaotongxiao
914c8af7bf Revert "[TODO] Add LoadImageFromLMDB"
This reverts commit e716ae726f007f79effdf2d45b4955a887f3c1e3
2022-07-21 10:57:30 +08:00
jiangqing.vendor
19958fbf6f [TODO] Add LoadImageFromLMDB 2022-07-21 10:57:17 +08:00
jiangqing.vendor
dae4c9ca8c Add MMDet2MMOCR MMOCR2MMdet 2022-07-21 10:57:17 +08:00
liukuikun
d50d2a46eb [Processing]remove segocr and split processing 2022-07-21 10:57:17 +08:00