Video 4 Linux

Bob Mottram bf4d76eb6d Create 6 years ago
libv4l2cam 378bd89003 improvements by George Jordanov 7 years ago
pcloud 5e623497b3 Added missing stsreocam launch file 9 years ago
ros f0e2b808c5 Saving and loading 9 years ago
v4l2stereo ea510cc023 Fixing v4l2stereo 7 years ago bf4d76eb6d Create 6 years ago

Researching computer vision topics, I often need to grab images/video from webcams and video acquisition hardware, and most of times I use OpenCV default camera framework. However, for recent projects I had to handle camera's properties more in depth (especially to handle fps), and OpenCV resulted bugged and inappropriate. I've spent a day searching the net for an easy interface (eg, which allows you to write a camera-preview app less than 20 lines of code long), with basic functions to handle settings, but I couldn't find any. At last I've downloaded a sample v4l2 demo app (700-800 lines of code, but I had already worked with v4l before) and built a wrapper class around it, building the library I had looked for. Now I'm releasing it, for all those coders who need it and don't have time to learn the v4l2 low level API. The library provides raw YUYV output as well as BGR24 OpenCV's IplImage? objects.

The SVN currently features 2 applications: -libv4l2cam : the camera grabber software -libv4l2stereo : a feature-based stereo matching system (making use of libv4l2cam and OpenCV libraries)