Emit IR when Camera is on
Is there a way to have the Stereo depth camera on by default when connected to power. For example, having IR be emitted when Realsense camera is plugged into a powerbank?
-
Hi Kfadeeva. I would recommend exploring whether direct access to the camera sensors through the Low-Level API described in the link below can meet your needs.
https://github.com/IntelRealSense/librealsense/blob/master/doc/api_arch.md#low-level-device-api
-
The Low-Level API has the following characteristics:
- Minimum SDK-imposed overhead == minimum latency.
- Each frame is handled with a separate callback - “first come – first serve”.
- All the synchronization stuff is left for the user side to implement.
The RealSense SDK's rs-data-collect tool provides an introductory example in the C++ programming language of writing scripting to access the camera through this API.
https://github.com/IntelRealSense/librealsense/tree/master/tools/data-collect
The tool uses the Low-Level API to minimize software-imposed latencies and is useful for performance profiling.
Alternatively, there is a Rust binding for RealSense that provides a low-level interface.
https://github.com/Tangram-Vision/realsense-rust
https://github.com/Tangram-Vision/realsense-rust/blob/main/realsense-sys/README.md
Please sign in to leave a comment.
Comments
3 comments