microsoft / VoTT

Visual Object Tagging Tool: An electron app for building end to end Object Detection Models from Images and Videos.
MIT License
4.28k stars 834 forks source link

Simple question: Does this tool support instance segmentation labelling? #961

Open zjplab opened 4 years ago

michhar commented 4 years ago

Appears so. If exporting to "VoTT JSON" format w/ exporter, the polygon part looks like:

{
            "id": "DoyHOfegF",
            "type": "POLYGON",
            "tags": [
                "eye"
            ],
            "boundingBox": {
                "height": 14.68847539015606,
                "width": 15.63985594237695,
                "left": 10.055822328931573,
                "top": 18.686674669867944
            },
            "points": [
                {
                    "x": 16.91236494597839,
                    "y": 18.686674669867944
                },
                {
                    "x": 21.56782713085234,
                    "y": 19.10534213685474
                },
                {
                    "x": 25.04831932773109,
                    "y": 24.229891956782712
                },
                {
                    "x": 25.695678271308523,
                    "y": 28.79501800720288
                },
                {
                    "x": 23.64345738295318,
                    "y": 32.00690276110444
                },
                {
                    "x": 19.32262905162065,
                    "y": 33.27671068427371
                },
                {
                    "x": 14.14405762304922,
                    "y": 33.375150060024005
                },
                {
                    "x": 11.193277310924369,
                    "y": 31.04561824729892
                },
                {
                    "x": 10.055822328931573,
                    "y": 26.846038415366145
                },
                {
                    "x": 11.145558223289315,
                    "y": 22.637454981992796
                },
                {
                    "x": 14.107743097238895,
                    "y": 19.763805522208884
                }
            ]
        },