diff options
-rw-r--r-- | opencv-qt-integration-1/README.md | 22 |
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. + |