How velocitatem/cv_eye_tracking works
Main Components
• Data Collection Module (classroom.py): This is responsible for video capture, face detection, eye tracking, and calculating attention scores. Represent this as the “Input/Processing” component.
• Dashboard/Visualization Module (dashboard.py): This uses Streamlit to create an interactive web interface where users can view attention trends, time-series analyses, and detailed individual metrics. Represent this as the “Visualization/UI” component.
Important Architectural Patterns
• Separation of concerns: Each main script (data collection, analysis, visualization) handles its specific aspect of the system.
• Pipeline or modular design: data flows linearly from input (video capture and immediate processing) to analysis, then finally to the user interface.
• That the system might combine synchronous (video processing) and asynchronous or batch processing (analysis), which is a point of interest when designing such systems.