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:
$ sudo glview
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.