diff options
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. |