Use camera with the driver of video for Linux


Acquires images from camera.


  • Ubuntu: sudo apt-get install libv4l-dev


i_v4l2_image | o_gtk_image acquires the image from the webcam and diaplays it on a window.

You may change the image --format (e.g. Y800 for black and white) of using changing --type of data (.e.g. FL32 for float between 0 and 1).

Not all formats are managed but v4l-ctl is a very powerfull tool to check and change format (among other properties) of the camera. Think to use vlc to check if your camera itself is nicely configured and is working properly.

See also