Support requesting raw file descriptors from V4L2 and DC1394 capture objects (Patch #2465)


Added by Josh Pieper over 12 years ago. Updated over 12 years ago.


Status:Open Start date:2012-10-22
Priority:Normal Due date:
Assignee:Vadim Pisarevsky % Done:

0%

Category:highgui-camera
Target version:3.0
Affected version: Operating System:
Difficulty: HW Platform:
Pull request:

Description

We are controlling a USB webcam through the V4L2 interface which has a several features that are not exposed by V4L2 in a consistent way. I have attached a patch which exposes the ability to get at the raw file descriptor for the device, which allows us to change the settings live in our application.

While it would be better to instead expose the specific knobs we need controlled through the OpenCV API (white balance, gain, and exposure), there is no real standard among USB cameras as to what these values mean. Thus, without a large suite of cameras to test, and an equivalently large lookup table, there is not an easy way to expose the generic functionality in a useful way.

Is a patch of this sort acceptable?

Regards,
Josh


0001-Add-the-ability-to-request-the-raw-file-descriptor-a.patch (2.2 kB) Josh Pieper, 2012-10-22 09:38 pm


Associated revisions

Revision 290b9342
Added by Roman Donchenko almost 12 years ago

Merge pull request #2465 from SpecLad:merge-2.4

History

Also available in: Atom PDF