This project generates an orthomosaic map from a drone video using both horizontal and vertical view frames.
- Place your drone video file in the same folder as
orthomosaic_mixed.py. - Install dependencies:
pip install opencv-python
- Run the script:
python orthomosaic_mixed.py
- The script will:
- Extract frames into the
frames/folder. - Stitch them into
orthomosaic_mixed.jpg.
- Extract frames into the
orthomosaic_mixed.pyβ Main Python scriptframes/β Extracted frames (created when script runs)orthomosaic_mixed.jpgβ Final stitched orthomosaic image
- If stitching fails, try fewer frames or higher quality.
- Works best with stable aerial footage.
This project is under the MIT License.
- OpenCV Image Stitching Documentation: https://docs.opencv.org/4.x/d8/d19/tutorial_stitcher.html
- Orthophoto Concept: https://en.wikipedia.org/wiki/Orthophoto
- π₯ Reference Video: What Is An Orthomosaic? Orthomosaic Maps & Orthophotos