Skip to content

Latest commit

 

History

History
 
 

docker

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Docker

Prerequisite

Setup Docker and nvidia-docker, see https://github.com/stereolabs/zed-docker

Building the image

To build the image open a terminal and run:

docker build -t zed-tensorflow .

Running the sample

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-tensorflow

From within the container start the sample :

python3 object_detection_zed.py /data/<custom_svo_file.svo>