Skip to content

leon-seidel/launch_video_data

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Plot rocket launch data from rocket launch videos

General

Acceleration plot

Using PyTesseract for extracting the telemetry data from SpaceX, Rocket Lab and Arianespace launch videos. Velocity, altitude and acceleration are then plotted for each stage (SpaceX) or for the main stage (Rocket Lab, Arianespace). Outliers are detected and ignored by applying acceleration and vertical speed boundaries. Realtime performance can be reached by only analysing every nth frame. Accelerations are the combination of velocity change rates and acceleration due to gravitational forces. Furthermore, accelerations are shown as a moving average.

Arguments

Arguments: --video (Video local path), --start (Start time in video in seconds), --duration (Duration of video from start time). The supported time formats are: 1:13:12, 3:12, 144 (h:min:s, min:s, s). The --type flag specifies where the text detector looks for velocity and altitude data, while the plot title can be set with --title.

Example: python rocket_data.py --video ift5-1080p.mp4 --start 0:24 --duration 9:52 --type SpaceX --title IFT-5

Installation

Tesseract must be installed on the system and referenced, installation link for Windows: https://github.com/UB-Mannheim/tesseract/wiki/Windows-build

On Ubuntu install with:

sudo apt install tesseract-ocr
sudo apt install libtesseract-dev

Then clone this repo and install the requirements:

git clone https://github.com/leon-seidel/launch_video_data.git
cd launch_video_data
pip install -r requirements.txt

Examples

Starship IFT-5

Velocity plot Altitude plot Acceleration plot

Inspiration4

Velocity plot Altitude plot Acceleration plot

Double Asteroid Redirection Test (DART)

Velocity plot Altitude plot Acceleration plot

Transporter-3

Velocity plot Altitude plot Acceleration plot

About

Plotting rocket data from launch videos.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages