LocGuessr is a free & open-source AI tool that analyzes images to guess where they were taken. It uses GPT-4 Vision to study visual clues and makes an educated guess about the location.
Photographers, travelers, and geography enthusiasts can use this tool to test their knowledge or rediscover memories. Educational institutions might find it a fun way to engage students in geography and AI technology.
How to use it:
1. Navigate to the LocGuessr website and upload your photo.
2. GPT-4 Vision gets to work, analyzing details and piecing together clues.
3. The app then displays the predicted location with the corresponding country flag.
How to deploy it:
1. Clone the project repository from GitHub.
git clone https://github.com/joabutt/locguessr
2. Install the necessary dependencies for the project.
3. Create a .env file from the .env.example template and fill in your API keys.
OPENAI_API_KEY=<your_openai_key> IMGBB_API_KEY=<your_imgbb_key> RTDB_URL=<your_firebase_realtime_database_url>
4. Configure the Firebase Admin SDK private key and ensure it’s correctly linked in your project.
5. Launch the application and access it locally through the provided URL: http://localhost:5000.