BlenderProc icon indicating copy to clipboard operation
BlenderProc copied to clipboard

How to map the instance information in the generated BOP dataset to the pose information one by one

Open Bainily028 opened this issue 7 months ago • 1 comments

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.

Image

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

Bainily028 avatar Apr 23 '25 06:04 Bainily028

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.

cornerfarmer avatar May 28 '25 14:05 cornerfarmer