From 97c4dccf913064d483a42b0f69882cbd9ff2f36c Mon Sep 17 00:00:00 2001 From: Nash Date: Sat, 30 Aug 2014 22:02:47 +0700 Subject: improve the README file --- opencv-qt-integration-1/README.md | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) (limited to 'opencv-qt-integration-1') 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. -- cgit v1.2.3