cosypose icon indicating copy to clipboard operation
cosypose copied to clipboard

Bounding Box Values In Pickle Files

Open azad96 opened this issue 3 years ago • 3 comments

I've created a pickle file, which has a compatible format to be called with the load_pix2pose_results(...) function, for a dataset that I've generated. After generating rgb images, scene_gt.json and scene_camera.json files with BlenderProc, I've also generated mask, mask_visib images and scene_gt_info.json file which includes "bbox_org" and "bbox_visib" information.

For example, bbox_org and bbox_visib are exactly same when all objects are completely visible as follows

image1_screenshot_09 06 2021

However, they are different when occlusion occurs as it can be seen below

image6_screenshot_09 06 2021

My question is which bounding box values should be used to create a pickle file for training? bbox_org or bbox_visib?

azad96 avatar Jun 09 '21 09:06 azad96

Hi, I currently trying to convert these pickle files I produced by making synthetic data ("run_dataset_recording.py") to "BOP format". Is there any help you provide? I'm able to get the rgb and the mask image (one object). But i'm currently helpless with the camera parameters and so on... I want to test (functionally) to train and test the detector on an syntethic only dataset. I use the "run_detector_training.py" and can train on the pcl files only, but for evaluation is the bop format needed... Perhaps someone can help me? I post the question to this issue, because its also according to the pickle files.

Thanks a lot!

hannes56a avatar Jul 05 '21 14:07 hannes56a

@hannes56a Are you trying to create a pickle file to be used in evaluation? load_pix2pose_results() function, for example, loads a pickle file to do evaluation?

azad96 avatar Jul 05 '21 14:07 azad96

@azad96 Thanks for the hint. I didn't try yet. I will have a look to this.

hannes56a avatar Jul 06 '21 06:07 hannes56a