Items with no label
3335 Discussions

python align example question

idata
Employee
1,304 Views

Can someone tell me why the depth and color image are of different resolutions in this example? I would have assumed that they need to be the same.

I want to do this at full resolution so I need to know the settings for to accomplish this.

Thank you,

https://github.com/IntelRealSense/librealsense/blob/master/wrappers/python/examples/align-depth2color.py librealsense/align-depth2color.py at master · IntelRealSense/librealsense · GitHub

0 Kudos
3 Replies
idata
Employee
165 Views

Hello Pault587,

 

 

Have you followed the instructions in the python wrapper section of the librealsense Github to build the python wrapper?(here is the link to this section https://github.com/IntelRealSense/librealsense/blob/ba7505c8a6e1a2aec1f464664231e857cf122428/wrappers/python/readme.md) If so, you can change the code in the python example to see if you can get the same resolution.

 

 

Best Regards,

 

Juan N.
0 Kudos
idata
Employee
165 Views

I can certainly change it and I did. I made them both equal. I would like to understand why they were not equal in the example program. Was there a reason? Was it a mistake?

Paul

0 Kudos
idata
Employee
165 Views

Hello Paul,

 

 

The example is meant to be as is. It is meant to demonstrate that even if the depth image has a different resolution the two images will align correctly.

 

 

Best Regards,

 

Juan N.
0 Kudos
Reply