EmotiPitch: An AI-Powered Emotion-Driven Football Tactical Companion

Building EmotiPitch: An AI-Powered Emotion-Driven Football Tactical Companion

Football is more than goals and tactics—it's about emotions.

Football fans experience excitement, frustration, confusion, and joy throughout every match. While tactical analysis usually focuses on formations and strategies, it rarely considers how fans emotionally experience the game. To bridge this gap, I built EmotiPitch, an AI-powered football companion that combines real-time emotion detection with tactical explanations to create a more engaging and personalized match experience.

⚽ Why I Built EmotiPitch

Traditional football analysis often feels too technical for casual fans, while emotional reactions are rarely connected to tactical decisions. My goal was to create a platform that explains the game differently based on how each viewer feels, making football strategy more accessible, engaging, and interactive.

✨ Key Features

  • Real-Time Emotion Detection
  • Emotion-Adaptive AI Tactical Explanations
  • Interactive Coach Simulation
  • Post-Match Emotion & Tactic Timeline
  • AI-Powered Match Analysis
  • Dark & Light Theme Support
  • Privacy-First Browser-Based Facial Analysis
  • Interactive Football Learning Experience

πŸ“Œ How It Works

  1. Detect the viewer's emotion using browser-based facial recognition or manual mood selection.
  2. Monitor important match moments in real time.
  3. Generate AI-powered tactical explanations tailored to the detected emotion.
  4. Allow users to make coaching decisions through interactive simulations.
  5. Visualize emotional trends and tactical moments after the match.

πŸ€– AI Features

  • Emotion-aware AI prompting using IBM Granite LLM.
  • Personalized explanations based on viewer emotions.
  • Interactive tactical decision simulation.
  • Emotion-to-tactic visualization.
  • Privacy-first facial emotion detection performed entirely in the browser.

πŸ’» Technology Stack

  • Frontend: React 18, Tailwind CSS, Framer Motion
  • Backend: Flask (Python)
  • AI: IBM Granite LLM (watsonx.ai)
  • AI Workflow: LangFlow
  • Emotion Detection: face-api.js
  • Charts: Recharts
  • Deployment: Vercel & Render

⚙️ Challenges Faced

  • Synchronizing emotion detection with live match events.
  • Designing AI prompts that adapt to different emotional states.
  • Building privacy-first facial analysis directly in the browser.
  • Creating interactive tactical simulations.
  • Maintaining a smooth and responsive user experience.

πŸ“ˆ Future Improvements

  • Live football match integration.
  • Multi-language AI explanations.
  • Voice emotion detection.
  • User profiles and match history.
  • Social sharing of tactical insights.
  • Mobile application support.

πŸ”— Project Links

πŸ“‚ GitHub Repository

🌐 Live Demo

πŸŽ₯ Watch Demo Video

🎯 Conclusion

EmotiPitch reimagines football analysis by combining emotional intelligence with tactical explainability. Instead of presenting generic match analysis, the platform adapts explanations to each viewer's emotional state, making football strategy easier to understand and far more engaging.

Building this project strengthened my understanding of AI integration, emotion-aware interfaces, browser-based machine learning, full-stack web development, and human-centered application design. It reinforced the idea that AI becomes even more impactful when it understands not only the context of an event but also the emotions of the person experiencing it.


Thank you for reading! Feel free to explore the GitHub repository, try the live demo, and watch the project walkthrough to experience EmotiPitch in action.

Comments