Skip to content

Preprocesses images to be compaitable with WebODM format for Orthomsaic. It adds GPS data into EXIF format in the image directly

Notifications You must be signed in to change notification settings

RobEn-AAST/webodm-orthomosaic-preprocessor

Repository files navigation

A project to extract frames from GoProHero 13 video into separate frames with EXIF data so that it can be read in webODM to generate orthomosaic.

needs gopro-overlay https://pypi.org/project/gopro-overlay/ https://exif.tools can be used ot confirm the EXIF data is present in the extracted frames.

Execution Steps:

  1. Install gopro-overlay
    pip install gopro-overlay
  2. Add the video into data folder
  3. Open frame_extractor.ipynb
  4. Update other parameters in teh function call accordingly, video path, like the start seconds, end seconds, interval seconds
  5. The extracted frames should go to data/frames folder

*Note you can modify parameters in the function call itself ot control how much frames you want to be generated in total *Note in function extract_frame_at_timestamp there is a commented out function call to resizing frame, it can be direclty uncommented to enable resizing if space is an issue tho resizing directly from webODM interface was usually better *Note frames folder needs to be emptied manually *For optimum results 60% - 80% overlap is recommended between frames

About

Preprocesses images to be compaitable with WebODM format for Orthomsaic. It adds GPS data into EXIF format in the image directly

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published