OpenCV - waitKey() can't capture the first Tab keypress

Looks like "QT" UI backend has been enabled in OpenCV build. TAB can be preserved to switch between "UI elements" in that case.

Check build configuration about GUI using cv.getBuildInformation(), you can find that QT is included.

Guess you like

Origin www.cnblogs.com/zhangzhihui/p/12517323.html
Tab
Tab
Tab
Tab