- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I am a beginner and working on a realtime feedback algorithm which is doing measurements using Realsense D405. I need to make test frames, and I wanted to ask how would I do it? What is the actual format of the depth_frame. Can I generate frames using opencv and add depth to them in a way that it will work?
After I find the points which I need the distance between, I'm doing this to get to the points:
point1_2d = points_2d[0]
point2_2d = points_2d[1]
u_dist = depth_frame.get_distance(point1_2d[0], point1_2d[1])
v_dist = depth_frame.get_distance(point2_2d[0], point2_2d[1])
point1 = rs.rs2_deproject_pixel_to_point(intrinsics, [point1_2d[0],
point1_2d[1]], u_dist)
point2 = rs.rs2_deproject_pixel_to_point(intrinsics, [point2_2d[0], point2_2d[1]], v_dist)
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for posting in Intel Communities.
This forum primarily supports queries related to Intel Distribution for Python. Please submit RealSense queries here:
https://support.intelrealsense.com/hc/en-us/requests/new
We will not be monitoring this thread further.
Thanks

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page