I am aware of 2 different ways to display a OpenCV video stream in a QT QuickControls 2 application. One method seems to use a QQuickPaintedItem
and a thread. The other way appears to use QAbstractVideoFilter
.
See below for the 2 methods:
- How to paint sequential image in efficient way in QQuickPaintedItem
- http://blog.qt.io/blog/2015/03/20/introducing-video-filters-in-qt-multimedia/
Which is the more efficient way to display a OpenCV video stream in a QT QuickControls 2 application?