Thursday, June 13, 2024

Getting Started With Kinect and OpenCV

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”]

- Advertisement -

$ sudo glview


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

- Advertisement -

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. 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?


Unique DIY Projects

Electronics News

Truly Innovative Tech

MOst Popular Videos

Electronics Components