0

if cv2.waitKey(1) & 0xFF == ord('q'): can some one explain me this part & 0xFF == ord('q') .i understand it is used to detect when q is press but what is 0xff and ord

Christoph Rackwitz
  • 11,317
  • 4
  • 27
  • 36

1 Answers1

0

The ord function is a built-in python function that returns the unicode code point for a given character.

HansQ
  • 380
  • 1
  • 7