Open hexxter opened 8 years ago
Temporary workaround for this problem is to use:
status, buf = cv.imencode('.ppm', frame)
pixmap = QPixmap()
pixmap.loadFromData(buf.tostring())
qlbl.setPixmap(pixmap)
Where frame is a 3 channel numpy array / opencv image I checked and ppm encoding seems to have the lower encoding time
I get an frame from the cam and convert it to an QImage. This produce a memory leak. First i mean it is a problem with the QLabel (#144 closed issue) but its a problem with the QImage.
i found this: https://bugreports.qt.io/browse/PYSIDE-140 is this the same?
Info: Python3.4.3 virtualenv host: ubuntu 14.04 64bit
for simpler test you can use a picture as source...