Track your emotions over time, discover patterns, and grow in self-awareness — powered by Claude AI.
Emotion Capture AI lets you photograph your face and receive an instant AI-powered emotional analysis. Over time, it builds a personal emotional history and identifies your emotional patterns, while offering thoughtful reflection questions to deepen self-awareness.
- 📸 Emotion Capture — Take a photo or upload one; Claude Vision analyzes your facial expression
- 📋 History — View your full emotional timeline with images and AI notes
- 📊 Insights — See frequency charts and AI-generated pattern analysis
- 💭 Reflect — Personalized introspective questions and a private journal space
| Layer | Technology |
|---|---|
| Frontend | Python + Streamlit |
| AI Engine | Anthropic Claude claude-sonnet-4-20250514 (Vision + Text) |
| Database | SQLite (local, no setup needed) |
| Charts | Plotly |
- Python 3.9 or higher
- An Anthropic API key (get one here)
1. Clone the repository
git clone https://github.com/YOUR_USERNAME/emotion-capture-ai.git
cd emotion-capture-ai2. Install dependencies
pip install -r requirements.txt3. Configure your API key
Create a .env file in the root folder:
ANTHROPIC_API_KEY=your_key_here4. Run the app
streamlit run app.py5. Open in browser
Navigate to:
http://localhost:8501
emotion-capture-ai/
├── app.py # Main Streamlit application
├── database.py # SQLite operations
├── ai_engine.py # Claude API functions
├── requirements.txt # Python dependencies
├── .env.example # Environment variable template
├── .streamlit/
│ └── config.toml # Theme configuration
└── captures/ # Saved face images (local only, gitignored)
| Variable | Description |
|---|---|
ANTHROPIC_API_KEY |
Your Anthropic API key |
- Abdul Muizz Usman | 23018065001
- Daniyal Shams | 23018065071
- Muhammad Tahir | 23018065012
[Link to 5-minute screen recording]