Versions Compared

Key

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

Inspection shows how the input image is processed for each module, where detected objects are displayed for each image, providing detailed information such as: rectangle coordinates, ID, image size, confidence percentage, etc.

TheĀ Context (application variable), is displayed in JSON format for each module. The data will be available in Inspection after you activate a model for any module within the Flow.

...

Detected Rectangle Data - XY Coordinates, Dimension[px], Area[px], ID, Color, Class Name

Code Block
languagepy
   "detectedRectangles": [
    {
      "x": 1086,
      "y": 510,
      "width": 3,
      "height": 3,
      "area": 2,
      "id": 1603111484990003,
      "classNames": [
        {
          "color": "#ff00ff",
          "color_bgr": [
            255,
            0,
            255
          ],
          "id": 1603111688057,
          "label": "Scratch"
        }
        ....

...

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 - Name, Start & end coordinates, Angle, Measured length

Code Block
languagepy
"lines": [
    {
      "id": 1651502661344,
      "label": "Line1",
      "start": {
        "x": 165,
        "y": 479
      },
      "end": {
        "x": 158,
        "y": 4
      },
      "angle": 1.5560605513728232,
      "length": 475
    },
    {
      "id": 1651502665897,
      "label": "Line2",
      "start": {
        "x": 436,
        "y": 479
      },
      "end": {
        "x": 436,
        "y": 4
      },
      "angle": 1.5707963267948966,
      "length": 475
    }
  ]