Use full retina resolution on OSX

asked 2016-06-15 21:34:23 -0600

bob_oi gravatar image

Hello

Working in Xcode, Mac OS X 10.11.5, OpenCV 2.4.13

When openCV shows an image on my MacBook Pro with retina display:

namedWindow( wndName, CV_WINDOW_NORMAL );    
imshow( wndName, img );

it seems to assume screen resolution that is half the actual resolution: image size of the screen is shown twice as big, whereas image half the screen pixel size fits the screen perfectly.

Is there a way to use the real display resolution?

Thanks

edit retag flag offensive close merge delete

Comments

I also want to display OpenCV images at full resolution of my Apple “Retina” display. Otherwise they are much too large on the screen, or I have to throw away half my resolution. It is disappointing this question received zero answers in four years.

I'm using OpenCV 4.1.2 on macOS Catalina 10.15.2 with Xcode/clang/c++

cwr gravatar imagecwr ( 2020-02-24 19:49:53 -0600 )edit

Please ask a new queston. Question is too old

LBerger gravatar imageLBerger ( 2020-02-24 20:24:47 -0600 )edit