diff options
author | Nash <nash@bsd-noobz.com> | 2014-08-30 22:02:47 +0700 |
---|---|---|
committer | Nash <nash@bsd-noobz.com> | 2014-08-30 22:02:47 +0700 |
commit | 97c4dccf913064d483a42b0f69882cbd9ff2f36c (patch) | |
tree | d7319648ab2f8bbca00aefcce05d1daecc2170f5 /opencv-qt-integration-1 | |
parent | dfe02daf2dc6b28110297a2600a38bfc68e0f5cc (diff) |
improve the README file
Diffstat (limited to 'opencv-qt-integration-1')
-rw-r--r-- | opencv-qt-integration-1/README.md | 16 |
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. |