[Bug集合]if cv2.waitKey(1000 / 12) & 0xff == ord("q")

if cv2.waitKey(1000 / 12) & 0xff == ord("q"):
TypeError: integer argument expected, got float

改成waitKey(1)

猜你喜欢

转载自blog.csdn.net/unlimitedai/article/details/85066242