View my account

coordinate mapping issue between data captured in separate functions

Comments

3 comments

  • MartyG

    Hi Zahid Iqbal   The RealSense SDK does not have built-in bounding box and object detection features.  Typically, RealSense users use a tool called YOLO for object detection.

     

    If you would prefer to define a bounding box using RealSense program scripting then this can be a complicated process.  The link below suggests a method of doing so for C++

    https://github.com/IntelRealSense/librealsense/issues/2016#issuecomment-403804157

    0
    Comment actions Permalink
  • Zahid Iqbal

    MartyG

    For object detection and creating bounding box, I have been using openCV.  Let's say, I have the bounding box available and hence the pixel coordinates for the vertices of the bounding box. Now, I want a mapping to the 3D coordinates. For this reason, if I pass my query to the point cloud (calculated as described in my post), and ask for the 3D coordinates. would this be valid mapping.

    • Point cloud of the same space,
    • bounding boxes for the objects in the same space

    The above two have been calculated in separate functions, but each using realsense APIs (streams creation, frame capture, alignment).

    thanks,

     

    0
    Comment actions Permalink
  • MartyG

    There are very few available references for use of bounding boxes with RealSense and even fewer for 3D bounding boxes, unfortunately.  The best known methods are with darknet for 2D bounding boxes and darknet_3d_ros for 3D bounding boxes.

    https://github.com/IntelRealSense/realsense-ros/issues/2311

    0
    Comment actions Permalink

Please sign in to leave a comment.