{
  "$schema": "https://get.aiware.com/schemas/v2.0/aion/schema.json",
  "$id": "https://get.aiware.com/schemas/v2.0/aion/examples/cc-text_ocr.json",
  "$comment": "Text read from an image. This example demonstrates the output of OCR on a low-resolution news video.",
  "validationContracts": [
    "text"
  ],
  "series": [
    {
      "startTimeMs": 0,
      "stopTimeMs": 1000,
      "object": {
        "label": "abc",
        "type": "ocr",
        "text": "abc",
        "boundingPoly": [
          {
            "x": 0.8859375,
            "y": 0.8694444444444445
          },
          {
            "x": 0.95,
            "y": 0.8694444444444445
          },
          {
            "x": 0.95,
            "y": 0.9166666666666666
          },
          {
            "x": 0.8859375,
            "y": 0.9166666666666666
          }
        ]
      }
    },
    {
      "startTimeMs": 22000,
      "stopTimeMs": 23000,
      "object": {
        "label": "HSIDE TO PATIE",
        "type": "ocr",
        "text": "HSIDE TO PATIE",
        "boundingPoly": [
          {
            "x": 0.026875,
            "y": 0.7019444444444444
          },
          {
            "x": 0.054140625,
            "y": 0.7019444444444444
          },
          {
            "x": 0.054140625,
            "y": 0.9984722222222222
          },
          {
            "x": 0.026875,
            "y": 0.9984722222222222
          }
        ]
      }
    },
    {
      "startTimeMs": 23000,
      "stopTimeMs": 24000,
      "object": {
        "label": "WSIDE TO F",
        "type": "ocr",
        "text": "WSIDE TO F",
        "boundingPoly": [
          {
            "x": 0.05625,
            "y": 0.7611111111111111
          },
          {
            "x": 0.0765625,
            "y": 0.7611111111111111
          },
          {
            "x": 0.0765625,
            "y": 0.9972222222222222
          },
          {
            "x": 0.05625,
            "y": 0.9972222222222222
          }
        ]
      }
    },
    {
      "startTimeMs": 23000,
      "stopTimeMs": 24000,
      "object": {
        "label": "CEORIES WITH AMERICA",
        "type": "ocr",
        "text": "CEORIES WITH AMERICA",
        "boundingPoly": [
          {
            "x": 0.021171875,
            "y": 0.7466666666666667
          },
          {
            "x": 0.040859374999999996,
            "y": 0.7466666666666667
          },
          {
            "x": 0.040859374999999996,
            "y": 0.9977777777777778
          },
          {
            "x": 0.021171875,
            "y": 0.9977777777777778
          }
        ]
      }
    },
    {
      "startTimeMs": 23000,
      "stopTimeMs": 24000,
      "object": {
        "label": "AWESRICUFF WIDTH TO AF",
        "type": "ocr",
        "text": "AWESRICUFF WIDTH TO AF",
        "boundingPoly": [
          {
            "x": 0.00671875,
            "y": 0.7355555555555556
          },
          {
            "x": 0.026875,
            "y": 0.7355555555555556
          },
          {
            "x": 0.026875,
            "y": 0.9977777777777778
          },
          {
            "x": 0.00671875,
            "y": 0.9977777777777778
          }
        ]
      }
    },
    {
      "startTimeMs": 23000,
      "stopTimeMs": 24000,
      "object": {
        "label": "RATIOSUCEO ACCORDINA",
        "type": "ocr",
        "text": "RATIOSUCEO ACCORDINA",
        "boundingPoly": [
          {
            "x": 0,
            "y": 0.7416666666666667
          },
          {
            "x": 0.0109375,
            "y": 0.7416666666666667
          },
          {
            "x": 0.0109375,
            "y": 0.9972222222222222
          },
          {
            "x": 0,
            "y": 0.9972222222222222
          }
        ]
      }
    },
    {
      "startTimeMs": 24000,
      "stopTimeMs": 25000,
      "object": {
        "label": "INICEIOOOV G3 SNASOLIVA",
        "type": "ocr",
        "text": "INICEIOOOV G3 SNASOLIVA",
        "boundingPoly": [
          {
            "x": 0.00859375,
            "y": 0.7602777777777777
          },
          {
            "x": 0.025390625,
            "y": 0.7602777777777777
          },
          {
            "x": 0.025390625,
            "y": 1.0
          },
          {
            "x": 0.00859375,
            "y": 1.0
          }
        ]
      }
    },
    {
      "startTimeMs": 24000,
      "stopTimeMs": 25000,
      "object": {
        "label": "OL HIOIM J4NOWS3N",
        "type": "ocr",
        "text": "OL HIOIM J4NOWS3N",
        "boundingPoly": [
          {
            "x": 0.023828125,
            "y": 0.7629166666666666
          },
          {
            "x": 0.040234375,
            "y": 0.7629166666666666
          },
          {
            "x": 0.040234375,
            "y": 0.99375
          },
          {
            "x": 0.023828125,
            "y": 0.99375
          }
        ]
      }
    },
    {
      "startTimeMs": 24000,
      "stopTimeMs": 25000,
      "object": {
        "label": "3aIS% CESIDE TO",
        "type": "ocr",
        "text": "3aIS% CESIDE TO",
        "boundingPoly": [
          {
            "x": 0.038671875,
            "y": 0.7576388888888889
          },
          {
            "x": 0.092578125,
            "y": 0.7576388888888889
          },
          {
            "x": 0.092578125,
            "y": 0.9993055555555556
          },
          {
            "x": 0.038671875,
            "y": 0.9993055555555556
          }
        ]
      }
    },
    {
      "startTimeMs": 25000,
      "stopTimeMs": 26000,
      "object": {
        "label": "WSIDE TO",
        "type": "ocr",
        "text": "WSIDE TO",
        "boundingPoly": [
          {
            "x": 0.0421875,
            "y": 0.7888888888888889
          },
          {
            "x": 0.0625,
            "y": 0.7888888888888889
          },
          {
            "x": 0.0625,
            "y": 0.9861111111111112
          },
          {
            "x": 0.0421875,
            "y": 0.9861111111111112
          }
        ]
      }
    },
    {
      "startTimeMs": 25000,
      "stopTimeMs": 26000,
      "object": {
        "label": "PICE OIRUES WITH AMERIC",
        "type": "ocr",
        "text": "PICE OIRUES WITH AMERIC",
        "boundingPoly": [
          {
            "x": 0.0053906250000000005,
            "y": 0.7575
          },
          {
            "x": 0.026953125,
            "y": 0.7575
          },
          {
            "x": 0.026953125,
            "y": 0.9980555555555556
          },
          {
            "x": 0.0053906250000000005,
            "y": 0.9980555555555556
          }
        ]
      }
    },
    {
      "startTimeMs": 25000,
      "stopTimeMs": 26000,
      "object": {
        "label": "ELINESRALISE WIDTH TOI",
        "type": "ocr",
        "text": "ELINESRALISE WIDTH TOI",
        "boundingPoly": [
          {
            "x": 0,
            "y": 0.7527777777777778
          },
          {
            "x": 0.0125,
            "y": 0.7527777777777778
          },
          {
            "x": 0.0125,
            "y": 0.9972222222222222
          },
          {
            "x": 0,
            "y": 0.9972222222222222
          }
        ]
      }
    },
    {
      "startTimeMs": 26000,
      "stopTimeMs": 27000,
      "object": {
        "label": "abc",
        "type": "ocr",
        "text": "abc",
        "boundingPoly": [
          {
            "x": 0.884375,
            "y": 0.8694444444444445
          },
          {
            "x": 0.946875,
            "y": 0.8694444444444445
          },
          {
            "x": 0.946875,
            "y": 0.9138888888888889
          },
          {
            "x": 0.884375,
            "y": 0.9138888888888889
          }
        ]
      }
    },
    {
      "startTimeMs": 27000,
      "stopTimeMs": 28000,
      "object": {
        "label": "abc",
        "type": "ocr",
        "text": "abc",
        "boundingPoly": [
          {
            "x": 0.8875,
            "y": 0.8694444444444445
          },
          {
            "x": 0.95,
            "y": 0.8694444444444445
          },
          {
            "x": 0.95,
            "y": 0.9194444444444444
          },
          {
            "x": 0.8875,
            "y": 0.9194444444444444
          }
        ]
      }
    },
    {
      "startTimeMs": 28000,
      "stopTimeMs": 29000,
      "object": {
        "label": "obc",
        "type": "ocr",
        "text": "obc",
        "boundingPoly": [
          {
            "x": 0.8890625,
            "y": 0.8694444444444445
          },
          {
            "x": 0.9453125,
            "y": 0.8694444444444445
          },
          {
            "x": 0.9453125,
            "y": 0.9083333333333333
          },
          {
            "x": 0.8890625,
            "y": 0.9083333333333333
          }
        ]
      }
    },
    {
      "startTimeMs": 29000,
      "stopTimeMs": 30000,
      "object": {
        "label": "VEN -",
        "type": "ocr",
        "text": "VEN -",
        "boundingPoly": [
          {
            "x": 0.11499999999999999,
            "y": 0.8605555555555556
          },
          {
            "x": 0.178125,
            "y": 0.8605555555555556
          },
          {
            "x": 0.178125,
            "y": 0.9219444444444443
          },
          {
            "x": 0.11499999999999999,
            "y": 0.9219444444444443
          }
        ]
      }
    },
    {
      "startTimeMs": 29000,
      "stopTimeMs": 30000,
      "object": {
        "label": "(lowers & Vegetables",
        "type": "ocr",
        "text": "(lowers & Vegetables",
        "boundingPoly": [
          {
            "x": 0.10921875,
            "y": 0.8730555555555556
          },
          {
            "x": 0.19578125,
            "y": 0.8730555555555556
          },
          {
            "x": 0.19578125,
            "y": 0.9480555555555555
          },
          {
            "x": 0.10921875,
            "y": 0.9480555555555555
          }
        ]
      }
    },
    {
      "startTimeMs": 29000,
      "stopTimeMs": 30000,
      "object": {
        "label": "GARD",
        "type": "ocr",
        "text": "GARD",
        "boundingPoly": [
          {
            "x": 0.69046875,
            "y": 0.6825
          },
          {
            "x": 0.712421875,
            "y": 0.6825
          },
          {
            "x": 0.712421875,
            "y": 0.7563888888888889
          },
          {
            "x": 0.69046875,
            "y": 0.7563888888888889
          }
        ]
      }
    },
    {
      "startTimeMs": 30000,
      "stopTimeMs": 31000,
      "object": {
        "label": "abc",
        "type": "ocr",
        "text": "abc",
        "boundingPoly": [
          {
            "x": 0.8875,
            "y": 0.8694444444444445
          },
          {
            "x": 0.95,
            "y": 0.8694444444444445
          },
          {
            "x": 0.95,
            "y": 0.9194444444444444
          },
          {
            "x": 0.8875,
            "y": 0.9194444444444444
          }
        ]
      }
    },
    {
      "startTimeMs": 88000,
      "stopTimeMs": 89000,
      "object": {
        "label": "abc",
        "type": "ocr",
        "text": "abc",
        "boundingPoly": [
          {
            "x": 0.8871874999999999,
            "y": 0.8690277777777778
          },
          {
            "x": 0.950234375,
            "y": 0.8690277777777778
          },
          {
            "x": 0.950234375,
            "y": 0.9184722222222221
          },
          {
            "x": 0.8871874999999999,
            "y": 0.9184722222222221
          }
        ]
      }
    },
    {
      "startTimeMs": 89000,
      "stopTimeMs": 90000,
      "object": {
        "label": "DIAMO ID",
        "type": "ocr",
        "text": "DIAMO ID",
        "boundingPoly": [
          {
            "x": 0.20515625,
            "y": 0.8743055555555556
          },
          {
            "x": 0.32296874999999997,
            "y": 0.8743055555555556
          },
          {
            "x": 0.32296874999999997,
            "y": 0.9273611111111112
          },
          {
            "x": 0.20515625,
            "y": 0.9273611111111112
          }
        ]
      }
    },
    {
      "startTimeMs": 89000,
      "stopTimeMs": 90000,
      "object": {
        "label": "ANGELE",
        "type": "ocr",
        "text": "ANGELE",
        "boundingPoly": [
          {
            "x": 0.364453125,
            "y": 0.52625
          },
          {
            "x": 0.56203125,
            "y": 0.52625
          },
          {
            "x": 0.56203125,
            "y": 0.6941666666666667
          },
          {
            "x": 0.364453125,
            "y": 0.6941666666666667
          }
        ]
      }
    },
    {
      "startTimeMs": 90000,
      "stopTimeMs": 91000,
      "object": {
        "label": "ANGELE",
        "type": "ocr",
        "text": "ANGELE",
        "boundingPoly": [
          {
            "x": 0.40921874999999996,
            "y": 0.5493055555555556
          },
          {
            "x": 0.5454687500000001,
            "y": 0.5493055555555556
          },
          {
            "x": 0.5454687500000001,
            "y": 0.6395833333333333
          },
          {
            "x": 0.40921874999999996,
            "y": 0.6395833333333333
          }
        ]
      }
    },
    {
      "startTimeMs": 90000,
      "stopTimeMs": 91000,
      "object": {
        "label": "DIAMO",
        "type": "ocr",
        "text": "DIAMO",
        "boundingPoly": [
          {
            "x": 0.20046875000000003,
            "y": 0.8784722222222222
          },
          {
            "x": 0.283984375,
            "y": 0.8784722222222222
          },
          {
            "x": 0.283984375,
            "y": 0.92625
          },
          {
            "x": 0.20046875000000003,
            "y": 0.92625
          }
        ]
      }
    },
    {
      "startTimeMs": 90000,
      "stopTimeMs": 91000,
      "object": {
        "label": "00",
        "type": "ocr",
        "text": "00",
        "boundingPoly": [
          {
            "x": 0.8890625,
            "y": 0.8777777777777778
          },
          {
            "x": 0.93125,
            "y": 0.8777777777777778
          },
          {
            "x": 0.93125,
            "y": 0.9138888888888889
          },
          {
            "x": 0.8890625,
            "y": 0.9138888888888889
          }
        ]
      }
    },
    {
      "startTimeMs": 169000,
      "stopTimeMs": 170000,
      "object": {
        "label": "abc",
        "type": "ocr",
        "text": "abc",
        "boundingPoly": [
          {
            "x": 0.884375,
            "y": 0.8694444444444445
          },
          {
            "x": 0.9453125,
            "y": 0.8694444444444445
          },
          {
            "x": 0.9453125,
            "y": 0.9138888888888889
          },
          {
            "x": 0.884375,
            "y": 0.9138888888888889
          }
        ]
      }
    },
    {
      "startTimeMs": 170000,
      "stopTimeMs": 171000,
      "object": {
        "label": "abc",
        "type": "ocr",
        "text": "abc",
        "boundingPoly": [
          {
            "x": 0.8859375,
            "y": 0.8666666666666667
          },
          {
            "x": 0.95,
            "y": 0.8666666666666667
          },
          {
            "x": 0.95,
            "y": 0.9166666666666666
          },
          {
            "x": 0.8859375,
            "y": 0.9166666666666666
          }
        ]
      }
    },
    {
      "startTimeMs": 173000,
      "stopTimeMs": 174000,
      "object": {
        "label": "Finals",
        "type": "ocr",
        "text": "Finals",
        "boundingPoly": [
          {
            "x": 0.0765625,
            "y": 0.8194444444444444
          },
          {
            "x": 0.171875,
            "y": 0.8194444444444444
          },
          {
            "x": 0.171875,
            "y": 0.8833333333333333
          },
          {
            "x": 0.0765625,
            "y": 0.8833333333333333
          }
        ]
      }
    },
    {
      "startTimeMs": 173000,
      "stopTimeMs": 174000,
      "object": {
        "label": "Pesesedby YouTube TV",
        "type": "ocr",
        "text": "Pesesedby YouTube TV",
        "boundingPoly": [
          {
            "x": 0.0859375,
            "y": 0.8861111111111111
          },
          {
            "x": 0.165625,
            "y": 0.8861111111111111
          },
          {
            "x": 0.165625,
            "y": 0.9027777777777778
          },
          {
            "x": 0.0859375,
            "y": 0.9027777777777778
          }
        ]
      }
    },
    {
      "startTimeMs": 173000,
      "stopTimeMs": 174000,
      "object": {
        "label": "GAME 4",
        "type": "ocr",
        "text": "GAME 4",
        "boundingPoly": [
          {
            "x": 0.346796875,
            "y": 0.805138888888889
          },
          {
            "x": 0.39070312500000004,
            "y": 0.805138888888889
          },
          {
            "x": 0.39070312500000004,
            "y": 0.8393055555555555
          },
          {
            "x": 0.346796875,
            "y": 0.8393055555555555
          }
        ]
      }
    },
    {
      "startTimeMs": 173000,
      "stopTimeMs": 174000,
      "object": {
        "label": "FRIDAY",
        "type": "ocr",
        "text": "FRIDAY",
        "boundingPoly": [
          {
            "x": 0.34585937499999997,
            "y": 0.8370833333333334
          },
          {
            "x": 0.395859375,
            "y": 0.8370833333333334
          },
          {
            "x": 0.395859375,
            "y": 0.8815277777777778
          },
          {
            "x": 0.34585937499999997,
            "y": 0.8815277777777778
          }
        ]
      }
    }
  ]
}
