5 Replies Latest reply on Sep 29, 2018 3:11 AM by MartyG

    Real time coordinates (x,y,z) with opencv and realsense sdk

    rt95

      Hi guys,

       

      I'm new to intel realsense and would appreciate anyone pointing me to any relevant information. I'm using a D435 but it hasn't arrived yet so I haven't been able to try any of the realsense sdk examples. I've created a proof of concept program that can detect and track a new object that has entered into my current webcam's view using opencv. I've also extracted the x,y coordinates and am hoping that the the D435 will provide the z coordinates. Is there anyway to implement the realsense sdk with opencv such that it will give me the z depth of the object that i'm currently tracking?

       

      Also, is there anyway to set the maximum distance that I can track an object, eg, if an object is more than 10m away, I use the realsense sdk to prevent any detection of moving object in opencv.

       

      Sorry if this question has been asked before. I appreciate any answers and anyone pointing me to any relevant materials.