Just webcam capture
https://wiki.archlinux.org/index.php/webcam_setup
http://www.linuxintro.org/wiki/Set_up_a_Webcam_with_Linux
TO_COMPILE:
You have to follow the next steps to compile and run your webcam_capture project.
First copy the project with:
git fork https://github.com/chuski92/webcam_capture
Next enter into webcam_capture folder. Creake a "build" folder, enter onto it and run the next command:
cmake ..
then:
make
and to run it:
./webcam_capture
And that's it.