๐ LotusHacks x HackHarvard x GenAI Fund Vietnam 2026
Snap a photo. Hear its story. Taste the culture.
VietStoryLens turns any Vietnamese landmark into a living story. Snap a photo โ AI instantly recognizes it, narrates its history, and recommends the best local food nearby.
You don't just see a place โ you experience it.
- ๐ธ Landmark Recognition โ CLIP ViT-L/14 + FAISS identifies 15 HCMC landmarks (~85-93% accuracy)
- ๐๏ธ AI Storytelling โ DeepSeek V4 Flash generates cinematic Vietnamese narration from self-collected historical context
- ๐ Food Nearby โ Overpass API finds restaurants around the landmark, DeepSeek describes dishes, Unsplash provides real food photos
- ๐บ๏ธ Multi-Screen Flow โ Camera โ Recognition โ Story โ Food โ Map
- ๐ฑ Cross-Platform โ Flutter (Android, iOS, Web) with Vietnamese-inspired theme
- ๐ณ Docker-Ready โ One-command deploy with docker-compose + nginx
๐ Edit in draw.io | Download .drawio
| Method | Endpoint | Description |
|---|---|---|
POST |
/api/recognize |
Upload image โ landmark + AI story |
POST |
/api/food-nearby |
lat/lng โ nearby restaurants with descriptions + photos |
GET |
/api/landmarks |
List all 15 supported landmarks |
GET |
/api/health |
Health check |
| Landmark | Images | Accuracy |
|---|---|---|
| ๐ฐ Independence Palace | 137 | ~93% |
| โช Notre-Dame Cathedral | 145 | ~77% |
| ๐ Dragon Wharf (Bแบฟn Nhร Rแปng) | 128 | ~85% |
| ๐ Ben Thanh Market | 130 | ~85% |
| ๐ฎ Central Post Office | 112 | ~83% |
| ๐ข Bitexco Tower | 134 | โ |
| ๐ผ๏ธ Fine Arts Museum | 95 | โ |
| ๐ถ Nguyen Hue Walking Street | 104 | โ |
| ๐๏ธ Turtle Lake | 116 | โ |
| ๐ฉ Thu Ngu Flag Tower | 117 | โ |
| ๐ณ Tao Dan Park | 55 | โ |
| ๐ฆ Saigon Zoo | 49 | โ |
| ๐ Vinh Nghiem Pagoda | 154 | โ |
| ๐ Starlight Bridge | 96 | โ |
| ๐๏ธ War Remnants Museum | 98 | โ |
๐ก Dataset: 1,665 images with vision tags & historical context โ self-collected from real landmarks across HCMC.
git clone https://github.com/jamesng16/VietStoryLens.git && cd VietStoryLens
# Set API keys
cat > .env << EOF
LLM_API_KEY=your-deepseek-key
LLM_BASE_URL=https://api.ai-box.vn/v1
LLM_MODEL=deepseek-v4-flash[1m]
UNSPLASH_ACCESS_KEY=your-unsplash-key
EOF
docker compose --env-file .env up -d
# โ Frontend: http://localhost:3001
# โ Backend: http://localhost:8000/docs# Backend
python -m venv venv && source venv/bin/activate
pip install -r requirements.txt
python scripts/build_index.py
LLM_API_KEY=... python -m src.api.server
# Frontend
cd frontend && flutter pub get && flutter run| Layer | Technology |
|---|---|
| Vision | OpenAI CLIP ViT-L/14 (768-dim) |
| Vector Search | FAISS IndexFlatIP |
| LLM | DeepSeek V4 Flash (api.ai-box.vn) |
| Restaurant Data | OpenStreetMap Overpass API |
| Food Photos | Unsplash API |
| Backend | FastAPI + Uvicorn + httpx |
| Frontend | Flutter (Android/iOS/Web) |
| Infra | Docker + nginx proxy |
VietStoryLens/
โโโ src/
โ โโโ api/server.py # FastAPI routes
โ โโโ agents/graph.py # Landmark recognition pipeline
โ โโโ services/food_nearby.py # Food Nearby service
โ โโโ embeddings/ # CLIP encoder + FAISS index
โ โโโ data_loader.py # Dataset loader
โ โโโ config.py # Settings
โโโ frontend/ # Flutter app
โ โโโ lib/
โ โโโ screens/ # Camera, Story, Food, Map
โ โโโ services/ # API client
โ โโโ theme/ # Vietnamese color scheme
โโโ data/ # 1,665 images + metadata JSON
โโโ scripts/build_index.py
โโโ docker-compose.yml
โโโ Dockerfile
We welcome contributions! Here's what's planned:
- ๐ป๐ณ Expand beyond HCMC โ Add Hanoi (Hoร n Kiแบฟm, Vฤn Miแบฟu, Lฤng Bรกc...), Huแบฟ (ฤแบกi Nแปi, chรนa Thiรชn Mแปฅ...), Hแปi An, ฤร Nแบตng, Nha Trang, Hแบก Long
- ๐ Multilingual support โ English, Chinese, Japanese, Korean for international tourists
- ๐ฏ Fine-tuned CLIP โ Domain-adaptive training on Vietnamese architecture for higher accuracy
- ๐ฃ๏ธ Real TTS narration โ ElevenLabs / Coqui AI voice instead of text-only stories
- ๐ก AR overlay โ Augmented reality to overlay historical photos onto live camera view
- โก Performance optimization โ GPU inference, response caching, smaller CLIP variant
- ๐ Admin dashboard โ Manage landmarks, review AI-generated stories, track usage analytics
- ๐งช Automated testing โ CI/CD pipeline, integration tests, visual regression tests
๐ก Want to contribute? Pick an item above, open an issue, or submit a PR! See CONTRIBUTING.md for guidelines.
Built with โค๏ธ at LotusHacks 2026 by:
| Role | Name | GitHub |
|---|---|---|
| ๐ง AI Engineer | Nguyen Viet Hoang | @jamesng16 |
| ๐ป Developer | Phap Duy | โ |
| ๐จ Designer | Ly Nguyen Hoang Anh | โ |
| ๐ง Developer | Melvin Lim | โ |
MIT ยฉ 2026 VietStoryLens Team



