tagging

tagging use case example

To describe a dataset with taggings:

  • sensor: camera (#camera1)

  • tagging

    • weather (vec): sunny, cloudy, rainy, snowy, foggy

    • timeofday (vec): daytime, night, DawnDusk

    • scene (vec): tunnel, residential, parkingLot, cityStreet, gasStations, highway

    • Inroom: boolean

    • imagesize: num

    • note: text (static info)

Example Code

{
    "visionai": {
        "contexts": {
            "5019ccb4-14b8-443f-9382-664c553c88f0": {
                "context_data": {
                    "text": [
                        {
                            "name": "note",
                            "val": "this is a note of static info"
                        }
                    ]
                },
                "frame_intervals": [
                    {
                        "frame_start": 0,
                        "frame_end": 0
                    },
                    {
                        "frame_start": 0,
                        "frame_end": 0
                    }
                ],
                "name": "*tagging01",
                "context_data_pointers": {
                    "note": {
                        "type": "text",
                        "frame_intervals": [
                            {
                                "frame_start": 0,
                                "frame_end": 0
                            }
                        ]
                    }
                },
                "type": "*tagging"
            },
            "5019ccb4-14b8-443f-9382-664c553c88f1": {
                "frame_intervals": [
                    {
                        "frame_start": 0,
                        "frame_end": 0
                    }
                ],
                "name": "*tagging02",
                "context_data_pointers": {
                    "weather": {
                        "type": "vec",
                        "frame_intervals": [
                            {
                                "frame_start": 0,
                                "frame_end": 0
                            }
                        ]
                    }
                },
                "type": "*tagging"
            },
            "5019ccb4-14b8-443f-9382-664c553c88f2": {
                "frame_intervals": [
                    {
                        "frame_start": 0,
                        "frame_end": 0
                    }
                ],
                "name": "*tagging03",
                "context_data_pointers": {
                    "timeofday": {
                        "type": "vec",
                        "frame_intervals": [
                            {
                                "frame_start": 0,
                                "frame_end": 0
                            }
                        ]
                    }
                },
                "type": "*tagging"
            },
            "5019ccb4-14b8-443f-9382-664c553c88f3": {
                "frame_intervals": [
                    {
                        "frame_start": 0,
                        "frame_end": 0
                    }
                ],
                "name": "*tagging04",
                "context_data_pointers": {
                    "scene": {
                        "type": "vec",
                        "frame_intervals": [
                            {
                                "frame_start": 0,
                                "frame_end": 0
                            }
                        ]
                    }
                },
                "type": "*tagging"
            },
            "5019ccb4-14b8-443f-9382-664c553c88f4": {
                "frame_intervals": [
                    {
                        "frame_start": 0,
                        "frame_end": 0
                    }
                ],
                "name": "*tagging05",
                "context_data_pointers": {
                    "Inroom": {
                        "type": "boolean",
                        "frame_intervals": [
                            {
                                "frame_start": 0,
                                "frame_end": 0
                            }
                        ]
                    }
                },
                "type": "*tagging"
            },
            "5019ccb4-14b8-443f-9382-664c553c88f5": {
                "frame_intervals": [
                    {
                        "frame_start": 0,
                        "frame_end": 0
                    }
                ],
                "name": "*tagging06",
                "context_data_pointers": {
                    "imagesize": {
                        "type": "num",
                        "frame_intervals": [
                            {
                                "frame_start": 0,
                                "frame_end": 0
                            }
                        ]
                    }
                },
                "type": "*tagging"
            }
        },
        "frame_intervals": [
            {
                "frame_start": 0,
                "frame_end": 0
            }
        ],
        "frames": {
            "000000000000": {
                "contexts": {
                    "5019ccb4-14b8-443f-9382-664c553c88f5": {
                        "context_data": {
                            "num": [
                                {
                                    "name": "imagesize",
                                    "val": 10870
                                }
                            ]
                        }
                    },
                    "5019ccb4-14b8-443f-9382-664c553c88f4": {
                        "context_data": {
                            "boolean": [
                                {
                                    "name": "Inroom",
                                    "val": true
                                }
                            ]
                        }
                    },
                    "5019ccb4-14b8-443f-9382-664c553c88f3": {
                        "context_data": {
                            "vec": [
                                {
                                    "name": "scene",
                                    "val": [
                                        "cityStreet",
                                        "parkingLot"
                                    ]
                                }
                            ]
                        }
                    },
                    "5019ccb4-14b8-443f-9382-664c553c88f2": {
                        "context_data": {
                            "vec": [
                                {
                                    "name": "timeofday",
                                    "val": [
                                        "DawnDusk"
                                    ]
                                }
                            ]
                        }
                    },
                    "5019ccb4-14b8-443f-9382-664c553c88f1": {
                        "context_data": {
                            "vec": [
                                {
                                    "name": "weather",
                                    "val": [
                                        "sunny"
                                    ]
                                }
                            ]
                        }
                    }
                },
                "frame_properties": {
                    "streams": {
                        "camera1": {
                            "uri": "https://helenmlopsstorageqatest.blob.core.windows.net/vainewformat/kitti/kitti_small/data_project_tag_custom_new_structure/000000000000/data/camera1/000000000000.png"
                        }
                    }
                }
            }
        },
        "streams": {
            "camera1": {
                "type": "camera",
                "uri": "https://helenmlopsstorageqatest.blob.core.windows.net/vainewformat/kitti/kitti_small/data_project_tag_custom_new_structure/000000000000/data/camera1/000000000000.png",
                "description": "Frontal camera"
            }
        },
        "metadata": {
            "schema_version": "1.0.0"
        }
    }
}json

Last updated