namedWindow documentation problem (Bug #276)


Added by Gary Bradski almost 15 years ago. Updated almost 15 years ago.


Status:Done Start date:
Priority:Low Due date:
Assignee:- % Done:

0%

Category:documentation
Target version:-
Affected version: Operating System:
Difficulty: HW Platform:
Pull request:

Description

Kurt Konolige

In the docs on namedWindow, it says that the window should be
resizeable if the CV_WINDOW_AUTOSIZE flag is not included. I can't
get the window to resize with the mouse, when I don't include this
flag.


Related issues

duplicated by Bug #277: cv::namedWindow() doesn't resize Cancelled

Associated revisions

Revision 66d98647
Added by Marina Kolpakova about 12 years ago

Merge pull request #276 from cuda-geek:fix-precomps

Revision 714f0f5f
Added by Alexander Alekhin over 9 years ago

Merge pull request #276 from micalan:JpegExif

History

Updated by anonymous - almost 15 years ago

The following sample works great (i.e. the window can be resized) on Ubuntu 9.10 x64, when OpenCV is compiled with GTK+ support. If it still does not work, please, supply the sample.

#include "cv.h"
#include "highgui.h"
#include <stdio.h>

using namespace cv;

int main(int, char**) {
printf("press any key within 1 second\n");
namedWindow("test", 0);
int c = waitKey(0);
printf("%d\n", c);
return 0;
}

  • Status changed from Open to Done
  • (deleted custom field) set to worksforme

Also available in: Atom PDF