summaryrefslogtreecommitdiff
path: root/opencv-qt-integration-1
diff options
context:
space:
mode:
authorNash <nash@bsd-noobz.com>2014-08-30 21:27:17 +0700
committerNash <nash@bsd-noobz.com>2014-08-30 21:27:17 +0700
commit4e85f9e0d560a8b665b513a17e2cacb8fc5f9071 (patch)
tree91fd8e67289fa63284512a659cd0c78b0e3c39c7 /opencv-qt-integration-1
parent4b359ab177811c990cddc94a0aeaa55242354088 (diff)
improve the README file
Diffstat (limited to 'opencv-qt-integration-1')
-rw-r--r--opencv-qt-integration-1/README.md22
1 files changed, 22 insertions, 0 deletions
diff --git a/opencv-qt-integration-1/README.md b/opencv-qt-integration-1/README.md
index 2c9aa5b..e58f939 100644
--- a/opencv-qt-integration-1/README.md
+++ b/opencv-qt-integration-1/README.md
@@ -1,2 +1,24 @@
OpenCV - Qt Integration
=======================
+
+This sample demonstrate how to display `cv::Mat` using `QLabel` widget. Tested on Mac OS X and Qt 5.3.0. The Python version is available on the `python/` directory.
+
+<a href='http://postimg.org/image/4k1iv0kon/' target='_blank'><img src='http://s15.postimg.org/4k1iv0kon/opencv_qt.jpg' border='0' alt="opencv qt" /></a>
+
+Compiling
+---------
+
+1. Change the current working directory:
+
+ cd opencv-qt-integration-1
+
+2. Modify the variables on `ImageViewer.pro` as needed then generate the Makefile:
+
+ qmake
+
+3. Compile:
+
+ make
+
+4. Run the generated executable.
+