Result sample of an annotated image (JSON)

  • Updated

This is an example of the JSON result from an annotated image. Download the full sample below.

[
    {
        "id": "e06af9b8-9980-41ce-bb14-b7a9a99c7df6",
        "inputRecord": {
            "id": "eaa348d7-3bfc-48d6-b6b7-f397df3afb0b",
            "data": {
                "boxes": {
                    "url": "https://cdn.app.alegion.com/Alegion-Demo/DEMO-Computer-Vision-Tooling/images/sofa-holding-laptops-1181264.jpg"
                }
            },
            "createdAt": "2020-06-25T03:18:12.748Z"
        },
        "resultData": {
            "boxes": {
                "url": "https://cdn.app.alegion.com/Alegion-Demo/DEMO-Computer-Vision-Tooling/images/sofa-holding-laptops-1181264.jpg",
                "entityTypes": [
                    {
                        "name": "Person",
                        "objects": [
                            {
                                "id": "acd59be5-ae4b-487f-b454-7c5eaf56246b",
                                "shapeType": "bounding-box",
                                "coordinates": [
                                    {
                                        "x": 3605,
                                        "y": 2714
                                    },
                                    {
                                        "x": 3605,
                                        "y": 1155
                                    },
                                    {
                                        "x": 4823,
                                        "y": 1155
                                    },
                                    {
                                        "x": 4823,
                                        "y": 2714
                                    }
                                ],
                                "classifications": [
                                    {
                                        "posture": "sitting"
                                    }
                                ]
                            },
                            {
                                "id": "d80a8277-6a60-45d3-850e-4d579515c2fe",
                                "shapeType": "bounding-box",
                                "coordinates": [
                                    {
                                        "x": 2922,
                                        "y": 2804
                                    },
                                    {
                                        "x": 2922,
                                        "y": 1234
                                    },
                                    {
                                        "x": 3561,
                                        "y": 1234
                                    },
                                    {
                                        "x": 3561,
                                        "y": 2804
                                    }
                                ],
                                "classifications": [
                                    {
                                        "posture": "standing"
                                    }
                                ]
                            },
                            {
                                "id": "b59d6ed7-6621-4d29-a621-134743d475fd",
                                "shapeType": "bounding-box",
                                "coordinates": [
                                    {
                                        "x": 835,
                                        "y": 3381
                                    },
                                    {
                                        "x": 835,
                                        "y": 1456
                                    },
                                    {
                                        "x": 2092,
                                        "y": 1456
                                    },
                                    {
                                        "x": 2092,
                                        "y": 3381
                                    }
                                ],
                                "classifications": [
                                    {
                                        "posture": "crouching"
                                    }
                                ]
                            }
                        ]
                    },
                    {
                        "name": "Laptop",
                        "objects": [
                            {
                                "id": "305e1d3f-958c-44da-833e-51f755fa9375",
                                "shapeType": "bounding-box",
                                "coordinates": [
                                    {
                                        "x": 2944,
                                        "y": 2070
                                    },
                                    {
                                        "x": 2944,
                                        "y": 1818
                                    },
                                    {
                                        "x": 3373,
                                        "y": 1818
                                    },
                                    {
                                        "x": 3373,
                                        "y": 2070
                                    }
                                ],
                                "classifications": [
                                    {
                                        "orientation": "open"
                                    }
                                ]
                            }

//                            
//...                            
//                            

                    {
                        "name": "Eye",
                        "objects": [
                            {
                                "id": "c1e659d2-0eef-4880-a1f5-f19ca83cd55d",
                                "shapeType": "key-point",
                                "coordinates": [
                                    {
                                        "x": 4295,
                                        "y": 1355
                                    }
                                ],
                                "classifications": [
                                    {
                                        "eye_side": "left"
                                    }
                                ]
                            },
                            {
                                "id": "8bf83b81-0bd4-4deb-9bca-cd72439c3cc6",
                                "shapeType": "key-point",
                                "coordinates": [
                                    {
                                        "x": 3330,
                                        "y": 1395
                                    }
                                ],
                                "classifications": [
                                    {
                                        "eye_side": "right"
                                    }
                                ]
                            },
                            {
                                "id": "055a3825-42b9-4844-9896-19cba3ecb45c",
                                "shapeType": "key-point",
                                "coordinates": [
                                    {
                                        "x": 3386,
                                        "y": 1386
                                    }
                                ],
                                "classifications": [
                                    {
                                        "eye_side": "left"
                                    }
                                ]
                            }
                        ]
                    },

//                            
//...                            
//                            

                "relationships": [
                    {
                        "objectId": "0c753680-7720-43f2-af16-cfdcc5ea6070",
                        "subjectId": "b59d6ed7-6621-4d29-a621-134743d475fd"
                    },
                    {
                        "objectId": "305e1d3f-958c-44da-833e-51f755fa9375",
                        "subjectId": "d80a8277-6a60-45d3-850e-4d579515c2fe"
                    },
                    {
                        "objectId": "055a3825-42b9-4844-9896-19cba3ecb45c",
                        "subjectId": "d80a8277-6a60-45d3-850e-4d579515c2fe"
                    },
                    {
                        "objectId": "8bf83b81-0bd4-4deb-9bca-cd72439c3cc6",
                        "subjectId": "d80a8277-6a60-45d3-850e-4d579515c2fe"
                    },
                    {
                        "objectId": "e285634c-af03-47ca-8529-e8f12fa264e1",
                        "subjectId": "acd59be5-ae4b-487f-b454-7c5eaf56246b"
                    },
                    {
                        "objectId": "c1e659d2-0eef-4880-a1f5-f19ca83cd55d",
                        "subjectId": "acd59be5-ae4b-487f-b454-7c5eaf56246b"
                    },
                    {
                        "objectId": "11d990b3-0ba9-40a9-b325-1009df1178ee",
                        "subjectId": "acd59be5-ae4b-487f-b454-7c5eaf56246b"
                    }
                ]
            }
        },
        "createdAt": "2020-07-27T10:07:08.862Z"
    }
]
 
Share This