AnlaAnla преди 3 седмици
родител
ревизия
bca4a77cb2
променени са 3 файла, в които са добавени 969 реда и са изтрити 818 реда
  1. 1 0
      .idea/encodings.xml
  2. 966 816
      Test/test02.json
  3. 2 2
      app/api/cards.py

+ 1 - 0
.idea/encodings.xml

@@ -5,6 +5,7 @@
     <file url="file://$PROJECT_DIR$/Test/img_data_insert.py" charset="UTF-8" />
     <file url="file://$PROJECT_DIR$/Test/img_score_and_insert.py" charset="UTF-8" />
     <file url="file://$PROJECT_DIR$/Test/img_score_and_insert2.py" charset="UTF-8" />
+    <file url="file://$PROJECT_DIR$/Test/img_score_and_insert2_环光面.py" charset="UTF-8" />
     <file url="file://$PROJECT_DIR$/Test/test.json" charset="UTF-8" />
     <file url="file://$PROJECT_DIR$/Test/test01.py" charset="GBK" />
     <file url="file://$PROJECT_DIR$/app/api/cards.py" charset="UTF-8" />

+ 966 - 816
Test/test02.json

@@ -1,6 +1,7 @@
 {
+  "id": 223,
   "result": {
-    "imageWidth": 2911,
+    "imageWidth": 2912,
     "imageHeight": 3969,
     "center_result": {
       "box_result": {
@@ -10,24 +11,20 @@
               "label": "inner_box",
               "rect_box": [
                 {
-                  "id": 7643499,
-                  "x": 282,
-                  "y": 316
+                  "x": 295,
+                  "y": 341
                 },
                 {
-                  "id": 86775776,
-                  "x": 2593,
-                  "y": 316
+                  "x": 2618,
+                  "y": 341
                 },
                 {
-                  "id": 43987365,
-                  "x": 2593,
-                  "y": 3601
+                  "x": 2618,
+                  "y": 3626
                 },
                 {
-                  "id": 6783877,
-                  "x": 282,
-                  "y": 3601
+                  "x": 295,
+                  "y": 3626
                 }
               ]
             }
@@ -39,22 +36,18 @@
               "label": "outer_box",
               "rect_box": [
                 {
-                  "id": 64299128,
                   "x": 177,
                   "y": 198
                 },
                 {
-                  "id": 64213114,
-                  "x": 2748,
+                  "x": 2826,
                   "y": 198
                 },
                 {
-                  "id": 61811492,
-                  "x": 2748,
+                  "x": 2826,
                   "y": 3772
                 },
                 {
-                  "id": 94591339,
                   "x": 177,
                   "y": 3772
                 }
@@ -68,1399 +61,1556 @@
       "defects": [
         {
           "label": "wear",
-          "score": -0.1,
-          "width": 0.048412214012145995,
-          "height": 0.17347710411071776,
+          "score": -0.5,
+          "width": 0.09816,
+          "height": 0.7362,
           "points": [
             {
-              "id": 45777793,
-              "x": 2535,
-              "y": 3771
+              "x": 2283,
+              "y": 3770
             },
             {
-              "id": 9115392,
-              "x": 2534,
-              "y": 3772
+              "x": 2277,
+              "y": 3773
             },
             {
-              "id": 80641517,
-              "x": 2535,
+              "x": 2282,
               "y": 3773
             },
             {
-              "id": 47524961,
-              "x": 2541,
+              "x": 2283,
+              "y": 3774
+            },
+            {
+              "x": 2305,
+              "y": 3774
+            },
+            {
+              "x": 2307,
               "y": 3773
             },
             {
-              "id": 43271758,
-              "x": 2541,
-              "y": 3772
+              "x": 2301,
+              "y": 3770
             },
             {
-              "id": 44122638,
-              "x": 2535,
-              "y": 3771
+              "x": 2283,
+              "y": 3770
             }
           ],
           "min_rect": [
             [
-              2537.513427734375,
-              3772.419189453125
+              2292,
+              3772
             ],
             [
-              7.069156646728516,
-              1.972787857055664
+              4,
+              30
             ],
-            9.462322235107422
+            90
           ],
           "edit_type": "",
           "new_score": null,
-          "confidence": 0.7422198033646533,
-          "pixel_area": 10,
-          "actual_area": 0.006022115999999999,
+          "confidence": 0.7936105122641911,
+          "pixel_area": 95.5,
+          "actual_area": 0.05751120779999999,
           "defect_type": "edge",
-          "id": 29426694
+          "id": 42241102,
+          "type": "edge",
+          "defect_category": "edge"
         },
         {
           "label": "wear",
           "score": -0.1,
-          "width": 0.06173641555309296,
-          "height": 0.9319661874389648,
+          "width": 0.09415830990314485,
+          "height": 0.6139906708145142,
           "points": [
             {
-              "id": 41500941,
-              "x": 391,
-              "y": 3771
-            },
-            {
-              "id": 73509331,
-              "x": 390,
-              "y": 3772
-            },
-            {
-              "id": 24607873,
-              "x": 362,
-              "y": 3772
-            },
-            {
-              "id": 51435094,
-              "x": 362,
-              "y": 3773
+              "x": 2607,
+              "y": 3769
             },
             {
-              "id": 77203886,
-              "x": 376,
+              "x": 2603,
               "y": 3773
             },
             {
-              "id": 40296082,
-              "x": 377,
-              "y": 3774
-            },
-            {
-              "id": 75484161,
-              "x": 400,
-              "y": 3773
+              "x": 2628,
+              "y": 3772
             },
             {
-              "id": 19539136,
-              "x": 398,
-              "y": 3771
+              "x": 2627,
+              "y": 3769
             },
             {
-              "id": 67321210,
-              "x": 391,
-              "y": 3771
+              "x": 2607,
+              "y": 3769
             }
           ],
           "min_rect": [
             [
-              380.986328125,
-              3772.60400390625
+              2615.423095703125,
+              3770.5830078125
             ],
             [
-              2.5157463550567627,
-              37.97743225097656
+              3.8369319438934326,
+              25.019994735717773
             ],
-            88.02507019042969
+            87.70938873291016
           ],
           "edit_type": "",
           "new_score": null,
-          "confidence": 0.7986520086565326,
-          "pixel_area": 57.5,
-          "actual_area": 0.03462716699999999,
+          "confidence": 0.8546955084132256,
+          "pixel_area": 78,
+          "actual_area": 0.046972504799999995,
           "defect_type": "edge",
-          "id": 59875853
+          "id": 5998336,
+          "type": "edge",
+          "defect_category": "edge"
         },
         {
           "label": "wear",
-          "score": -0.1,
-          "width": 0.06392005396842956,
-          "height": 0.21915449415206908,
+          "score": -0.5,
+          "width": 0.09816,
+          "height": 1.30062,
           "points": [
             {
-              "id": 4686590,
-              "x": 2601,
-              "y": 3770
+              "x": 283,
+              "y": 3768
             },
             {
-              "id": 69478555,
-              "x": 2597,
+              "x": 279,
               "y": 3772
             },
             {
-              "id": 60174661,
-              "x": 2598,
-              "y": 3773
+              "x": 332,
+              "y": 3772
             },
             {
-              "id": 51418855,
-              "x": 2606,
-              "y": 3772
+              "x": 323,
+              "y": 3769
             },
             {
-              "id": 31126684,
-              "x": 2601,
-              "y": 3770
+              "x": 302,
+              "y": 3769
+            },
+            {
+              "x": 301,
+              "y": 3768
+            },
+            {
+              "x": 288,
+              "y": 3769
+            },
+            {
+              "x": 283,
+              "y": 3768
             }
           ],
           "min_rect": [
             [
-              2601.40771484375,
-              3771.26171875
+              305.5,
+              3770
             ],
             [
-              2.604729175567627,
-              8.930500984191895
+              4,
+              53
             ],
-            82.87498474121094
+            90
           ],
           "edit_type": "",
           "new_score": null,
-          "confidence": 0.7491739221981593,
-          "pixel_area": 13.5,
-          "actual_area": 0.008129856599999999,
+          "confidence": 0.7815926119242564,
+          "pixel_area": 151,
+          "actual_area": 0.0909339516,
           "defect_type": "edge",
-          "id": 32803340
+          "id": 72917550,
+          "type": "edge",
+          "defect_category": "edge"
         },
         {
           "label": "wear",
           "score": -0.1,
-          "width": 0.09816,
-          "height": 0.39264,
+          "width": 0.05356641650676727,
+          "height": 0.20236201921463012,
           "points": [
             {
-              "id": 89620821,
-              "x": 648,
-              "y": 3770
-            },
-            {
-              "id": 7373813,
-              "x": 643,
-              "y": 3773
-            },
-            {
-              "id": 62055024,
-              "x": 647,
-              "y": 3774
+              "x": 2716,
+              "y": 3714
             },
             {
-              "id": 53107370,
-              "x": 657,
-              "y": 3774
+              "x": 2716,
+              "y": 3717
             },
             {
-              "id": 75693776,
-              "x": 659,
-              "y": 3773
+              "x": 2714,
+              "y": 3722
             },
             {
-              "id": 73410123,
-              "x": 655,
-              "y": 3770
+              "x": 2717,
+              "y": 3719
             },
             {
-              "id": 60100859,
-              "x": 648,
-              "y": 3770
+              "x": 2716,
+              "y": 3714
             }
           ],
           "min_rect": [
             [
-              651,
-              3772
+              2716.05908203125,
+              3718.26513671875
             ],
             [
-              4,
-              16
+              2.1828205585479736,
+              8.246211051940918
             ],
-            90
+            14.03624439239502
           ],
           "edit_type": "",
           "new_score": null,
-          "confidence": 0.8632130511105061,
-          "pixel_area": 47.5,
-          "actual_area": 0.028605050999999996,
-          "defect_type": "edge",
-          "id": 60721579
+          "confidence": 0.7052098274230958,
+          "pixel_area": 6,
+          "actual_area": 0.0036132696,
+          "defect_type": "corner",
+          "id": 75266874,
+          "type": "corner",
+          "defect_category": "corner"
         },
         {
           "label": "wear",
-          "score": -1.5,
-          "width": 0.17066002970695496,
-          "height": 2.3412798596191404,
+          "score": -0.1,
+          "width": 0.13187824261665343,
+          "height": 0.2568155503463745,
           "points": [
             {
-              "id": 89423356,
-              "x": 250,
-              "y": 3763
-            },
-            {
-              "id": 58171573,
-              "x": 249,
-              "y": 3764
-            },
-            {
-              "id": 33939116,
-              "x": 265,
-              "y": 3766
-            },
-            {
-              "id": 24955935,
-              "x": 275,
-              "y": 3769
-            },
-            {
-              "id": 77748633,
-              "x": 281,
-              "y": 3769
-            },
-            {
-              "id": 11873125,
-              "x": 283,
-              "y": 3772
+              "x": 2731,
+              "y": 3686
             },
             {
-              "id": 54542021,
-              "x": 310,
-              "y": 3772
+              "x": 2728,
+              "y": 3688
             },
             {
-              "id": 90853676,
-              "x": 311,
-              "y": 3773
+              "x": 2726,
+              "y": 3692
             },
             {
-              "id": 98162820,
-              "x": 330,
-              "y": 3773
+              "x": 2727,
+              "y": 3696
             },
             {
-              "id": 27270665,
-              "x": 331,
-              "y": 3774
+              "x": 2731,
+              "y": 3695
             },
             {
-              "id": 35628902,
-              "x": 344,
-              "y": 3773
+              "x": 2731,
+              "y": 3689
             },
             {
-              "id": 7725625,
-              "x": 344,
-              "y": 3772
+              "x": 2732,
+              "y": 3688
             },
             {
-              "id": 37977410,
-              "x": 335,
-              "y": 3772
-            },
+              "x": 2731,
+              "y": 3686
+            }
+          ],
+          "min_rect": [
+            [
+              2728.859619140625,
+              3690.979736328125
+            ],
+            [
+              5.374011516571045,
+              10.465181350708008
+            ],
+            8.130102157592773
+          ],
+          "edit_type": "",
+          "new_score": null,
+          "confidence": 0.7256146631848793,
+          "pixel_area": 36.5,
+          "actual_area": 0.0219807234,
+          "defect_type": "corner",
+          "id": 31361299,
+          "type": "corner",
+          "defect_category": "corner"
+        },
+        {
+          "label": "wear",
+          "score": -0.1,
+          "width": 0.1227,
+          "height": 0.34356,
+          "points": [
             {
-              "id": 37726378,
-              "x": 334,
-              "y": 3771
+              "x": 178,
+              "y": 2883
             },
             {
-              "id": 42956558,
-              "x": 313,
-              "y": 3772
+              "x": 176,
+              "y": 2885
             },
             {
-              "id": 87092573,
-              "x": 301,
-              "y": 3769
+              "x": 176,
+              "y": 2895
             },
             {
-              "id": 18475939,
-              "x": 284,
-              "y": 3769
+              "x": 179,
+              "y": 2897
             },
             {
-              "id": 40543124,
-              "x": 283,
-              "y": 3765
+              "x": 181,
+              "y": 2893
             },
             {
-              "id": 92006869,
-              "x": 262,
-              "y": 3765
+              "x": 181,
+              "y": 2885
             },
             {
-              "id": 5375001,
-              "x": 261,
-              "y": 3764
+              "x": 180,
+              "y": 2883
             },
             {
-              "id": 86591043,
-              "x": 250,
-              "y": 3763
+              "x": 178,
+              "y": 2883
             }
           ],
           "min_rect": [
             [
-              296.32452392578125,
-              3770.029541015625
+              178.5,
+              2890
             ],
             [
-              95.40667724609376,
-              6.954361438751221
+              14,
+              5
             ],
-            6.546290874481201
+            90
           ],
           "edit_type": "",
           "new_score": null,
-          "confidence": 0.659250760160928,
-          "pixel_area": 204,
-          "actual_area": 0.1228511664,
-          "defect_type": "corner",
-          "id": 18625939
+          "confidence": 0.8965959332206033,
+          "pixel_area": 60,
+          "actual_area": 0.036132696,
+          "defect_type": "edge",
+          "id": 19906354,
+          "type": "edge",
+          "defect_category": "edge"
         },
         {
           "label": "wear",
           "score": -0.1,
-          "width": 0.05267819023132324,
-          "height": 0.2743655858230591,
+          "width": 0.10209257469177246,
+          "height": 0.11570492188453674,
           "points": [
             {
-              "id": 68494873,
-              "x": 234,
-              "y": 3755
-            },
-            {
-              "id": 45072967,
-              "x": 236,
-              "y": 3757
+              "x": 178,
+              "y": 2413
             },
             {
-              "id": 23799008,
-              "x": 241,
-              "y": 3757
+              "x": 176,
+              "y": 2416
             },
             {
-              "id": 62982778,
-              "x": 244,
-              "y": 3759
+              "x": 179,
+              "y": 2419
             },
             {
-              "id": 1938362,
-              "x": 245,
-              "y": 3757
+              "x": 180,
+              "y": 2414
             },
             {
-              "id": 99997448,
-              "x": 234,
-              "y": 3755
+              "x": 178,
+              "y": 2413
             }
           ],
           "min_rect": [
             [
-              239.3080291748047,
-              3757.055908203125
+              178.57687377929688,
+              2415.884521484375
             ],
             [
-              11.180341720581056,
-              2.146625518798828
+              4.160251617431641,
+              4.714951992034912
             ],
-            10.304845809936523
+            33.6900634765625
           ],
           "edit_type": "",
           "new_score": null,
-          "confidence": 0.6265373666371618,
+          "confidence": 0.7418312168121338,
           "pixel_area": 13,
           "actual_area": 0.0078287508,
-          "defect_type": "corner",
-          "id": 73465051
+          "defect_type": "edge",
+          "id": 87414441,
+          "type": "edge",
+          "defect_category": "edge"
         },
         {
           "label": "wear",
           "score": -0.1,
-          "width": 0.1167388036251068,
-          "height": 0.4888437292098999,
+          "width": 0.04908,
+          "height": 0.19632,
           "points": [
             {
-              "id": 4161790,
-              "x": 215,
-              "y": 3739
-            },
-            {
-              "id": 24228047,
-              "x": 220,
-              "y": 3745
-            },
-            {
-              "id": 38187662,
-              "x": 223,
-              "y": 3746
-            },
-            {
-              "id": 84630949,
-              "x": 224,
-              "y": 3749
-            },
-            {
-              "id": 4927475,
-              "x": 228,
-              "y": 3752
-            },
-            {
-              "id": 12811370,
-              "x": 231,
-              "y": 3751
-            },
-            {
-              "id": 46158463,
-              "x": 230,
-              "y": 3748
-            },
-            {
-              "id": 80413462,
-              "x": 222,
-              "y": 3744
+              "x": 179,
+              "y": 2375
             },
             {
-              "id": 51741240,
-              "x": 222,
-              "y": 3741
+              "x": 177,
+              "y": 2377
             },
             {
-              "id": 16804614,
-              "x": 220,
-              "y": 3739
+              "x": 179,
+              "y": 2383
             },
             {
-              "id": 5518334,
-              "x": 215,
-              "y": 3739
+              "x": 179,
+              "y": 2375
             }
           ],
           "min_rect": [
             [
-              223.0498504638672,
-              3744.9453125
+              178,
+              2379
             ],
             [
-              19.9202823638916,
-              4.757082462310791
+              8,
+              2
             ],
-            41.987213134765625
+            90
           ],
           "edit_type": "",
           "new_score": null,
-          "confidence": 0.7343958180397749,
-          "pixel_area": 58,
-          "actual_area": 0.0349282728,
-          "defect_type": "corner",
-          "id": 7743414
+          "confidence": 0.6481941279612089,
+          "pixel_area": 8,
+          "actual_area": 0.0048176928,
+          "defect_type": "edge",
+          "id": 43598626,
+          "type": "edge",
+          "defect_category": "edge"
         },
         {
           "label": "wear",
-          "score": -0.1,
-          "width": 0.11754174290657043,
-          "height": 0.4365835663604736,
+          "score": -3,
+          "width": 0.3314986626434326,
+          "height": 1.5057510118103028,
           "points": [
             {
-              "id": 64860895,
-              "x": 180,
-              "y": 3666
+              "x": 178,
+              "y": 2169
             },
             {
-              "id": 19724085,
-              "x": 178,
-              "y": 3671
+              "x": 176,
+              "y": 2171
             },
             {
-              "id": 76292536,
-              "x": 179,
-              "y": 3672
+              "x": 177,
+              "y": 2180
             },
             {
-              "id": 22076817,
-              "x": 180,
-              "y": 3684
+              "x": 175,
+              "y": 2185
             },
             {
-              "id": 71795508,
-              "x": 183,
-              "y": 3679
+              "x": 175,
+              "y": 2191
             },
             {
-              "id": 57764572,
-              "x": 183,
-              "y": 3672
+              "x": 176,
+              "y": 2192
             },
             {
-              "id": 81694514,
-              "x": 180,
-              "y": 3666
-            }
-          ],
-          "min_rect": [
-            [
-              181.01446533203125,
-              3674.84375
-            ],
-            [
-              17.790691375732422,
-              4.789802074432373
-            ],
-            81.25383758544922
-          ],
-          "edit_type": "",
-          "new_score": null,
-          "confidence": 0.7843194083733992,
-          "pixel_area": 50,
-          "actual_area": 0.03011058,
-          "defect_type": "corner",
-          "id": 83156109
-        },
-        {
-          "label": "wear",
-          "score": -0.5,
-          "width": 0.16944274904251097,
-          "height": 0.8996602674865722,
-          "points": [
+              "x": 176,
+              "y": 2198
+            },
             {
-              "id": 44506557,
-              "x": 2735,
-              "y": 3656
+              "x": 174,
+              "y": 2204
             },
             {
-              "id": 30289872,
-              "x": 2734,
-              "y": 3662
+              "x": 175,
+              "y": 2205
             },
             {
-              "id": 89795360,
-              "x": 2731,
-              "y": 3664
+              "x": 175,
+              "y": 2213
             },
             {
-              "id": 5973909,
-              "x": 2731,
-              "y": 3677
+              "x": 178,
+              "y": 2226
             },
             {
-              "id": 54357699,
-              "x": 2730,
-              "y": 3681
+              "x": 180,
+              "y": 2226
             },
             {
-              "id": 41602172,
-              "x": 2728,
-              "y": 3682
+              "x": 183,
+              "y": 2230
             },
             {
-              "id": 24796305,
-              "x": 2728,
-              "y": 3692
+              "x": 187,
+              "y": 2230
             },
             {
-              "id": 93390618,
-              "x": 2728,
-              "y": 3690
+              "x": 188,
+              "y": 2228
             },
             {
-              "id": 62274225,
-              "x": 2729,
-              "y": 3689
+              "x": 188,
+              "y": 2223
             },
             {
-              "id": 17538249,
-              "x": 2730,
-              "y": 3691
+              "x": 187,
+              "y": 2222
             },
             {
-              "id": 98749639,
-              "x": 2733,
-              "y": 3683
+              "x": 187,
+              "y": 2215
             },
             {
-              "id": 55024260,
-              "x": 2735,
-              "y": 3682
+              "x": 188,
+              "y": 2214
             },
             {
-              "id": 45324861,
-              "x": 2735,
-              "y": 3675
+              "x": 187,
+              "y": 2193
             },
             {
-              "id": 86605058,
-              "x": 2736,
-              "y": 3674
+              "x": 180,
+              "y": 2183
             },
             {
-              "id": 70249052,
-              "x": 2736,
-              "y": 3657
+              "x": 180,
+              "y": 2171
             },
             {
-              "id": 65947528,
-              "x": 2735,
-              "y": 3656
+              "x": 178,
+              "y": 2169
             }
           ],
           "min_rect": [
             [
-              2732.797119140625,
-              3674.21630859375
+              180.55206298828125,
+              2199.593017578125
             ],
             [
-              6.904757499694824,
-              36.66097259521485
+              61.35904693603515,
+              13.508502960205078
             ],
-            9.462321281433104
+            87.27368927001953
           ],
           "edit_type": "",
           "new_score": null,
-          "confidence": 0.6843208996244791,
-          "pixel_area": 133.5,
-          "actual_area": 0.0803952486,
-          "defect_type": "corner",
-          "id": 35631105
+          "confidence": 0.8805066567442992,
+          "pixel_area": 540.5,
+          "actual_area": 0.3254953698,
+          "defect_type": "edge",
+          "id": 16645914,
+          "type": "edge",
+          "defect_category": "edge"
         },
         {
           "label": "wear",
           "score": -0.1,
-          "width": 0.09816,
-          "height": 0.26994,
+          "width": 0.1561715849304199,
+          "height": 0.15617160833358765,
           "points": [
             {
-              "id": 53404111,
-              "x": 2736,
-              "y": 3639
+              "x": 179,
+              "y": 1984
             },
             {
-              "id": 83419983,
-              "x": 2734,
-              "y": 3642
+              "x": 176,
+              "y": 1985
             },
             {
-              "id": 3627225,
-              "x": 2735,
-              "y": 3650
+              "x": 174,
+              "y": 1988
             },
             {
-              "id": 26061516,
-              "x": 2738,
-              "y": 3649
+              "x": 178,
+              "y": 1992
             },
             {
-              "id": 54734216,
-              "x": 2738,
-              "y": 3641
+              "x": 180,
+              "y": 1990
             },
             {
-              "id": 97743792,
-              "x": 2736,
-              "y": 3639
+              "x": 179,
+              "y": 1984
             }
           ],
           "min_rect": [
             [
-              2736,
-              3644.5
+              178.0000762939453,
+              1987.500244140625
             ],
             [
-              4,
-              11
+              6.363961219787598,
+              6.363960266113281
             ],
-            0
+            45
           ],
           "edit_type": "",
           "new_score": null,
-          "confidence": 0.7123329573844233,
-          "pixel_area": 33.5,
-          "actual_area": 0.020174088599999997,
+          "confidence": 0.8239076605864933,
+          "pixel_area": 28.5,
+          "actual_area": 0.017163030599999997,
           "defect_type": "edge",
-          "id": 62007192
+          "id": 74884262,
+          "type": "edge",
+          "defect_category": "edge"
         },
         {
           "label": "wear",
           "score": -0.1,
-          "width": 0.07361999999999999,
-          "height": 0.07361999999999999,
+          "width": 0.17178,
+          "height": 0.34356,
           "points": [
             {
-              "id": 66991104,
-              "x": 2731,
-              "y": 2251
+              "x": 2739,
+              "y": 1849
             },
             {
-              "id": 46891369,
-              "x": 2731,
-              "y": 2254
+              "x": 2732,
+              "y": 1856
             },
             {
-              "id": 70431786,
               "x": 2734,
-              "y": 2252
+              "y": 1861
             },
             {
-              "id": 38561891,
-              "x": 2734,
-              "y": 2251
+              "x": 2738,
+              "y": 1863
             },
             {
-              "id": 52667493,
-              "x": 2731,
-              "y": 2251
+              "x": 2739,
+              "y": 1863
+            },
+            {
+              "x": 2739,
+              "y": 1849
             }
           ],
           "min_rect": [
             [
-              2732.5,
-              2252.5
+              2735.5,
+              1856
             ],
             [
-              3,
-              3
+              14,
+              7
             ],
             90
           ],
           "edit_type": "",
           "new_score": null,
-          "confidence": 0.6847047805786133,
-          "pixel_area": 6,
-          "actual_area": 0.0036132696,
+          "confidence": 0.710375049908956,
+          "pixel_area": 60.5,
+          "actual_area": 0.0364338018,
           "defect_type": "edge",
-          "id": 63103902
+          "id": 59588202,
+          "type": "edge",
+          "defect_category": "edge"
         },
         {
           "label": "wear",
-          "score": -0.1,
-          "width": 0.10539035016059876,
-          "height": 0.640920368270874,
+          "score": -0.5,
+          "width": 0.09741910251617432,
+          "height": 0.8823787131500244,
           "points": [
             {
-              "id": 5788829,
-              "x": 2735,
-              "y": 298
+              "x": 179,
+              "y": 1446
             },
             {
-              "id": 14742173,
-              "x": 2733,
-              "y": 300
+              "x": 177,
+              "y": 1448
             },
             {
-              "id": 48225802,
-              "x": 2734,
-              "y": 301
+              "x": 177,
+              "y": 1471
             },
             {
-              "id": 43505779,
-              "x": 2734,
-              "y": 303
+              "x": 176,
+              "y": 1472
             },
             {
-              "id": 78735761,
-              "x": 2735,
-              "y": 304
+              "x": 176,
+              "y": 1480
             },
             {
-              "id": 60625317,
-              "x": 2735,
-              "y": 310
+              "x": 178,
+              "y": 1482
             },
             {
-              "id": 29459264,
-              "x": 2734,
-              "y": 311
+              "x": 180,
+              "y": 1481
             },
             {
-              "id": 55991503,
-              "x": 2734,
-              "y": 320
+              "x": 179,
+              "y": 1446
+            }
+          ],
+          "min_rect": [
+            [
+              177.52935791015625,
+              1464.0277099609375
+            ],
+            [
+              35.95675277709961,
+              3.969808578491211
+            ],
+            88.36341857910156
+          ],
+          "edit_type": "",
+          "new_score": null,
+          "confidence": 0.8088895041834224,
+          "pixel_area": 96,
+          "actual_area": 0.0578123136,
+          "defect_type": "edge",
+          "id": 63498099,
+          "type": "edge",
+          "defect_category": "edge"
+        },
+        {
+          "label": "wear",
+          "score": -0.1,
+          "width": 0.07361999999999999,
+          "height": 0.4908,
+          "points": [
+            {
+              "x": 2736,
+              "y": 319
             },
             {
-              "id": 65480487,
               "x": 2735,
-              "y": 324
+              "y": 321
             },
             {
-              "id": 80624349,
-              "x": 2737,
-              "y": 323
+              "x": 2735,
+              "y": 337
             },
             {
-              "id": 95749143,
-              "x": 2738,
-              "y": 324
+              "x": 2736,
+              "y": 339
             },
             {
-              "id": 75425054,
               "x": 2738,
-              "y": 314
+              "y": 335
             },
             {
-              "id": 73760223,
-              "x": 2737,
-              "y": 315
+              "x": 2738,
+              "y": 322
             },
             {
-              "id": 45738745,
               "x": 2736,
-              "y": 314
+              "y": 319
+            }
+          ],
+          "min_rect": [
+            [
+              2736.5,
+              329
+            ],
+            [
+              3,
+              20
+            ],
+            0
+          ],
+          "edit_type": "",
+          "new_score": null,
+          "confidence": 0.7252780680145536,
+          "pixel_area": 51,
+          "actual_area": 0.030712791599999997,
+          "defect_type": "edge",
+          "id": 34642314,
+          "type": "edge",
+          "defect_category": "edge"
+        },
+        {
+          "label": "wear",
+          "score": -0.1,
+          "width": 0.09312274898529052,
+          "height": 0.31040917888641356,
+          "points": [
+            {
+              "x": 188,
+              "y": 267
             },
             {
-              "id": 4003107,
-              "x": 2735,
-              "y": 298
+              "x": 188,
+              "y": 271
+            },
+            {
+              "x": 185,
+              "y": 276
+            },
+            {
+              "x": 187,
+              "y": 280
+            },
+            {
+              "x": 189,
+              "y": 276
+            },
+            {
+              "x": 189,
+              "y": 269
+            },
+            {
+              "x": 190,
+              "y": 268
+            },
+            {
+              "x": 188,
+              "y": 267
             }
           ],
           "min_rect": [
             [
-              2735.7021484375,
-              311.0398864746094
+              187.8000030517578,
+              273.6000061035156
             ],
             [
-              26.117374420166016,
-              4.29463529586792
+              3.794733047485352,
+              12.649110794067385
             ],
-            87.1375961303711
+            18.434947967529297
           ],
           "edit_type": "",
           "new_score": null,
-          "confidence": 0.685155169853431,
-          "pixel_area": 53,
-          "actual_area": 0.031917214799999996,
+          "confidence": 0.7795960903167725,
+          "pixel_area": 25,
+          "actual_area": 0.01505529,
           "defect_type": "corner",
-          "id": 58505665
+          "id": 11255328,
+          "type": "corner",
+          "defect_category": "corner"
         },
         {
           "label": "wear",
           "score": -0.1,
-          "width": 0.11363152994155884,
-          "height": 0.14309155448913574,
+          "width": 0.072618321018219,
+          "height": 0.29450763914108274,
           "points": [
             {
-              "id": 91431460,
-              "x": 2711,
-              "y": 249
+              "x": 196,
+              "y": 254
             },
             {
-              "id": 23664531,
-              "x": 2710,
-              "y": 252
+              "x": 196,
+              "y": 257
             },
             {
-              "id": 68527197,
-              "x": 2712,
-              "y": 255
+              "x": 193,
+              "y": 260
             },
             {
-              "id": 81499004,
-              "x": 2713,
-              "y": 254
+              "x": 193,
+              "y": 264
             },
             {
-              "id": 69590287,
-              "x": 2714,
-              "y": 255
+              "x": 195,
+              "y": 266
             },
             {
-              "id": 47452298,
-              "x": 2716,
-              "y": 252
+              "x": 195,
+              "y": 261
             },
             {
-              "id": 60727841,
-              "x": 2711,
-              "y": 249
+              "x": 196,
+              "y": 260
+            },
+            {
+              "x": 196,
+              "y": 254
             }
           ],
           "min_rect": [
             [
-              2712.308837890625,
-              252.48529052734375
+              194.52703857421875,
+              259.83782958984375
             ],
             [
-              5.830951690673828,
-              4.630461692810059
+              2.959181785583496,
+              12.001126289367676
             ],
-            30.963754653930664
+            9.462322235107422
           ],
           "edit_type": "",
           "new_score": null,
-          "confidence": 0.7991885807400658,
-          "pixel_area": 20,
-          "actual_area": 0.012044231999999998,
+          "confidence": 0.6876408606767654,
+          "pixel_area": 15,
+          "actual_area": 0.009033174,
           "defect_type": "corner",
-          "id": 53381986
+          "id": 73733745,
+          "type": "corner",
+          "defect_category": "corner"
         },
         {
           "label": "wear",
           "score": -0.1,
-          "width": 0.12647264914512635,
-          "height": 0.26061030378341676,
+          "width": 0.04908,
+          "height": 0.22086,
           "points": [
             {
-              "id": 92863967,
-              "x": 2687,
-              "y": 224
+              "x": 2016,
+              "y": 201
+            },
+            {
+              "x": 2014,
+              "y": 203
+            },
+            {
+              "x": 2023,
+              "y": 203
             },
             {
-              "id": 65505430,
-              "x": 2686,
-              "y": 227
+              "x": 2022,
+              "y": 201
             },
             {
-              "id": 43219283,
-              "x": 2688,
-              "y": 229
+              "x": 2016,
+              "y": 201
+            }
+          ],
+          "min_rect": [
+            [
+              2018.5,
+              202
+            ],
+            [
+              2,
+              9
+            ],
+            90
+          ],
+          "edit_type": "",
+          "new_score": null,
+          "confidence": 0.6145813671442178,
+          "pixel_area": 15,
+          "actual_area": 0.009033174,
+          "defect_type": "edge",
+          "id": 29335193,
+          "type": "edge",
+          "defect_category": "edge"
+        },
+        {
+          "label": "wear",
+          "score": -0.1,
+          "width": 0.07719544235229492,
+          "height": 0.8347207832336425,
+          "points": [
+            {
+              "x": 2604,
+              "y": 200
             },
             {
-              "id": 19406312,
-              "x": 2691,
-              "y": 231
+              "x": 2600,
+              "y": 201
             },
             {
-              "id": 11808511,
-              "x": 2695,
-              "y": 231
+              "x": 2599,
+              "y": 203
             },
             {
-              "id": 40965076,
-              "x": 2695,
-              "y": 228
+              "x": 2633,
+              "y": 204
             },
             {
-              "id": 92831272,
-              "x": 2692,
-              "y": 227
+              "x": 2631,
+              "y": 201
             },
             {
-              "id": 71330061,
-              "x": 2690,
-              "y": 224
+              "x": 2611,
+              "y": 201
             },
             {
-              "id": 14270127,
-              "x": 2688,
-              "y": 225
+              "x": 2609,
+              "y": 202
             },
             {
-              "id": 3478452,
-              "x": 2687,
-              "y": 224
+              "x": 2604,
+              "y": 200
             }
           ],
           "min_rect": [
             [
-              2690.70751953125,
-              227.8657684326172
+              2616.046142578125,
+              201.9278259277344
             ],
             [
-              10.619816780090332,
-              5.1537346839904785
+              34.01470184326172,
+              3.1456985473632812
             ],
-            38.65980529785156
+            1.6846843957901
           ],
           "edit_type": "",
           "new_score": null,
-          "confidence": 0.7794674597969351,
-          "pixel_area": 37.5,
-          "actual_area": 0.022582935,
-          "defect_type": "corner",
-          "id": 54050857
+          "confidence": 0.7629559071332801,
+          "pixel_area": 82,
+          "actual_area": 0.04938135119999999,
+          "defect_type": "edge",
+          "id": 15305313,
+          "type": "edge",
+          "defect_category": "edge"
         },
         {
           "label": "wear",
-          "score": -0.5,
-          "width": 0.21417729566574095,
-          "height": 1.2167093463134766,
+          "score": -0.1,
+          "width": 0.07361999999999999,
+          "height": 0.3681,
           "points": [
             {
-              "id": 17329076,
-              "x": 2637,
+              "x": 2043,
+              "y": 200
+            },
+            {
+              "x": 2038,
               "y": 203
             },
             {
-              "id": 4858468,
-              "x": 2635,
-              "y": 204
+              "x": 2053,
+              "y": 203
             },
             {
-              "id": 44639212,
-              "x": 2642,
-              "y": 207
+              "x": 2051,
+              "y": 200
             },
             {
-              "id": 71100658,
-              "x": 2648,
-              "y": 207
+              "x": 2043,
+              "y": 200
+            }
+          ],
+          "min_rect": [
+            [
+              2045.5,
+              201.5
+            ],
+            [
+              3,
+              15
+            ],
+            90
+          ],
+          "edit_type": "",
+          "new_score": null,
+          "confidence": 0.7640416959546646,
+          "pixel_area": 34.5,
+          "actual_area": 0.020776300199999997,
+          "defect_type": "edge",
+          "id": 38158272,
+          "type": "edge",
+          "defect_category": "edge"
+        },
+        {
+          "label": "wear",
+          "score": -0.1,
+          "width": 0.0962538002872467,
+          "height": 0.16844414757728576,
+          "points": [
+            {
+              "x": 1937,
+              "y": 200
             },
             {
-              "id": 35783987,
-              "x": 2649,
-              "y": 206
+              "x": 1935,
+              "y": 203
             },
             {
-              "id": 38454373,
-              "x": 2655,
-              "y": 207
+              "x": 1937,
+              "y": 204
             },
             {
-              "id": 64581585,
-              "x": 2658,
-              "y": 209
+              "x": 1942,
+              "y": 203
             },
             {
-              "id": 28849511,
-              "x": 2658,
-              "y": 211
+              "x": 1940,
+              "y": 200
             },
             {
-              "id": 96131920,
-              "x": 2664,
-              "y": 211
+              "x": 1937,
+              "y": 200
+            }
+          ],
+          "min_rect": [
+            [
+              1938.250244140625,
+              201.75003051757812
+            ],
+            [
+              3.9223227500915527,
+              6.864064693450928
+            ],
+            78.69007110595703
+          ],
+          "edit_type": "",
+          "new_score": null,
+          "confidence": 0.7883158465226491,
+          "pixel_area": 18.5,
+          "actual_area": 0.0111409146,
+          "defect_type": "edge",
+          "id": 58803819,
+          "type": "edge",
+          "defect_category": "edge"
+        },
+        {
+          "label": "wear",
+          "score": -0.5,
+          "width": 0.09816,
+          "height": 0.68712,
+          "points": [
+            {
+              "x": 1805,
+              "y": 199
             },
             {
-              "id": 36916978,
-              "x": 2665,
-              "y": 212
+              "x": 1801,
+              "y": 203
             },
             {
-              "id": 49927850,
-              "x": 2668,
-              "y": 213
+              "x": 1829,
+              "y": 203
             },
             {
-              "id": 29770851,
-              "x": 2671,
-              "y": 216
+              "x": 1827,
+              "y": 200
             },
             {
-              "id": 67562808,
-              "x": 2672,
-              "y": 219
+              "x": 1824,
+              "y": 199
             },
             {
-              "id": 90223502,
-              "x": 2678,
-              "y": 219
+              "x": 1819,
+              "y": 200
             },
             {
-              "id": 84768652,
-              "x": 2679,
-              "y": 220
+              "x": 1805,
+              "y": 199
+            }
+          ],
+          "min_rect": [
+            [
+              1815,
+              201
+            ],
+            [
+              4,
+              28
+            ],
+            90
+          ],
+          "edit_type": "",
+          "new_score": null,
+          "confidence": 0.7873148742269298,
+          "pixel_area": 88,
+          "actual_area": 0.0529946208,
+          "defect_type": "edge",
+          "id": 46357503,
+          "type": "edge",
+          "defect_category": "edge"
+        },
+        {
+          "label": "wear",
+          "score": -1.5,
+          "width": 0.14723999999999998,
+          "height": 1.17792,
+          "points": [
+            {
+              "x": 1759,
+              "y": 199
+            },
+            {
+              "x": 1758,
+              "y": 200
+            },
+            {
+              "x": 1752,
+              "y": 200
+            },
+            {
+              "x": 1751,
+              "y": 203
             },
             {
-              "id": 99137105,
-              "x": 2682,
-              "y": 220
+              "x": 1752,
+              "y": 204
             },
             {
-              "id": 26288641,
-              "x": 2679,
-              "y": 218
+              "x": 1766,
+              "y": 204
             },
             {
-              "id": 93791150,
-              "x": 2676,
-              "y": 218
+              "x": 1767,
+              "y": 205
             },
             {
-              "id": 82260056,
-              "x": 2674,
-              "y": 212
+              "x": 1776,
+              "y": 205
             },
             {
-              "id": 25003558,
-              "x": 2660,
-              "y": 210
+              "x": 1783,
+              "y": 203
             },
             {
-              "id": 71158462,
-              "x": 2658,
+              "x": 1785,
               "y": 204
             },
             {
-              "id": 81395936,
-              "x": 2637,
+              "x": 1799,
               "y": 203
+            },
+            {
+              "x": 1795,
+              "y": 199
+            },
+            {
+              "x": 1759,
+              "y": 199
             }
           ],
           "min_rect": [
             [
-              2659.56884765625,
-              209.32752990722656
+              1775,
+              202
             ],
             [
-              49.580657958984375,
-              8.727681159973145
+              6,
+              48
             ],
-            21.801410675048828
+            90
           ],
           "edit_type": "",
           "new_score": null,
-          "confidence": 0.6768182978929352,
-          "pixel_area": 130,
-          "actual_area": 0.07828750799999999,
-          "defect_type": "corner",
-          "id": 40619019
+          "confidence": 0.8750563656984691,
+          "pixel_area": 224,
+          "actual_area": 0.13489539839999998,
+          "defect_type": "edge",
+          "id": 29584082,
+          "type": "edge",
+          "defect_category": "edge"
         },
         {
           "label": "wear",
           "score": -0.1,
-          "width": 0.02454,
-          "height": 0.17178,
+          "width": 0.1044221143054962,
+          "height": 0.2710531482696533,
           "points": [
             {
-              "id": 11629280,
-              "x": 1664,
-              "y": 202
+              "x": 1423,
+              "y": 199
             },
             {
-              "id": 59344264,
-              "x": 1664,
+              "x": 1420,
               "y": 203
             },
             {
-              "id": 30693036,
-              "x": 1671,
-              "y": 203
+              "x": 1431,
+              "y": 204
             },
             {
-              "id": 61128863,
-              "x": 1671,
-              "y": 202
+              "x": 1431,
+              "y": 200
             },
             {
-              "id": 10031333,
-              "x": 1664,
-              "y": 202
+              "x": 1423,
+              "y": 199
             }
           ],
           "min_rect": [
             [
-              1667.5,
-              202.5
+              1425.6927490234375,
+              201.3811492919922
             ],
             [
-              1,
-              7
+              11.045360565185549,
+              4.2551798820495605
             ],
-            90
+            5.19442892074585
           ],
           "edit_type": "",
           "new_score": null,
-          "confidence": 0.6073874272406101,
-          "pixel_area": 7,
-          "actual_area": 0.004215481199999999,
+          "confidence": 0.6881893774042307,
+          "pixel_area": 39.5,
+          "actual_area": 0.023787358199999997,
           "defect_type": "edge",
-          "id": 3988032
+          "id": 29457842,
+          "type": "edge",
+          "defect_category": "edge"
         },
         {
           "label": "wear",
-          "score": -0.1,
-          "width": 0.07361999999999999,
-          "height": 0.19632,
+          "score": -1.5,
+          "width": 0.19632,
+          "height": 0.90798,
           "points": [
             {
-              "id": 77668452,
-              "x": 2607,
-              "y": 200
+              "x": 1027,
+              "y": 199
             },
             {
-              "id": 91406854,
-              "x": 2602,
-              "y": 201
+              "x": 1024,
+              "y": 200
             },
             {
-              "id": 15196490,
-              "x": 2600,
+              "x": 1022,
               "y": 203
             },
             {
-              "id": 7895692,
-              "x": 2608,
+              "x": 1032,
+              "y": 207
+            },
+            {
+              "x": 1051,
+              "y": 207
+            },
+            {
+              "x": 1059,
               "y": 203
             },
             {
-              "id": 36476958,
-              "x": 2607,
-              "y": 200
+              "x": 1059,
+              "y": 201
+            },
+            {
+              "x": 1056,
+              "y": 199
+            },
+            {
+              "x": 1027,
+              "y": 199
             }
           ],
           "min_rect": [
             [
-              2604,
-              201.5
+              1040.5,
+              203
             ],
             [
               8,
-              3
+              37
             ],
-            0
+            90
           ],
           "edit_type": "",
           "new_score": null,
-          "confidence": 0.680542697367214,
-          "pixel_area": 16,
-          "actual_area": 0.0096353856,
+          "confidence": 0.9193145317128962,
+          "pixel_area": 250.5,
+          "actual_area": 0.1508540058,
           "defect_type": "edge",
-          "id": 4979950
+          "id": 52576251,
+          "type": "edge",
+          "defect_category": "edge"
         },
         {
           "label": "wear",
           "score": -0.1,
-          "width": 0.07361999999999999,
-          "height": 0.39264,
+          "width": 0.09816,
+          "height": 0.34356,
           "points": [
             {
-              "id": 17305929,
-              "x": 644,
-              "y": 200
+              "x": 994,
+              "y": 199
             },
             {
-              "id": 21942265,
-              "x": 640,
+              "x": 992,
               "y": 203
             },
             {
-              "id": 5969483,
-              "x": 656,
+              "x": 1006,
               "y": 203
             },
             {
-              "id": 79658725,
-              "x": 655,
-              "y": 200
+              "x": 1004,
+              "y": 199
             },
             {
-              "id": 82711639,
-              "x": 644,
-              "y": 200
+              "x": 994,
+              "y": 199
             }
           ],
           "min_rect": [
             [
-              648,
-              201.5
+              999,
+              201
             ],
             [
-              3,
-              16
+              4,
+              14
             ],
             90
           ],
           "edit_type": "",
           "new_score": null,
-          "confidence": 0.7438473373651504,
-          "pixel_area": 40.5,
-          "actual_area": 0.024389569799999997,
+          "confidence": 0.7186327879108599,
+          "pixel_area": 48,
+          "actual_area": 0.0289061568,
           "defect_type": "edge",
-          "id": 20977324
+          "id": 64839930,
+          "type": "edge",
+          "defect_category": "edge"
         },
         {
           "label": "wear",
           "score": -0.5,
-          "width": 0.123470443983078,
-          "height": 1.2751947049713137,
+          "width": 0.09816,
+          "height": 0.71166,
           "points": [
             {
-              "id": 28618651,
-              "x": 300,
+              "x": 297,
               "y": 199
             },
             {
-              "id": 69180582,
-              "x": 299,
+              "x": 296,
               "y": 200
             },
             {
-              "id": 73570631,
-              "x": 281,
-              "y": 201
+              "x": 291,
+              "y": 200
             },
             {
-              "id": 89600288,
-              "x": 265,
-              "y": 204
+              "x": 288,
+              "y": 203
             },
             {
-              "id": 56357863,
-              "x": 268,
-              "y": 206
+              "x": 317,
+              "y": 203
             },
             {
-              "id": 38069373,
-              "x": 272,
-              "y": 204
+              "x": 317,
+              "y": 201
             },
             {
-              "id": 14616459,
-              "x": 281,
-              "y": 204
+              "x": 315,
+              "y": 199
             },
             {
-              "id": 29535766,
-              "x": 282,
-              "y": 203
+              "x": 297,
+              "y": 199
+            }
+          ],
+          "min_rect": [
+            [
+              302.5,
+              201
+            ],
+            [
+              4,
+              29
+            ],
+            90
+          ],
+          "edit_type": "",
+          "new_score": null,
+          "confidence": 0.74276666162592,
+          "pixel_area": 101,
+          "actual_area": 0.060823371599999995,
+          "defect_type": "edge",
+          "id": 95268522,
+          "type": "edge",
+          "defect_category": "edge"
+        },
+        {
+          "label": "wear_and_stain",
+          "score": -0.1,
+          "width": 0.1227,
+          "height": 0.31901999999999997,
+          "points": [
+            {
+              "x": 2739,
+              "y": 1848
             },
             {
-              "id": 47722583,
-              "x": 317,
-              "y": 203
+              "x": 2735,
+              "y": 1851
             },
             {
-              "id": 66550174,
-              "x": 315,
-              "y": 199
+              "x": 2734,
+              "y": 1854
             },
             {
-              "id": 99906068,
-              "x": 311,
-              "y": 200
+              "x": 2734,
+              "y": 1859
             },
             {
-              "id": 98455053,
-              "x": 300,
-              "y": 199
+              "x": 2738,
+              "y": 1861
+            },
+            {
+              "x": 2739,
+              "y": 1861
+            },
+            {
+              "x": 2739,
+              "y": 1848
             }
           ],
           "min_rect": [
             [
-              290.9128723144531,
-              202.0767822265625
+              2736.5,
+              1854.5
             ],
             [
-              5.031395435333252,
-              51.963924407958984
+              13,
+              5
             ],
-            86.49646759033203
+            90
           ],
           "edit_type": "",
           "new_score": null,
-          "confidence": 0.7733687790491248,
-          "pixel_area": 136.5,
-          "actual_area": 0.0822018834,
-          "defect_type": "corner",
-          "id": 72839670
+          "confidence": 0.6205398589372635,
+          "pixel_area": 50.5,
+          "actual_area": 0.0304116858,
+          "defect_type": "edge",
+          "id": 53129187,
+          "type": "edge",
+          "defect_category": "edge"
+        },
+        {
+          "id": "a72e0ca4-9953-4a17-aa47-7dd1ef8c5fdc",
+          "label": "New Region",
+          "points": [
+            {
+              "x": 528,
+              "y": 514
+            },
+            {
+              "x": 394,
+              "y": 707
+            },
+            {
+              "x": 394,
+              "y": 707
+            },
+            {
+              "x": 528,
+              "y": 841
+            },
+            {
+              "x": 528,
+              "y": 841
+            },
+            {
+              "x": 714,
+              "y": 578
+            },
+            {
+              "x": 714,
+              "y": 578
+            },
+            {
+              "x": 516,
+              "y": 514
+            }
+          ],
+          "type": "damaged",
+          "defect_type": "damaged",
+          "defect_category": "face",
+          "score": 0,
+          "edit_type": "add"
         }
       ]
     }
   }
-}
+}

+ 2 - 2
app/api/cards.py

@@ -173,7 +173,7 @@ def card_list_filter(
         sort_by: SortBy = Query(SortBy.updated_at),
         sort_order: SortOrder = Query(SortOrder.desc),
         skip: int = Query(0, ge=0),
-        page_num: int = Query(None, ge=0),
+        page_num: int = Query(None, ge=1),
         limit: int = Query(100, ge=1, le=1000),
         db_conn: PooledMySQLConnection = db_dependency
 ):
@@ -182,7 +182,7 @@ def card_list_filter(
     结构: { "data": { "total": 100, "list": [...] } }
     """
     if page_num is not None:
-        skip = page_num * limit
+        skip = (page_num-1) * limit
 
     try:
         result = crud_card.get_card_list_and_count(