CORD2 / json /receipt_00002.json
hsienchen's picture
upload from local
5da8fd6
{
"dontcare": [],
"valid_line": [
{
"words": [
{
"quad": {
"x2": 272,
"y3": 489,
"x3": 270,
"y4": 489,
"x1": 174,
"y1": 461,
"x4": 174,
"y2": 459
},
"is_key": 0,
"row_id": 539268,
"text": "HAKAU"
},
{
"quad": {
"x2": 379,
"y3": 488,
"x3": 380,
"y4": 488,
"x1": 280,
"y1": 460,
"x4": 278,
"y2": 457
},
"is_key": 0,
"row_id": 539268,
"text": "UDANG"
}
],
"category": "menu.nm",
"group_id": 3
},
{
"words": [
{
"quad": {
"x2": 166,
"y3": 488,
"x3": 166,
"y4": 488,
"x1": 149,
"y1": 463,
"x4": 149,
"y2": 463
},
"is_key": 0,
"row_id": 539268,
"text": "4"
}
],
"category": "menu.cnt",
"group_id": 3
},
{
"words": [
{
"quad": {
"x2": 627,
"y3": 483,
"x3": 629,
"y4": 485,
"x1": 531,
"y1": 453,
"x4": 533,
"y2": 449
},
"is_key": 0,
"row_id": 539268,
"text": "92,000"
}
],
"category": "menu.price",
"group_id": 3
},
{
"words": [
{
"quad": {
"x2": 244,
"y3": 521,
"x3": 244,
"y4": 521,
"x1": 174,
"y1": 496,
"x4": 170,
"y2": 494
},
"is_key": 0,
"row_id": 539269,
"text": "SIAO"
},
{
"quad": {
"x2": 303,
"y3": 521,
"x3": 305,
"y4": 522,
"x1": 252,
"y1": 495,
"x4": 250,
"y2": 495
},
"is_key": 0,
"row_id": 539269,
"text": "MAI"
},
{
"quad": {
"x2": 379,
"y3": 521,
"x3": 377,
"y4": 520,
"x1": 313,
"y1": 494,
"x4": 311,
"y2": 493
},
"is_key": 0,
"row_id": 539269,
"text": "BABI"
}
],
"category": "menu.nm",
"group_id": 4
},
{
"words": [
{
"quad": {
"x2": 166,
"y3": 525,
"x3": 166,
"y4": 525,
"x1": 147,
"y1": 498,
"x4": 147,
"y2": 498
},
"is_key": 0,
"row_id": 539269,
"text": "4"
}
],
"category": "menu.cnt",
"group_id": 4
},
{
"words": [
{
"quad": {
"x2": 630,
"y3": 518,
"x3": 627,
"y4": 518,
"x1": 532,
"y1": 487,
"x4": 532,
"y2": 484
},
"is_key": 0,
"row_id": 539269,
"text": "80,000"
}
],
"category": "menu.price",
"group_id": 4
},
{
"words": [
{
"quad": {
"x2": 264,
"y3": 557,
"x3": 266,
"y4": 557,
"x1": 172,
"y1": 528,
"x4": 171,
"y2": 528
},
"is_key": 0,
"row_id": 539270,
"text": "CEKER"
},
{
"quad": {
"x2": 353,
"y3": 554,
"x3": 352,
"y4": 554,
"x1": 272,
"y1": 527,
"x4": 272,
"y2": 528
},
"is_key": 0,
"row_id": 539270,
"text": "AYAM"
}
],
"category": "menu.nm",
"group_id": 5
},
{
"words": [
{
"quad": {
"x2": 166,
"y3": 560,
"x3": 165,
"y4": 560,
"x1": 145,
"y1": 532,
"x4": 144,
"y2": 532
},
"is_key": 0,
"row_id": 539270,
"text": "3"
}
],
"category": "menu.cnt",
"group_id": 5
},
{
"words": [
{
"quad": {
"x2": 630,
"y3": 554,
"x3": 631,
"y4": 555,
"x1": 532,
"y1": 520,
"x4": 530,
"y2": 520
},
"is_key": 0,
"row_id": 539270,
"text": "60,000"
}
],
"category": "menu.price",
"group_id": 5
},
{
"words": [
{
"quad": {
"x2": 286,
"y3": 589,
"x3": 288,
"y4": 592,
"x1": 171,
"y1": 563,
"x4": 170,
"y2": 561
},
"is_key": 0,
"row_id": 539271,
"text": "BAKPAO"
},
{
"quad": {
"x2": 350,
"y3": 588,
"x3": 350,
"y4": 588,
"x1": 295,
"y1": 561,
"x4": 295,
"y2": 561
},
"is_key": 0,
"row_id": 539271,
"text": "BKR"
},
{
"quad": {
"x2": 380,
"y3": 586,
"x3": 379,
"y4": 587,
"x1": 360,
"y1": 562,
"x4": 358,
"y2": 561
},
"is_key": 0,
"row_id": 539271,
"text": "C"
},
{
"quad": {
"x2": 275,
"y3": 628,
"x3": 275,
"y4": 627,
"x1": 171,
"y1": 599,
"x4": 168,
"y2": 596
},
"is_key": 0,
"row_id": 539272,
"text": "CRISPY"
}
],
"category": "menu.nm",
"group_id": 6
},
{
"words": [
{
"quad": {
"x2": 164,
"y3": 593,
"x3": 164,
"y4": 593,
"x1": 144,
"y1": 567,
"x4": 144,
"y2": 567
},
"is_key": 0,
"row_id": 539271,
"text": "2"
}
],
"category": "menu.cnt",
"group_id": 6
},
{
"words": [
{
"quad": {
"x2": 629,
"y3": 585,
"x3": 631,
"y4": 589,
"x1": 534,
"y1": 558,
"x4": 530,
"y2": 555
},
"is_key": 0,
"row_id": 539271,
"text": "42,000"
}
],
"category": "menu.price",
"group_id": 6
},
{
"words": [
{
"quad": {
"x2": 250,
"y3": 664,
"x3": 252,
"y4": 664,
"x1": 166,
"y1": 635,
"x4": 165,
"y2": 632
},
"is_key": 0,
"row_id": 539273,
"text": "TAHU"
},
{
"quad": {
"x2": 381,
"y3": 660,
"x3": 381,
"y4": 662,
"x1": 258,
"y1": 633,
"x4": 256,
"y2": 630
},
"is_key": 0,
"row_id": 539273,
"text": "GORENG"
},
{
"quad": {
"x2": 274,
"y3": 698,
"x3": 273,
"y4": 697,
"x1": 169,
"y1": 670,
"x4": 169,
"y2": 668
},
"is_key": 0,
"row_id": 539274,
"text": "CRISPY"
}
],
"category": "menu.nm",
"group_id": 7
},
{
"words": [
{
"quad": {
"x2": 159,
"y3": 662,
"x3": 159,
"y4": 662,
"x1": 144,
"y1": 638,
"x4": 144,
"y2": 638
},
"is_key": 0,
"row_id": 539273,
"text": "3"
}
],
"category": "menu.cnt",
"group_id": 7
},
{
"words": [
{
"quad": {
"x2": 631,
"y3": 658,
"x3": 631,
"y4": 658,
"x1": 534,
"y1": 624,
"x4": 534,
"y2": 624
},
"is_key": 0,
"row_id": 539273,
"text": "60,000"
}
],
"category": "menu.price",
"group_id": 7
},
{
"words": [
{
"quad": {
"x2": 413,
"y3": 769,
"x3": 414,
"y4": 772,
"x1": 297,
"y1": 740,
"x4": 295,
"y2": 738
},
"is_key": 1,
"row_id": 539275,
"text": "Subtotal"
},
{
"quad": {
"x2": 634,
"y3": 763,
"x3": 632,
"y4": 765,
"x1": 517,
"y1": 734,
"x4": 517,
"y2": 728
},
"is_key": 0,
"row_id": 539275,
"text": "334,000"
}
],
"category": "sub_total.subtotal_price",
"group_id": 8
},
{
"words": [
{
"quad": {
"x2": 409,
"y3": 813,
"x3": 409,
"y4": 813,
"x1": 319,
"y1": 783,
"x4": 319,
"y2": 783
},
"is_key": 1,
"row_id": 539276,
"text": "Total"
},
{
"quad": {
"x2": 631,
"y3": 807,
"x3": 632,
"y4": 813,
"x1": 485,
"y1": 778,
"x4": 486,
"y2": 772
},
"is_key": 0,
"row_id": 539276,
"text": "334,000"
}
],
"category": "total.total_price",
"group_id": 9
},
{
"words": [
{
"quad": {
"x2": 411,
"y3": 849,
"x3": 410,
"y4": 854,
"x1": 312,
"y1": 819,
"x4": 310,
"y2": 818
},
"is_key": 1,
"row_id": 539277,
"text": "CASH"
},
{
"quad": {
"x2": 638,
"y3": 845,
"x3": 637,
"y4": 853,
"x1": 486,
"y1": 815,
"x4": 487,
"y2": 808
},
"is_key": 0,
"row_id": 539277,
"text": "350,000"
}
],
"category": "total.cashprice",
"group_id": 9
},
{
"words": [
{
"quad": {
"x2": 249,
"y3": 891,
"x3": 249,
"y4": 891,
"x1": 164,
"y1": 861,
"x4": 164,
"y2": 861
},
"is_key": 1,
"row_id": 539278,
"text": "Cash"
},
{
"quad": {
"x2": 413,
"y3": 889,
"x3": 414,
"y4": 892,
"x1": 259,
"y1": 858,
"x4": 256,
"y2": 856
},
"is_key": 1,
"row_id": 539278,
"text": "CHANGE"
},
{
"quad": {
"x2": 634,
"y3": 880,
"x3": 637,
"y4": 888,
"x1": 496,
"y1": 850,
"x4": 495,
"y2": 847
},
"is_key": 0,
"row_id": 539278,
"text": "-16,000"
}
],
"category": "total.changeprice",
"group_id": 9
},
{
"words": [
{
"quad": {
"x2": 338,
"y3": 924,
"x3": 339,
"y4": 924,
"x1": 260,
"y1": 894,
"x4": 260,
"y2": 893
},
"is_key": 1,
"row_id": 539279,
"text": "Total"
},
{
"quad": {
"x2": 409,
"y3": 922,
"x3": 412,
"y4": 923,
"x1": 345,
"y1": 893,
"x4": 344,
"y2": 893
},
"is_key": 1,
"row_id": 539279,
"text": "Item"
},
{
"quad": {
"x2": 638,
"y3": 909,
"x3": 638,
"y4": 909,
"x1": 621,
"y1": 884,
"x4": 621,
"y2": 884
},
"is_key": 0,
"row_id": 539279,
"text": "5"
}
],
"category": "total.menutype_cnt",
"group_id": 9
},
{
"words": [
{
"quad": {
"x2": 355,
"y3": 961,
"x3": 357,
"y4": 962,
"x1": 280,
"y1": 931,
"x4": 276,
"y2": 929
},
"is_key": 1,
"row_id": 539280,
"text": "Total"
},
{
"quad": {
"x2": 416,
"y3": 966,
"x3": 415,
"y4": 964,
"x1": 359,
"y1": 930,
"x4": 359,
"y2": 929
},
"is_key": 1,
"row_id": 539280,
"text": "Qty"
},
{
"quad": {
"x2": 639,
"y3": 953,
"x3": 640,
"y4": 952,
"x1": 603,
"y1": 920,
"x4": 601,
"y2": 920
},
"is_key": 0,
"row_id": 539280,
"text": "16"
}
],
"category": "total.menuqty_cnt",
"group_id": 9
}
],
"meta": {
"version": "v0.1",
"split": "train",
"image_id": 2,
"image_size": {
"width": 720,
"height": 1280
}
},
"roi": {
"x2": 715,
"y3": 1154,
"x3": 759,
"y4": 1160,
"x1": 26,
"y1": 72,
"x4": 3,
"y2": 72
},
"repeating_symbol": [
[
{
"quad": {
"x2": 631,
"y3": 358,
"x3": 632,
"y4": 375,
"x1": 85,
"y1": 353,
"x4": 89,
"y2": 341
},
"text": "--"
}
],
[
{
"quad": {
"x2": 638,
"y3": 698,
"x3": 638,
"y4": 705,
"x1": 410,
"y1": 694,
"x4": 411,
"y2": 684
},
"text": "--"
}
]
]
}