summaryrefslogtreecommitdiff
path: root/opencv-qt-integration-1/README.md
diff options
context:
space:
mode:
authorNash <nash@bsd-noobz.com>2014-08-30 22:02:47 +0700
committerNash <nash@bsd-noobz.com>2014-08-30 22:02:47 +0700
commit97c4dccf913064d483a42b0f69882cbd9ff2f36c (patch)
treed7319648ab2f8bbca00aefcce05d1daecc2170f5 /opencv-qt-integration-1/README.md
parentdfe02daf2dc6b28110297a2600a38bfc68e0f5cc (diff)
improve the README file
Diffstat (limited to 'opencv-qt-integration-1/README.md')
-rw-r--r--opencv-qt-integration-1/README.md16
1 files changed, 5 insertions, 11 deletions
diff --git a/opencv-qt-integration-1/README.md b/opencv-qt-integration-1/README.md
index 33d9340..ab4d6dc 100644
--- a/opencv-qt-integration-1/README.md
+++ b/opencv-qt-integration-1/README.md
@@ -1,24 +1,18 @@
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.
+This sample demonstrate how to display `cv::Mat` using `QLabel` widget. Tested on Mac OS X and Qt 5.3.0.
![Screenshot](http://i.imgur.com/k1et0FY.png)
+Within the `python/` directory, you will see the same code written in Python.
+
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:
+To compile the code, change the working directory and type:
qmake
-
-3. Compile:
-
make
-4. Run the generated executable.
-
+If everything is ok, it will produce an executable: `ImageViewer` (Linux), `ImageViewer.exe` (Windows), or `ImageViewer.app` (Mac). Run the executable and you will see the GUI like the screenshot above.