Giter Site home page Giter Site logo

Comments (4)

hqm avatar hqm commented on June 5, 2024 1

thanks that works! You're awesome!

from rectlabel-support.

hqm avatar hqm commented on June 5, 2024

github browse pager doesn'e seem to let me attach json file, so I'm pasting it below

{ "annotations": [ { "iscrowd": 0, "id": 1, "category_id": 1, "segmentation": [ 479, 324, 505, 645, 817, 570, 793, 183 ], "bbox": [ 479, 183, 339, 463 ], "image_id": 1 }, { "iscrowd": 0, "id": 2, "category_id": 1, "segmentation": [ 479, 324, 505, 645, 817, 570, 793, 183 ], "bbox": [ 479, 183, 339, 463 ], "image_id": 2 }, { "iscrowd": 0, "id": 3, "category_id": 1, "segmentation": [ 640, 360, 640, 720, 1280, 720, 1280, 360 ], "bbox": [ 640, 360, 641, 361 ], "image_id": 3 }, { "iscrowd": 0, "id": 4, "category_id": 1, "segmentation": [ 640, 360, 640, 720, 1280, 720, 1280, 360 ], "bbox": [ 640, 360, 641, 361 ], "image_id": 4 }, { "iscrowd": 0, "id": 5, "category_id": 1, "segmentation": [ 640, 360, 640, 720, 1280, 720, 1280, 360 ], "bbox": [ 640, 360, 641, 361 ], "image_id": 5 } ], "images": [ { "file_name": "value-add_2023-03-11T11:47:17.330Z_label_001_frame0.jpg", "id": 1, "width": 1920, "height": 1080 }, { "file_name": "value-add_2023-03-11T11:47:17.330Z_label_001_frame70.jpg", "id": 2, "width": 1920, "height": 1080 }, { "file_name": "value-add_2023-03-11T12:26:43.580Z_label_000_frame741.jpg", "id": 3, "width": 1920, "height": 1080 }, { "file_name": "value-add_2023-03-11T12:29:33.578Z_label_001_frame5.jpg", "id": 4, "width": 1920, "height": 1080 }, { "file_name": "value-add_2023-03-11T12:29:33.578Z_label_001_frame372.jpg", "id": 5, "width": 1920, "height": 1080 } ], "categories": [ { "id": 1, "name": "value-add", "supercategory": "value-add" } ] }

from rectlabel-support.

ryouchinsa avatar ryouchinsa commented on June 5, 2024

Thanks for reporting the issue and the detailed JSON file.
In the COCO format, the segmentation should be a polygon array.
https://cocodataset.org/#format-data

If you add [] to your segmentation array, RectLabel can import the file.
"segmentation": [[479, 324, 505, 645, 817, 570, 793, 183]],

from rectlabel-support.

ryouchinsa avatar ryouchinsa commented on June 5, 2024

Currently RectLabel can import from a single polygon array.

"segmentation": [479, 324, 505, 645, 817, 570, 793, 183],

from rectlabel-support.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.