manishfartiyal commited on
Commit
a3da3c3
1 Parent(s): f7d75f6

Upload ocr_tasks.json

Browse files
Files changed (1) hide show
  1. ocr_tasks.json +386 -0
ocr_tasks.json ADDED
@@ -0,0 +1,386 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "data": {
4
+ "ocr": "data/upload/001.jpg"
5
+ },
6
+ "predictions": [
7
+ {
8
+ "result": [
9
+ {
10
+ "id": "2cbc2b5f-6",
11
+ "from_name": "bbox",
12
+ "to_name": "image",
13
+ "type": "rectangle",
14
+ "value": {
15
+ "x": 22.115384615384617,
16
+ "y": 2.1447721179624666,
17
+ "width": 2.4038461538461537,
18
+ "height": 1.876675603217158,
19
+ "rotation": 0
20
+ }
21
+ },
22
+ {
23
+ "id": "2cbc2b5f-6",
24
+ "from_name": "transcription",
25
+ "to_name": "image",
26
+ "type": "textarea",
27
+ "value": {
28
+ "text": [
29
+ "tod"
30
+ ],
31
+ "x": 22.115384615384617,
32
+ "y": 2.1447721179624666,
33
+ "width": 2.4038461538461537,
34
+ "height": 1.876675603217158,
35
+ "rotation": 0
36
+ },
37
+ "score": 0.0925
38
+ },
39
+ {
40
+ "id": "e5c72887-3",
41
+ "from_name": "bbox",
42
+ "to_name": "image",
43
+ "type": "rectangle",
44
+ "value": {
45
+ "x": 2.8846153846153846,
46
+ "y": 7.506702412868632,
47
+ "width": 81.73076923076923,
48
+ "height": 59.11528150134048,
49
+ "rotation": 0
50
+ }
51
+ },
52
+ {
53
+ "id": "e5c72887-3",
54
+ "from_name": "transcription",
55
+ "to_name": "image",
56
+ "type": "textarea",
57
+ "value": {
58
+ "text": [
59
+ "UNITED KINGDOM OF GREAT BRITAIN AND NORTHERN IREL \u2018PASSPORT Type/Type Code/Code Passport No./Passeport No. PASSEPORT P GBR 999223142 \u2018Surname/Nom (1) UK SPECIMEN Given names/Pr\u00e9noms (2) ANGELA ZOE Nationality/Nationalit\u00e9 (3) BRITISH CITIZEN Date of birth/Date de naissance (4) 01 JAN / JAN 95 Sex/Sexe (5) Place of birth/Liew de naissance (6) e LONDON Date of issue/Date de d\u00e9livrance (7) Authority/Autorit\u00e9 (8) 27 NOV / NOV 19 HMPO Date of expiry/Date d\u2019 expiration (9) 27 NOV / NOV 29"
60
+ ],
61
+ "x": 2.8846153846153846,
62
+ "y": 7.506702412868632,
63
+ "width": 81.73076923076923,
64
+ "height": 59.11528150134048,
65
+ "rotation": 0
66
+ },
67
+ "score": 0.5794594594594594
68
+ },
69
+ {
70
+ "id": "b9d30f86-9",
71
+ "from_name": "bbox",
72
+ "to_name": "image",
73
+ "type": "rectangle",
74
+ "value": {
75
+ "x": 55.19230769230769,
76
+ "y": 0.0,
77
+ "width": 25.76923076923077,
78
+ "height": 3.8873994638069704,
79
+ "rotation": 0
80
+ }
81
+ },
82
+ {
83
+ "id": "b9d30f86-9",
84
+ "from_name": "transcription",
85
+ "to_name": "image",
86
+ "type": "textarea",
87
+ "value": {
88
+ "text": [
89
+ "\" roe \u20185"
90
+ ],
91
+ "x": 55.19230769230769,
92
+ "y": 0.0,
93
+ "width": 25.76923076923077,
94
+ "height": 3.8873994638069704,
95
+ "rotation": 0
96
+ },
97
+ "score": 0.12166666666666666
98
+ },
99
+ {
100
+ "id": "34a72c7a-5",
101
+ "from_name": "bbox",
102
+ "to_name": "image",
103
+ "type": "rectangle",
104
+ "value": {
105
+ "x": 4.711538461538462,
106
+ "y": 79.08847184986595,
107
+ "width": 90.1923076923077,
108
+ "height": 10.187667560321715,
109
+ "rotation": 0
110
+ }
111
+ },
112
+ {
113
+ "id": "34a72c7a-5",
114
+ "from_name": "transcription",
115
+ "to_name": "image",
116
+ "type": "textarea",
117
+ "value": {
118
+ "text": [
119
+ "P<GBRUK<SPEC IMEN<<ANGELA<ZOE<<<<<<<<<<<<<<<< 9992231423GBR9501016F2911272<<<<<<<<<<<<<<00"
120
+ ],
121
+ "x": 4.711538461538462,
122
+ "y": 79.08847184986595,
123
+ "width": 90.1923076923077,
124
+ "height": 10.187667560321715,
125
+ "rotation": 0
126
+ },
127
+ "score": 0.15857142857142856
128
+ },
129
+ {
130
+ "id": "416f64a8-a",
131
+ "from_name": "bbox",
132
+ "to_name": "image",
133
+ "type": "rectangle",
134
+ "value": {
135
+ "x": 23.846153846153847,
136
+ "y": 98.39142091152814,
137
+ "width": 9.326923076923077,
138
+ "height": 1.6085790884718498,
139
+ "rotation": 0
140
+ }
141
+ },
142
+ {
143
+ "id": "416f64a8-a",
144
+ "from_name": "transcription",
145
+ "to_name": "image",
146
+ "type": "textarea",
147
+ "value": {
148
+ "text": [
149
+ "as a7 any"
150
+ ],
151
+ "x": 23.846153846153847,
152
+ "y": 98.39142091152814,
153
+ "width": 9.326923076923077,
154
+ "height": 1.6085790884718498,
155
+ "rotation": 0
156
+ },
157
+ "score": 0.12333333333333334
158
+ },
159
+ {
160
+ "id": "8d9833cb-d",
161
+ "from_name": "bbox",
162
+ "to_name": "image",
163
+ "type": "rectangle",
164
+ "value": {
165
+ "x": 38.36538461538461,
166
+ "y": 98.39142091152814,
167
+ "width": 28.942307692307693,
168
+ "height": 1.6085790884718498,
169
+ "rotation": 0
170
+ }
171
+ },
172
+ {
173
+ "id": "8d9833cb-d",
174
+ "from_name": "transcription",
175
+ "to_name": "image",
176
+ "type": "textarea",
177
+ "value": {
178
+ "text": [
179
+ "DAA LS Ab) A Ae Boh AA DA x Se"
180
+ ],
181
+ "x": 38.36538461538461,
182
+ "y": 98.39142091152814,
183
+ "width": 28.942307692307693,
184
+ "height": 1.6085790884718498,
185
+ "rotation": 0
186
+ },
187
+ "score": 0.2
188
+ }
189
+ ],
190
+ "score": 0.21258848133848132
191
+ }
192
+ ]
193
+ },
194
+ {
195
+ "data": {
196
+ "ocr": "data/upload/bp1.jpg"
197
+ },
198
+ "predictions": [
199
+ {
200
+ "result": [
201
+ {
202
+ "id": "2c01de4d-1",
203
+ "from_name": "bbox",
204
+ "to_name": "image",
205
+ "type": "rectangle",
206
+ "value": {
207
+ "x": 45.8,
208
+ "y": 13.666666666666666,
209
+ "width": 35.0,
210
+ "height": 7.333333333333333,
211
+ "rotation": 0
212
+ }
213
+ },
214
+ {
215
+ "id": "2c01de4d-1",
216
+ "from_name": "transcription",
217
+ "to_name": "image",
218
+ "type": "textarea",
219
+ "value": {
220
+ "text": [
221
+ "\u2018Yee 925076473"
222
+ ],
223
+ "x": 45.8,
224
+ "y": 13.666666666666666,
225
+ "width": 35.0,
226
+ "height": 7.333333333333333,
227
+ "rotation": 0
228
+ },
229
+ "score": 0.09
230
+ },
231
+ {
232
+ "id": "d0d8fc84-f",
233
+ "from_name": "bbox",
234
+ "to_name": "image",
235
+ "type": "rectangle",
236
+ "value": {
237
+ "x": 39.2,
238
+ "y": 22.666666666666668,
239
+ "width": 14.8,
240
+ "height": 7.0,
241
+ "rotation": 0
242
+ }
243
+ },
244
+ {
245
+ "id": "d0d8fc84-f",
246
+ "from_name": "transcription",
247
+ "to_name": "image",
248
+ "type": "textarea",
249
+ "value": {
250
+ "text": [
251
+ "\u201cSPECIMEN"
252
+ ],
253
+ "x": 39.2,
254
+ "y": 22.666666666666668,
255
+ "width": 14.8,
256
+ "height": 7.0,
257
+ "rotation": 0
258
+ },
259
+ "score": 0.19
260
+ },
261
+ {
262
+ "id": "f1149ed0-0",
263
+ "from_name": "bbox",
264
+ "to_name": "image",
265
+ "type": "rectangle",
266
+ "value": {
267
+ "x": 47.0,
268
+ "y": 49.666666666666664,
269
+ "width": 13.6,
270
+ "height": 4.0,
271
+ "rotation": 0
272
+ }
273
+ },
274
+ {
275
+ "id": "f1149ed0-0",
276
+ "from_name": "transcription",
277
+ "to_name": "image",
278
+ "type": "textarea",
279
+ "value": {
280
+ "text": [
281
+ "SEPT 88"
282
+ ],
283
+ "x": 47.0,
284
+ "y": 49.666666666666664,
285
+ "width": 13.6,
286
+ "height": 4.0,
287
+ "rotation": 0
288
+ },
289
+ "score": 0.292
290
+ },
291
+ {
292
+ "id": "0fbd658c-b",
293
+ "from_name": "bbox",
294
+ "to_name": "image",
295
+ "type": "rectangle",
296
+ "value": {
297
+ "x": 44.6,
298
+ "y": 58.0,
299
+ "width": 44.4,
300
+ "height": 15.666666666666666,
301
+ "rotation": 0
302
+ }
303
+ },
304
+ {
305
+ "id": "0fbd658c-b",
306
+ "from_name": "transcription",
307
+ "to_name": "image",
308
+ "type": "textarea",
309
+ "value": {
310
+ "text": [
311
+ "CROYDON aan Gee ah 0 iPS aripcbsSworranes"
312
+ ],
313
+ "x": 44.6,
314
+ "y": 58.0,
315
+ "width": 44.4,
316
+ "height": 15.666666666666666,
317
+ "rotation": 0
318
+ },
319
+ "score": 0.165
320
+ },
321
+ {
322
+ "id": "164e0c72-9",
323
+ "from_name": "bbox",
324
+ "to_name": "image",
325
+ "type": "rectangle",
326
+ "value": {
327
+ "x": 65.6,
328
+ "y": 78.0,
329
+ "width": 14.4,
330
+ "height": 4.333333333333333,
331
+ "rotation": 0
332
+ }
333
+ },
334
+ {
335
+ "id": "164e0c72-9",
336
+ "from_name": "transcription",
337
+ "to_name": "image",
338
+ "type": "textarea",
339
+ "value": {
340
+ "text": [
341
+ "KSpacimar-"
342
+ ],
343
+ "x": 65.6,
344
+ "y": 78.0,
345
+ "width": 14.4,
346
+ "height": 4.333333333333333,
347
+ "rotation": 0
348
+ },
349
+ "score": 0.045
350
+ },
351
+ {
352
+ "id": "20df81f8-c",
353
+ "from_name": "bbox",
354
+ "to_name": "image",
355
+ "type": "rectangle",
356
+ "value": {
357
+ "x": 4.0,
358
+ "y": 91.0,
359
+ "width": 89.8,
360
+ "height": 7.0,
361
+ "rotation": 0
362
+ }
363
+ },
364
+ {
365
+ "id": "20df81f8-c",
366
+ "from_name": "transcription",
367
+ "to_name": "image",
368
+ "type": "textarea",
369
+ "value": {
370
+ "text": [
371
+ "P<GBRUK<SPECIMEN<<ANGELACZ0E<<<ccecceeccecce"
372
+ ],
373
+ "x": 4.0,
374
+ "y": 91.0,
375
+ "width": 89.8,
376
+ "height": 7.0,
377
+ "rotation": 0
378
+ },
379
+ "score": 0.035
380
+ }
381
+ ],
382
+ "score": 0.13616666666666666
383
+ }
384
+ ]
385
+ }
386
+ ]