L515 Framerate
After alignment to depth, the framerate drops from 30fps to ~20fps even though both depth and RGB streams are set at 30fps. How can I get the framerate back to 30fps or is a drop in framerate inherent to aligning to depth?
cfg.enable_stream(RS2_STREAM_DEPTH, 1024, 768, RS2_FORMAT_Z16, 30);
cfg.enable_stream(RS2_STREAM_COLOR, 1920, 1080, RS2_FORMAT_RGB8, 30);
rs2::align align_to_depth(RS2_STREAM_DEPTH);
while (RunSet->SystemStarted)
{
// Block program until frames arrive
rs2::frameset frames = p.wait_for_frames();
frames = align_to_depth.process(frames);
.....
Please sign in to leave a comment.
Comments
1 comment