Comments (4)
thanks that works! You're awesome!
from rectlabel-support.
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.
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.
Currently RectLabel can import from a single polygon array.
"segmentation": [479, 324, 505, 645, 817, 570, 793, 183],
from rectlabel-support.
Related Issues (20)
- why need merge_multi_segment? HOT 2
- [CoreML] Auto labeling multiple (connected) "ghost" polygon issue HOT 8
- The version downloaded from the mac store crashes when opening the app HOT 2
- unable to click on label name buttons to change label of a polygon HOT 2
- Video support HOT 2
- Export mask images HOT 3
- Import JSON with bonding box and segmentation masks HOT 11
- How can we use general_json2yolo HOT 3
- How to export an annotation which includes both the bounding box and the polygon for the Mask R-CNN architecture HOT 1
- Linux HOT 1
- Overlap HOT 4
- Is there a way to convert a custom dataset with 8 keypoints? HOT 3
- Batch load COCO JSON HOT 5
- COCO JSON- import custom attributes HOT 5
- createML JSON format HOT 5
- Export RGB images HOT 1
- CoreML failing to load HOT 13
- Unable to open images HOT 9
- RectLabel implemented Segment Anything models to label polygons. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rectlabel-support.