File size: 9,913 Bytes
5da8fd6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
{
    "dontcare": [],
    "valid_line": [
        {
            "words": [
                {
                    "quad": {
                        "x2": 145,
                        "y3": 493,
                        "x3": 146,
                        "y4": 494,
                        "x1": 131,
                        "y1": 459,
                        "x4": 131,
                        "y2": 457
                    },
                    "is_key": 0,
                    "row_id": 1172188,
                    "text": "1"
                }
            ],
            "category": "menu.cnt",
            "group_id": 3
        },
        {
            "words": [
                {
                    "quad": {
                        "x2": 255,
                        "y3": 496,
                        "x3": 255,
                        "y4": 494,
                        "x1": 167,
                        "y1": 454,
                        "x4": 165,
                        "y2": 454
                    },
                    "is_key": 0,
                    "row_id": 1172188,
                    "text": "KING"
                },
                {
                    "quad": {
                        "x2": 353,
                        "y3": 491,
                        "x3": 354,
                        "y4": 494,
                        "x1": 268,
                        "y1": 453,
                        "x4": 269,
                        "y2": 451
                    },
                    "is_key": 0,
                    "row_id": 1172188,
                    "text": "DEAL"
                },
                {
                    "quad": {
                        "x2": 458,
                        "y3": 489,
                        "x3": 459,
                        "y4": 492,
                        "x1": 370,
                        "y1": 452,
                        "x4": 369,
                        "y2": 450
                    },
                    "is_key": 0,
                    "row_id": 1172188,
                    "text": "FISH"
                }
            ],
            "category": "menu.nm",
            "group_id": 3
        },
        {
            "words": [
                {
                    "quad": {
                        "x2": 597,
                        "y3": 488,
                        "x3": 600,
                        "y4": 492,
                        "x1": 496,
                        "y1": 450,
                        "x4": 496,
                        "y2": 448
                    },
                    "is_key": 0,
                    "row_id": 1172188,
                    "text": "25000"
                }
            ],
            "category": "menu.price",
            "group_id": 3
        },
        {
            "words": [
                {
                    "quad": {
                        "x2": 231,
                        "y3": 549,
                        "x3": 224,
                        "y4": 549,
                        "x1": 164,
                        "y1": 510,
                        "x4": 164,
                        "y2": 508
                    },
                    "is_key": 1,
                    "row_id": 1172189,
                    "text": "NET"
                },
                {
                    "quad": {
                        "x2": 352,
                        "y3": 546,
                        "x3": 354,
                        "y4": 548,
                        "x1": 248,
                        "y1": 509,
                        "x4": 246,
                        "y2": 506
                    },
                    "is_key": 1,
                    "row_id": 1172189,
                    "text": "SALES"
                },
                {
                    "quad": {
                        "x2": 598,
                        "y3": 541,
                        "x3": 599,
                        "y4": 544,
                        "x1": 495,
                        "y1": 505,
                        "x4": 491,
                        "y2": 504
                    },
                    "is_key": 0,
                    "row_id": 1172189,
                    "text": "25000"
                }
            ],
            "category": "sub_total.subtotal_price",
            "group_id": 4
        },
        {
            "words": [
                {
                    "quad": {
                        "x2": 231,
                        "y3": 608,
                        "x3": 231,
                        "y4": 606,
                        "x1": 161,
                        "y1": 557,
                        "x4": 163,
                        "y2": 560
                    },
                    "is_key": 1,
                    "row_id": 1172190,
                    "text": "TAX"
                },
                {
                    "quad": {
                        "x2": 607,
                        "y3": 599,
                        "x3": 606,
                        "y4": 599,
                        "x1": 518,
                        "y1": 558,
                        "x4": 518,
                        "y2": 555
                    },
                    "is_key": 0,
                    "row_id": 1172190,
                    "text": "2500"
                }
            ],
            "category": "sub_total.tax_price",
            "group_id": 4
        },
        {
            "words": [
                {
                    "quad": {
                        "x2": 291,
                        "y3": 661,
                        "x3": 288,
                        "y4": 664,
                        "x1": 155,
                        "y1": 616,
                        "x4": 151,
                        "y2": 618
                    },
                    "is_key": 1,
                    "row_id": 1172191,
                    "text": "AMOUNT"
                },
                {
                    "quad": {
                        "x2": 372,
                        "y3": 658,
                        "x3": 372,
                        "y4": 658,
                        "x1": 306,
                        "y1": 615,
                        "x4": 306,
                        "y2": 615
                    },
                    "is_key": 1,
                    "row_id": 1172191,
                    "text": "DUE"
                },
                {
                    "quad": {
                        "x2": 605,
                        "y3": 656,
                        "x3": 605,
                        "y4": 658,
                        "x1": 495,
                        "y1": 613,
                        "x4": 496,
                        "y2": 613
                    },
                    "is_key": 0,
                    "row_id": 1172191,
                    "text": "27500"
                }
            ],
            "category": "total.total_price",
            "group_id": 5
        },
        {
            "words": [
                {
                    "quad": {
                        "x2": 332,
                        "y3": 782,
                        "x3": 330,
                        "y4": 782,
                        "x1": 155,
                        "y1": 737,
                        "x4": 155,
                        "y2": 733
                    },
                    "is_key": 1,
                    "row_id": 1172193,
                    "text": "TENDERED"
                },
                {
                    "quad": {
                        "x2": 615,
                        "y3": 778,
                        "x3": 617,
                        "y4": 780,
                        "x1": 477,
                        "y1": 734,
                        "x4": 477,
                        "y2": 729
                    },
                    "is_key": 0,
                    "row_id": 1172193,
                    "text": "100000"
                }
            ],
            "category": "total.cashprice",
            "group_id": 5
        },
        {
            "words": [
                {
                    "quad": {
                        "x2": 294,
                        "y3": 847,
                        "x3": 294,
                        "y4": 847,
                        "x1": 148,
                        "y1": 801,
                        "x4": 148,
                        "y2": 801
                    },
                    "is_key": 1,
                    "row_id": 1172194,
                    "text": "CHANGE"
                },
                {
                    "quad": {
                        "x2": 624,
                        "y3": 842,
                        "x3": 624,
                        "y4": 846,
                        "x1": 505,
                        "y1": 793,
                        "x4": 506,
                        "y2": 790
                    },
                    "is_key": 0,
                    "row_id": 1172194,
                    "text": "72500"
                }
            ],
            "category": "total.changeprice",
            "group_id": 5
        }
    ],
    "meta": {
        "version": "v0.1",
        "split": "train",
        "image_id": 18,
        "image_size": {
            "width": 864,
            "height": 1296
        }
    },
    "roi": {
        "x2": 862,
        "y3": 1280,
        "x3": 862,
        "y4": 1267,
        "x1": 58,
        "y1": 0,
        "x4": -7,
        "y2": 0
    },
    "repeating_symbol": [
        [
            {
                "quad": {
                    "x2": 630,
                    "y3": 421,
                    "x3": 631,
                    "y4": 428,
                    "x1": 88,
                    "y1": 414,
                    "x4": 87,
                    "y2": 408
                },
                "text": "-"
            }
        ]
    ]
}