📜  waitkey(1) & 0xff - 任何代码示例

📅  最后修改于: 2022-03-11 14:59:53.299000             🧑  作者: Mango

代码示例1
0xFF is a hexadecimal constant which is 11111111 in binary. By using bitwise AND (&) with this constant, it leaves only the last 8 bits of the original (in this case, whatever cv2.waitKey(0) is).