A simple CLI tool to extract frames from drone footages with EXIF data included.
You can install DroneFrame from either from PyPI using pip
or directly through GitHub releases.
$ pip install droneframe
$ git clone https://github.com/anwaraliahmad/droneframe.git
$ cd droneframe
$ pip install
- Navigate to releases page
- Download either
.tar.gz
or.whl
- Navigate to your download
$ pip install droneframe-version.<tar.gz or whl>
Argument/Option | Description | Flags | Default | Required |
---|---|---|---|---|
video | Path to drone video file (.MP4 ) |
Yes | ||
meta |
Path to metadata file (.SRT ) |
-m , --meta |
Same pathname (sans file extension) as video |
No |
frame_rate |
The rate for frame extraction | -f , --frame_rate |
30 | No (but highly recommended) |
output |
Target path to output folder (will generate a folder named after the video file there) | -o , --output |
Working directory | No |
Help | Display help message | -h , --help |
- Use
droneframe
to get frames filled with GPS & timestamp data.
$ droneframe path/to/DJI_001.MP4 -f 3 # Large drone video of subject.
- Import the generated
./DJI_001
folder into your photogrammetry software of choice. - Enjoy your 3D recreation.
If constraints permit, you can always extract more with a higher framerate or generate an additional batch of frames from another video you have of the target.
This is a model of an abandoned structure that was created by running droneframe
and uploading the resulting frames onto WebODM Lightning for 3D reconstruction.
You can interact with the full model on Sketchfab
This project is licensed under the MIT License. See the LICENSE file for details.