Skip to content

Latest commit

 

History

History
36 lines (23 loc) · 1.27 KB

README.md

File metadata and controls

36 lines (23 loc) · 1.27 KB

Yolo detection for kinectv2

Using pyfreenect2

Requirements

Installation

cd ~\path\to\pyfreenect2

You need libfreenect2 installed, and also download yolov3.weights and put it in the /examples dir.

For libfreenect2, go to the build directory and run sudo cp ../platform/linux/udev/90-kinect2.rules /etc/udev/rules.d/

Add export LD_LIBRARY_PATH=$HOME/freenect2/lib:$LD_LIBRARY_PATH to your ~/.bashrc file.

pip install scipy opencv-python, use sudo if necessary.

Try sudo ln -s $HOME/freenect2/lib/libfreenect2.so.0.2.0 /usr/lib/libfreenect2.so or check out this issue

sudo python setup.py install.

Usage

Every time the computer restarts, unplug and replug the kinect (Issue).

Navigate to the examples directory, then python run.py