IntelRealSense / librealsense

Intel® RealSense™ SDK
https://www.intelrealsense.com/
Apache License 2.0
7.55k stars 4.82k forks source link

High-speed capture mode of Intel® RealSense™ Depth Camera D435 #13395

Open BertieBcs opened 16 hours ago

BertieBcs commented 16 hours ago

Required Info set high-speed capture mode for IR camera
Camera Model { D435 }
Firmware Version 5.16.0.1
Operating System & Version Win 10
Platform PC
SDK Version { v2.56.1 }
Language Python

Issue Description

<Describe your issue / question / feature request / etc..>

Hello, I would like to use high-speed capture mode by using the 300fps monochrome image stream via the IR cameras; as described in the 2020 white-paper: https://dev.intelrealsense.com/docs/high-speed-capture-mode-of-intel-realsense-depth-camera-d435

the following way: pipeline_profile = cfg.resolve(pipe) device = pipeline_profile.get_device()

for sensor in device.sensors: if sensor.name == 'Stereo Module': for profile in sensor.profiles: if profile.stream_type() == rs.stream.infrared: cfg.enable_stream(profile.stream_type(), 1, 848, 100, rs.format.y8, 300)

pipe.start(cfg)

I somehow cannot get above 60 FPS. I am using Python 3.11 and OpenCV

Thanks for any suggestions!

best regards,

Bertie

MartyG-RealSense commented 15 hours ago

Hi @BertieBcs 848x100 High Speed Capture mode is supported on D435 for the depth and infrared streams, so you should be able to access the infrared stream at 300 FPS with Python code.

Do you get a Couldn't resolve requests error if you try to use an FPS higher than 60, or does the stream just seem much slower than it should be

Is 300 FPS provided if the simple test script below is used?

import pyrealsense2 as rs

pipeline = rs.pipeline()
cfg = rs.config()
cfg.enable_stream(rs.stream.infrared, 848, 100, rs.format.y8, 300)

pipe.start(cfg)