Hi guys,
I can use the below code to display full screen in Windows and Linux. but in Mac OS X, it always have the menu bar in the top!
Is it possible to display full screen in mac with opencv? any one have ideas of this?
Regards Andy
cvNamedWindow(CALIBRATE_FORM_NAME, CV_WINDOW_AUTOSIZE); cvSetWindowProperty(CALIBRATE_FORM_NAME, CV_WINDOW_FULLSCREEN, CV_WINDOW_FULLSCREEN); cvMoveWindow(CALIBRATE_FORM_NAME, 0, 0);
int screen_width = GlobalData::Instance()->GetScreenWidth();
int screen_height = GlobalData::Instance()->GetScreenHeight();
IplImage* img = cvCreateImage(cvSize(screen_width, screen_height), IPL_DEPTH_8U, 3);
cvZero(img);
//cvMoveWindow(CALIBRATE_FORM_NAME, 0, 0);
cvShowImage(CALIBRATE_FORM_NAME, img);