-
-
Notifications
You must be signed in to change notification settings - Fork 232
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Converting Labelbox segmentation json to coco #39
Comments
instanceURl is what contains a link to the mask |
I figured this out myself, feel free to add this to the repository in the labelbox2json file The function below takes the URL from calling the function in the convert function with
|
@DeTandtThibaut oh awesome! Can you please submit a PR to add your functionality? @AyushExel see labelbox segment info above :) |
Thanks for using our rle2polygon code to convert the Labelbox segmentation mask to polygon array. |
Thank you for the feedback on the rle2polygon code. We're glad to hear that it has been helpful for your labelbox2json script. If you have any further questions or need assistance with anything else, feel free to ask. We're here to help! |
{"ID":"xxx","DataRow ID":"xxx","Labeled Data":"https://xxx","Label":{"objects":[{"featureId":"xxx","schemaId":"xxx","color":"#1CE6FF","title":"xxx","value":"xxx","instanceURI":"https:/xxx"}],"classifications":[],"relationships":[]},"Created By":"xxx","Project Name":"xxx","Created At":"xxx","Updated At":"xxx","Seconds to Label":xxx,"Seconds to Review":0,"Seconds to Create":xxx,"External ID":"xxx","Global Key":null,"Agreement":-1,"Is Benchmark":0,"Benchmark Agreement":-1,"Benchmark ID":null,"Dataset Name":"xxx","Reviews":[],"View Label":"xxx","Has Open Issues":0,"Skipped":false,"DataRow Workflow Info":{"taskName":"Done","Workflow History":[{"actorId":"xxx","action":"MOVE","createdAt":"xxx"},{"actorId":"xxx","action":"MOVE","createdAt":"xxx","previousTaskId":"xxx","previousTaskName":"Initial labeling task","nextTaskId":"xxx","nextTaskName":"xxx"},{"actorId":"xxx","action":"MOVE","createdAt":"xxx","nextTaskId":"xxx","nextTaskName":"Initial labeling task"}]}}, {"ID":"xxx","DataRow ID":"xxx","Labeled Data": ...
Above is the way labelbox exports the segmentation labels, in labelbox terms they call it a Mask. Is there any example code on how this can be converted to work with yolo?
if not, would anyone be so kind to help out?
The text was updated successfully, but these errors were encountered: