cv.waitKey(1)& 0xFF == ord(\'q\'): break
In above code snippet, what is the need of 0xFF ? If I am not using this in that case also