imshow() freeze on in cv2 w/ Python (Bug #2121)
Description
Using imshow causes the new window to open and freeze immediately.
Windows 7 64bit, python 2.7.2 32bit, opencv 2.4.1
Example:
import cv2
cv2.namedWindow('test')
creates frozen window, can't put image into it (i.e. with:)
img = cv2.imread('testfile.bmp')
cv2.imshow('test', img)
Causes no error in the interpreter.
Associated revisions
Merge pull request #2121 from ilya-lavrenov:tapi_perf
History
Updated by wonko the sane over 12 years ago
My apologies, I most likely did not understand the workings of the function. I am not sure if this is a bug or not, but the image is being displayed after a sending a waitKey().
Updated by Andrey Pavlenko over 12 years ago
This is misunderstanding: HighGui named windows processe events during waitKey() call, they should be frozen until you call waitKey().
- Status changed from Open to Cancelled