Cannot show image display windows in openCV

I am using python openCV bindings. I am trying to show the output image using the following list:

cv.NamedWindow('display')
cv.MoveWindow('display', 10, 10)
cv.ShowImage('display', cvImage)

But I do not see any window.

My platform is Linux (openSuse 11.4), python-opencv version 2.1 and python 2.7.

+5
source share
2 answers

You need to call WaitKey function to handle events. Check the documentation: http://opencv.willowgarage.com/documentation/python/highgui_user_interface.html#waitkey

HighGUI, , , HighGUI - , .

WaitKey (0) , .

+11

: WaitKey (1) 1 , 15 ... , .

0

All Articles