Quantcast
Channel: QtWebEngine
Viewing all articles
Browse latest Browse all 13965

How can I process a video frame by frame in Qt without using OpenCV?

$
0
0
I have a video (avi file) and I have a text file containing coordinates of bounding boxes. I know that QPainter’s drawRect() to draw a rectangle over a QImage ( http://qt-project.org/forums/viewthread/6406 [qt-project.org] ) . But, how can I take a video frame by frame and convert the frame to QImage? I don’t want to use OpenCV’s VideoCapture. Also, I will need the frame rate of the video in order to “play” it back with the bounding boxes.

Viewing all articles
Browse latest Browse all 13965