Back to Projects
July 2026
Racing Steering Wheel
A computer vision-based virtual steering wheel that lets you control any racing or driving game using just your hands and a webcam. No extra hardware, no physical steering wheel required!
Features
- No Hardware Required: Uses your built-in or external webcam.
- Low Latency: Optimized for real-time tracking (runs smoothly at 60 FPS on decent hardware).
- HUD Interface: A cyberpunk-themed Heads-Up Display showing your steering angle, active keys, and telemetry.
- Universal Compatibility: Works with any game that uses the Left and Right arrow keys for steering (e.g., Trackmania, browser racing games, Hill Climb Racing, etc.).
- Customizable: Easy to adjust dead zones, sensitivity, and visual aesthetics.
Technology Stack
Languages & Frameworks
- Python 3.9+
- OpenCV
Libraries & Tools
- MediaPipe
- Pynput
- NumPy
Setup & Installation
1. Access the Project Directory
# Navigate to the project directory
cd D:\Racing_steering_wheel2. Install Dependencies
# Install required libraries
pip install mediapipe opencv-python pynput numpy3. Usage
# Run the script
python steering_wheel.pyHow to Play
- Hold both fists up toward the camera, mimicking a grip on a steering wheel.
- Tilt your hands left or right to steer.
- The script will automatically press the LEFT and RIGHT arrow keys.
- Drop your hands out of the frame to immediately release all keys.
- Press Q or ESC while focused on the camera window to exit.