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.
OpenCV - waitKey() can't capture the first Tab keypress
Guess you like
Origin www.cnblogs.com/zhangzhihui/p/12517323.html
Recommended
Ranking