In this Example of codes, you learn how to merge Opencv 3.x with Qt5 โฅ under a Thread!
Threads help us to run multiple processes at time, without application break ๐
- in MyOpenCV.pri file, You have to change the
OPENCV PATH
with yours, ok!
For me it look like this:
OPENCV_PATH = C:/Qt/OpenCV3.2.0vc14/mybuild/install
CvToQt
is my class, to convert images from Opencv to Qt Image/Pixmap!VideoProcessorThread
is my class too, a thread to process a stream of frames (video) in a live time!