ZED2 python example of multiclass object detection with depth overlay

Do you have a python example of multi class object detection with the overlay of the depth distance of the object being tracked.

There is a gstreamer example of that.

gst-launch-1.0 \
>     zedsrc stream-type=0 od-enabled=true od-detection-model=0 camera-resolution=2 camera-fps=30 ! queue ! \
>     zedodoverlay ! queue ! \
>     autovideoconvert ! fpsdisplaysink

The python examples from the github repo show the individual functions like tracking and object recognition.

But there isn’t a python example that shows “multi class object detection with the depth overlay of the object being tracked.”
or if there is I cant find it.

Hello, you can do something like that easily with openCV or openGL.

You can find an example in our body tracking sample : https://github.com/stereolabs/zed-examples/tree/master/body%20tracking/python

Just change the detection_mode to multi class, and print the depth distance instead of what is printed.

Best regards
Antoine Lassagne