GitHub – atiilla/GeoIntel: GeoIntel using Google's Gemini API to uncover the location where photos were taken through AI-powered geo-location analysis.
Want to know where a photo was taken, without manually zooming into tiny clues? GeoIntel is a lightweight Python tool that uses Google’s Gemini API to do exactly that, it analyzes images and returns likely locations, confidence levels, and even Google Maps links so you can explore the spot yourself.
I’ve tried it on an old vacation snap, and within seconds it surfaced a coastal region that matched my memory (which, honestly, I thought I had forgotten). That moment felt like asking a friend who actually remembers everything.
What it does, simply: GeoIntel sends an image to Gemini, then parses the structured JSON response that includes an interpretation and an array of possible locations. Each location returns country, state, city and a confidence level (High, Medium, Low). It can handle local image files or image URLs.
How to try it (super simple). From the command line run something like:
geointel --image vacation_photo.jpg
You can add context or a guess, save results to JSON, or pass a custom API key. Examples:
geointel --image vacation_photo.jpg --context "Taken during summer vacation in 2023"geointel --image vacation_photo.jpg --guess "Mediterranean coast"geointel --image vacation_photo.jpg --output results.json
API key setup: Get your Gemini API key from Google AI Studio. Then either set an environment variable GEMINI_API_KEY=your_key_here, pass it to GeoIntel in code, or use the --api-key parameter.
Want the repo? Check GeoIntel on GitHub: https://github.com/atiilla/GeoIntel
Looking ahead, expect tighter integrations with mapping tools and richer context handling (think: time of year, landmarks). For now, GeoIntel is a neat, practical way to reconnect photos with place, and it’s worth a try if you love solving small mysteries from your photo library.
Deutsch
Willst du wissen, wo ein Foto aufgenommen wurde? GeoIntel ist ein einfaches Python-Tool, das Googles Gemini API nutzt, um per Bildanalyse mögliche Orte zu ermitteln. Es liefert Länder, Regionen, Städte, eine Vertrauensangabe und sogar Links zu Google Maps.
Ich habe es mit einem älteren Strandfoto getestet, und innerhalb kurzer Zeit zeigte GeoIntel eine Küstenregion, die mich tatsächlich wiedererinnern ließ (kleiner Nebengedanke: ich hatte schon fast vergessen, wie windig es dort war).
Kurz gesagt: GeoIntel schickt das Bild an Gemini, bekommt eine strukturierte JSON-Antwort zurück und zeigt mehrere Standortvorschläge mit Confidence-Levels an. Lokale Dateien oder URLs werden unterstützt.
Beispiele:
geointel --image urlaubsbild.jpggeointel --image urlaubsbild.jpg --context "Sommer 2023"geointel --image urlaubsbild.jpg --output ergebnisse.json
API-Schlüssel: Hol dir den Gemini API-Key bei Google AI Studio. Du kannst ihn als Umgebungsvariable setzen (GEMINI_API_KEY=dein_key), beim Initialisieren übergeben oder per --api-key nutzen.
Das GitHub-Repository findest du hier: https://github.com/atiilla/GeoIntel
Ausblick: Mehr Integration mit Maps und kontextbasierte Verbesserungen sind zu erwarten. Für jetzt ist GeoIntel ein praktisches Werkzeug, wenn du Fotos wieder mit Orten verbinden möchtest, und es macht sogar ein bisschen Spaß beim Ausprobieren.



Kommentar abschicken