That did the trick!
I actually circled around that line "calc_dist_to_bb", but I thought it was calling a function which I never found.
But it was a simple True o False statement.. damn it
Thank you Brandon!
Some thoughts:
I guess a lot of people will use these cameras on embedded devices/robots etc.. which really doesnt care about the actually video stream (like me). How about producing examples which outputs the information to the console? Or create a pipeline which is easy to hook up to to get information. Like Im doing now, I want the camera to alert me on things it sees, with the information about depth, and where the object can be found in the camera lens etc.. So my robot can take actions.
Another thing I want to ask you about.
We have this depth view where the image changes color based on the distance to the camera, how can I get that info as text/values to the console? One idea I have is to use the camera as a "radar", to alert me when something is too close to the robot, I dont care what the object is, just that something is really close -> STOP.
Thanks again!
//Carl