Docker image based on ubuntu:20.04 containing libfreenect for kinect v1 and python3-opencv
824
This docker image has libfreenect v0.7.5 installed as well as opencv2 for python3.
To use it, plug your Kinect into a USB port, grant access to Xorg if you want graphical applications (easy way: xhost +local:root), and then run
docker run -it --env DISPLAY=$DISPLAY \
-v /tmp/.X11-unix:/tmp/.X11-unix \
--device=/dev/dri:/dev/dri \
-v /dev:/dev \
--ulimit nofile=1024:524288 \
--ipc=host \
--network host \
--privileged\
--name freenect --rm \
gribeiro00/libfreenect
You can test the connection with
freenect-glview
And then the python library with
python3 /libfreenect/wrappers/python/demo_cv2_sync.py
Content type
Image
Digest
sha256:e8e9d2d18…
Size
555.6 MB
Last updated
over 2 years ago
docker pull gribeiro00/libfreenect