JSON Prediction Responses
  • 14 Aug 2024
  • 14 Minutes to read
  • Dark
    Light
  • PDF

JSON Prediction Responses

  • Dark
    Light
  • PDF

Article summary

This article applies to these versions of LandingLens:

LandingLensLandingLens on Snowflake
✓ (see exceptions below)

When you run inference on images, the prediction results display in a JSON format. The JSON schema varies based on model type. This article describes the JSON responses for each model type, and provides example code snippets and images. 

Differences Between Cloud Deployment, LandingEdge, and Docker

The JSON schema is slightly different between inferences run via Cloud Deployment, and inferences run via LandingEdge and Docker. For example, some elements display in a different order, and the predictions are included in different elements. Differences between the schemas are noted in the tables. 

Example responses are from Cloud Deployments.

Post-Processing and "Backbone" Elements

When an image is sent for inference via Cloud Deployment, it goes through the model, and then through a post-processing Classification step. This step classifies the image as "OK" or "NG" (short for "Not Good"). Because the process has two steps, the JSON schema for Cloud Deployment includes two sets of predictions:

  • backbonetype and backbonepredictions: These elements contain the data for the actual model that ran inference on the image.
  • type and predictions: These elements contain the data for the Classification step.

By default, LandingEdge and Docker don't have the post-processing Classification step. The JSON schema for these methods contains the prediction information in the type and predictions elements. 

However, you can run a script that adds a post-processing model or Classification step when running inference with LandingEdge or Docker. If a post-processing step is added, the JSON will have the same prediction elements that are used for Cloud Deployments. In other words, the model predictions will move to the backbonetype and backbonepredictions elements, and the predictions for the post-processing step will be in the type and predictions elements.

JSON Responses for Object Detection Models

The following table describes the objects in the JSON response for Object Detection models. An example response is here.

ElementDescription
backbonetype (Cloud Deployment)
type (LandingEdge, Docker)
The name of the prediction type. For Object Detection, this will always be ObjectDetectionPrediction.
backbonepredictions (Cloud Deployment)
predictions (LandingEdge, Docker)
This object contains the information for each region that the model predicted as an object of interest. Each prediction is a separate object nested in this element.
xxxxxxxxxxxxx-xxxx-xxxx-xxxxxxxxxxxxThis alphanumeric number is an internal identifier for the region that the model predicted as an object of interest.
scoreThe confidence score for the prediction.
labelNameThe predicted class.
labelIndexThe internal identifier of the predicted class. Each class in a project is assigned a number, starting with 0. If you delete a class, that class’s number is not re-assigned to any current or future classes in that project.
coordinatesThe x and y coordinates (in pixels) of the edges of the bounding box around the predicted object of interest.
defect_idThe unique identifier for the predicted class.
predictions (Cloud Deployment)When an image is sent for inference via Cloud Deployment, it goes through the model, and then through a post-processing Classification step. The predictions object contains the results from the Classification step. This step classifies the image as "OK" or "NG" (short for "Not Good").

This step simplifies defect detection. For example, if a model checks sheet metal for scratches, the metal should be marked as defective regardless if there are one or many scratches.

score: Confidence score for the Classification prediction.
labelName: If the number of predictions is > 0 then "NG", else "OK".

This element is only applicable to Cloud Deployment. Inference run via LandingEdge and Docker does not include the post-processing Classification step.
"type": "ClassificationPrediction" (Cloud Deployment)When an image is sent for inference via Cloud Deployment, it goes through the model, and then through a post-processing Classification step. This object is the prediction type of the post-processing Classification step.

This element is only applicable to Cloud Deployment. Inference run via LandingEdge and Docker does not include the post-processing Classification step.
metadata (LandingEdge, Docker)This element contains nested metadata from the image. If the Image Source is Folder Watcher, some data is populated by default. You can use scripts and web APIs to set or override the values.

This element only displays in the JSON response for LandingEdge and Docker.
image_id (LandingEdge, Docker)If the Image Source is Folder Watcher, this is the file name of the image. Otherwise, this object is blank.You can use scripts and web APIs to set or override the values.

This element only displays in the JSON response for LandingEdge and Docker.
inspection_station_id (LandingEdge, Docker)This element is blank by default. You can use scripts and web APIs to set or override the values.

This element only displays in the JSON response for LandingEdge and Docker.
location_id (LandingEdge, Docker)If the Image Source is Folder Watcher, this is the directory that the image is in. Otherwise, this object is blank. You can use scripts and web APIs to set or override the values.

This element only displays in the JSON response for LandingEdge and Docker.
capture_timestamp (LandingEdge, Docker)The time and date that OCR was run on the image. You can use scripts and web APIs to set or override the values.

This element only displays in the JSON response for LandingEdge and Docker.
latency

The latency object includes the detailed timing statistics of the inference call.

Each key-value pair in the latency object represents a step in the inference process, and the duration of that step. All values are measured in seconds.

model_idThe unique identifier for the model. For more information, go here

Coordinates in Object Detection Responses

The JSON response for Object Detection predictions includes a coordinates object, which communicates the size and location of the bounding box around the prediction region of interest. 

Each section includes the coordinates of the pixels for each edge of the bounding box. The origin for the coordinates is the top left corner of the image. 

For example, let's say that the following snippet is the coordinate object in the JSON output for a prediction.

"coordinates": {
   "xmin": 3627,
   "ymin": 979,
   "xmax": 3965,
   "ymax": 1299
},

The coordinates correspond to the points described in the following table and image.

NameDescriptionCoordinate (in pixels)
xminThe distance from the left edge of the image to the left side of the bounding box.3627
yminThe distance from the top of the image to the top side of the bounding box.979
xmaxThe distance from the left edge of the image to the right side of the bounding box.3965
ymaxThe distance from the top of the image to the bottom side of the bounding box.1299


The Coordinate Correspond to the Edges of the Bounding Box of the Prediction

Example: Object Detection JSON Response

The following code snippet and image show the predictions for an Object Detection model trained to detect hard hats. The model has one class: Hard Hat. The model correctly predicted two hard hats. Each prediction is nested in the backbonepredictions object.

This JSON response is from Cloud Deployment.

{
    "backbonetype": "ObjectDetectionPrediction",
    "backbonepredictions": {
        "4eb97aa5-f2ce-4070-ab46-b2963cb8760f": {
            "score": 0.809603214263916,
            "labelName": "Hard Hat",
            "labelIndex": 1,
            "coordinates": {
                "xmin": 1487,
                "ymin": 1813,
                "xmax": 2103,
                "ymax": 2199
            },
            "defect_id": 152450
        },
        "ae80073f-4f30-48ca-9049-cd227ad210b1": {
            "score": 0.7299894094467163,
            "labelName": "Hard Hat",
            "labelIndex": 1,
            "coordinates": {
                "xmin": 6373,
                "ymin": 1866,
                "xmax": 6955,
                "ymax": 2195
            },
            "defect_id": 152450
        }
    },
    "predictions": {
        "score": 0.809603214263916,
        "labelName": "NG",
        "labelIndex": 1
    },
    "type": "ClassificationPrediction",
    "latency": {
        "preprocess_s": 0.4117429256439209,
        "infer_s": 0.329150915145874,
        "postprocess_s": 0.0005364418029785156,
        "serialize_s": 0.00045990943908691406,
        "input_conversion_s": 0.639418363571167,
        "model_loading_s": 5.3452112674713135
    },
    "model_id": "832050ab-dd69-46a2-84a9-5a811f2e8188"
}


The Overlay Corresponds to the Prediction Data in the JSON Response for the Object Detection Model

JSON Responses for Segmentation and Visual Prompting Models

Note:
Visual Prompting is not available in LandingLens on Snowflake.

The following table describes the objects in the JSON response for Segmentation and Visual Prompting models. See these Segmentation and Visual Prompting examples. 

ElementDescription
backbonetype (Cloud Deployment)
type (LandingEdge, Docker)
The name of the prediction type. For Segmentation, this will always be SegmentationPrediction. For Visual Prompting, this will always be null.
backbonepredictions (Cloud Deployment)
predictions (LandingEdge, Docker)
For Segmentation, this object contains information about the image and the model's predictions. For Visual Prompting, this will always be null.
imageHeightThe height of the image in pixels.
imageWidthThe width of the image in pixels.
encodingThe information about how LandingLens encodes Segmentation predictions. Predictions are encoded with run-length encoding (RLE). 0 is mapped to Z, and 1 is mapped to N. This section will always be:
 "encoding": {
            "algorithm": "rle",
            "options": {
                "map": {
                    "Z": 0,
                    "N": 1
                }
            }
        },
bitmapsThis object contains the information for each class that the model predicted in the image. Each predicted class is a separate object nested in the bitmaps object.

LandingEdge includes data for all classes in the project, and not just the ones predicted in the image.
xxxxxxxxxxxxx-xxxx-xxxx-xxxxxxxxxxxxThis alphanumeric number is an internal identifier for the region that the model predicted as an object of interest. The prediction information is nested in this object.
scoreThe confidence score for the prediction.
bitmap

The prediction mask (the areas that the model predicted for a specific class) is formatted as a bitmap that is compressed with a run-length encoding (RLE) format.

The LandingAI Python library parses the JSON responses, which includes parsing and extracting bitmaps. We recommend using the library if you want to avoid manually parsing the bitmaps. Check out the Satellite Images and Post-Processing tutorial for an end-to-end example of running inference and visualizing the results with our Python library.

