File size: 9,824 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
345
346
347
348
349
350
{
    "dontcare": [],
    "valid_line": [
        {
            "words": [
                {
                    "quad": {
                        "x2": 170,
                        "y3": 231,
                        "x3": 171,
                        "y4": 232,
                        "x1": 162,
                        "y1": 218,
                        "x4": 162,
                        "y2": 219
                    },
                    "is_key": 0,
                    "row_id": 1827478,
                    "text": "1"
                }
            ],
            "category": "menu.cnt",
            "group_id": 3
        },
        {
            "words": [
                {
                    "quad": {
                        "x2": 192,
                        "y3": 232,
                        "x3": 192,
                        "y4": 232,
                        "x1": 171,
                        "y1": 218,
                        "x4": 172,
                        "y2": 218
                    },
                    "is_key": 0,
                    "row_id": 1827478,
                    "text": "Viet"
                },
                {
                    "quad": {
                        "x2": 218,
                        "y3": 232,
                        "x3": 217,
                        "y4": 232,
                        "x1": 192,
                        "y1": 220,
                        "x4": 192,
                        "y2": 220
                    },
                    "is_key": 0,
                    "row_id": 1827478,
                    "text": "Milk"
                },
                {
                    "quad": {
                        "x2": 248,
                        "y3": 234,
                        "x3": 248,
                        "y4": 234,
                        "x1": 218,
                        "y1": 217,
                        "x4": 218,
                        "y2": 217
                    },
                    "is_key": 0,
                    "row_id": 1827478,
                    "text": "Coffee"
                }
            ],
            "category": "menu.nm",
            "group_id": 3
        },
        {
            "words": [
                {
                    "quad": {
                        "x2": 384,
                        "y3": 230,
                        "x3": 384,
                        "y4": 230,
                        "x1": 348,
                        "y1": 216,
                        "x4": 348,
                        "y2": 216
                    },
                    "is_key": 0,
                    "row_id": 1827478,
                    "text": "25.000"
                }
            ],
            "category": "menu.price",
            "group_id": 3
        },
        {
            "words": [
                {
                    "quad": {
                        "x2": 188,
                        "y3": 244,
                        "x3": 188,
                        "y4": 243,
                        "x1": 166,
                        "y1": 231,
                        "x4": 166,
                        "y2": 232
                    },
                    "is_key": 0,
                    "row_id": 1827479,
                    "text": "+Hot"
                }
            ],
            "category": "menu.sub_nm",
            "group_id": 3
        },
        {
            "words": [
                {
                    "quad": {
                        "x2": 180,
                        "y3": 254,
                        "x3": 180,
                        "y4": 254,
                        "x1": 164,
                        "y1": 242,
                        "x4": 164,
                        "y2": 242
                    },
                    "is_key": 0,
                    "row_id": 1827480,
                    "text": "+M"
                }
            ],
            "category": "menu.sub_nm",
            "group_id": 3
        },
        {
            "words": [
                {
                    "quad": {
                        "x2": 200,
                        "y3": 278,
                        "x3": 200,
                        "y4": 278,
                        "x1": 158,
                        "y1": 266,
                        "x4": 158,
                        "y2": 266
                    },
                    "is_key": 1,
                    "row_id": 1827481,
                    "text": "Subtotal"
                },
                {
                    "quad": {
                        "x2": 386,
                        "y3": 277,
                        "x3": 386,
                        "y4": 278,
                        "x1": 349,
                        "y1": 266,
                        "x4": 350,
                        "y2": 266
                    },
                    "is_key": 0,
                    "row_id": 1827481,
                    "text": "25.000"
                }
            ],
            "category": "sub_total.subtotal_price",
            "group_id": 4
        },
        {
            "words": [
                {
                    "quad": {
                        "x2": 186,
                        "y3": 290,
                        "x3": 186,
                        "y4": 290,
                        "x1": 158,
                        "y1": 278,
                        "x4": 158,
                        "y2": 278
                    },
                    "is_key": 1,
                    "row_id": 1827482,
                    "text": "Total"
                },
                {
                    "quad": {
                        "x2": 386,
                        "y3": 292,
                        "x3": 386,
                        "y4": 291,
                        "x1": 351,
                        "y1": 278,
                        "x4": 350,
                        "y2": 278
                    },
                    "is_key": 0,
                    "row_id": 1827482,
                    "text": "25.000"
                }
            ],
            "category": "total.total_price",
            "group_id": 5
        },
        {
            "words": [
                {
                    "quad": {
                        "x2": 180,
                        "y3": 324,
                        "x3": 180,
                        "y4": 324,
                        "x1": 154,
                        "y1": 304,
                        "x4": 154,
                        "y2": 304
                    },
                    "is_key": 1,
                    "row_id": 1827483,
                    "text": "CASH"
                },
                {
                    "quad": {
                        "x2": 388,
                        "y3": 324,
                        "x3": 388,
                        "y4": 324,
                        "x1": 351,
                        "y1": 303,
                        "x4": 352,
                        "y2": 304
                    },
                    "is_key": 0,
                    "row_id": 1827483,
                    "text": "30.000"
                }
            ],
            "category": "total.cashprice",
            "group_id": 5
        },
        {
            "words": [
                {
                    "quad": {
                        "x2": 206,
                        "y3": 342,
                        "x3": 206,
                        "y4": 342,
                        "x1": 154,
                        "y1": 322,
                        "x4": 154,
                        "y2": 322
                    },
                    "is_key": 1,
                    "row_id": 1827484,
                    "text": "Kembalian"
                },
                {
                    "quad": {
                        "x2": 388,
                        "y3": 346,
                        "x3": 388,
                        "y4": 346,
                        "x1": 355,
                        "y1": 323,
                        "x4": 356,
                        "y2": 324
                    },
                    "is_key": 0,
                    "row_id": 1827484,
                    "text": "5.000"
                }
            ],
            "category": "total.changeprice",
            "group_id": 5
        }
    ],
    "meta": {
        "version": "v0.1",
        "split": "train",
        "image_id": 10,
        "image_size": {
            "width": 432,
            "height": 648
        }
    },
    "roi": {
        "x2": 412,
        "y3": 414,
        "x3": 417,
        "y4": 389,
        "x1": 150,
        "y1": -3,
        "x4": 141,
        "y2": 10
    },
    "repeating_symbol": [
        [
            {
                "quad": {
                    "x2": 385,
                    "y3": 208,
                    "x3": 386,
                    "y4": 208,
                    "x1": 165,
                    "y1": 197,
                    "x4": 163,
                    "y2": 196
                },
                "text": "-"
            }
        ],
        [
            {
                "quad": {
                    "x2": 390,
                    "y3": 265,
                    "x3": 389,
                    "y4": 265,
                    "x1": 159,
                    "y1": 256,
                    "x4": 159,
                    "y2": 253
                },
                "text": "-"
            }
        ],
        [
            {
                "quad": {
                    "x2": 391,
                    "y3": 304,
                    "x3": 391,
                    "y4": 302,
                    "x1": 158,
                    "y1": 289,
                    "x4": 156,
                    "y2": 291
                },
                "text": "-"
            }
        ]
    ]
}