https://github.com/vlad1343/rest-quest
Rest Quest is an emotion-aware wellness travel concierge that transforms how users feel into personalized retreat recommendations, combining a cinematic React experience with on-device emotion and voice analysis for a human-like, privacy-first planning flow.
https://github.com/vlad1343/rest-quest
computer-vision emotion-recognition greatunihack hackathon llm python react traveltech
Last synced: 3 months ago
JSON representation
Rest Quest is an emotion-aware wellness travel concierge that transforms how users feel into personalized retreat recommendations, combining a cinematic React experience with on-device emotion and voice analysis for a human-like, privacy-first planning flow.
- Host: GitHub
- URL: https://github.com/vlad1343/rest-quest
- Owner: Vlad1343
- Created: 2025-12-07T21:32:03.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2025-12-15T22:10:28.000Z (7 months ago)
- Last Synced: 2025-12-19T06:26:21.115Z (7 months ago)
- Topics: computer-vision, emotion-recognition, greatunihack, hackathon, llm, python, react, traveltech
- Language: Python
- Homepage:
- Size: 213 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# **Rest Quest**
> **๐ฅ 3rd Place** at the **GreatUniHack 2025** โ **Booking.com Challenge**
---
## ๐ Overview

**Rest Quest** is a dual-surface, emotion-aware concierge that closes the gap between how travelers feel and how they plan wellness escapes. The React SPA delivers a cinematic, tactile journey from emotional check-in to curated retreat decks, while the Python toolkit captures facial cues, transcribes live audio with ElevenLabs, and asks Gemini-powered follow-ups that feel like a human concierge. Together they reduce decision fatigue, surface hyper-personal rituals, and keep every interaction privacy-aware on-device.
---
## ๐ก Core Features
### ๐ Emotionally Intelligent Hero

- FlowPattern ribbons, ParticleField fog, and an animated RestQuestLogo breathe with the guest.
- AmbientCursor + CinematicJourney sync gradients, parallax focus, and SpiritBird trails as visitors scroll.
### ๐ง Emotional Check-In & Analysis Lab

- Glassmorphic journal chat with empathy typing, ambient soundscapes, and breathing overlay (press `Space`).
- `mockEmotionAnalysis` transforms journal text into stress/energy/valence scores powering RadialProgress gauges, trigger bar charts (Recharts), and focus-tag recommendations.
### ๐ฏ Conversational Preferences & Recommendation Deck

- `PreferencesContext` stores travel moods, ritual pace, destination search, and intensity sliders with celebratory micro-interactions via Framer Motion.
- Tinder-style swipe deck driven by `useCardSwipe`, @use-gesture/react, undo history, โLearn Moreโ modals, and priority lists for premium retreats.
### ๐งโโ๏ธ Celebration, Booking, and Ritual Wrap-Up
- Booking Summary compares saved experiences, opens itinerary modals, and highlights priority tags.
- CelebrationSection fires particle bursts, breathing cues, and CTA buttons once enough likes are tracked.
### ๐ฅ Emotion & Voice Toolkit (Python)
- `project/camera.py` mixes OpenCV, MediaPipe, DeepFace, and FER fallback to log emotion spectrums per answer.
- ElevenLabs STT/TTS + Gemini prompts (via `elabs1.py` and `gemini_client1.py`) capture, transcribe, and narrate follow-up questions and travel suggestions in seconds.
- Mock mode lets teams demo the flow without heavy ML dependencies or API keys.
---
## ๐๏ธ Tech Stack
| Layer | Technologies |
|:------|:-------------|
| **Frontend Runtime** | React 18, Vite, JSX, Context API |
| **Styling & Motion** | Tailwind CSS, custom globals, Framer Motion, @react-spring/web |
| **Interaction** | @use-gesture/react, Lottie-react, Lucide-react, Recharts |
| **State & Data** | EmotionalContext, PreferencesContext, ExperiencesContext, localStorage |
| **Toolkit Runtime** | Python 3.10+, OpenCV, MediaPipe, DeepFace, FER, TensorFlow 2.15 |
| **Speech & LLM** | ElevenLabs STT/TTS SDK, Google Gemini (Flash Lite), dotenv |
| **Audio & I/O** | sounddevice, numpy, threading warmups, mock video fallbacks |
---
## ๐ง Why Rest Quest Stands Out
โ
**Full-sensory UI** โ cinematic gradients, particle fog, and SpiritBird trails respond to every section.
โ
**Emotion-first recommendations** โ keyword analysis drives biometrics, triggers, and retreat focus tags.
โ
**Swipeable concierge** โ likes, super-likes, undo, and saved-match overlays mirror best-in-class travel apps.
โ
**On-device privacy** โ journaling stays local; Python toolkit runs camera + audio processing without cloud uploads.
โ
**LLM-guided empathy** โ Gemini follow-ups adopt a calm, concierge tone powered by reproducible prompts.
โ
**Inclusive interactions** โ reduced-motion support, keyboard controls, ambient sound toggles, and screen-reader friendly structure.
---
## ๐
Wellness Milestones
| **Milestone** | **Criteria** |
|---------------|--------------|
| First Breath | Complete the Emotional Check-In journey |
| Ritual Curator | Save 3+ experiences to the liked stack |
| Priority Seeker | Mark at least two retreats as priority |
| Breathing Master | Trigger the breathing overlay three times via `Space` |
| Globe Collector | Explore five destination suggestions in Preferences |
| Calm Analyst | Unlock the Analysis Lab after two journal submissions |
| Celebration Spark | Reach CelebrationSection with โฅ3 liked retreats |
---
## ๐ Guest Journey
1. **Landing Ritual** โ FlowPattern hero, breathing orb, and CTA to โBegin Emotional Scan.โ
2. **Emotional Check-In** โ Guests journal or speak; AI echo responds with quantified stress + guidance.
3. **Preferences Dialogue** โ Sliders, pills, and suggestions capture mood, pace, and desired rituals.
4. **Analysis Lab** โ Concentric biometrics, trigger charts, and focus tags explain the AI diagnosis.
5. **Recommendation Deck** โ Swipeable cards with gesture, keyboard, and modal controls capture intent.
6. **Booking & Celebration** โ Saved stack becomes comparison tables, itinerary modals, and celebratory cues.
7. **Emotion CLI** โ Optional live session logs facial cues + transcripts for concierge follow-up.
---
## ๐ฎ Future Enhancements
- ๐ฉบ **Live sentiment fusion** โ pipe ElevenLabs/Gemini transcripts directly into the SPAโs `EmotionalContext`.
- ๐ **Geo-personalized content** โ integrate map previews and flight sourcing for each retreat card.
- ๐ง **Adaptive soundscapes** โ sync AmbientSoundscape layers with real stress/energy telemetry.
- โ๏ธ **Persistent profiles** โ push liked stacks and questionnaires to Supabase / Firestore for multi-device continuity.
- ๐ **Session analytics dashboard** โ render `project/emotion_results.jsonl` inside the SPA for concierge review.
- ๐ฑ **Companion mobile shell** โ wrap the SPA in Capacitor/Expo for in-resort kiosks.