A multiplayer geolocation game based on the hitta repository, where players take photos with AI object detection and challenge each other to find the exact location.
Live Demo: https://selenwall.github.io/locate/
- Photo Capture: One player takes a photo of objects at their current location
- AI Detection: The YOLO model identifies objects in the photo (shown in live view)
- Challenge: The identified objects are sent to the other player via messaging
- Location Hunt: The other player has 3 minutes to get within 5 meters of the photo location
- Scoring:
- 3 points if found within 1 minute
- 2 points if found within 2 minutes
- 1 point if found within 3 minutes
- Same UI/UX as hitta: Dark theme, modern design, Swedish translations
- YOLO Object Detection: Real-time object identification with live camera overlay
- Geolocation Tracking: GPS-based proximity detection (5-meter accuracy)
- Messaging System: Share game challenges via SMS, WhatsApp, or native sharing
- Timer & Scoring: 3-minute countdown with time-based scoring system
- Swedish Translation: All object labels translated to Swedish using LibreTranslate
- Modern web browser with camera and location permissions
- Internet connection for AI models and translation
- GPS-enabled device for location tracking
- Open https://selenwall.github.io/locate/ in a web browser
- Allow camera and location permissions when prompted
- Enter player names and select number of rounds
- Player A takes a photo of objects at their location
- AI identifies objects and creates a challenge message
- Share the challenge with Player B
- Player B opens the link and tries to find the location within 3 minutes
- Players alternate taking photos and hunting locations
index.html- Main HTML structurestyles.css- Styling (based on hitta repository)app.js- Complete game logic with geolocation and AIREADME.md- This documentation
- TensorFlow.js for AI model loading
- ML5.js for YOLO object detection
- COCO-SSD as fallback model
- LibreTranslate API for Swedish translations
- Chrome/Edge (recommended)
- Firefox
- Safari (iOS 11+)
- Requires HTTPS for camera and location access
- No data is stored on external servers
- Game state is managed via URL parameters
- Location data is only used for proximity calculation
- Camera access is only used for object detection