Skip to content

A collection of tools for planning, geotagging, and processing photos for Structure from Motion (SfM)

Notifications You must be signed in to change notification settings

aobeirne20/sfm_tools

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sfm_tools

A collection of tools to geotag and process photos for Structure from Motion (SfM)

Most useful/mature tools:

  • cam_comparison_planning.py - comparison of different cameras at different altitudes (FOV, pixel ground resolution, etc.)
  • agisoft_all.py - automated Agisoft PhotoScanPro workflow using Agisoft Python API (written for older version, not tested with recent releases)
  • exif2gpslog.sh - read EXIF data for a directory of photos and generate GPS log (csv, shp, or gpx)
  • exif_msl2hae.sh and gps_msl2hae_csv.py - convert between default EXIF height above geoid (MSL, mean sea level) to height above ellipsoid (WGS84)
  • gpslog2exif.sh - update EXIF positions based one external GPS log (e.g., log from Pixhawk4/Flytrex)
  • Tools to pull GPS positions from Pixhawk4/Flytrex/Solo data logs, convert GPS week/seconds to UTC, etc.

Dependencies:

  • Several scripts rely on Phil Harvey's excellent exiftool
  • Output gpx currently uses gpsbabel
  • Some shell scripts require GDAL/OGR command line tools
  • Some Python tools require numpy, matplotlib, and other python libraries (e.g., pygeotools)

Disclaimer:

Most of these were written for one-time projects with my UAV/camera hardware, which has evolved since 2013. Many scripts still include hardcoded paths. There are likely cleaner, more elegant ways to do much of this by now. These days, many commercial UAV options/apps (e.g. DJI platforms, SenseFly platforms, 3DR SiteScan) will do much of this automatically.

About

A collection of tools for planning, geotagging, and processing photos for Structure from Motion (SfM)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 67.6%
  • Shell 32.4%