Ask Your Question

Revision history [back]

The cv2.WINDOW_KEEPRATIO and the cv2.WINDOW_FULLSCREEN option simply do opposite things. You cannot avoid this. The windows are purely there for debugging purposes, if you want to make a clear gui output, use Qt or another backend specific for this.