Open ZheningHuang opened 3 days ago
Yes, there is also python binding to load camera intrinsic. You can check the psdr.cpp in psdr-jit for the python binding code. I can send an instruction later today(out for holiday)
This is great! thanks a lot! looking forward to it!
Something like this: Let me know if this work.
psdr_sensor = psdr_jit.PerspectiveCamera(sensor['fx'], sensor['fy'], sensor['cx'], sensor['cy'], sensor['near'], sensor['far'])
psdr_sensor.to_world = Matrix4fD(sensor['to_world'].reshape(1, 4, 4))
psdr_scene.add_Sensor(psdr_sensor)
Dear PSDR-room team,
Thank you for providing this amazing work.
I'm curious if you have the option to set the
psdr.PerspectiveCamera
with camera intrinsic parameters [fx, fy, c_x, c_y].Upon reviewing the source code of psdr-jit, it appears that this is possible:
However, I am unsure if this functionality is usable in the Python API. I would appreciate your guidance on this matter.
Best Zhening