if cv2.Waitkey(10) == ord('q'): attribute error is showing
if cv2.Waitkey(10) == ord('q'):
attribute error is showing