Usage

To use our application you can simply launch the main application via:

python left-luggage-detection.py

Note

make sure your kinect is connected to your pc and the power supply otherwise you’ll only be able to control the motor and not the video stream

Offline Usage

You can also test this application using registered video via Fakenect library which is included inside Openkinect.

To record a video:

mkdir directory_record
record directory_record

To use a recorded video you need to specify two environment variables LD_PRELOAD to point to the fakenet lib instead of the freenect one and FAKENECT_PATH that point to the video folder:

LD_PRELOAD="/usr/local/lib64/fakenect/libfreenect.so" FAKENECT_PATH="video/path" python left-luggage-detection.py