- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Does the SDK support a (native) non-blocking API for capturing images? Basically, I want to be able to call the (non-blocking) API to start the capture process, and return the control to the calling thread. Once a new image is captured and available to be read, I would like the SDK to automatically invoke a callback.
Thanks,
MoA
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I would recommend taking a look at the 'Software Support Model' section of the RealSense SDK 2,0 documentation.
https://github.com/IntelRealSense/librealsense/blob/master/doc/rs400_support.md
The documentation describes a low-latency alternative to blocking.
// Configure direct callback for new frames:
dev.start([](rs2::frame frame){
auto pixels = frame.get_data(); // pointer to frame data
});
// The application will be notified as soon as new frames become available.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I would recommend taking a look at the 'Software Support Model' section of the RealSense SDK 2,0 documentation.
https://github.com/IntelRealSense/librealsense/blob/master/doc/rs400_support.md
The documentation describes a low-latency alternative to blocking.
// Configure direct callback for new frames:
dev.start([](rs2::frame frame){
auto pixels = frame.get_data(); // pointer to frame data
});
// The application will be notified as soon as new frames become available.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page