windows hangs after keypress in python2 samples (Bug #1680)


Added by abid rahman almost 14 years ago. Updated almost 13 years ago.


Status:Done Start date:2012-03-13
Priority:High Due date:2012-03-14
Assignee:Gary Bradski % Done:

100%

Category:samples
Target version:2.4.0 Estimated time:0.10 hour
Affected version: Operating System:
Difficulty: HW Platform:
Pull request:

Description

The windows in python2 samples, when executed from Python IDLE, hangs out after a key press in Windows(OS) and goes to "not responding" state.

But no problem was found when run in fedora 16 (program exit with any key press or Esc key)

No problem if we hit close button of the window in windows(OS) also.

Not a major problem, but annoying to user.

Better if added cv2.destroyAllWindows() at end in all samples.

(EDIT ; applicable to samples in old python interface also)


Associated revisions

Revision 55ede740
Added by Roman Donchenko over 11 years ago

Merge pull request #1680 from alalek:cmake_fix_android_builds

History

Updated by Gary Bradski almost 13 years ago

  • Priority changed from Low to High
  • Assignee set to Gary Bradski

Updated by Gary Bradski almost 13 years ago

cv2.destroyAllWindows() added to all relevant functions

  • Status changed from Open to Done
  • % Done changed from 0 to 100
  • Due date set to 2012-03-14

Also available in: Atom PDF