summaryrefslogtreecommitdiff
path: root/opencv-qt-integration-1/README.md
blob: 33d93400ffb2b63c7708470532f3e8085ac00c17 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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.

![Screenshot](http://i.imgur.com/k1et0FY.png)

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.