summaryrefslogtreecommitdiffstats
path: root/misc/README.rst
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2011-03-25 12:04:47 +0100
committerMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2011-03-25 12:04:47 +0100
commit7211a7cc2da2260874f9beb40b9c2c2389a74018 (patch)
tree1c43913d5e1e3902ea2beae8c4d998732e58a388 /misc/README.rst
parent8edd5cbc43e4a716478135d3566347243a3d4ade (diff)
downloadlibuca-7211a7cc2da2260874f9beb40b9c2c2389a74018.tar.gz
libuca-7211a7cc2da2260874f9beb40b9c2c2389a74018.tar.bz2
libuca-7211a7cc2da2260874f9beb40b9c2c2389a74018.tar.xz
libuca-7211a7cc2da2260874f9beb40b9c2c2389a74018.zip
Add OpenCV integration
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.