1. 程式人生 > >Ubuntu 16.04 安裝Kinect V2驅動

Ubuntu 16.04 安裝Kinect V2驅動

open clone glut proto 執行 onf sta 適配 lfw

1.下載源代碼

git clone https://github.com/OpenKinect/libfreenect2.git

2.依賴項安裝

sudo apt-get install build-essential cmake pkg-config libturbojpeg libjpeg-turbo8-dev mesa-common-dev freeglut3-dev libxrandr-dev libxi-dev
sudo apt-get install libusb-1.0-0-dev
sudo apt-get install libglfw3-dev

3.Cmake編譯並安裝

cd libfreenect2
mkdir build && cd build
cmake ..
sudo make
suao make install

4.測試Kinect V2

將適配器插入USB 3.0插口(註意Kinect V2只能識別USB 3.0),執行:

sudo ./bin/Protonect

註意要加sudo獲取權限,否則可能由於剛插入相機而檢測不到Kinect設備

參考大佬而寫的,感謝大佬(http://www.cnblogs.com/hitcm/p/5118196.html)

Ubuntu 16.04 安裝Kinect V2驅動