opencv/doc/py_tutorials/py_setup
Pavel Rojtberg 0d65397ae7 videoio: remove cap_libv4l in favour of cap_v4l
cap_libv4l depends on an external library (libv4l) yet is still larger
(1966 loc vs 1822 loc).
It was initially introduced copy pasting cap_v4l in order to offload
various color conversions to libv4l.
However nowadays we handle most of the needed color conversions inside
OpenCV. Our own implementation is better tested and (probably) also
better performing. (as it can optionally leverage IPP/ OpenCL)

Currently cap_v4l is better maintained and generally the code is in
better shape. There is however an API
difference in getting unconverted frames:
* on cap_libv4l one need to set `CV_CAP_MODE_GRAY=1` or
`CV_CAP_MODE_YUYV=1`
* on cap_v4l one needs to set `CV_CAP_PROP_CONVERT_RGB=0`

the latter is more flexible though as it also allows accessing undecoded
JPEG images.

fixes #4563
2018-11-12 13:38:59 +03:00
..
images Moved tutorial table-of-contents files to corresponding root level 2014-12-26 19:17:14 +03:00
py_intro migration: github.com/opencv/opencv 2016-07-12 12:51:12 +03:00
py_setup_in_fedora videoio: remove cap_libv4l in favour of cap_v4l 2018-11-12 13:38:59 +03:00
py_setup_in_ubuntu videoio: remove cap_libv4l in favour of cap_v4l 2018-11-12 13:38:59 +03:00
py_setup_in_windows python: 'cv2.' -> 'cv.' via 'import cv2 as cv' 2017-12-11 13:46:55 +03:00
py_table_of_contents_setup.markdown Merge pull request #10056 from akhilesh-k:master 2017-11-14 13:44:01 +03:00