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.

...

...

Module-independent data

Image Dimension (Pixels)

Code Block
languagepy
{
  "globalData": null,
  "image": {
    "type": "<numpy>",
    "shape": [
      837,
      1305,
      3
    ]
  }

Anomaly Detector - JSON Data

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
 "heatmaps": [
    [
      {
        "type": "<numpy>",
        "shape": [
          768,
          1024,
          1
        ]
      },
      {
        "color": "#ff0000",
        "color_bgr": [
          0,
          0,
          255
        ],
        "id": 1,
        "label": "Defect"
      }
    ]
    ....

Classifier - JSON Data

Image Dimension [px]

...

languagepy

...

Detected Rectangle Data - Class Names, ID & Confidence % (Accuracy)

...

Surface Detection - JSON Data

Image Dimension (Pixels)

...

languagepy

...

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

...

Code Block
languagepy
"heatmaps": [
    [
      {
        "type": "<numpy>",
        "shape": [
          837,
          1305,
          1
        ]
      },
      {
        "color": "#ff0000",
        "color_bgr": [
          0,
          0,
          255
        ],
        "id": 1,
        "label": "Defect"
      }

Detector - JSON Data

Image Dimension (Pixels)

...

languagepy

...

Detected Rectangle Data - Coordinates, Dimension, ID, Class Name, Confidence Percentage

...

Code Block
languagepy
  "detectedRectangles": [
    {
      "x": 456,
      "y": 361,
      "width": 165,
      "height": 163,
      "id": 1604385708721000,
      "confidence": 0.9918909072875977,
      "classNames": [
        {
          "id": 1604385716945,
          "label": "Screw02",
          "confidence": 0.9918909072875977
        }
      ]
    },
  ...

OCR - JSON Data

...

Detected Rectangle Info - ID, Dimension, OCR Text, Confidence Percentage

Info

Accuracy * 100 = Accuracy %

Info

Detected Rectangle for ''text=Today'' has 99.71% confidence

Code Block
languagepy
"ocr": [
    {
      "globalDataid": null1615382086440,
      "imagewidth": {109,
      "typeheight": "<numpy>"38,
      "shapex": 169.11210023365456,
[       837"y": 420.09002285870446,
      1305"text": "Today",
      3
"confidence": 0.997153103351593
   ]   }

Detected Rectangle Info - ID, Dimension, OCR Text, Confidence Percentage

Info

Accuracy * 100 = Accuracy %

Info
Detected Rectangle for ''text=Today'' has 99.71% confidence
...

Measure - JSON Data

Lines - Name, Start & end coordinates, Angle, Measured length

Code Block
languagepy
"ocrlines": [
    {
      "id": 1651502661344,
      "label": 1615382086440"Line1",
      "widthstart": {
        "x": 109165,
        "heighty": 38,479
      },
      "end": {
        "x": 169.11210023365456 158,
        "y": 4
      },
      "angle": 1.5560605513728232,
      "length": 475
    },
    {
      "id": 1651502665897,
      "label": "Line2",
      "start": {
        "x": 436,
        "y": 420.09002285870446 479
      },
      "text": "Today""end": {
        "x": 436,
        "y": 4
      },
      "confidenceangle": 0.9971531033515931.5707963267948966,
      "length": 475
    }
 ... ]