Setup Docker and nvidia-docker, see https://github.com/stereolabs/zed-docker
docker build -t zed-yolo .
Following the instruction given here:
xhost +si:localuser:root
Run the image :
nvidia-docker run -it --privileged -e DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix --mount type=bind,source=/<some_path_to_svo_files>,target=/data,readonly --env QT_X11_NO_MITSHM=1 zed-yolo
From within the container start python the sample :
cd zed_python_sample/
python3 darknet_zed.py -s /data/<path/to/SVO>
From within the container compile the C++ sample :
cd /home/docker/zed-yolo/zed_cpp_sample/ ; mkdir build ; cd build; cmake .. ; make ; cd /home/docker/zed-yolo/
Then start it :
zed_cpp_sample/build/darknet_zed libdarknet/data/coco.names libdarknet/cfg/yolov3-tiny.cfg yolov3-tiny.weights /data/<path/to/SVO>