Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Ok Ok ... I see cap_v4l.cpp and cap_libv4l.cpp inside modules/videoio foldef of opencv3.0 installation folder.... In cap_v4l.cpp there is already a support for sony camera with BA81 grab format .... so I unistall opencv3.0 clean build folder and all folder and file redirect from pkconfig and re-compile with these option...

WITH_V4L=ON ... WITH_LIBV4L=OFF...

in these way I cai grab BRG image from my camera in BA81 mode without use a c function for demosaicing, start, stop, init, buffer usage, and clear device .... only with VideoCapture call....obviusly cvtcolor function convert BRG to RGB image ...

So I add in those file other camera V4L2_CID control.... and re-compile...

(a good result...) image description

Regards Giorgio

Ok Ok ... I see cap_v4l.cpp and cap_libv4l.cpp inside modules/videoio foldef of opencv3.0 installation folder.... In cap_v4l.cpp there is already a support for sony camera with BA81 grab format .... so I unistall opencv3.0 clean build folder and all folder and file redirect from pkconfig and re-compile with these option...

WITH_V4L=ON ... WITH_LIBV4L=OFF...

in these way I cai grab BRG image from my camera in BA81 mode without use a c function for demosaicing, start, stop, init, buffer usage, and clear device .... only with VideoCapture call....obviusly cvtcolor function convert BRG to RGB image ...

So I add in those file other camera V4L2_CID control.... and re-compile...

(a good result...) image description

the modified file....link text

Regards Giorgio

Ok Ok ... I see cap_v4l.cpp and cap_libv4l.cpp inside modules/videoio foldef of opencv3.0 installation folder.... In cap_v4l.cpp there is already a support for sony camera with BA81 grab format .... so I unistall opencv3.0 clean build folder and all folder and file redirect from pkconfig and re-compile with these option...

WITH_V4L=ON ... WITH_LIBV4L=OFF...

in these way I cai grab BRG image from my camera in BA81 mode without use a c function for demosaicing, start, stop, init, buffer usage, and clear device .... only with VideoCapture call....obviusly cvtcolor function convert BRG to RGB image ...

So I add in those file other camera V4L2_CID control.... and re-compile...

(a good result...) image description

the modified file....link text

Regards Giorgio