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 train image? #42

Closed gachiemchiep closed 3 years ago

gachiemchiep commented 3 years ago

Hello. I run the scripts/render_train_imgs.py. But unfortunately, the output is not as similar as training image in lm/train_pbr dataset.

Output of the script: 000000

Training file inside lm/train_pbr 000003

Is there any script that needed to merge output of render_train_imgs.py into above file?

MartinSmeyer commented 3 years ago

The training images are generated with another software called BlenderProc. Have a look here to replicate/adapt the data: https://github.com/DLR-RM/BlenderProc/tree/master/examples/bop_challenge

If you want to understand in general how the BlenderProc config works, you should also look at the other examples starting from here: https://github.com/DLR-RM/BlenderProc/tree/master/examples/basic