Rotation Matrix of D455
Hi ,
I wish to create a 3D box on a plane and kind of curios on how to get or set rot vec, trans vec and matrix from D455? Can it be obtained from dev intrinsic and set manually?
Correct me if im wrong.Thanks
-
Hi Somusundram R Information about the Rotation and Translation vectors can be found in the Extrinsic camera parameters section of the SDK's Projection documentation.
https://dev.intelrealsense.com/docs/projection-in-intel-realsense-sdk-20
This section highlights C++ scripting from a section of the SDK's sensor-control example program to get the translation vector and rotation matrix.
If you are using Python, the link below refers to the official pyrealsense2 documentation for translation and rotation.
https://intelrealsense.github.io/librealsense/python_docs/_generated/pyrealsense2.extrinsics.html
This Python reference may also be useful:
https://www.programmersought.com/article/34085475880/
When talking about setting extrinsics in the SDK, this typically refers to setting the extrinsics between two different sensors.
http://docs.ros.org/en/kinetic/api/librealsense2/html/rs_8cpp.html#adb29ac578b0c95362fc1f6370b6366e9
If you are working with a 3D box shape on a plane, the references in this link about plane-fit may be more relevant to your needs.
https://support.intelrealsense.com/hc/en-us/community/posts/360050894154-plane-detection
-
Thanks Marty G,
Another question :
https://www.youtube.com/watch?v=l-i2E7aZY6A
I wanted to do automatic box detection and volume estimation like above. I plan to use OpenVino together with D455 to find shapes (most probably a courier boxes) in an open space without the need of special floor or contours as reference. You know, predicting from the bounding box area and from there find the ends of the box
I am bit curious. When i was looking at L515 with DIM weight software, i saw few files of OpenVino within the installation. Can you or do you know anything on this like in example getting the trained datasets etc?Thanks MartyG
-
If you have questions about the L515 model or the L515's Dimensional Weight Software then please create a new case on this forum so that RealSense specialists in those subjects can assist you.
In regard to volumetric box measurement with RealSense and OpenVINO: this is an approach that has been used in a commercial box dimensioning product.
https://support.intelrealsense.com/hc/en-us/community/posts/360044001733/comments/360011147394
I am not aware of an open-source example of volumetric measurement with RealSense 400 Series and OpenVINO though.
Please sign in to leave a comment.
Comments
3 comments