Getting Started With Kinect and OpenCV

This article gives a brief introduction to Kinect sensor and explains how to install OpenCV libraries in Ubuntu operating system. -- Samarth Shah

39398
 

The make program uses the make-file database and latest modifications of the files to decide which of the files need to be updated.

Sudo means superuser do. It allows a system administrator to give certain users the ability to run some commands as root while logging all commands and arguments.

[stextbox id=”grey”]$ make
$ sudo make install
$ sudo ldconfig /usr/local/lib64/[/stextbox]

Run the sample project:

[stextbox id=”grey”]

$ sudo glview

 [/stextbox]

Fig. 3 shows the image captured by the system after using glview command.

Now we are done with complete environment set-up and can program OpenCV using libfreenect. To write your own code for OpenCV, add the libfreenect.h header to your code.The author is a FOSS advocate and his areas of interest include Kinect, Linux, Arduino and Image Processing using OpenCV. This article is based on his articles published earlier in EFY’s Linux For You (now Open Source For You) magazine.


1 COMMENT

  1. Great article! My company ordered an Azure Kinect and I am trying to use OpenCV within a Kinect application for real-time object detection. However, this has to be done on a Windows 10 laptop. Is this only applicable to Linux?

SHARE YOUR THOUGHTS & COMMENTS

Please enter your comment!
Please enter your name here