skhadem / 3D-BoundingBox

PyTorch implementation for 3D Bounding Box Estimation Using Deep Learning and Geometry
MIT License
435 stars 96 forks source link

Camera Calibration Parameters #2

Closed rahulsngh883 closed 5 years ago

rahulsngh883 commented 5 years ago

Hi ... I am currently working on my data generated using Unity. I am not able to get proper 3D bounding box. My 2D bounding box output is proper but 3D box is going for a toss. I am working on data's generated using Unity 3D. My Image size is 1024 x 1024. What are the changes i need to do in order to map the 3D box on my data.

skhadem commented 5 years ago

If you are using unity for generating the scene, you must point the script to a file containing the 3x4 camera calibration matrix, pre-pended with P_rect_02 (see here). Does unity provide a way to obtain the camera calibration?

skhadem commented 5 years ago

Closing unless you can get some more on Unity Camera cal