- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hello friends:
I am planning using openCV and librealsense to get RGB and Depth data from R200 and I tested the code from link http://https://software.intel.com/en-us/articles/using-librealsense-and-opencv-to-stream-rgb-and-depth-data http://https://software.intel.com/en-us/articles/using-librealsense-and-opencv-to-stream-rgb-and-depth-data
As the function of that programm shows ,I get rgb and depth image from R200, but the depth image looks like not so good. I want to know how to deal with the problem and how to get the actual distance from an object to the camera.
Any help is appreciated!intel_admin
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Zcwz2016,
Thanks for reaching out.
Well, that's weird. I recommend you to check https://software.intel.com/sites/landingpage/realsense/camera-sdk/v1.1/documentation/html/index.html?doc_devguide_whats_new_in_sdk.html/ Intel® RealSense™ SDK 2016 R2 Documentation, there is a section called https://software.intel.com/sites/landingpage/realsense/camera-sdk/v1.1/documentation/html/index.html?doc_epv_enhanced_photography.html Depth Enabled Photography and Videography, maybe you can find there how to change the focus of a picture, and there are also some measurement functions that you can use.
I hope you find this information useful.
Regards,
-Leonardo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Zcwz2016,
I was wondering if you have updates.
Let us know if you still need help.
Regards,
-Leonardo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Leonardo
Thanks for you help.
In fact, I did not solve the problem. Now, I wonder whether can I find the measurement functions in librealsense like those in SDK 2016
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Zcwz2016,
Take a look to this link: https://github.com/IntelRealSense/librealsense/blob/master/doc/projection.md# pixel-coordinates, I didn't find any information about measurement functions, but maybe you can use the 3D coordinates to get the distance between the camera and the object.
I hope you find this helpful.
Regards,
-Leonardo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I can't help with the librealsense stuff, but once you have real-world coordinates for points, it's easy to work out the distance between them by using Pythagoras.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page