You can use the decode_bitmap_rle API to decode the bitmap string into a NumPy array, which you can then convert into a PNG file. 

defect_idThe unique identifier for the predicted class.  
labelIndexThe internal identifier of the predicted class. Each class in a project is assigned a number, starting with 0. If you delete a class, that class’s number is not re-assigned to any current or future classes in that project.
labelNameThe predicted class.
data (Cloud Deployment)This will always be null.

This element only displays in the JSON response for Cloud Deployment.
labels (Cloud Deployment)This will always be null.

This element only displays in the JSON response for Cloud Deployment.
num_classes (Cloud Deployment)This is the total number of classes in the project. Segmentation and Visual Prompting projects have an internal class called “ok”. This class is included in the num_class object. So if you created 3 classes in the project, the num_class value is 4.

This element only displays in the JSON response for Cloud Deployment.
predictions (Cloud Deployment)When an image is sent for inference via Segmentation or Visual Prompting, it goes through the model, and then through a post-processing Classification step. The predictions object contains the results from the Classification step. This step classifies the image as "OK" or "NG" (short for "Not Good").

This step simplifies defect detection. For example, if a model checks sheet metal for scratches, the metal should be marked as defective regardless if there are one or many scratches.

score: Confidence score for the Classification prediction.
labelName: If the number of predictions is > 0 then "NG", else "OK".

This element is only applicable to Cloud Deployment. Inference run via LandingEdge and Docker does not include the post-processing Classification step.
"type": "ClassificationPrediction" (Cloud Deployment)When an image is sent for inference via Cloud Deployment, it goes through the model, and then through a post-processing Classification step. This object is the prediction type of the post-processing Classification step.

This element is only applicable to Cloud Deployment. Inference run via LandingEdge and Docker does not include the post-processing Classification step.
metadata (LandingEdge, Docker)This element contains nested metadata from the image. If the Image Source is Folder Watcher, some data is populated by default. You can use scripts and web APIs to set or override the values.

This element only displays in the JSON response for LandingEdge and Docker.
image_id (LandingEdge, Docker)If the Image Source is Folder Watcher, this is the file name of the image. Otherwise, this object is blank.You can use scripts and web APIs to set or override the values.

This element only displays in the JSON response for LandingEdge and Docker.
inspection_station_id (LandingEdge, Docker)This element is blank by default. You can use scripts and web APIs to set or override the values.

This element only displays in the JSON response for LandingEdge and Docker.
location_id (LandingEdge, Docker)If the Image Source is Folder Watcher, this is the directory that the image is in. Otherwise, this object is blank. You can use scripts and web APIs to set or override the values.

This element only displays in the JSON response for LandingEdge and Docker.
capture_timestamp (LandingEdge, Docker)The time and date that OCR was run on the image. You can use scripts and web APIs to set or override the values.

This element only displays in the JSON response for LandingEdge and Docker.
latency

The latency object includes the detailed timing statistics of the inference call.

Each key-value pair in the latency object represents a step in the inference process, and the duration of that step. All values are measured in seconds.

model_idThe unique identifier for the model. For more information, go here.

Example: Segmentation JSON Response

The following code snippet and image show the predictions for a Segmentation model trained to detect chips on pills. The model has one class: Chipped. Even though there is more than one chipped region, all of the data for Chipped predictions are included in one bitmap object, because these regions all correspond to the Chipped class. 

This JSON response is from Cloud Deployment.

In the image, the purple overlay is the prediction for Chipped. 

{
    "backbonetype": "SegmentationPrediction",
    "backbonepredictions": {
        "imageHeight": 1024,
        "imageWidth": 1024,
        "encoding": {
            "algorithm": "rle",
            "options": {
                "map": {
                    "Z": 0,
                    "N": 1
                }
            }
        },
        "bitmaps": {
            "8276bc82-d378-3ea0-ca4e-51c0549f73db": {
                "score": 0.969035930985445,
                "bitmap": "315776Z2N23Z13N984Z8N16Z21N978Z10N14Z23N977Z10N14Z23N975Z12N13Z25N973Z14N9Z30N954Z8N7Z16N7Z34N949Z35N3Z40N2Z2N942Z35N3Z40N2Z2N938Z88N934Z91N931Z100N923Z102N922Z102N922Z103N918Z108N912Z112N912Z112N908Z117N905Z119N902Z123N901Z124N900Z124N899Z127N897Z128N895Z130N894Z130N892Z134N890Z135N888Z136N887Z138N886Z138N885Z139N885Z139N883Z142N882Z142N881Z143N881Z143N880Z144N880Z144N880Z144N878Z146N878Z146N877Z146N878Z146N878Z146N877Z147N877Z147N877Z147N877Z147N877Z146N878Z146N878Z146N878Z146N878Z146N877Z147N877Z147N877Z146N878Z146N878Z146N878Z146N879Z145N880Z142N882Z142N882Z142N883Z141N885Z139N885Z139N885Z139N886Z138N886Z138N886Z138N886Z138N886Z140N884Z140N884Z141N883Z141N883Z141N884Z140N884Z141N885Z139N885Z139N885Z140N884Z140N885Z141N883Z141N883Z141N883Z141N883Z139N885Z138N886Z138N886Z137N887Z134N891Z126N898Z119N905Z119N905Z117N907Z117N907Z117N907Z117N907Z117N908Z116N908Z116N910Z114N910Z114N910Z114N910Z114N911Z113N911Z113N911Z113N912Z112N912Z110N916Z108N916Z108N916Z108N916Z108N917Z107N917Z107N917Z107N917Z107N917Z107N917Z107N917Z107N917Z107N916Z110N914Z110N912Z112N912Z112N911Z113N911Z114N909Z116N908Z116N906Z119N905Z121N902Z122N902Z123N901Z123N901Z123N900Z124N900Z125N899Z125N899Z125N899Z125N899Z127N898Z126N898Z126N898Z126N898Z127N897Z127N11Z4N882Z127N10Z4N883Z127N10Z4N883Z127N10Z3N883Z128N8Z5N883Z128N6Z7N883Z128N6Z7N883Z141N883Z139N884Z140N884Z140N884Z140N885Z136N888Z107N9Z16N892Z104N920Z104N920Z101N924Z96N928Z90N934Z80N944Z80N944Z76N948Z76N948Z76N5Z4N938Z78N1Z10N935Z78N1Z10N935Z91N130Z3N800Z89N132Z4N798Z90N132Z5N797Z90N132Z5N797Z90N132Z7N795Z89N132Z8N795Z88N133Z9N794Z88N132Z10N794Z88N132Z10N794Z87N131Z12N794Z84N134Z12N794Z83N134Z13N794Z83N134Z13N795Z55N4Z22N134Z14N795Z51N10Z17N136Z15N795Z47N16Z14N137Z15N796Z45N18Z10N113Z9N7Z7N4Z15N796Z45N18Z10N113Z9N7Z7N4Z15N796Z45N20Z4N114Z26N2Z16N797Z44N138Z28N1Z16N797Z42N139Z29N1Z16N797Z42N139Z29N1Z16N797Z41N140Z46N797Z40N139Z46N799Z37N132Z56N799Z36N132Z57N799Z36N132Z57N800Z34N133Z57N802Z30N134Z58N803Z27N136Z58N806Z21N139Z57N807Z21N139Z57N808Z16N141Z59N810Z12N143Z59N812Z9N144Z59N812Z9N144Z59N813Z5N147Z59N814Z3N147Z61N962Z62N960Z66N958Z66N957Z68N8Z7N935Z93N929Z98N5Z8N913Z98N5Z8N913Z112N912Z113N910Z114N910Z115N909Z115N908Z118N906Z119N904Z123N14Z5N882Z123N14Z5N882Z126N9Z9N878Z131N5Z12N875Z134N3Z13N873Z152N872Z152N871Z154N868Z156N867Z157N866Z158N866Z158N863Z163N860Z164N859Z165N859Z165N859Z166N856Z169N855Z174N850Z177N847Z177N847Z179N844Z182N842Z183N841Z183N840Z184N838Z186N838Z187N835Z189N835Z189N830Z194N814Z7N7Z198N811Z9N5Z199N811Z9N5Z199N810Z11N4Z199N809Z14N2Z200N808Z14N2Z202N806Z221N803Z221N803Z222N802Z221N803Z218N807Z214N810Z214N810Z211N813Z211N812Z213N811Z213N805Z219N803Z221N799Z227N794Z230N794Z230N791Z233N786Z12N7Z219N783Z14N8Z219N783Z14N8Z219N783Z17N5Z219N783Z19N1Z221N782Z242N782Z242N782Z242N782Z242N783Z241N783Z241N783Z241N769Z255N769Z255N769Z255N769Z256N768Z256N768Z256N768Z256N767Z258N766Z258N766Z258N766Z258N766Z258N766Z258N766Z258N766Z258N764Z260N764Z260N763Z261N763Z261N763Z260N755Z1N7Z261N763Z261N763Z261N763Z260N762Z262N762Z260N763Z260N764Z260N763Z260N764Z258N766Z258N766Z258N765Z259N763Z261N763Z261N763Z260N764Z260N763Z261N763Z261N763Z261N763Z261N763Z261N763Z260N764Z260N765Z259N765Z259N765Z258N766Z258N768Z256N769Z253N771Z253N771Z253N770Z253N771Z253N771Z253N769Z255N769Z255N769Z254N770Z254N770Z254N772Z252N772Z252N772Z251N773Z251N773Z251N773Z251N773Z249N776Z247N777Z247N777Z246N778Z244N781Z242N782Z240N784Z240N784Z237N787Z236N789Z233N791Z233N791Z231N793Z230N794Z228N798Z224N800Z224N800Z222N803Z219N806Z217N807Z217N809Z213N812Z105N2Z103N815Z99N9Z98N818Z95N15Z95N819Z95N15Z95N820Z93N18Z93N822Z89N21Z91N824Z88N21Z91N824Z88N21Z91N825Z86N23Z62N2Z24N829Z84N24Z61N2Z23N831Z82N27Z57N5Z21N832Z80N29Z56N6Z20N833Z80N29Z56N6Z20N834Z79N30Z55N8Z16N837Z77N31Z54N9Z16N837Z76N33Z53N10Z14N838Z63N4Z8N35Z50N13Z12N839Z63N4Z8N35Z50N13Z12N841Z60N50Z43N19Z9N843Z59N53Z11N2Z27N24Z4N844Z59N60Z1N12Z16N876Z59N60Z1N12Z16N877Z56N968Z22N6Z27N970Z18N16Z19N973Z15N19Z15N975Z15N19Z15N976Z11N23Z7N984Z9N26Z2N988Z8N1016Z8N1019Z5N1020Z4N1021Z2N309854Z",
                "defect_id": 62504,
                "label_index": 1,
                "label_name": "Chipped"
            }
        },
        "data": null,
        "labels": null,
        "num_classes": 2
    },
    "predictions": {
        "score": 0.9999961853027344,
        "labelName": "NG",
        "labelIndex": 1
    },
    "type": "ClassificationPrediction",
    "latency": {
        "preprocess_s": 0.003261089324951172,
        "infer_s": 2.586284875869751,
        "postprocess_s": 0.0012137889862060547,
        "serialize_s": 0.029936552047729492,
        "input_conversion_s": 0.034484148025512695,
        "model_loading_s": 7.019518852233887
    },
    "model_id": "d35f3269-ebe9-4f0a-8694-1f65c5ee7036"
}


