Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagepy
"ocr": [
    {
      "id": 1615382086440,
      "width": 109,
      "height": 38,
      "x": 169.11210023365456,
      "y": 420.09002285870446,
      "text": "Today",
      "confidence": 0.997153103351593
      ...

Measure - JSON Data

Lines

For each line you can see its id, name, coordinates of its start and end, its angle (in radians) and measured length in current image (in pixels).

Code Block
"lines": [
    {
      "id": 1660737984849,
      "label": "Line1",
      "start": {
        "x": 296,
        "y": 98
      },
      "end": {
        "x": 295,
        "y": 14
      },
      "angle": 1.5588921272365868,
      "length": 84
    },
    {
      "id": 1660737998736,
      "label": "Line2",
      "start": {
        "x": 958,
        "y": 55
      },
      "end": {
        "x": 2,
        "y": 53
      },
      "angle": 0.0020920471571390623,
      "length": 956
    }
  ]