cv::imshow() should not be depended on keypress (Feature #2490)


Added by Mohammed Manna over 12 years ago. Updated over 11 years ago.


Status:Done Start date:2012-10-30
Priority:Low Due date:
Assignee:Vadim Pisarevsky % Done:

100%

Category:highgui-gui
Target version:3.0
Difficulty: Pull request:

Description

I guess this predates openCV 2.4.3, but anway!

I could not use cv::imshow() function without using cv::waitkey(0) after that. My understanding is that from the design and HCI perspectives, when I write:
imshow("bobbybrown.jpg",bobbyBrown)

I expect to see bobbyBrown (type cv::Mat) coming up on a window. I should not have to assign cv::waitkey(0) after that. At the moment, the display window is greyed out if I do not cv::waitkey(0).

This particular feature should be updated!!!


Associated revisions

Revision 9c7ba6db
Added by Andrey Pavlenko almost 11 years ago

Merge pull request #2490 from ilya-lavrenov:ocl_sep_filters

History

Updated by Vadim Pisarevsky over 12 years ago

anyone is free to use any other UI toolkit with OpenCV, thus I lower priority of the feature and postpone it till 2.5 (at least)

  • Priority changed from High to Low
  • Target version changed from 2.4.3 to 3.0

Updated by wonko the sane over 12 years ago

At least documentation should highlight the need of calling waitKey much more explicit. From my (limited) experience, most beginners get stuck at this point. Very frustrating if the minimal example is not working.

Updated by Kirill Kornyakov over 12 years ago

@Mohammed, you can see that almost all your proposals were cancelled. IMHO you should think about it... This place is for co-developers mostly, so if you're not ready to contribute, please stop posting irrelevant stuff.

Updated by Vadim Pisarevsky over 12 years ago

  • Assignee set to Vadim Pisarevsky
  • Category set to highgui-gui

Updated by abid rahman over 11 years ago

  • Status changed from Open to Done
  • % Done changed from 0 to 100

Also available in: Atom PDF