File size: 9,261 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
{
    "dontcare": [],
    "valid_line": [
        {
            "words": [
                {
                    "quad": {
                        "x2": 533,
                        "y3": 1116,
                        "x3": 533,
                        "y4": 1116,
                        "x1": 508,
                        "y1": 1062,
                        "x4": 508,
                        "y2": 1062
                    },
                    "is_key": 1,
                    "row_id": 1677786,
                    "text": ")"
                }
            ],
            "category": "total.menuqty_cnt",
            "group_id": 5
        },
        {
            "words": [
                {
                    "quad": {
                        "x2": 131,
                        "y3": 793,
                        "x3": 131,
                        "y4": 793,
                        "x1": 30,
                        "y1": 749,
                        "x4": 30,
                        "y2": 749
                    },
                    "is_key": 0,
                    "row_id": 1677782,
                    "text": "901016"
                }
            ],
            "category": "menu.num",
            "group_id": 3
        },
        {
            "words": [
                {
                    "quad": {
                        "x2": 364,
                        "y3": 790,
                        "x3": 364,
                        "y4": 790,
                        "x1": 252,
                        "y1": 744,
                        "x4": 252,
                        "y2": 744
                    },
                    "is_key": 0,
                    "row_id": 1677782,
                    "text": "- TICKET"
                },
                {
                    "quad": {
                        "x2": 410,
                        "y3": 791,
                        "x3": 412,
                        "y4": 791,
                        "x1": 374,
                        "y1": 744,
                        "x4": 374,
                        "y2": 744
                    },
                    "is_key": 0,
                    "row_id": 1677782,
                    "text": "CP"
                }
            ],
            "category": "menu.nm",
            "group_id": 3
        },
        {
            "words": [
                {
                    "quad": {
                        "x2": 692,
                        "y3": 790,
                        "x3": 692,
                        "y4": 790,
                        "x1": 590,
                        "y1": 742,
                        "x4": 590,
                        "y2": 742
                    },
                    "is_key": 0,
                    "row_id": 1677782,
                    "text": "30,000"
                }
            ],
            "category": "menu.price",
            "group_id": 3
        },
        {
            "words": [
                {
                    "quad": {
                        "x2": 442,
                        "y3": 1042,
                        "x3": 442,
                        "y4": 1042,
                        "x1": 304,
                        "y1": 994,
                        "x4": 304,
                        "y2": 994
                    },
                    "is_key": 1,
                    "row_id": 1677785,
                    "text": "Subtotal"
                },
                {
                    "quad": {
                        "x2": 714,
                        "y3": 1050,
                        "x3": 714,
                        "y4": 1050,
                        "x1": 598,
                        "y1": 990,
                        "x4": 598,
                        "y2": 990
                    },
                    "is_key": 0,
                    "row_id": 1677785,
                    "text": "30,000"
                }
            ],
            "category": "sub_total.subtotal_price",
            "group_id": 4
        },
        {
            "words": [
                {
                    "quad": {
                        "x2": 174,
                        "y3": 1108,
                        "x3": 173,
                        "y4": 1105,
                        "x1": 16,
                        "y1": 1056,
                        "x4": 15,
                        "y2": 1060
                    },
                    "is_key": 1,
                    "row_id": 1677786,
                    "text": "TOTAL"
                },
                {
                    "quad": {
                        "x2": 741,
                        "y3": 1115,
                        "x3": 741,
                        "y4": 1115,
                        "x1": 540,
                        "y1": 1062,
                        "x4": 540,
                        "y2": 1062
                    },
                    "is_key": 0,
                    "row_id": 1677786,
                    "text": "30,000"
                }
            ],
            "category": "total.total_price",
            "group_id": 5
        },
        {
            "words": [
                {
                    "quad": {
                        "x2": 341,
                        "y3": 1116,
                        "x3": 336,
                        "y4": 1111,
                        "x1": 214,
                        "y1": 1058,
                        "x4": 213,
                        "y2": 1063
                    },
                    "is_key": 1,
                    "row_id": 1677786,
                    "text": "(Qty"
                },
                {
                    "quad": {
                        "x2": 503,
                        "y3": 1110,
                        "x3": 503,
                        "y4": 1110,
                        "x1": 376,
                        "y1": 1061,
                        "x4": 376,
                        "y2": 1061
                    },
                    "is_key": 0,
                    "row_id": 1677786,
                    "text": "1.00"
                }
            ],
            "category": "total.menuqty_cnt",
            "group_id": 5
        },
        {
            "words": [
                {
                    "quad": {
                        "x2": 90,
                        "y3": 1236,
                        "x3": 90,
                        "y4": 1236,
                        "x1": 36,
                        "y1": 1190,
                        "x4": 36,
                        "y2": 1190
                    },
                    "is_key": 1,
                    "row_id": 1677788,
                    "text": "EDC"
                },
                {
                    "quad": {
                        "x2": 158,
                        "y3": 1238,
                        "x3": 158,
                        "y4": 1238,
                        "x1": 100,
                        "y1": 1192,
                        "x4": 100,
                        "y2": 1192
                    },
                    "is_key": 1,
                    "row_id": 1677788,
                    "text": "BCA"
                },
                {
                    "quad": {
                        "x2": 716,
                        "y3": 1234,
                        "x3": 716,
                        "y4": 1234,
                        "x1": 608,
                        "y1": 1192,
                        "x4": 608,
                        "y2": 1192
                    },
                    "is_key": 0,
                    "row_id": 1677788,
                    "text": "30,000"
                }
            ],
            "category": "total.creditcardprice",
            "group_id": 5
        }
    ],
    "meta": {
        "version": "v0.1",
        "split": "train",
        "image_id": 16,
        "image_size": {
            "width": 864,
            "height": 1296
        }
    },
    "roi": {
        "x2": 880,
        "y3": 1340,
        "x3": 904,
        "y4": 1338,
        "x1": -3,
        "y1": 390,
        "x4": 7,
        "y2": 378
    },
    "repeating_symbol": [
        [
            {
                "quad": {
                    "x2": 691,
                    "y3": 727,
                    "x3": 690,
                    "y4": 732,
                    "x1": 37,
                    "y1": 705,
                    "x4": 32,
                    "y2": 700
                },
                "text": "-"
            }
        ],
        [
            {
                "quad": {
                    "x2": 692,
                    "y3": 849,
                    "x3": 694,
                    "y4": 854,
                    "x1": 30,
                    "y1": 821,
                    "x4": 28,
                    "y2": 820
                },
                "text": "-"
            }
        ],
        [
            {
                "quad": {
                    "x2": 712,
                    "y3": 1286,
                    "x3": 712,
                    "y4": 1286,
                    "x1": 12,
                    "y1": 1259,
                    "x4": 12,
                    "y2": 1256
                },
                "text": "-"
            }
        ]
    ]
}