The Purple Overlay Corresponds to the Prediction Data in the JSON Response for the Segmentation Model

Example: Visual Prompting JSON Response

Note:
Visual Prompting is not available in LandingLens on Snowflake.

The following code snippet and image show the predictions for a Visual Prompting model trained to detect shipping containers in ports. The model has two classes: Shipping Containers and Other. Each class is a separate object nested in the bitmaps object. 

This JSON response is from Cloud Deployment.

In the image, the purple overlay is the prediction for Shipping Containers, and the yellow overlay is the prediction for Other.

{
    "backbonetype": null,
    "backbonepredictions": null,
    "predictions": {
        "imageHeight": 563,
        "imageWidth": 1000,
        "encoding": {
            "algorithm": "rle",
            "options": {
                "map": {
                    "Z": 0,
                    "N": 1
                }
            }
        },
        "bitmaps": {
            "d7d654b7-01ac-e5c4-af5b-3a5d28c6cb20": {
                "score": 1.0,
                "bitmap": "229Z30N264Z32N365Z15N294Z30N264Z34N363Z15N294Z30N263Z35N363Z15N294Z30N260Z39N362Z15N294Z30N259Z41N360Z18N292Z30N260Z40N360Z18N292Z30N259Z41N360Z18N292Z30N259Z41N360Z18N292Z33N255Z45N6Z4N347Z19N292Z32N255Z43N8Z2N349Z19N294Z28N257Z37N15Z1N349Z18N298Z24N258Z35N17Z1N349Z18N268Z19N15Z19N259Z32N21Z2N348Z13N270Z21N16Z18N10Z5N1Z1N242Z32N21Z4N348Z8N270Z24N18Z16N6Z13N242Z29N22Z10N18Z2N324Z3N253Z12N6Z26N18Z16N5Z19N253Z2N2Z3N61Z1N574Z46N18Z17N4Z22N888Z50N19Z13N2Z32N66Z3N814Z50N20Z12N3Z35N61Z9N810Z48N22Z12N3Z36N59Z12N806Z49N20Z56N55Z15N805Z53N12Z62N52Z14N806Z130N49Z14N807Z131N48Z14N806Z135N44Z13N808Z136N41Z15N785Z2N20Z138N40Z14N784Z10N6Z148N41Z10N784Z165N46Z2N737Z10N37Z168N781Z17N32Z170N775Z28N23Z174N237Z1N533Z32N23Z172N172Z1N596Z38N20Z171N767Z47N13Z170N769Z49N12Z169N768Z53N9Z169N767Z57N6Z170N765Z59N6Z169N761Z65N6Z165N50Z1N710Z68N7Z162N52Z1N698Z81N13Z18N17Z51N9Z7N28Z22N55Z3N693Z84N18Z7N50Z21N48Z21N55Z3N691Z91N15Z1N59Z15N48Z20N750Z95N11Z2N62Z12N46Z19N748Z101N10Z2N65Z8N46Z18N737Z116N4Z6N115Z19N736Z130N78Z2N34Z19N734Z46N9Z80N73Z8N29Z20N733Z44N13Z81N71Z9N27Z17N728Z50N17Z83N68Z14N10Z25N733Z48N19Z85N65Z17N4Z22N740Z45N22Z87N63Z42N741Z40N25Z92N58Z43N742Z38N27Z94N56Z43N742Z34N31Z98N54Z40N743Z32N33Z100N2Z22N28Z40N743Z30N34Z128N25Z38N745Z27N36Z132N23Z34N748Z25N37Z135N25Z30N748Z20N40Z143N10Z9N6Z37N2Z10N723Z15N45Z45N2Z116N6Z50N721Z8N51Z45N4Z115N9Z51N775Z46N5Z114N11Z50N774Z45N9Z111N12Z49N774Z45N14Z106N14Z50N772Z43N15Z103N18Z50N775Z37N19Z15N3Z80N23Z49N779Z31N21Z12N6Z77N25Z50N784Z24N25Z5N12Z73N29Z50N783Z22N45Z71N30Z49N12Z6N768Z17N48Z69N31Z50N10Z12N769Z5N58Z62N36Z68N835Z59N40Z66N47Z12N777Z54N50Z59N40Z28N770Z52N57Z53N37Z33N770Z47N64Z49N36Z36N769Z44N67Z48N33Z40N768Z42N70Z47N31Z45N764Z36N81Z15N3Z25N28Z50N12Z5N28Z12N705Z35N87Z4N10Z24N27Z53N10Z6N25Z15N64Z8N632Z28N54Z8N48Z20N28Z55N7Z9N20Z20N45Z6N7Z20N625Z27N54Z10N47Z20N28Z56N4Z12N18Z22N14Z3N26Z35N625Z24N56Z11N48Z17N29Z75N15Z24N12Z3N23Z37N628Z17N60Z15N46Z15N30Z85N4Z26N10Z7N18Z39N631Z10N64Z17N11Z7N26Z14N30Z87N1Z29N8Z18N7Z38N705Z38N27Z4N38Z117N6Z62N708Z39N66Z119N6Z58N712Z40N65Z173N694Z12N16Z42N63Z164N701Z18N12Z43N62Z158N705Z25N7Z47N58Z155N707Z27N6Z49N56Z155N705Z29N6Z52N52Z156N704Z31N3Z54N51Z157N703Z89N50Z158N702Z91N47Z162N75Z10N27Z14N574Z91N47Z162N73Z14N24Z20N17Z19N531Z94N45Z163N71Z17N22Z63N525Z94N30Z1N14Z164N70Z19N18Z67N521Z95N16Z23N6Z164N71Z17N19Z70N515Z29N5Z65N14Z26N5Z164N72Z16N19Z71N508Z29N11Z65N12Z29N3Z163N74Z16N18Z72N504Z24N20Z64N10Z131N5Z61N56Z2N18Z15N18Z75N500Z24N21Z64N10Z78N15Z37N7Z59N57Z4N19Z12N17Z76N500Z22N23Z64N10Z75N21Z32N9Z64N51Z9N17Z9N18Z82N494Z21N24Z7N2Z53N12Z73N23Z15N9Z6N11Z69N46Z10N18Z6N17Z88N490Z16N29Z6N4Z51N14Z62N35Z8N31Z76N38Z11N38Z95N486Z11N34Z6N5Z50N14Z61N40Z1N33Z16N3Z60N36Z11N36Z98N485Z7N38Z5N7Z49N14Z60N75Z15N10Z55N35Z12N34Z100N35Z11N289Z3N147Z3N55Z46N15Z41N5Z13N73Z15N17Z52N33Z13N33Z36N4Z62N32Z17N261Z9N224Z44N15Z42N5Z13N72Z16N18Z51N33Z16N30Z36N4Z61N31Z20N260Z14N221Z39N16Z44N6Z12N71Z19N16Z51N33Z18N27Z37N3Z58N34Z26N255Z15N220Z38N17Z43N7Z13N69Z20N16Z51N33Z20N23Z39N3Z57N34Z30N252Z17N220Z33N19Z44N7Z13N69Z20N16Z51N31Z23N20Z42N2Z55N36Z32N250Z18N220Z29N22Z44N7Z13N67Z22N17Z49N32Z24N16Z97N41Z36N246Z18N221Z25N25Z44N7Z14N65Z23N17Z50N31Z28N10Z97N45Z35N245Z17N226Z16N29Z45N5Z22N58Z22N19Z51N28Z86N3Z50N51Z34N238Z17N227Z11N33Z46N4Z24N55Z23N19Z51N27Z87N4Z49N55Z35N233Z15N273Z75N32Z44N20Z51N23Z89N10Z46N61Z36N225Z15N273Z75N29Z46N21Z51N22Z88N15Z43N67Z32N223Z14N274Z76N26Z48N22Z50N20Z64N4Z19N21Z40N71Z29N222Z14N274Z76N24Z47N25Z57N13Z60N50Z37N77Z26N220Z14N275Z75N21Z48N27Z60N9Z60N51Z35N80Z25N220Z13N277Z75N17Z47N33Z11N12Z39N4Z57N58Z27N88Z25N217Z12N280Z73N17Z46N34Z10N13Z95N63Z26N90Z24N217Z10N284Z73N13Z47N35Z7N18Z45N6Z36N71Z22N92Z26N215Z9N288Z68N15Z45N37Z7N18Z45N6Z35N81Z11N93Z27N215Z7N296Z20N4Z36N16Z43N40Z7N18Z46N5Z34N185Z28N527Z7N10Z28N22Z39N44Z8N17Z48N2Z32N186Z29N529Z5N14Z21N26Z38N45Z8N17Z81N187Z29N530Z3N23Z8N30Z36N48Z8N17Z67N9Z2N189Z29N594Z36N49Z8N17Z66N201Z28N597Z33N50Z8N17Z67N40Z3N157Z26N609Z21N23Z9N21Z6N18Z71N35Z7N157Z21N616Z14N24Z15N16Z6N19Z71N33Z11N155Z19N428Z18N206Z21N14Z4N20Z71N31Z37N132Z11N433Z24N202Z21N15Z2N22Z70N31Z37N135Z6N432Z32N196Z25N10Z6N21Z69N30Z39N574Z30N196Z26N4Z20N12Z68N30Z41N573Z31N195Z52N12Z65N28Z45N573Z34N191Z55N12Z59N28Z50N572Z34N190Z55N16Z11N7Z36N27Z52N573Z39N183Z57N35Z31N27Z57N100Z3N427Z3N41Z36N184Z56N36Z29N26Z59N99Z5N476Z20N196Z55N39Z21N27Z63N90Z18N690Z52N42Z16N27Z65N87Z23N690Z52N43Z9N30Z66N84Z30N524Z4N168Z47N75Z70N81Z39N513Z8N169Z46N72Z72N81Z42N312Z5N192Z10N170Z41N72Z75N78Z48N307Z8N191Z11N172Z35N73Z77N76Z50N307Z10N189Z11N175Z29N74Z77N75Z54N20Z1N282Z6N5Z5N186Z13N272Z80N14Z9N48Z83N276Z10N3Z7N185Z14N270Z80N7Z19N45Z85N270Z31N179Z14N269Z80N7Z21N42Z88N269Z33N177Z14N267Z83N5Z22N42Z87N266Z4N15Z19N179Z8N269Z111N39Z55N13Z20N268Z3N6Z29N179Z7N270Z111N39Z54N15Z16N268Z6N5Z31N180Z3N271Z112N38Z54N17Z11N272Z5N5Z32N451Z117N33Z54N303Z5N5Z32N451Z115N33Z56N305Z34N456Z115N30Z58N307Z30N460Z114N30Z57N313Z21N464Z112N30Z57N21Z6N290Z18N465Z112N31Z55N23Z6N293Z10N470Z111N31Z55N23Z8N762Z120N27Z65N18Z7N760Z121N25Z72N15Z7N753Z127N23Z81N7Z9N686Z2N62Z130N21Z84N5Z10N688Z1N61Z129N21Z86N2Z12N688Z1N60Z129N21Z100N46Z4N35Z10N654Z128N23Z99N47Z6N32Z13N445Z7N97Z1N100Z128N24Z98N48Z12N24Z28N432Z10N94Z2N100Z127N23Z99N49Z14N21Z30N430Z12N88Z9N97Z124N25Z101N48Z20N8Z40N427Z15N83Z12N97Z121N28Z100N49Z70N423Z17N82Z13N97Z119N29Z101N47Z73N421Z19N81Z13N97Z114N30Z101N49Z75N421Z19N81Z13N97Z111N32Z101N49Z76N421Z18N82Z13N96Z109N30Z103N45Z84N420Z18N82Z13N96Z107N30Z104N44Z86N116Z7N298Z15N83Z10N100Z104N31Z105N42Z89N423Z12N81Z17N95Z103N30Z108N44Z87N424Z11N79Z19N93Z104N28Z110N45Z87N426Z9N75Z24N90Z105N26Z111N48Z86N428Z6N74Z16N6Z4N89Z105N26Z112N49Z84N430Z5N66Z20N13Z1N86Z108N26Z111N51Z83N432Z2N67Z13N2Z3N100Z110N25Z111N54Z81N501Z10N106Z112N25Z111N54Z80N501Z6N110Z111N25Z112N58Z75N503Z5N111Z111N24Z113N45Z7N8Z73N502Z5N112Z110N24Z112N33Z22N9Z69N504Z5N112Z109N25Z111N30Z26N10Z67N505Z3N89Z16N8Z107N25Z114N29Z31N3Z67N508Z3N87Z131N26Z114N29Z101N510Z2N85Z132N25Z116N27Z102N492Z6N99Z130N21Z120N28Z102N492Z11N95Z130N21Z120N28Z102N491Z14N93Z127N23Z118N29Z104N492Z19N88Z126N21Z120N30Z103N493Z22N81Z127N22Z120N30Z102N495Z24N79Z126N22Z120N30Z104N495Z24N77Z127N22Z120N31Z103N496Z24N76Z126N23Z119N31Z104N495Z25N77Z124N24Z118N33Z102N350Z9N136Z25N79Z121N24Z119N37Z99N346Z29N121Z25N79Z121N23Z120N40Z95N346Z43N108Z24N80Z119N24Z118N45Z93N316Z1N27Z51N102Z23N80Z117N25Z118N49Z90N317Z3N25Z53N100Z22N81Z116N25Z116N52Z88N319Z5N23Z55N100Z16N86Z113N26Z116N51Z87N322Z5N23Z56N99Z15N88Z110N28Z115N50Z87N325Z5N24Z55N99Z11N94Z105N27Z117N50Z86N327Z7N25Z53N98Z10N97Z99N30Z118N48Z88N327Z7N27Z53N98Z7N100Z92N34Z117N50Z88N327Z8N32Z49N205Z85N38Z117N51Z87N328Z8N34Z47N206Z83N37Z119N51Z85N330Z8N36Z45N208Z81N34Z120N53Z82N333Z8N36Z45N209Z79N32Z120N56Z80N334Z10N38Z42N213Z75N30Z117N63Z76N336Z10N39Z41N216Z72N28Z117N65Z75N336Z11N39Z41N219Z69N28Z114N68Z75N336Z11N34Z45N222Z2N10Z53N30Z113N69Z73N338Z11N29Z49N236Z51N30Z111N72Z73N338Z10N27Z49N243Z46N30Z110N72Z74N339Z10N27Z48N247Z42N31Z107N75Z74N339Z10N26Z48N251Z37N32Z106N76Z74N337Z12N27Z48N252Z35N31Z107N72Z78N338Z10N29Z48N252Z34N32Z107N70Z78N340Z7N31Z49N221Z9N25Z28N33Z107N70Z78N342Z3N35Z50N217Z13N27Z24N31Z109N71Z78N379Z51N105Z6N105Z21N33Z7N29Z114N71Z31N10Z35N382Z51N105Z7N104Z28N62Z113N72Z33N8Z34N383Z50N107Z4N106Z31N58Z114N72Z74N385Z47N218Z34N55Z112N76Z69N389Z46N219Z35N52Z114N76Z68N390Z25N5Z15N220Z36N50Z114N80Z61N394Z24N8Z12N220Z37N50Z113N83Z57N382Z4N10Z22N14Z3N78Z3N40Z1N59Z10N31Z43N46Z112N88Z51N383Z11N5Z22N93Z6N28Z17N49Z16N28Z48N42Z112N90Z50N381Z13N5Z22N92Z10N23Z23N42Z22N22Z56N37Z112N90Z50N350Z1N27Z18N2Z22N90Z15N21Z25N37Z30N11Z66N31Z112N92Z50N349Z2N25Z43N87Z20N19Z28N33Z110N30Z110N94Z49N325Z5N19Z3N23Z42N87Z28N10Z34N28Z90N5Z18N29Z110N96Z48N324Z6N19Z3N22Z28N100Z33N5Z55N4Z93N8Z16N29Z110N96Z48N325Z6N17Z4N20Z26N103Z191N10Z14N29Z111N96Z48N323Z8N14Z7N15Z30N103Z191N16Z3N33Z110N99Z45N325Z9N11Z9N14Z32N101Z192N53Z110N99Z44N325Z10N10Z10N12Z33N99Z195N52Z109N101Z43N326Z10N9Z10N13Z33N97Z195N54Z109N100Z44N325Z11N5Z6N21Z33N95Z195N56Z106N103Z41N328Z11N5Z2N27Z31N94Z195N57Z105N104Z41N328Z11N4Z2N28Z30N91Z197N58Z105N105Z40N329Z8N7Z1N29Z28N90Z199N59Z102N54Z15N39Z39N330Z7N6Z2N30Z27N90Z199N60Z101N48Z2N1Z20N38Z37N332Z6N37Z27N88Z197N66Z99N46Z41N26Z34N333Z5N38Z25N89Z194N70Z97N47Z46N24Z31N376Z25N88Z191N75Z95N46Z51N25Z24N380Z24N89Z188N78Z95N46Z53N25Z21N381Z23N91Z186N79Z94N45Z55N26Z19N385Z5N110Z176N85Z92N44Z59N26Z13N391Z2N113Z172N88Z91N45Z60N28Z7N513Z163N93Z89N48Z59N309Z12N228Z21N1Z140N93Z86N51Z59N306Z18N227Z17N3Z139N94Z85N52Z60N302Z23N228Z11N6Z139N58Z13N23Z81N58Z58N300Z28N226Z9N7Z138N56Z18N21Z80N59Z60N293Z45N222Z146N52Z25N18Z77N62Z62N288Z51N212Z152N50Z28N18Z76N63Z63N294Z10N1Z35N204Z156N42Z40N16Z74N63Z68N292Z9N3Z35N201Z157N38Z44N16Z71N66Z68N292Z8N4Z36N199Z157N36Z48N15Z70N67Z69N293Z7N1Z42N192Z159N35Z50N15Z66N70Z70N293Z52N188Z161N34Z51N15Z65N70Z71N293Z53N183Z161N36Z52N15Z65N70Z72N293Z55N180Z161N37Z52N15Z63N70Z74N293Z56N177Z160N39Z53N15Z62N70Z75N294Z55N177Z160N39Z53N13Z63N70Z76N298Z51N177Z159N41Z50N17Z61N69Z77N304Z45N176Z159N42Z48N19Z58N70Z78N309Z41N176Z156N45Z45N22Z57N70Z79N312Z37N88Z13N75Z154N50Z40N25Z56N69Z81N312Z37N86Z17N73Z152N53Z37N27Z55N68Z83N314Z35N83Z23N70Z151N54Z36N28Z55N67Z84N315Z34N81Z30N64Z150N56Z21N6Z5N30Z55N67Z83N319Z31N82Z35N58Z149N59Z15N47Z55N65Z85N322Z27N81Z42N51Z149N61Z7N54Z54N66Z86N325Z23N81Z44N49Z148N63Z6N55Z53N67Z85N344Z4N81Z47N43Z150N125Z45N75Z86N429Z56N33Z150N127Z43N76Z85N429Z60N27Z150N130Z41N79Z84N429Z62N21Z152N133Z39N80Z81N430Z64N20Z151N135Z38N81Z81N428Z67N18Z149N61Z1N78Z36N81Z78N430Z71N15Z149N140Z35N82Z78N427Z81N8Z146N143Z33N84Z75N429Z85N4Z145N145Z32N86Z73N429Z87N3Z143N147Z31N87Z72N427Z231N152Z27N93Z68N429Z230N153Z26N95Z67N428Z230N156Z24N57Z9N35Z60N429Z230N157Z22N56Z16N33Z56N430Z229N160Z20N53Z22N32Z53N431Z226N168Z11N56Z25N36Z45N432Z226N235Z26N39Z41N433Z223N49Z3N186Z26N44Z34N436Z222N239Z25N46Z30N439Z219N242Z22N53Z23N441Z216N245Z20N58Z20N442Z214N248Z16N61Z18N445Z57N13Z111N280Z12N68Z11N448Z57N13Z108N284Z10N71Z7N452Z61N7Z107N289Z4N533Z62N6Z106N828Z62N5Z103N831Z61N11Z94N835Z60N13Z88N842Z157N843Z157N846Z154N71Z22N756Z151N70Z24N757Z149N68Z27N715Z4N41Z145N66Z30N712Z11N36Z146N64Z31N704Z28N31Z145N60Z34N698Z35N35Z138N60Z34N692Z48N36Z131N58Z36N690Z50N36Z130N56Z39N688Z52N35Z130N45Z50N688Z56N34Z126N37Z62N683Z60N33Z125N36Z64N682Z64N34Z117N37Z70N678Z67N33Z115N37Z70N677Z71N34Z110N35Z76N673Z75N32Z108N36Z91N657Z77N33Z106N35Z99N641Z91N31Z99N38Z102N635Z99N29Z96N37Z105N629Z110N25Z86N43Z109N626Z115N22Z83N44Z110N623Z120N20Z82N45Z110N621Z125N17Z77N50Z108N620Z128N17Z75N50Z109N618Z133N17Z71N52Z108N617Z135N17Z71N51Z108N615Z141N14Z68N54Z106N614Z151N5Z69N55Z105N599Z9N5Z226N55Z106N591Z247N55Z107N590Z248N55Z106N589Z192N1Z55N53Z110N589Z247N50Z115N585Z248N46Z125N581Z246N47Z127N579Z246N46Z129N576Z208N10Z29N46Z132N574Z209N12Z25N47Z133N573Z211N15Z20N40Z141N572Z215N15Z15N40Z142N571Z218N17Z2N48Z144N570Z220N64Z146N569Z221N64Z145N562Z229N63Z145N558Z234N63Z142N560Z235N61Z142N562Z234N61Z141N563Z235N61Z140N564Z234N61Z107N14Z18N566Z234N61Z111N11Z14N569Z230N66Z113N12Z1N578Z229N67Z114N590Z226N71Z113N590Z225N72Z114N589Z224N75Z112N590Z221N79Z109N592Z219N81Z108N595Z214N86Z105N596Z211N89Z104N597Z210N90Z103N600Z205N94Z100N602Z203N55Z7N34Z97N608Z195N52Z18N37Z90N612Z190N52Z20N40Z85N618Z182N54Z34N33Z78N620Z180N54Z37N34Z75N620Z179N53Z42N32Z73N623Z172N57Z48N32Z65N590Z3N35Z167N59Z50N34Z62N586Z12N33Z159N61Z57N45Z45N588Z13N34Z156N61Z60N44Z42N589Z15N35Z153N58Z68N41Z40N590Z16N35Z150N59Z71N39Z40N590Z19N36Z145N59Z75N37Z38N591Z21N48Z130N54Z86N34Z33N594Z21N52Z81N4Z40N52Z90N34Z31N595Z23N55Z73N9Z29N59Z95N33Z27N597Z24N55Z72N10Z24N61Z98N34Z23N600Z24N56Z70N12Z21N62Z99N34Z21N601Z28N55Z67N15Z12N67Z104N32Z15N607Z26N56Z66N94Z104N34Z11N609Z27N20Z9N29Z63N94Z105N35Z4N615Z27N18Z11N28Z63N93Z106N36Z2N617Z26N20Z9N29Z62N90Z109N656Z27N20Z7N29Z62N89Z110N658Z25N21Z6N29Z62N88Z111N660Z24N22Z2N32Z60N85Z115N660Z25N30Z1N25Z59N84Z116N664Z24N26Z5N22Z59N83Z118N664Z25N24Z5N22Z59N81Z122N667Z29N15Z10N22Z54N78Z126N667Z30N14Z24N11Z50N76Z129N668Z28N14Z25N14Z46N75Z133N666Z29N11Z26N18Z42N73Z137N666Z29N5Z30N19Z41N71Z139N673Z56N22Z39N69Z141N675Z54N25Z36N69Z141N676Z40N2Z10N28Z34N68Z142N683Z32N46Z29N65Z146N685Z30N47Z27N64Z146N690Z36N39Z24N62Z148N67Z15N610Z37N38Z23N61Z148N67Z19N609Z36N41Z18N58Z150N68Z21N608Z37N41Z17N57Z150N68Z23N608Z37N42Z13N59Z149N69Z23N609Z46N102Z150N70Z23N610Z50N95Z150N72Z23N613Z55N84Z150N76Z22N614Z56N79Z151N79Z21N615Z60N72Z151N82Z20N617Z58N70Z153N84Z17N620Z56N70Z152N86Z14N628Z50N69Z151N89Z10N634Z47N68Z151N91Z8N635Z46N68Z147N99Z4N637Z45N68Z136N751Z44N67Z137N755Z37N70Z135N759Z35N70Z136N763Z27N70Z139N765Z25N69Z141N769Z21N65Z144N772Z19N65Z142N775Z18N65Z142N778Z15N65Z141N780Z14N65Z140N784Z11N65Z139N786Z10N65Z139N862Z136N865Z135N867Z132N870Z129N871Z129N874Z123N878Z121N880Z119N884Z115N887Z111N894Z105N898Z101N905Z91N923Z76N926Z71N933Z65N936Z63N940Z56N945Z54N853Z2N92Z15N3Z28N860Z2N93Z13N4Z27N860Z3N93Z12N6Z25N959Z8N9Z23N961Z6N11Z20N965Z2N16Z17N985Z14N988Z12N993Z5N997Z1N13069Z6N994Z9N990Z14N985Z13N987Z12N988Z8N992Z8N990Z9N991Z8N994Z5N996Z4N997Z1N19950Z4N41701Z",
                "defect_id": 152878,
                "label_index": 1,
                "label_name": "Shipping Containers"
            },
            "5d4cb53f-4a39-774f-b97c-d4a26d868853": {
                "score": 1.0,
                "bitmap": "229N30Z264N32Z365N15Z294N30Z264N34Z363N15Z294N30Z263N35Z363N15Z294N30Z260N39Z362N15Z294N30Z259N41Z360N18Z292N30Z260N40Z360N18Z292N30Z259N41Z360N18Z292N30Z259N41Z360N18Z292N33Z255N45Z6N4Z347N19Z292N32Z255N43Z8N2Z349N19Z294N28Z257N37Z15N1Z349N18Z298N24Z258N35Z17N1Z349N18Z268N19Z15N19Z259N32Z21N2Z348N13Z270N21Z16N18Z10N5Z1N1Z242N32Z21N4Z348N8Z270N24Z18N16Z6N13Z242N29Z22N10Z18N2Z324N3Z253N12Z6N26Z18N16Z5N19Z253N2Z2N3Z61N1Z574N46Z18N17Z4N22Z888N50Z19N13Z2N32Z66N3Z814N50Z20N12Z3N35Z61N9Z810N48Z22N12Z3N36Z59N12Z806N49Z20N56Z55N15Z805N53Z12N62Z52N14Z806N130Z49N14Z807N131Z48N14Z806N135Z44N13Z808N136Z41N15Z785N2Z20N138Z40N14Z784N10Z6N148Z41N10Z784N165Z46N2Z737N10Z37N168Z781N17Z32N170Z775N28Z23N174Z237N1Z533N32Z23N172Z172N1Z596N38Z20N171Z767N47Z13N170Z769N49Z12N169Z768N53Z9N169Z767N57Z6N170Z765N59Z6N169Z761N65Z6N165Z50N1Z710N68Z7N162Z52N1Z698N81Z13N18Z17N51Z9N7Z28N22Z55N3Z693N84Z18N7Z50N21Z48N21Z55N3Z691N91Z15N1Z59N15Z48N20Z750N95Z11N2Z62N12Z46N19Z748N101Z10N2Z65N8Z46N18Z737N116Z4N6Z115N19Z736N130Z78N2Z34N19Z734N46Z9N80Z73N8Z29N20Z733N44Z13N81Z71N9Z27N17Z728N50Z17N83Z68N14Z10N25Z733N48Z19N85Z65N17Z4N22Z740N45Z22N87Z63N42Z741N40Z25N92Z58N43Z742N38Z27N94Z56N43Z742N34Z31N98Z54N40Z743N32Z33N100Z2N22Z28N40Z743N30Z34N128Z25N38Z745N27Z36N132Z23N34Z748N25Z37N135Z25N30Z748N20Z40N143Z10N9Z6N37Z2N10Z723N15Z45N45Z2N116Z6N50Z721N8Z51N45Z4N115Z9N51Z775N46Z5N114Z11N50Z774N45Z9N111Z12N49Z774N45Z14N106Z14N50Z772N43Z15N103Z18N50Z775N37Z19N15Z3N80Z23N49Z779N31Z21N12Z6N77Z25N50Z784N24Z25N5Z12N73Z29N50Z783N22Z45N71Z30N49Z12N6Z768N17Z48N69Z31N50Z10N12Z769N5Z58N62Z36N68Z835N59Z40N66Z47N12Z777N54Z50N59Z40N28Z770N52Z57N53Z37N33Z770N47Z64N49Z36N36Z769N44Z67N48Z33N40Z768N42Z70N47Z31N45Z764N36Z81N15Z3N25Z28N50Z12N5Z28N12Z705N35Z87N4Z10N24Z27N53Z10N6Z25N15Z64N8Z632N28Z54N8Z48N20Z28N55Z7N9Z20N20Z45N6Z7N20Z625N27Z54N10Z47N20Z28N56Z4N12Z18N22Z14N3Z26N35Z625N24Z56N11Z48N17Z29N75Z15N24Z12N3Z23N37Z628N17Z60N15Z46N15Z30N85Z4N26Z10N7Z18N39Z631N10Z64N17Z11N7Z26N14Z30N87Z1N29Z8N18Z7N38Z705N38Z27N4Z38N117Z6N62Z708N39Z66N119Z6N58Z712N40Z65N173Z694N12Z16N42Z63N164Z701N18Z12N43Z62N158Z705N25Z7N47Z58N155Z707N27Z6N49Z56N155Z705N29Z6N52Z52N156Z704N31Z3N54Z51N157Z703N89Z50N158Z702N91Z47N162Z75N10Z27N14Z574N91Z47N162Z73N14Z24N20Z17N19Z531N94Z45N163Z71N17Z22N63Z525N94Z30N1Z14N164Z70N19Z18N67Z521N95Z16N23Z6N164Z71N17Z19N70Z515N29Z5N65Z14N26Z5N164Z72N16Z19N71Z508N29Z11N65Z12N29Z3N163Z74N16Z18N72Z504N24Z20N64Z10N131Z5N61Z56N2Z18N15Z18N75Z500N24Z21N64Z10N78Z15N37Z7N59Z57N4Z19N12Z17N76Z500N22Z23N64Z10N75Z21N32Z9N64Z51N9Z17N9Z18N82Z494N21Z24N7Z2N53Z12N73Z23N15Z9N6Z11N69Z46N10Z18N6Z17N88Z490N16Z29N6Z4N51Z14N62Z35N8Z31N76Z38N11Z38N95Z486N11Z34N6Z5N50Z14N61Z40N1Z33N16Z3N60Z36N11Z36N98Z485N7Z38N5Z7N49Z14N60Z75N15Z10N55Z35N12Z34N100Z35N11Z289N3Z147N3Z55N46Z15N41Z5N13Z73N15Z17N52Z33N13Z33N36Z4N62Z32N17Z261N9Z224N44Z15N42Z5N13Z72N16Z18N51Z33N16Z30N36Z4N61Z31N20Z260N14Z221N39Z16N44Z6N12Z71N19Z16N51Z33N18Z27N37Z3N58Z34N26Z255N15Z220N38Z17N43Z7N13Z69N20Z16N51Z33N20Z23N39Z3N57Z34N30Z252N17Z220N33Z19N44Z7N13Z69N20Z16N51Z31N23Z20N42Z2N55Z36N32Z250N18Z220N29Z22N44Z7N13Z67N22Z17N49Z32N24Z16N97Z41N36Z246N18Z221N25Z25N44Z7N14Z65N23Z17N50Z31N28Z10N97Z45N35Z245N17Z226N16Z29N45Z5N22Z58N22Z19N51Z28N86Z3N50Z51N34Z238N17Z227N11Z33N46Z4N24Z55N23Z19N51Z27N87Z4N49Z55N35Z233N15Z273N75Z32N44Z20N51Z23N89Z10N46Z61N36Z225N15Z273N75Z29N46Z21N51Z22N88Z15N43Z67N32Z223N14Z274N76Z26N48Z22N50Z20N64Z4N19Z21N40Z71N29Z222N14Z274N76Z24N47Z25N57Z13N60Z50N37Z77N26Z220N14Z275N75Z21N48Z27N60Z9N60Z51N35Z80N25Z220N13Z277N75Z17N47Z33N11Z12N39Z4N57Z58N27Z88N25Z217N12Z280N73Z17N46Z34N10Z13N95Z63N26Z90N24Z217N10Z284N73Z13N47Z35N7Z18N45Z6N36Z71N22Z92N26Z215N9Z288N68Z15N45Z37N7Z18N45Z6N35Z81N11Z93N27Z215N7Z296N20Z4N36Z16N43Z40N7Z18N46Z5N34Z185N28Z527N7Z10N28Z22N39Z44N8Z17N48Z2N32Z186N29Z529N5Z14N21Z26N38Z45N8Z17N81Z187N29Z530N3Z23N8Z30N36Z48N8Z17N67Z9N2Z189N29Z594N36Z49N8Z17N66Z201N28Z597N33Z50N8Z17N67Z40N3Z157N26Z609N21Z23N9Z21N6Z18N71Z35N7Z157N21Z616N14Z24N15Z16N6Z19N71Z33N11Z155N19Z428N18Z206N21Z14N4Z20N71Z31N37Z132N11Z433N24Z202N21Z15N2Z22N70Z31N37Z135N6Z432N32Z196N25Z10N6Z21N69Z30N39Z574N30Z196N26Z4N20Z12N68Z30N41Z573N31Z195N52Z12N65Z28N45Z573N34Z191N55Z12N59Z28N50Z572N34Z190N55Z16N11Z7N36Z27N52Z573N39Z183N57Z35N31Z27N57Z100N3Z427N3Z41N36Z184N56Z36N29Z26N59Z99N5Z476N20Z196N55Z39N21Z27N63Z90N18Z690N52Z42N16Z27N65Z87N23Z690N52Z43N9Z30N66Z84N30Z524N4Z168N47Z75N70Z81N39Z513N8Z169N46Z72N72Z81N42Z312N5Z192N10Z170N41Z72N75Z78N48Z307N8Z191N11Z172N35Z73N77Z76N50Z307N10Z189N11Z175N29Z74N77Z75N54Z20N1Z282N6Z5N5Z186N13Z272N80Z14N9Z48N83Z276N10Z3N7Z185N14Z270N80Z7N19Z45N85Z270N31Z179N14Z269N80Z7N21Z42N88Z269N33Z177N14Z267N83Z5N22Z42N87Z266N4Z15N19Z179N8Z269N111Z39N55Z13N20Z268N3Z6N29Z179N7Z270N111Z39N54Z15N16Z268N6Z5N31Z180N3Z271N112Z38N54Z17N11Z272N5Z5N32Z451N117Z33N54Z303N5Z5N32Z451N115Z33N56Z305N34Z456N115Z30N58Z307N30Z460N114Z30N57Z313N21Z464N112Z30N57Z21N6Z290N18Z465N112Z31N55Z23N6Z293N10Z470N111Z31N55Z23N8Z762N120Z27N65Z18N7Z760N121Z25N72Z15N7Z753N127Z23N81Z7N9Z686N2Z62N130Z21N84Z5N10Z688N1Z61N129Z21N86Z2N12Z688N1Z60N129Z21N100Z46N4Z35N10Z654N128Z23N99Z47N6Z32N13Z445N7Z97N1Z100N128Z24N98Z48N12Z24N28Z432N10Z94N2Z100N127Z23N99Z49N14Z21N30Z430N12Z88N9Z97N124Z25N101Z48N20Z8N40Z427N15Z83N12Z97N121Z28N100Z49N70Z423N17Z82N13Z97N119Z29N101Z47N73Z421N19Z81N13Z97N114Z30N101Z49N75Z421N19Z81N13Z97N111Z32N101Z49N76Z421N18Z82N13Z96N109Z30N103Z45N84Z420N18Z82N13Z96N107Z30N104Z44N86Z116N7Z298N15Z83N10Z100N104Z31N105Z42N89Z423N12Z81N17Z95N103Z30N108Z44N87Z424N11Z79N19Z93N104Z28N110Z45N87Z426N9Z75N24Z90N105Z26N111Z48N86Z428N6Z74N16Z6N4Z89N105Z26N112Z49N84Z430N5Z66N20Z13N1Z86N108Z26N111Z51N83Z432N2Z67N13Z2N3Z100N110Z25N111Z54N81Z501N10Z106N112Z25N111Z54N80Z501N6Z110N111Z25N112Z58N75Z503N5Z111N111Z24N113Z45N7Z8N73Z502N5Z112N110Z24N112Z33N22Z9N69Z504N5Z112N109Z25N111Z30N26Z10N67Z505N3Z89N16Z8N107Z25N114Z29N31Z3N67Z508N3Z87N131Z26N114Z29N101Z510N2Z85N132Z25N116Z27N102Z492N6Z99N130Z21N120Z28N102Z492N11Z95N130Z21N120Z28N102Z491N14Z93N127Z23N118Z29N104Z492N19Z88N126Z21N120Z30N103Z493N22Z81N127Z22N120Z30N102Z495N24Z79N126Z22N120Z30N104Z495N24Z77N127Z22N120Z31N103Z496N24Z76N126Z23N119Z31N104Z495N25Z77N124Z24N118Z33N102Z350N9Z136N25Z79N121Z24N119Z37N99Z346N29Z121N25Z79N121Z23N120Z40N95Z346N43Z108N24Z80N119Z24N118Z45N93Z316N1Z27N51Z102N23Z80N117Z25N118Z49N90Z317N3Z25N53Z100N22Z81N116Z25N116Z52N88Z319N5Z23N55Z100N16Z86N113Z26N116Z51N87Z322N5Z23N56Z99N15Z88N110Z28N115Z50N87Z325N5Z24N55Z99N11Z94N105Z27N117Z50N86Z327N7Z25N53Z98N10Z97N99Z30N118Z48N88Z327N7Z27N53Z98N7Z100N92Z34N117Z50N88Z327N8Z32N49Z205N85Z38N117Z51N87Z328N8Z34N47Z206N83Z37N119Z51N85Z330N8Z36N45Z208N81Z34N120Z53N82Z333N8Z36N45Z209N79Z32N120Z56N80Z334N10Z38N42Z213N75Z30N117Z63N76Z336N10Z39N41Z216N72Z28N117Z65N75Z336N11Z39N41Z219N69Z28N114Z68N75Z336N11Z34N45Z222N2Z10N53Z30N113Z69N73Z338N11Z29N49Z236N51Z30N111Z72N73Z338N10Z27N49Z243N46Z30N110Z72N74Z339N10Z27N48Z247N42Z31N107Z75N74Z339N10Z26N48Z251N37Z32N106Z76N74Z337N12Z27N48Z252N35Z31N107Z72N78Z338N10Z29N48Z252N34Z32N107Z70N78Z340N7Z31N49Z221N9Z25N28Z33N107Z70N78Z342N3Z35N50Z217N13Z27N24Z31N109Z71N78Z379N51Z105N6Z105N21Z33N7Z29N114Z71N31Z10N35Z382N51Z105N7Z104N28Z62N113Z72N33Z8N34Z383N50Z107N4Z106N31Z58N114Z72N74Z385N47Z218N34Z55N112Z76N69Z389N46Z219N35Z52N114Z76N68Z390N25Z5N15Z220N36Z50N114Z80N61Z394N24Z8N12Z220N37Z50N113Z83N57Z382N4Z10N22Z14N3Z78N3Z40N1Z59N10Z31N43Z46N112Z88N51Z383N11Z5N22Z93N6Z28N17Z49N16Z28N48Z42N112Z90N50Z381N13Z5N22Z92N10Z23N23Z42N22Z22N56Z37N112Z90N50Z350N1Z27N18Z2N22Z90N15Z21N25Z37N30Z11N66Z31N112Z92N50Z349N2Z25N43Z87N20Z19N28Z33N110Z30N110Z94N49Z325N5Z19N3Z23N42Z87N28Z10N34Z28N90Z5N18Z29N110Z96N48Z324N6Z19N3Z22N28Z100N33Z5N55Z4N93Z8N16Z29N110Z96N48Z325N6Z17N4Z20N26Z103N191Z10N14Z29N111Z96N48Z323N8Z14N7Z15N30Z103N191Z16N3Z33N110Z99N45Z325N9Z11N9Z14N32Z101N192Z53N110Z99N44Z325N10Z10N10Z12N33Z99N195Z52N109Z101N43Z326N10Z9N10Z13N33Z97N195Z54N109Z100N44Z325N11Z5N6Z21N33Z95N195Z56N106Z103N41Z328N11Z5N2Z27N31Z94N195Z57N105Z104N41Z328N11Z4N2Z28N30Z91N197Z58N105Z105N40Z329N8Z7N1Z29N28Z90N199Z59N102Z54N15Z39N39Z330N7Z6N2Z30N27Z90N199Z60N101Z48N2Z1N20Z38N37Z332N6Z37N27Z88N197Z66N99Z46N41Z26N34Z333N5Z38N25Z89N194Z70N97Z47N46Z24N31Z376N25Z88N191Z75N95Z46N51Z25N24Z380N24Z89N188Z78N95Z46N53Z25N21Z381N23Z91N186Z79N94Z45N55Z26N19Z385N5Z110N176Z85N92Z44N59Z26N13Z391N2Z113N172Z88N91Z45N60Z28N7Z513N163Z93N89Z48N59Z309N12Z228N21Z1N140Z93N86Z51N59Z306N18Z227N17Z3N139Z94N85Z52N60Z302N23Z228N11Z6N139Z58N13Z23N81Z58N58Z300N28Z226N9Z7N138Z56N18Z21N80Z59N60Z293N45Z222N146Z52N25Z18N77Z62N62Z288N51Z212N152Z50N28Z18N76Z63N63Z294N10Z1N35Z204N156Z42N40Z16N74Z63N68Z292N9Z3N35Z201N157Z38N44Z16N71Z66N68Z292N8Z4N36Z199N157Z36N48Z15N70Z67N69Z293N7Z1N42Z192N159Z35N50Z15N66Z70N70Z293N52Z188N161Z34N51Z15N65Z70N71Z293N53Z183N161Z36N52Z15N65Z70N72Z293N55Z180N161Z37N52Z15N63Z70N74Z293N56Z177N160Z39N53Z15N62Z70N75Z294N55Z177N160Z39N53Z13N63Z70N76Z298N51Z177N159Z41N50Z17N61Z69N77Z304N45Z176N159Z42N48Z19N58Z70N78Z309N41Z176N156Z45N45Z22N57Z70N79Z312N37Z88N13Z75N154Z50N40Z25N56Z69N81Z312N37Z86N17Z73N152Z53N37Z27N55Z68N83Z314N35Z83N23Z70N151Z54N36Z28N55Z67N84Z315N34Z81N30Z64N150Z56N21Z6N5Z30N55Z67N83Z319N31Z82N35Z58N149Z59N15Z47N55Z65N85Z322N27Z81N42Z51N149Z61N7Z54N54Z66N86Z325N23Z81N44Z49N148Z63N6Z55N53Z67N85Z344N4Z81N47Z43N150Z125N45Z75N86Z429N56Z33N150Z127N43Z76N85Z429N60Z27N150Z130N41Z79N84Z429N62Z21N152Z133N39Z80N81Z430N64Z20N151Z135N38Z81N81Z428N67Z18N149Z61N1Z78N36Z81N78Z430N71Z15N149Z140N35Z82N78Z427N81Z8N146Z143N33Z84N75Z429N85Z4N145Z145N32Z86N73Z429N87Z3N143Z147N31Z87N72Z427N231Z152N27Z93N68Z429N230Z153N26Z95N67Z428N230Z156N24Z57N9Z35N60Z429N230Z157N22Z56N16Z33N56Z430N229Z160N20Z53N22Z32N53Z431N226Z168N11Z56N25Z36N45Z432N226Z235N26Z39N41Z433N223Z49N3Z186N26Z44N34Z436N222Z239N25Z46N30Z439N219Z242N22Z53N23Z441N216Z245N20Z58N20Z442N214Z248N16Z61N18Z445N57Z13N111Z280N12Z68N11Z448N57Z13N108Z284N10Z71N7Z452N61Z7N107Z289N4Z533N62Z6N106Z828N62Z5N103Z831N61Z11N94Z835N60Z13N88Z842N157Z843N157Z846N154Z71N22Z756N151Z70N24Z757N149Z68N27Z715N4Z41N145Z66N30Z712N11Z36N146Z64N31Z704N28Z31N145Z60N34Z698N35Z35N138Z60N34Z692N48Z36N131Z58N36Z690N50Z36N130Z56N39Z688N52Z35N130Z45N50Z688N56Z34N126Z37N62Z683N60Z33N125Z36N64Z682N64Z34N117Z37N70Z678N67Z33N115Z37N70Z677N71Z34N110Z35N76Z673N75Z32N108Z36N91Z657N77Z33N106Z35N99Z641N91Z31N99Z38N102Z635N99Z29N96Z37N105Z629N110Z25N86Z43N109Z626N115Z22N83Z44N110Z623N120Z20N82Z45N110Z621N125Z17N77Z50N108Z620N128Z17N75Z50N109Z618N133Z17N71Z52N108Z617N135Z17N71Z51N108Z615N141Z14N68Z54N106Z614N151Z5N69Z55N105Z599N9Z5N226Z55N106Z591N247Z55N107Z590N248Z55N106Z589N192Z1N55Z53N110Z589N247Z50N115Z585N248Z46N125Z581N246Z47N127Z579N246Z46N129Z576N208Z10N29Z46N132Z574N209Z12N25Z47N133Z573N211Z15N20Z40N141Z572N215Z15N15Z40N142Z571N218Z17N2Z48N144Z570N220Z64N146Z569N221Z64N145Z562N229Z63N145Z558N234Z63N142Z560N235Z61N142Z562N234Z61N141Z563N235Z61N140Z564N234Z61N107Z14N18Z566N234Z61N111Z11N14Z569N230Z66N113Z12N1Z578N229Z67N114Z590N226Z71N113Z590N225Z72N114Z589N224Z75N112Z590N221Z79N109Z592N219Z81N108Z595N214Z86N105Z596N211Z89N104Z597N210Z90N103Z600N205Z94N100Z602N203Z55N7Z34N97Z608N195Z52N18Z37N90Z612N190Z52N20Z40N85Z618N182Z54N34Z33N78Z620N180Z54N37Z34N75Z620N179Z53N42Z32N73Z623N172Z57N48Z32N65Z590N3Z35N167Z59N50Z34N62Z586N12Z33N159Z61N57Z45N45Z588N13Z34N156Z61N60Z44N42Z589N15Z35N153Z58N68Z41N40Z590N16Z35N150Z59N71Z39N40Z590N19Z36N145Z59N75Z37N38Z591N21Z48N130Z54N86Z34N33Z594N21Z52N81Z4N40Z52N90Z34N31Z595N23Z55N73Z9N29Z59N95Z33N27Z597N24Z55N72Z10N24Z61N98Z34N23Z600N24Z56N70Z12N21Z62N99Z34N21Z601N28Z55N67Z15N12Z67N104Z32N15Z607N26Z56N66Z94N104Z34N11Z609N27Z20N9Z29N63Z94N105Z35N4Z615N27Z18N11Z28N63Z93N106Z36N2Z617N26Z20N9Z29N62Z90N109Z656N27Z20N7Z29N62Z89N110Z658N25Z21N6Z29N62Z88N111Z660N24Z22N2Z32N60Z85N115Z660N25Z30N1Z25N59Z84N116Z664N24Z26N5Z22N59Z83N118Z664N25Z24N5Z22N59Z81N122Z667N29Z15N10Z22N54Z78N126Z667N30Z14N24Z11N50Z76N129Z668N28Z14N25Z14N46Z75N133Z666N29Z11N26Z18N42Z73N137Z666N29Z5N30Z19N41Z71N139Z673N56Z22N39Z69N141Z675N54Z25N36Z69N141Z676N40Z2N10Z28N34Z68N142Z683N32Z46N29Z65N146Z685N30Z47N27Z64N146Z690N36Z39N24Z62N148Z67N15Z610N37Z38N23Z61N148Z67N19Z609N36Z41N18Z58N150Z68N21Z608N37Z41N17Z57N150Z68N23Z608N37Z42N13Z59N149Z69N23Z609N46Z102N150Z70N23Z610N50Z95N150Z72N23Z613N55Z84N150Z76N22Z614N56Z79N151Z79N21Z615N60Z72N151Z82N20Z617N58Z70N153Z84N17Z620N56Z70N152Z86N14Z628N50Z69N151Z89N10Z634N47Z68N151Z91N8Z635N46Z68N147Z99N4Z637N45Z68N136Z751N44Z67N137Z755N37Z70N135Z759N35Z70N136Z763N27Z70N139Z765N25Z69N141Z769N21Z65N144Z772N19Z65N142Z775N18Z65N142Z778N15Z65N141Z780N14Z65N140Z784N11Z65N139Z786N10Z65N139Z862N136Z865N135Z867N132Z870N129Z871N129Z874N123Z878N121Z880N119Z884N115Z887N111Z894N105Z898N101Z905N91Z923N76Z926N71Z933N65Z936N63Z940N56Z945N54Z853N2Z92N15Z3N28Z860N2Z93N13Z4N27Z860N3Z93N12Z6N25Z959N8Z9N23Z961N6Z11N20Z965N2Z16N17Z985N14Z988N12Z993N5Z997N1Z13069N6Z994N9Z990N14Z985N13Z987N12Z988N8Z992N8Z990N9Z991N8Z994N5Z996N4Z997N1Z19950N4Z41701N",
                "defect_id": 152879,
                "label_index": 2,
                "label_name": "Other"
            }
        },
        "data": null,
        "labels": null,
        "num_classes": 3
    },
    "type": "SegmentationPrediction",
    "latency": {
        "preprocess_s": 0.0034046173095703125,
        "infer_s": 0.6407222747802734,
        "postprocess_s": 7.05718994140625e-05,
        "serialize_s": 0.05350923538208008,
        "input_conversion_s": 0.01775670051574707,
        "model_loading_s": 8.249282836914062e-05
    },
    "model_id": "fdb43e8d-c316-4e16-a7ae-08d7454a83de"
}


