librealsense icon indicating copy to clipboard operation
librealsense copied to clipboard

python pyrealsense module has no align method

Open alexanderPeregrina opened this issue 8 years ago • 2 comments

Required Info
Camera Model SR300
Firmware Version 3.21.0.0
Operating System & Version Ubuntu 14.04
Kernel Version (Linux Only) 4.4.0-98
SDK Version 2.8.1

Hi, I'm traying to run the align-depth2color.py python wrapper example, but an error comes out saying: align = rs.align(align_to) AttributeError: 'module' object has no attribute 'align' Does the align method already exist?

alexanderPeregrina avatar Dec 25 '17 04:12 alexanderPeregrina

Hi @alexanderPeregrina Looking at the pull-request for python align and releases page side by side, I see that align class was indeed not in 2.8.1. Can you try one of the later releases?

dorodnic avatar Dec 26 '17 06:12 dorodnic

Yes, that was the problem. I tried with the SDK 2.8.3, version, thanks.

alexanderPeregrina avatar Dec 29 '17 01:12 alexanderPeregrina