Sign inSign up

gribeiro00/libfreenect

By gribeiro00

•Updated over 2 years ago

Docker image based on ubuntu:20.04 containing libfreenect for kinect v1 and python3-opencv

Image
Languages & frameworks
Developer tools
0

824

gribeiro00/libfreenect repository overview

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

Tag summary

Content type

Image

Digest

sha256:e8e9d2d18…

Size

555.6 MB

Last updated

over 2 years ago

docker pull gribeiro00/libfreenect