Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cv2.waitKey(0)会导致第一个窗口一直显示,关闭该窗口之后程序还在堵塞状态,第二个窗口也无法正常显示。改用循环语句和条件语句结合来控制窗口的显示和关闭。
- Loading branch information
cv2.waitKey(0)会导致第一个窗口一直显示,关闭该窗口之后程序还在堵塞状态,第二个窗口也无法正常显示。改用循环语句和条件语句结合来控制窗口的显示和关闭。