Skip to content

Sreekomal/FocusTrack-AI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

🧠 AI Attention Monitor

A real-time AI-powered system that analyzes user attention using facial landmarks, eye tracking, and head pose estimation.


🚀 Features

  • 🎥 Real-time webcam monitoring
  • 🎬 Video upload analysis
  • 📊 Live attention graph
  • ⚠️ Smart distraction alerts
  • 🧠 Focus mode with session tracking
  • 👥 Face-wise attention summary (no duplicates)
  • 📁 CSV report export

🧠 How It Works

  • Uses MediaPipe Face Mesh for facial landmark detection
  • Calculates Eye Aspect Ratio (EAR) for blink detection
  • Uses head pose estimation for attention tracking
  • Combines signals with temporal smoothing for stability

🛠 Tech Stack

  • Python
  • OpenCV
  • MediaPipe
  • Streamlit
  • NumPy / Pandas / Matplotlib

▶️ How to Run

pip install -r requirements.txt
streamlit run app.py

📸 Demo

🎥 Live Monitoring

image

📊 Analytics Dashboard

image

👥 Face-wise Summary

image

📌 Use Cases

  • Online learning monitoring
  • Productivity tracking
  • Classroom analytics
  • Focus improvement tools

🚀 Future Improvements

  • Face recognition (identity tracking)
  • Mobile app version
  • Advanced ML models for attention

⭐ Acknowledgment

Built as a Deep Learning project with practical real-world application.

About

AI-powered attention monitoring system with real-time tracking, focus analytics, smart alerts, and video upload support

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages