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
Alignment of RGB and depth in multi-camera mode #1833
Comments
Hi @manyaafonso |
The problem is that we need single shots instead of a video stream. We cannot stream all cameras simultaneously in high resolution because this uses too much bandwidth and causes missing frames and errors. Therefore we start, wait for frames, and stop all cameras one by one. We cannot use a pipeline for each camera as in the multicam example as stopping the pipeline takes about 5 seconds per camera and about half a minute for a 5 camera setup, which is too much for our robotic application. So we used the FrameQue protocol of the individual sensors to get the last frame, which unfortunately does not support rs2::align. If you have a suggestion, I would appreciate it greatly! |
Yes, you can create a One corner case - the syncer might decide that the pair of some frame was lost in transmission and only output one frame. Pipeline handles this for the user, but you would need to filter out any such orphan frames. |
[Realsense Customer Engineering Team Comment] |
Thanks for the suggestion, @dorodnic . @RealSense-Customer-Engineering we tried it but it did not work, but since we need to resolve some issues with the robot platform, for now we will try to do the alignment by measuring the camera parameters. So I am closing this issue. |
Issue Description
We are trying to acquire images simultaneously for 3 or 4 realsense D415 cameras and would like to align the RGB and depth images (to be able to discard the background), ie, for each camera have an RGB and depth image pair which are aligned pixel to pixel. However, the function rs2::align() works only in single camera mode. Has anyone done this alignment for multiple cameras? Is it possible without having to get the extrinsics?
The text was updated successfully, but these errors were encountered: