-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to get the intel D435 intrinsic and extrinsic calibration information in python #3986
Comments
I also did the same for color output |
I would like to know there is this correct procedure for finding the internsic values How can I do it for the stereo camera Left and Right seperately |
Hi @scizors |
CAMERA D435
OS windows
Python 3.6
pyrealsense2
I have python wrappers installed.
I have RGB Camera and stereo camera Left and right
I need the intrinsic and extrinsic parameters for all the 3 camera
I use
profile = pipeline.get_active_profile()
print(profile)
depth_profile = rs.video_stream_profile(profile.get_stream(rs.stream.depth))
print(depth_profile)
depth_intrinsics = depth_profile.get_intrinsics()
print(depth_intrinsics)
w, h = depth_intrinsics.width, depth_intrinsics.height
print(w,h)
Output
<bound method PyCapsule.enable_stream of <pyrealsense2.pyrealsense2.config object at 0x0000029BB1C6CA40>>
<bound method PyCapsule.enable_stream of <pyrealsense2.pyrealsense2.config object at 0x0000029BB1C6CA40>>
<pyrealsense2.pyrealsense2.config object at 0x0000029BB1C6CA40>
<pyrealsense2.pyrealsense2.pipeline_profile object at 0x0000029BB1C6CAB0>
<pyrealsense2.video_stream_profile: Depth(0) 640x480 @ 30fps Z16>
width: 640, height: 480, ppx: 321.635, ppy: 241.618, fx: 385.134, fy: 385.134, model: Brown Conrady, coeffs: [0, 0, 0, 0, 0]
640 480
<pyrealsense2.pyrealsense2.colorizer object at 0x0000029BB1CD4458>
The text was updated successfully, but these errors were encountered: