-
Notifications
You must be signed in to change notification settings - Fork 755
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Feature] Refactor Inferencers (#1608)
* tmp commit * initial * kie * update MMOCRInferencer and ocr.py * fix * fix bug & add ut * ut for kie * part of mmocr inferencer ut * part of mmocr inferencer ut * ut * ut * docs * inferencer * Add TextSpotInferencer * test * fix * textspot * fix * test * test * fix * fix
- Loading branch information
1 parent
2d743cf
commit ad470e3
Showing
34 changed files
with
1,632 additions
and
887 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,91 @@ | ||
/ | ||
\ | ||
. | ||
$ | ||
£ | ||
€ | ||
¥ | ||
: | ||
- | ||
, | ||
* | ||
# | ||
( | ||
) | ||
% | ||
@ | ||
! | ||
' | ||
& | ||
= | ||
> | ||
+ | ||
" | ||
× | ||
? | ||
< | ||
[ | ||
] | ||
_ | ||
0 | ||
1 | ||
2 | ||
3 | ||
4 | ||
5 | ||
6 | ||
7 | ||
8 | ||
9 | ||
a | ||
b | ||
c | ||
d | ||
e | ||
f | ||
g | ||
h | ||
i | ||
j | ||
k | ||
l | ||
m | ||
n | ||
o | ||
p | ||
q | ||
r | ||
s | ||
t | ||
u | ||
v | ||
w | ||
x | ||
y | ||
z | ||
A | ||
B | ||
C | ||
D | ||
E | ||
F | ||
G | ||
H | ||
I | ||
J | ||
K | ||
L | ||
M | ||
N | ||
O | ||
P | ||
Q | ||
R | ||
S | ||
T | ||
U | ||
V | ||
W | ||
X | ||
Y | ||
Z |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
.. role:: hidden | ||
:class: hidden-section | ||
|
||
mmocr.apis | ||
=================================== | ||
|
||
.. contents:: mmocr.apis | ||
:depth: 2 | ||
:local: | ||
:backlinks: top | ||
|
||
.. currentmodule:: mmocr.apis.inferencers | ||
|
||
Inferencers | ||
--------------------------------------------- | ||
|
||
.. autosummary:: | ||
:toctree: generated | ||
:nosignatures: | ||
:template: classtemplate.rst | ||
|
||
MMOCRInferencer | ||
TextDetInferencer | ||
TextRecInferencer | ||
TextSpotInferencer | ||
KIEInferencer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,6 +23,7 @@ Loading | |
LoadImageFromLMDB | ||
LoadOCRAnnotations | ||
LoadKIEAnnotations | ||
InferencerLoader | ||
|
||
|
||
TextDet Transforms | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
.. role:: hidden | ||
:class: hidden-section | ||
|
||
mmocr.apis | ||
=================================== | ||
|
||
.. contents:: mmocr.apis | ||
:depth: 2 | ||
:local: | ||
:backlinks: top | ||
|
||
.. currentmodule:: mmocr.apis.inferencers | ||
|
||
Inferencers | ||
--------------------------------------------- | ||
|
||
.. autosummary:: | ||
:toctree: generated | ||
:nosignatures: | ||
:template: classtemplate.rst | ||
|
||
MMOCRInferencer | ||
TextDetInferencer | ||
TextRecInferencer | ||
TextSpotInferencer | ||
KIEInferencer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.