https://github.com/manav-aggarwal/alaudidae
https://github.com/manav-aggarwal/alaudidae
csv csv-parsing geopy kml python3 srt-parser
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/manav-aggarwal/alaudidae
- Owner: Manav-Aggarwal
- Created: 2018-04-03T16:43:08.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-08-15T07:55:25.000Z (almost 8 years ago)
- Last Synced: 2025-02-14T10:43:37.192Z (over 1 year ago)
- Topics: csv, csv-parsing, geopy, kml, python3, srt-parser
- Language: Python
- Size: 158 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Alaudidae
Technical Assignment for Skylark Drones
Modules required:
- piexif: Python package to simplify exif manipulations.
- pysrt: Python library to edit and create SubRip files.
- geopy: Geocoding library for Python.
- simplekml: Python package to generate KML with as little effort as possible.
You can use these commands to install these modules:
```
pip install simplekml
pip install pysrt
pip install geopy
pip install piexif
```
The script takes two parameters:
- VID_RADIUS: Radius used for the video with the drone coordinates at different times.
- POI_RADIUS: Radius used for the points of interest CSV file.
• Reads the SRT files in the video directory which contain GPS coordinates of the drone at the all the different times that the drone flew over the survey site.
• Creates a map of geotagged images from image names to their coordinates.
• Outputs a CSV file containing a list of images within the given radius at each second of the drone's flight. Also, generates a KML file of the drone's path in the videos in the video directory.
It reads a CSV file with some points of interests and their coordinates to create another file containing a list of images within the given radius at each point of interest.
Example usage:
```
python script.py 35 50
```