Demo -> link
Demo -> link2
$ pip install opencv-python
$ pip install pyautogui
You just have to use whitescreen of your phone , and hold the screen towards the webcam. Now just steer your phone to drive or race a vehical in any game.
Used to set at which degree of turn the vehical goes left or right.
Speed at which the vehical goes forward.
It determines how long will the vehical turn left or right.
Used to get the area of white screen of phone. Adjust according to the phone screen size.