point

point use case example

To describe a point dataset with one camera sensor:

  • sensor: camera (#camera1)

  • ontology:

    • face

    • eye

    • mouth

    • nose

    • ear

Example Code

{
    "visionai": {
        "frame_intervals": [
            {
                "frame_start": 0,
                "frame_end": 0
            }
        ],
        "frames": {
            "000000000000": {
                "objects": {
                    "05634626-143e-499d-8d7c-2124a5879f0a": {
                        "object_data": {
                            "point2d": [
                                {
                                    "name": "point2d_shape",
                                    "stream": "camera1",
                                    "coordinate_system": "camera1",
                                    "val": [
                                        236.0,
                                        275.0
                                    ]
                                }
                            ]
                        }
                    },
                    "05634626-143e-499d-8d7c-2124a5879f0b": {
                        "object_data": {
                            "point2d": [
                                {
                                    "name": "point2d_shape",
                                    "stream": "camera1",
                                    "coordinate_system": "camera1",
                                    "val": [
                                        45.0,
                                        241
                                    ]
                                }
                            ]
                        }
                    },
                    "05634626-143e-499d-8d7c-2124a5879f0c": {
                        "object_data": {
                            "point2d": [
                                {
                                    "name": "point2d_shape",
                                    "stream": "camera1",
                                    "coordinate_system": "camera1",
                                    "val": [
                                        275.0,
                                        241
                                    ]
                                }
                            ]
                        }
                    },
                    "05634626-143e-499d-8d7c-2124a5879f0d": {
                        "object_data": {
                            "point2d": [
                                {
                                    "name": "point2d_shape",
                                    "stream": "camera1",
                                    "coordinate_system": "camera1",
                                    "val": [
                                        236.0,
                                        241
                                    ]
                                }
                            ]
                        }
                    },
                    "05634626-143e-499d-8d7c-2124a5879f0e": {
                        "object_data": {
                            "point2d": [
                                {
                                    "name": "point2d_shape",
                                    "stream": "camera1",
                                    "coordinate_system": "camera1",
                                    "val": [
                                        236.0,
                                        241
                                    ]
                                }
                            ]
                        }
                    }
                },
                "frame_properties": {
                    "streams": {
                        "camera1": {
                            "uri": "https://helenmlopsstorageqatest.blob.core.windows.net/vainewformat/kitti/kitti_small/data_new_polygon/000000000000/data/camera1/000000000000.png"
                        },
                        "lidar1": {
                            "uri": "https://helenmlopsstorageqatest.blob.core.windows.net/vainewformat/kitti/kitti_small/data_new_polygon/000000000000/data/lidar1/000000000000.pcd"
                        }
                    }
                }
            }
        },
        "objects": {
            "05634626-143e-499d-8d7c-2124a5879f0a": {
                "frame_intervals": [
                    {
                        "frame_start": 0,
                        "frame_end": 0
                    }
                ],
                "name": "face01",
                "object_data_pointers": {
                    "point2d_shape": {
                        "frame_intervals": [
                            {
                                "frame_start": 0,
                                "frame_end": 0
                            }
                        ],
                        "type": "point2d"
                    }
                },
                "type": "face"
            },
            "05634626-143e-499d-8d7c-2124a5879f0b": {
                "frame_intervals": [
                    {
                        "frame_start": 0,
                        "frame_end": 0
                    }
                ],
                "name": "eye01",
                "object_data_pointers": {
                    "point2d_shape": {
                        "frame_intervals": [
                            {
                                "frame_start": 0,
                                "frame_end": 0
                            }
                        ],
                        "type": "point2d"
                    }
                },
                "type": "eye"
            },
            "05634626-143e-499d-8d7c-2124a5879f0c": {
                "frame_intervals": [
                    {
                        "frame_start": 0,
                        "frame_end": 0
                    }
                ],
                "name": "mouth01",
                "object_data_pointers": {
                    "point2d_shape": {
                        "frame_intervals": [
                            {
                                "frame_start": 0,
                                "frame_end": 0
                            }
                        ],
                        "type": "point2d"
                    }
                },
                "type": "mouth"
            },
            "05634626-143e-499d-8d7c-2124a5879f0d": {
                "frame_intervals": [
                    {
                        "frame_start": 0,
                        "frame_end": 0
                    }
                ],
                "name": "nose01",
                "object_data_pointers": {
                    "point2d_shape": {
                        "frame_intervals": [
                            {
                                "frame_start": 0,
                                "frame_end": 0
                            }
                        ],
                        "type": "point2d"
                    }
                },
                "type": "nose"
            },
            "05634626-143e-499d-8d7c-2124a5879f0e": {
                "frame_intervals": [
                    {
                        "frame_start": 0,
                        "frame_end": 0
                    }
                ],
                "name": "ear01",
                "object_data_pointers": {
                    "point2d_shape": {
                        "frame_intervals": [
                            {
                                "frame_start": 0,
                                "frame_end": 0
                            }
                        ],
                        "type": "point2d"
                    }
                },
                "type": "ear"
            }
        },
        "streams": {
            "camera1": {
                "type": "camera",
                "uri": "https://helenmlopsstorageqatest.blob.core.windows.net/vainewformat/kitti/kitti_small/data_new_polygon/000000000000/data/camera1/000000000000.png",
                "description": "frontal camera"
            }
        },
        "metadata": {
            "schema_version": "1.0.0"
        }
    }
}

Last updated