The Purple and Yellow Overlays Correspond to the Prediction Data in the JSON Response for the Visual Prompting Model

Script for Parsing Segmentation and Visual Prompting Results

Use this Colab notebook to parse the JSON results from Segmentation and Visual Prompting models.

JSON Responses for Classification Models

The following table describes the objects in the JSON response for Classification models. An example response is here.

ElementDescription
backbonetype (Cloud Deployment)This object isn’t applicable to Classification models, because the prediction type is captured in the type object. For Classification, this will always be null.

This element only displays in the JSON response for Cloud Deployment.
backbonepredictions (Cloud Deployment)This object isn’t applicable to Classification models, because the prediction type is captured in predictions. For Classification, this will always be null.

This element only displays in the JSON response for Cloud Deployment.
predictionsThis object contains the information for the model's prediction.
scoreThe confidence score for the prediction.
labelNameThe predicted class.
labelIndexThe internal identifier of the predicted class. Each class in a project is assigned a number, starting with 0. If you delete a class, that class’s number is not re-assigned to any current or future classes in that project.
defectId (LandingEdge, Docker)The unique identifier for the predicted class.

This element only displays in the JSON response for LandingEdge and Docker.
rawScores (LandingEdge, Docker)

This element only displays in the JSON response for LandingEdge and Docker.
"type": "ClassificationPrediction"The name of the prediction type. For Classification, this will always be ClassificationPrediction.
metadata (LandingEdge, Docker)This element contains nested metadata from the image. If the Image Source is Folder Watcher, some data is populated by default. You can use scripts and web APIs to set or override the values.

