2014-08-08 15:41 GMT-07:00 Santiago J. Barro-Torres
<[email protected]>:
>
> Hello,
>
> Right now I am using OpenCV (http://opencv.org/) to capture a video from
> a Webcam. I can't do that in Qt because this option is not yet
> implemented in Windows, so I had to look for alternatives.
>
> I still would like to use Qt for the User Interface. How can I integrate
> the single Frames into Qt so that the Video is displayed in the Window?
> (combination of OpenCV for recording + Qt for the displaying).

My app displays a video feed being provided as a sequence of callbacks
with image data. I use a QQuickPaintedItem, I guess it could just as
easily be a QWidget. With each frame I convert the pixmap data to a
QImage and then call the update slot, the paint method just renders
the QImage.

Ian
_______________________________________________
Interest mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to