summaryrefslogtreecommitdiffstats
path: root/misc/README.rst
blob: ece7bfc3ab0b3eea772bc1f7a8779f495d2c5239 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
================================
Patches for third party software
================================

OpenCV
======

OpenCV is a cross-platform, open source computer vision toolkit. We provide
patches that integrate libuca in OpenCV in order to use all UCA-supported
cameras within OpenCV like::

    CvCapture *capture = cvCaptureFromCAM(CV_CAP_UCA);
    cvNamedWindow("foo", CV_WINDOW_AUTOSIZE);

    IplImage *frame;
    frame = cvQueryFrame(capture); 
    cvShowImage("foo", frame);

    cvDestroyWindow("foo");
    cvReleaseCapture(&capture);

Patches
-------

We only supply patches for stable releases of OpenCV. Apply them using

    ``patch -r0 < opencv-x.y.z.patch``

inside the top-level directory of the source directory.