ich benutze PyCharm und habe dieses Beispielprogramm, um ein Bild anzuzeigen:
Code: Alles auswählen
import cv2
cv2.imshow(
'das steht im Bilderrahmen',
cv2.imread('pferd.jpg', cv2.IMREAD_UNCHANGED))
cv2.waitKey(0)
print('fertig')
QObject::moveToThread: Current thread (0x190f960) is not the object's thread (0x1ae3ce0).
Cannot move to target thread (0x190f960)
Hab ich was falsch gemacht / wen ja, wie geht es richtig?