How dyingangell/cheating-detection-yolo works
This repository is a multi-camera exam-proctoring system. Its principal workflow sends camera or replayed-video frames through Redis to an inference worker, which decodes frames and invokes the pose-based engine; results support live monitoring and operator warning review. The graph also preserves documented evidence processing and model-comparison capabilities. Some downstream wiring is described only in the README, so those edges cite it; unsampled implementation details are not inferred.
Main entry points: newArch.py Proctoring engine · main.py Shared frame buffer · producer.py Frame producer · camerasEmulation.py Camera emulation
Components 14
Frame ingestion
- Camera emulation
tools/camerasEmulation.py - Frame producer
tools/producer.py - Redis queues
- Worker and decoder
src/worker.py
Pose and warnings
- Proctoring engine
src/newArch.py - Shared frame buffer
src/main.py
Monitoring and review
- Streamlit dashboard
apps/streamlit_app.py - Desktop viewer
src/desktop_viewer.py - Warning review
src/warnings_window.py - Post-processing view
tools/post_processor.py
Evidence and models
- Evidence visualiser
tools/visualiser.py - Model training
src/train.py - Faster R-CNN comparison
experiments/second_main_faster-rcnn.py
Other components
- Cameras and videos
Connections 19
- Cameras and videos → Camera emulation: replays videos
README - Cameras and videos → Frame producer: provides streams
README - Camera emulation → Frame producer: feeds streams
- Frame producer → Redis queues: pushes frames
tools/producer.py - Redis queues → Worker and decoder: supplies batches
src/worker.py - Worker and decoder → Proctoring engine: processes batches
src/worker.py - Proctoring engine → Shared frame buffer: uses frame buffer
src/newArch.py - Proctoring engine → Streamlit dashboard: provides results
README - Proctoring engine → Desktop viewer: provides results
README - Proctoring engine → Post-processing view: provides results
README - Proctoring engine → Redis queues: emits warnings
README - Redis queues → Warning review: delivers warnings
src/warnings_window.py - Redis queues → Desktop viewer: supplies display data
src/desktop_viewer.py - Redis queues → Streamlit dashboard: supplies frames
apps/streamlit_app.py - Shared frame buffer → Post-processing view: stores frames
tools/post_processor.py - Shared frame buffer → Evidence visualiser: stores frames
tools/visualiser.py - Proctoring engine → Evidence visualiser: supports evidence review
README - Model training → Proctoring engine: trains pose models
- Faster R-CNN comparison → Proctoring engine: compares models
README