YashIndane / Derby-Crash-2-steering

Turn your smartphone into a steering for any desktop or online game.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Derby-Crash-2-steering

Demo -> link

Demo -> link2

Requirements

opencv

$ pip install opencv-python

pyautogui

$ pip install pyautogui

Use

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.

PARAMETERS TO ADJUST

SENSITIVITY

Used to set at which degree of turn the vehical goes left or right.

SPEED

Speed at which the vehical goes forward.

TIME_OF_ACTION

It determines how long will the vehical turn left or right.

AREA_COMPARE

Used to get the area of white screen of phone. Adjust according to the phone screen size.

About

Turn your smartphone into a steering for any desktop or online game.

License:MIT License


Languages

Language:Python 100.0%