summaryrefslogtreecommitdiffstats
path: root/misc/README.rst
blob: baf0f2212cdf0f11fa12f3ef815661fa5a616234 (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 -p0 < opencv-x.y.z.patch``

inside the top-level directory of the source directory of OpenCV x.y.z.