- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
Can somebody give me a code example in c# on how to select input (depth images) between two SR300 (BlasterX Sense3D) cameras?
The cameras are connected to two different USB 3.0 connectors.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I think what you are asking is how to toggle between two BlasterX Senz3D SR300-compatible cameras attached to the same machine and select which camera is the active one taking a depth scan?
A function called Enumeration can determine which camera device is the active one.
https://software.intel.com/sites/landingpage/realsense/camera-sdk/v1.1/documentation/html/index.html?doc_essential_enumerate_io_devices.html Intel® RealSense™ SDK 2016 R2 Documentation
The article linked to below has a short tutorial on the basic principles of enumerating cameras. The sample scripts are in C++, but may be adaptable to C# by researching the function names in the script - such as PXCSession::ImplDesc - to find equivalent C# code.
https://software.intel.com/en-us/articles/tutorial-enumerating-modules-and-camera-devices How to Enumerate Modules and Camera Devices Using the Intel® RealSense™ SDK 2016 R1 | Intel® Software
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for your answer.
Yes, thats right.
But how do I SET the active camera?
I cant find in the codesamples you are refering to.
Can you send me another example or havent I understood the examples?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for your answer.
Yes, thats right.
But how do I SET the active camera?
I cant find in the codesamples you are refering to.
Can you send me another example or havent I understood the examples?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am not an expert in programming RealSense streams, unfortunately. I believe the correct order of events in this case though is:
1. Enumerate the devices to select the camera to use.
2. Enumerate the streams to select which type of stream to use (e.g depth) on the selected camera.
3. Enumerate the configuration of the selected stream.
https://software.intel.com/sites/landingpage/realsense/camera-sdk/v1.1/documentation/html/index.html?doc_essential_io_devices_enumeration_and_se.html Intel® RealSense™ SDK 2016 R2 Documentation
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page