summaryrefslogtreecommitdiffstats
path: root/misc/README.rst
diff options
context:
space:
mode:
Diffstat (limited to 'misc/README.rst')
-rw-r--r--misc/README.rst29
1 files changed, 29 insertions, 0 deletions
diff --git a/misc/README.rst b/misc/README.rst
new file mode 100644
index 0000000..ece7bfc
--- /dev/null
+++ b/misc/README.rst
@@ -0,0 +1,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.