A comprehensive data visualization tool built with Python to analyze Formula 1 telemetry and real-time data. This application provides insights into race performance, lap times, and various other metrics through an interactive GUI interface.
-
Real-time telemetry data visualization
-
Multiple analysis types:
- Lap Time Analysis
- Fastest Lap Comparison
- Fastest Sectors Analysis
- Full Telemetry Visualization
- Tyre Compound and Stint Analysis
- Pit Stop Impact Analysis
- Fuel Usage Impact Analysis
- Position Changes Tracking
-
Machine Learning predictions for pit stop strategies
-
Interactive GUI with customizable parameters
-
Support for historical race data analysis
-
Multi-driver comparison capabilities
- Python 3.12.0
- PyQt5 - GUI Framework
- FastF1 - F1 Data Access
- Pandas - Data Manipulation
- Matplotlib/Seaborn - Data Visualization
- Scikit-learn - Machine Learning
- Apache Spark - Big Data Processing
- Dash - Web-based Visualization
- HDFS - Data Storage
- Python 3.8 or higher
- Apache Spark installation
- HDFS setup (for big data storage)
-
Clone the repository.
-
Install required packages:
pip install -r requirements.txt
-
Configure HDFS connection:
- Update the HDFS cluster IP in
spark.py - Ensure proper permissions for data access
- Update the HDFS cluster IP in
Run the main GUI application:
python gui.pyFor standalone model predictions:
python gui_model.pyLaunch the Dash web interface:
python app.py-
Lap Time Analysis
- Compare lap times between drivers
- Track performance evolution
-
Fastest Lap Analysis
- Identify and analyze fastest laps
- Sector-by-sector breakdown
-
Full Telemetry
- Speed traces
- Throttle/brake patterns
- Gear usage analysis
-
Strategy Analysis
- Tyre compound impact
- Pit stop timing
- Fuel load effects
-
Data Collection (
fastf1)- Live timing data
- Historical race data
- Driver telemetry
-
Processing (Spark)
- Data cleaning
- Feature engineering
- Performance calculations
-
Storage (HDFS)
- Raw data storage
- Processed datasets
- Model artifacts
-
Analysis
- Statistical analysis
- Machine learning predictions
- Performance comparisons
- Pit stop prediction model
- Performance trend analysis
- Anomaly detection
- Strategy optimization