This element only displays in the JSON response for LandingEdge and Docker.
image_id (LandingEdge, Docker)If the Image Source is Folder Watcher, this is the file name of the image. Otherwise, this object is blank.You can use scripts and web APIs to set or override the values.

This element only displays in the JSON response for LandingEdge and Docker.
inspection_station_id (LandingEdge, Docker)This element is blank by default. You can use scripts and web APIs to set or override the values.

This element only displays in the JSON response for LandingEdge and Docker.
location_id (LandingEdge, Docker)If the Image Source is Folder Watcher, this is the directory that the image is in. Otherwise, this object is blank. You can use scripts and web APIs to set or override the values.

This element only displays in the JSON response for LandingEdge and Docker.
capture_timestamp (LandingEdge, Docker)The time and date that OCR was run on the image. You can use scripts and web APIs to set or override the values.

This element only displays in the JSON response for LandingEdge and Docker.
latency

The latency object includes the detailed timing statistics of the inference call.

Each key-value pair in the latency object represents a step in the inference process, and the duration of that step. All values are measured in seconds.

model_idThe unique identifier for the model. For more information, go here

Example: Classification JSON Response

The following code snippet and image show the predictions for a Classification model trained to detect defects on metal sheets. The model has three classes: Pitted, Scratched, and No Defect. The model correctly predicted the Scratched class.

The prediction data is in the predictions object.

This JSON response is from Cloud Deployment.

{
    "backbonetype": null,
    "backbonepredictions": null,
    "predictions": {
        "score": 0.9992166757583618,
        "labelName": "Scratched",
        "labelIndex": 1
    },
    "type": "ClassificationPrediction",
    "latency": {
        "preprocess_s": 0.005140542984008789,
        "infer_s": 0.14725708961486816,
        "postprocess_s": 6.794929504394531e-05,
        "serialize_s": 0.00016546249389648438,
        "input_conversion_s": 0.0007550716400146484,
        "model_loading_s": 5.677931785583496
    },
    "model_id": "6924128f-3526-4d02-97c5-281f8a6984c1"
}


The Overlay Corresponds to the Prediction Data in the JSON Response for the Classification Model



Was this article helpful?