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 point2_2d = points_2d u_dist = depth_frame.get_distance(point1_2d, point1_2d) v_dist = depth_frame.get_distance(point2_2d, point2_2d) point1 = rs.rs2_deproject_pixel_to_point(intrinsics, [point1_2d, point1_2d], u_dist) point2 = rs.rs2_deproject_pixel_to_point(intrinsics, [point2_2d, point2_2d], v_dist)
Thanks for posting in Intel Communities.
This forum primarily supports queries related to Intel Distribution for Python. Please submit RealSense queries here:
We will not be monitoring this thread further.