Commit 1740218e authored by Anatoly Orlov's avatar Anatoly Orlov

small platform compatability fix for ESC key

parent 2be805ce
#!/usr/bin/python
#!/usr/bin/env python
"""
Tracking of rotating point.
Rotation speed is constant.
......@@ -90,7 +90,7 @@ if __name__ == "__main__":
if code != -1:
break
if code in [27, ord('q'), ord('Q')]:
if (code % 0x100) in [27, ord('q'), ord('Q')]:
break
cv2.destroyWindow("Kalman")
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment