#image #download #mars #automatic #compile #video #gif

app ingenuity-dl

Automatically download images from the Mars Ingenuity helicopter and compile them into a video

3 releases

0.1.2 Feb 21, 2023
0.1.1 Feb 21, 2023
0.1.0 Feb 21, 2023

#516 in Images

37 downloads per month

GPL-3.0-or-later and AGPL-3.0-or-later

18KB
184 lines

Ingenuity-DL

Automatically download images from the Mars Ingenuity helicopter and compile them into a video.

gif of the sol 403 flight


Ingenuity-DL works with the NASA raw images API to download images from the Ingenuity Mars helicopter, and convert them into a GIF.

Usage

USAGE:
    ingenuity-dl [FLAGS] [OPTIONS]

FLAGS:
    -h, --help       Prints help information
    -s, --save       Save images instead of deleting them
    -V, --version    Prints version information

OPTIONS:
    -f, --fps <FPS>       FPS the gif should use. Default 3.
    -o, --output <OUT>    Folder and/or file to write the output to
    -d, --sol <SOL>       Retrieve images from a specific Sol (defaults to latest)

For example, to compile a gif of the sol 403 flight, with output file sol-403.gif and framerate of 7,

ingenuity-dl -d 403 -o sol-403.gif -f 7

If there was no flight on the specified sol, an error will be returned. A comprehensive list of all flights Ingenuity has taken is available on this page.

Installation

Prerequisites: Rust + Cargo must be installed. See the Rust installation guide for more information.

cargo install ingenuity-dl

Once this is done, the application will be available as ingenuity-dl in the command line.

Dependencies

~24–39MB
~474K SLoC