资源算法libv4l2cam

libv4l2cam

2019-12-10 | |  37 |   0 |   0

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)


上一篇:OpenProject

下一篇:JViolaJones

用户评价
全部评价

热门资源

  • Keras-ResNeXt

    Keras ResNeXt Implementation of ResNeXt models...

  • seetafaceJNI

    项目介绍 基于中科院seetaface2进行封装的JAVA...

  • spark-corenlp

    This package wraps Stanford CoreNLP annotators ...

  • capsnet-with-caps...

    CapsNet with capsule-wise convolution Project ...

  • inferno-boilerplate

    This is a very basic boilerplate example for pe...