CvCamView icon indicating copy to clipboard operation
CvCamView copied to clipboard

Not able to display using Qt5.5

Open rbotta opened this issue 9 years ago • 5 comments

Hi,

I am glad that you could display camera capture in qml using opencv. I tried to build your plugin using Qt 5.5. I made the necessary changes like QDeclarative to QQuickItem and replaced QStyleOptionGraphicsItem with QGraphicsItem. I am able to receive the iplData, qImage in the qml onNewFrame. However I am not able to view the image in qml. Could you please share the qmlTest solution.

rbotta avatar Nov 19 '15 15:11 rbotta

@rbotta, could you please share your Qt5-related changes?

VelorumS avatar Nov 23 '15 11:11 VelorumS

Feel free to open a PR, during this week I'll take a look at this code and start the migration to Qt5

rferrazz avatar Nov 23 '15 11:11 rferrazz

Btw, Qt 5.5 now has a VideoOutput QML object that can have custom filters.

They are basically saying that we should write cvFilters. It's reasonable: VideoOutput can play from a media file too.

VelorumS avatar Nov 23 '15 20:11 VelorumS

But I think a downside of Qt's videofilterrunnable is, that the QVideoFrame images on android are GLTextureBuffers, so it's expensive to copy them to the user memory. Wouldn't it be faster to have opencv capture the camera image if you want to manipulate it since it is already in user space and draw it later?

Mikaso avatar Jul 04 '16 13:07 Mikaso

When can we expect a Qt 5 version of this library?

HMVC0 avatar Sep 05 '16 11:09 HMVC0