thodan / bop_toolkit

A Python toolkit of the BOP benchmark for 6D object pose estimation.
http://bop.felk.cvut.cz
MIT License
376 stars 135 forks source link

How to generate mask images #53

Closed eagleeye05 closed 3 years ago

eagleeye05 commented 3 years ago

I have generated my own dataset in BOP format. And I am using 'bop_toolkit/scripts/calc_gt_masks.py ' to generate masks and visib_mask images. However, our generated mask images are totally black. I am wondering whether there are some parameters we should config? (I have config the dataset path)

Thanks! @thodan

thodan commented 3 years ago

Hello, are your 3D models in mm? Try to also play with the delta tolerance (set to 15 mm by default).

meropis commented 1 year ago

@eagleeye05 how did you generate your own dataset? I really can't get my head round it.