[OpenCV-Python] Refine code
-Fix WaitKey issue
-Implement rotation keycode handle