π AR tourist guide for Meknes, Morocco β an AI-powered virtual avatar that speaks, listens, and shares the history of Moroccan landmarks in real-time using LLMs, Whisper STT, and neural TTS. Built with Unity 6 & AR Foundation.
# π Meknes Heritage β AR Tourist Guide
**An immersive Augmented Reality experience that brings the cultural heritage of Meknes, Morocco to life through an AI-powered virtual tourist guide.**
This project is a Mixed Reality application built with **Unity 6** and **AR Foundation** that places an interactive 3D avatar β a friendly local guide named **Amine** β into the user's real-world environment. Visitors can have natural spoken conversations with Amine about the historic landmarks, architecture, and culture of Meknes, one of Morocco's four Imperial Cities and a UNESCO World Heritage site.
The guide responds intelligently using a **dual-LLM architecture** (cloud + local fallback), understands voice input through **speech-to-text**, and speaks back with natural neural voices via **text-to-speech** β all while displaying contextual images of landmarks and surrounded by authentic Moroccan environment props like Zellige tilework and traditional fountains.
---
## πΈ Demo
| π§ AR Avatar Guide (Amine) | ποΈ Bab Mansour Landmark | ποΈ Volubilis Landmark Popup |
| :---: | :---: | :---: |
| | | |
---
## β¨ Features
| Feature | Description |
|---------|-------------|
| π§ **AR Avatar Placement** | Tap any real-world surface to spawn the 3D guide avatar using AR plane detection |
| π§ **Dual-LLM Intelligence** | Groq cloud API (ultra-fast, llama-3.3-70b) with automatic Ollama local fallback |
| ποΈ **Voice Conversation** | Full speech-to-text via Groq Whisper β talk naturally to the guide |
| π **Neural Text-to-Speech** | Responses spoken aloud using Microsoft Edge TTS (free, high-quality neural voices) |
| π **Multi-Language** | Supports English, French, and Arabic β switch languages on the fly |
| ποΈ **Landmark Recognition** | Contextual image popups for landmarks: Bab Mansour, Heri Es-Souani, Volubilis, and more |
| π **Audio Lip Sync** | Real-time lip sync driven by TTS audio for lifelike avatar speech |
| π **Moroccan Environment** | Decorative Zellige floor, tradit β¦