Exif-Gps-Tracer : A Python Script Which Allows You To Parse GeoLocation Data From Your Image Files

Exif-Gps-Tracer is a python script which allows you to parse GeoLocation data from your Image files stored in a dataset.It also produces output in CSV file and also in HTML Google Maps.

Prerequisite

To run this script fluently , (1) You should have Google Maps API (2) You should enable Map JavaScript API in Console

To get an API key,See this documentation… https://developers.google.com/maps/documentation/javascript/get-api-key

Installation

git clone https://github.com/monishmonish/exif-gps-tracer/
cd exif-gps-tracer/
pip3 install –r requirements.txt
python3 plotmap.py

Enter the path of the Dataset folder which contains Images to parse the exif GeoLocation data

Automatically it will store the Lattitude & Longitude coordinates with their respective time stamp in a CSV file excluding “None” values of Lat,Lon in GeoLocation

If GeoTags are not available in an image,It skips them by printing its filename

An HTML file will be generated by running this script,by opening the HTML file,

You can see the scattered plots of the Lattitude & Longitude coordinates in Google Map

Tips

The more scattered region has the highest probability of the victim/target to be in that area.

This plot is purely based on the exif metadata of the Image dataset.

To-Do

Add a circular heat zone showing the probability of target’s existence in that region.

R K

Recent Posts

Bash Scripting Best Practices Every Beginner Should Know

Introduction Bash scripting is a powerful way to automate Linux tasks, but writing a script…

1 day ago

How To Create A Self-Signed SSL Certificate Using Bash And OpenSSL

Introduction A self-signed SSL certificate is a certificate that is created and signed by the…

1 day ago

How To Debug Bash Scripts Using bash -x And set Commands

Introduction Debugging is an important part of Bash scripting. When a script does not work…

1 day ago

How To Use Cron Jobs With Bash Scripts For Automation

Introduction Cron jobs are used in Linux to run commands or Bash scripts automatically at…

1 day ago

How To Use Pipes In Bash Scripts For Command Chaining

Introduction Pipes are an important feature in Linux and Bash scripting. A pipe allows you…

2 days ago

How To Use grep, awk, And sed In Bash Scripts

Introduction The grep, awk, and sed commands are powerful text-processing tools in Linux. They are…

2 days ago