CORD2 / json /receipt_00010.json
hsienchen's picture
upload from local
5da8fd6
{
"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": "-"
}
]
]
}