All work
02Case study
A real-time cognitive fatigue monitoring system that analyzes user typing patterns, idle time, typing speed, and behavioral signals to estimate fatigue and productivity.
- Category
- Machine Learning · Analytics Dashboard
- Stack
- Python, Machine Learning, XGBoost +4
- Focus
- Behavioral feature extraction · Fatigue prediction
Illustration
Illustrative visual — not a product screenshot.
Overview
Fatigue builds quietly. This system watches how someone works — typing rhythm, speed, pauses and visual cues — and turns those signals into a live fatigue estimate.
The challenge
Everyone types differently, so one global threshold would misjudge most people. The model had to learn each user's normal before judging what's tired.
Approach
- 01Extract behavioral features from typing patterns, idle time and typing speed.
- 02Use OpenCV and MediaPipe for visual signals that add context to the keystroke data.
- 03Calibrate a personal baseline before predicting, so results are relative to the individual.
- 04Compare XGBoost and Random Forest models for fatigue prediction.
- 05Show results in an interactive Streamlit dashboard for productivity monitoring.
Key features
- Behavioral feature extraction
- Fatigue prediction
- Personalized baseline calibration
- Productivity monitoring
- Interactive analytics dashboard
Technology
PythonMachine LearningXGBoostRandom ForestStreamlitOpenCVMediaPipe
Next project
BrushVault — Smart Toothbrush