- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am able to get the left infrared image but I would like to get the right one as well. I have enabled the second stream (index = 2) but I don't see how to capture the frame for the second camera. frameset.InfraredFrame returns the left image and it is working fine but how can I get the right image?
- Tags:
- Intel® RealSense
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I hope that the links below will be of help to you.
https://github.com/IntelRealSense/librealsense/issues/1140
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
MartyG - thanks for the answer. That is what I needed...
Bob Davies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
MartyG - I am now able to get both the left and right infrared images but they are identical. When the streams are enabled, I am putting an index of 1 and then 2 on the EnableStream and it is running fine. The same index 1 and 2 and then used with the get_infrared_frame to obtain the left and right images. What could I change to try to debug this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Are you setting the left and right streams to have index numbers 1 and 2 in the configuration section at the top of the script, *before* you start the pipeline, please?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes - all the EnableStream calls are before pipeline.start(cfg). I stepped through the code to verify that the frame profile has index 1 and 2 and the only way it would have that is because there was an index 1 and 2 on the EnableStream. There are no other references to the index anywhere in my code. Thanks for your prompt response.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Are you using USB 2 or USB 3 please? Intel support staff say that only one IR stream is available on a USB 2 connection due to bandwidth limitations on USB 2.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
MartyG - the port is blue, the label says 3.0, and the device manager says "Intel(R) USB 3.0 eXtensible Host Controller". This is a 2-year old desktop running Windows 10 (updated in December.) I will try using other ports to make sure there is no difference. Thanks again for the response.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sometimes the camera will be recognized as 2.0 even if it is on a USB 3 port. This can be caused by factors that include using your own choice of USB cable (not all cables are equal quality) or plugging the camera into the USB port slowly instead of quick and firmly.
The camera may also perform better on another port, as you suggested. Sometimes there will be problems on one machine and none on a different one.
A quick way to check your connection is to run the RealSense Viewer program. If the camera gets mis-identified as being USB 2 then the camera name at the top of the options side-panel shows as Intel RealSense USB2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
MartyG - I put this problem aside for a few days. I reviewed the code again this morning and when I grabbed the frame, I had been using frame.clone(). Instead, I just set my videoframe for the infrared = to the frame without using clone. It is working with left and right images. Excellent. Thanks for your help.
Please close this problem.
Bob Davies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Awesome news - thanks so much for letting us know!
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page