BlenderProc
BlenderProc copied to clipboard
How to map the instance information in the generated BOP dataset to the pose information one by one
Describe the issue
Dear developers and fellow code users,
I have a question regarding the generation of the BOP instance segmentation dataset using BlenderProc. I noticed that the segmented instances in scene_gt_coco.json do not correspond sequentially to the pose instances in scene_gt.json. How can I match the instances in scene_gt_coco.json to their corresponding pose entries in scene_gt.json?
For example, after visual inspection, the second instance in scene_gt_coco.json corresponds to the eighth instance in scene_gt.json.
Minimal code example
None
Files required to run the code
No response
Expected behavior
map the instance information in the generated BOP dataset to the pose information one by one
BlenderProc version
2.8.0
Hey @Bainily028,
in the coco annotations you find the image_id and category_id (=object id). In the scene_gt.json, the index should correspond the image id and you find the respective obj_id. With these two ids, you should be able to match the entries.