A powerful Python toolkit for extracting, analyzing, and visualizing telemetry data from SpaceX Starship launch webcasts using computer vision and optical character recognition. This tool helps engineers, space enthusiasts, and analysts track performance metrics and compare data across different Starship test flights.
Starship Analyzer automatically extracts critical flight data from SpaceX's Starship launch webcasts, including:
- Speed and altitude measurements extracted from video telemetry overlay
- Engine ignition status and patterns across all Raptor engines
- Fuel level monitoring for LOX (liquid oxygen) and CH4 (methane) in both stages
- Timestamps and synchronization to T-0 events
- Acceleration and G-force calculations for engineering analysis
The tool processes video frames in parallel, cleans the extracted data, and generates comprehensive visualizations to help you understand the performance characteristics of each launch.
Feature | Description |
---|---|
Telemetry Extraction | OCR system optimized for SpaceX's Starship telemetry overlay |
Engine Status Detection | Real-time tracking of individual engine ignition states |
Fuel Level Analysis | Monitoring of LOX and CH4 tank levels in Superheavy booster and Starship |
Performance Analysis | Calculates derived metrics like acceleration and G-forces |
Multi-launch Comparison | Compare performance metrics across different Starship test flights |
Interactive Visualizations | Generate detailed graphs and plots with zoom capabilities, tooltips, and exportable formats |
Parallel Processing | Efficiently processes video frames using multi-core architecture |
User-friendly CLI | Simple menu-driven interface with no programming knowledge required |
For detailed documentation, please visit our GitHub Wiki which covers:
- Installation Guide - Detailed setup instructions
- Usage Guide - Complete usage instructions
- How It Works - Technical explanation
- API Documentation - For developers
- Contributing Guidelines - How to contribute
- FAQ - Common questions
- Troubleshooting - Solutions to common problems
- Python 3.8 or higher
- NVIDIA GPU with CUDA support (recommended but optional)
- 8GB+ RAM recommended for processing high-resolution videos
# Clone the repository
git clone https://github.com/sanitaravel/starship_analyzer.git
cd starship_analyzer
# Run the setup script
python setup.py
# Activate the virtual environment
# Windows:
venv\Scripts\activate
# macOS/Linux:
source venv/bin/activate
For detailed installation instructions, including manual setup and troubleshooting, see the Installation Wiki.
-
Place your Starship launch videos in the
flight_recordings
folder -
Run the application:
python main.py
-
Follow the interactive menu to process videos and generate analyses
The workflow follows this pattern:
Flight Recording → Frame Processing → Data Extraction → Analysis → Visualization
- Input: Add SpaceX webcast recordings to the
flight_recordings
directory - Processing: Extract telemetry data through parallel frame processing
- Analysis: Clean data, calculate derived metrics, and detect patterns
- Output: Generate visualizations and comparison plots in the
results
directory
Starship Analyzer uses a multi-stage pipeline:
- Frame Extraction: Video frames are extracted and queued for processing
- OCR Processing: Specialized regions of interest (ROIs) are analyzed to extract telemetry
- Engine Detection: Computer vision techniques identify active engines
- Fuel Level Detection: Analysis of propellant gauge indicators for LOX and CH4 tank levels
- Data Cleaning: Statistical methods remove outliers and noise
- Analysis: Calculates acceleration, G-forces, and performance metrics
- Visualization: Generates plots showing vehicle performance, engine status, and fuel consumption
The processed data is available through an interactive visualization interface that lets you explore:
- Time-synchronized telemetry readings
- Engine activation patterns
- Fuel consumption rates
- Performance metrics across different flight phases
- Comparative analysis between multiple launches
Contributions are welcome! To contribute:
- Fork the repository
- Create a feature branch:
git checkout -b feature/amazing-feature
- Commit your changes:
git commit -m 'Add amazing feature'
- Push to the branch:
git push origin feature/amazing-feature
- Open a Pull Request
Please ensure your code follows the project's style guidelines and includes appropriate tests.
This project is licensed under the MIT License with Attribution Requirement.
You may freely use and modify this software, provided you:
- Include the original copyright notice
- Provide attribution to the original author
- Indicate if changes were made
See the LICENSE file for complete details.
Alexander Koshcheev - GitHub Profile
Project Link: https://github.com/sanitaravel/starship_analyzer