deepdoctection 0.46__py3-none-any.whl → 0.46.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of deepdoctection might be problematic. Click here for more details.
- deepdoctection/__init__.py +1 -1
- deepdoctection/analyzer/factory.py +711 -205
- deepdoctection/utils/viz.py +34 -130
- {deepdoctection-0.46.dist-info → deepdoctection-0.46.2.dist-info}/METADATA +1 -1
- {deepdoctection-0.46.dist-info → deepdoctection-0.46.2.dist-info}/RECORD +8 -8
- {deepdoctection-0.46.dist-info → deepdoctection-0.46.2.dist-info}/WHEEL +0 -0
- {deepdoctection-0.46.dist-info → deepdoctection-0.46.2.dist-info}/licenses/LICENSE +0 -0
- {deepdoctection-0.46.dist-info → deepdoctection-0.46.2.dist-info}/top_level.txt +0 -0
deepdoctection/utils/viz.py
CHANGED
|
@@ -45,136 +45,40 @@ with try_import() as pil_import_guard:
|
|
|
45
45
|
|
|
46
46
|
__all__ = ["draw_boxes", "interactive_imshow", "viz_handler"]
|
|
47
47
|
|
|
48
|
-
_COLORS = (
|
|
49
|
-
|
|
50
|
-
[
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
0.000,
|
|
83
|
-
1.000,
|
|
84
|
-
0.333,
|
|
85
|
-
0.333,
|
|
86
|
-
1.000,
|
|
87
|
-
0.333,
|
|
88
|
-
0.667,
|
|
89
|
-
1.000,
|
|
90
|
-
0.333,
|
|
91
|
-
1.000,
|
|
92
|
-
1.000,
|
|
93
|
-
0.667,
|
|
94
|
-
0.000,
|
|
95
|
-
1.000,
|
|
96
|
-
0.667,
|
|
97
|
-
0.333,
|
|
98
|
-
1.000,
|
|
99
|
-
0.667,
|
|
100
|
-
0.667,
|
|
101
|
-
1.000,
|
|
102
|
-
0.667,
|
|
103
|
-
1.000,
|
|
104
|
-
1.000,
|
|
105
|
-
1.000,
|
|
106
|
-
0.000,
|
|
107
|
-
1.000,
|
|
108
|
-
1.000,
|
|
109
|
-
0.333,
|
|
110
|
-
1.000,
|
|
111
|
-
1.000,
|
|
112
|
-
0.667,
|
|
113
|
-
1.000,
|
|
114
|
-
0.333,
|
|
115
|
-
0.000,
|
|
116
|
-
0.000,
|
|
117
|
-
0.500,
|
|
118
|
-
0.000,
|
|
119
|
-
0.000,
|
|
120
|
-
0.667,
|
|
121
|
-
0.000,
|
|
122
|
-
0.000,
|
|
123
|
-
0.833,
|
|
124
|
-
0.000,
|
|
125
|
-
0.000,
|
|
126
|
-
1.000,
|
|
127
|
-
0.000,
|
|
128
|
-
0.000,
|
|
129
|
-
0.000,
|
|
130
|
-
0.167,
|
|
131
|
-
0.000,
|
|
132
|
-
0.000,
|
|
133
|
-
0.333,
|
|
134
|
-
0.000,
|
|
135
|
-
0.000,
|
|
136
|
-
0.500,
|
|
137
|
-
0.000,
|
|
138
|
-
0.000,
|
|
139
|
-
0.667,
|
|
140
|
-
0.000,
|
|
141
|
-
0.000,
|
|
142
|
-
0.833,
|
|
143
|
-
0.000,
|
|
144
|
-
0.000,
|
|
145
|
-
1.000,
|
|
146
|
-
0.000,
|
|
147
|
-
0.000,
|
|
148
|
-
0.000,
|
|
149
|
-
0.167,
|
|
150
|
-
0.000,
|
|
151
|
-
0.000,
|
|
152
|
-
0.333,
|
|
153
|
-
0.000,
|
|
154
|
-
0.000,
|
|
155
|
-
0.500,
|
|
156
|
-
0.000,
|
|
157
|
-
0.000,
|
|
158
|
-
0.667,
|
|
159
|
-
0.000,
|
|
160
|
-
0.000,
|
|
161
|
-
0.833,
|
|
162
|
-
0.000,
|
|
163
|
-
0.000,
|
|
164
|
-
1.000,
|
|
165
|
-
0.000,
|
|
166
|
-
0.000,
|
|
167
|
-
0.000,
|
|
168
|
-
0.143,
|
|
169
|
-
0.143,
|
|
170
|
-
0.143,
|
|
171
|
-
0.857,
|
|
172
|
-
0.857,
|
|
173
|
-
0.857,
|
|
174
|
-
]
|
|
175
|
-
)
|
|
176
|
-
.astype(np.float32)
|
|
177
|
-
.reshape(-1, 3)
|
|
48
|
+
_COLORS = np.array(
|
|
49
|
+
[
|
|
50
|
+
[0.75, 0.1125, 0.1125],
|
|
51
|
+
[0.75, 0.24, 0.1125],
|
|
52
|
+
[0.75, 0.3675, 0.1125],
|
|
53
|
+
[0.75, 0.495, 0.1125],
|
|
54
|
+
[0.75, 0.6225, 0.1125],
|
|
55
|
+
[0.75, 0.75, 0.1125],
|
|
56
|
+
[0.6225, 0.75, 0.1125],
|
|
57
|
+
[0.495, 0.75, 0.1125],
|
|
58
|
+
[0.3675, 0.75, 0.1125],
|
|
59
|
+
[0.24, 0.75, 0.1125],
|
|
60
|
+
[0.1125, 0.75, 0.1125],
|
|
61
|
+
[0.1125, 0.75, 0.24],
|
|
62
|
+
[0.1125, 0.75, 0.3675],
|
|
63
|
+
[0.1125, 0.75, 0.495],
|
|
64
|
+
[0.1125, 0.75, 0.6225],
|
|
65
|
+
[0.1125, 0.75, 0.75],
|
|
66
|
+
[0.1125, 0.6225, 0.75],
|
|
67
|
+
[0.1125, 0.495, 0.75],
|
|
68
|
+
[0.1125, 0.3675, 0.75],
|
|
69
|
+
[0.1125, 0.24, 0.75],
|
|
70
|
+
[0.1125, 0.1125, 0.75],
|
|
71
|
+
[0.24, 0.1125, 0.75],
|
|
72
|
+
[0.3675, 0.1125, 0.75],
|
|
73
|
+
[0.495, 0.1125, 0.75],
|
|
74
|
+
[0.6225, 0.1125, 0.75],
|
|
75
|
+
[0.75, 0.1125, 0.75],
|
|
76
|
+
[0.75, 0.1125, 0.6225],
|
|
77
|
+
[0.75, 0.1125, 0.495],
|
|
78
|
+
[0.75, 0.1125, 0.3675],
|
|
79
|
+
[0.75, 0.1125, 0.24],
|
|
80
|
+
],
|
|
81
|
+
dtype=float32,
|
|
178
82
|
)
|
|
179
83
|
|
|
180
84
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
deepdoctection/__init__.py,sha256=
|
|
1
|
+
deepdoctection/__init__.py,sha256=itK1ZBBXKpQl8Z47DpY3cS7nchc10amiU5TeKmQ7Vt8,13231
|
|
2
2
|
deepdoctection/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
3
|
deepdoctection/analyzer/__init__.py,sha256=wg0BcFwdCeREwzZfa--Yx8HUJ9LPv5z5PmLwtkZdPH8,772
|
|
4
4
|
deepdoctection/analyzer/config.py,sha256=5abZTB_U_FaZmNVkKUexSVZSmx_93Uj28VB-349jrCs,44153
|
|
5
5
|
deepdoctection/analyzer/dd.py,sha256=2BGvZpl9o9khcaOV52-DPHMrs0DsqUO8cpdqFVHHzDQ,5176
|
|
6
|
-
deepdoctection/analyzer/factory.py,sha256=
|
|
6
|
+
deepdoctection/analyzer/factory.py,sha256=OUdVZRlxDWojlDR1Erc6QlJuSEqfXBr-dsBhzmZ38NI,68034
|
|
7
7
|
deepdoctection/configs/__init__.py,sha256=TX_P6tqDOF1LK1mi9ruAl7x0mtv1Asm8cYWCz3Pe2dk,646
|
|
8
8
|
deepdoctection/configs/conf_dd_one.yaml,sha256=DHqAIKH3jRam54QO7qib2zutmpyFA8TqdV5UvIV191A,3688
|
|
9
9
|
deepdoctection/configs/conf_tesseract.yaml,sha256=oF6szDyoi15FHvq7yFUNIEjfA_jNLhGxoowiRsz_zY4,35
|
|
@@ -141,9 +141,9 @@ deepdoctection/utils/tqdm.py,sha256=kx3Ivf0x85S0ZmEaN5mImu0V6isOgygOU8iyr2U99XU,
|
|
|
141
141
|
deepdoctection/utils/transform.py,sha256=2naYQSyIhVmqhocoYgMZA6mSC-XJb8l_fYMWvJFR1oo,16624
|
|
142
142
|
deepdoctection/utils/types.py,sha256=Nsr2J7XSZazXho94y0oc01LBQxh0ve67c4Yx2gMlSXU,2952
|
|
143
143
|
deepdoctection/utils/utils.py,sha256=NBUb1qbx8Jm-AvYN1Sdbk0huXhbAKxZ-ZtOcMespsMM,7064
|
|
144
|
-
deepdoctection/utils/viz.py,sha256=
|
|
145
|
-
deepdoctection-0.46.dist-info/licenses/LICENSE,sha256=GQ0rUvuGdrMNEI3iHK5UQx6dIMU1QwAuyXsxUHn5MEQ,11351
|
|
146
|
-
deepdoctection-0.46.dist-info/METADATA,sha256=
|
|
147
|
-
deepdoctection-0.46.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
148
|
-
deepdoctection-0.46.dist-info/top_level.txt,sha256=hs2DdoOL9h4mnHhmO82BT4pz4QATIoOZ20PZmlnxFI8,15
|
|
149
|
-
deepdoctection-0.46.dist-info/RECORD,,
|
|
144
|
+
deepdoctection/utils/viz.py,sha256=nMSJ8ZQHa22vhkWPo0o8iZfS0W5bPPE8U1_jIRW8hSc,26545
|
|
145
|
+
deepdoctection-0.46.2.dist-info/licenses/LICENSE,sha256=GQ0rUvuGdrMNEI3iHK5UQx6dIMU1QwAuyXsxUHn5MEQ,11351
|
|
146
|
+
deepdoctection-0.46.2.dist-info/METADATA,sha256=6dnazkOge-wG72xZ37CajEdo2Wf55khvozM0MRa_Al4,14763
|
|
147
|
+
deepdoctection-0.46.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
148
|
+
deepdoctection-0.46.2.dist-info/top_level.txt,sha256=hs2DdoOL9h4mnHhmO82BT4pz4QATIoOZ20PZmlnxFI8,15
|
|
149
|
+
deepdoctection-0.46.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|