Spaces:
Sleeping
Sleeping
Commit History
-
Fix runtime data path: bake enrolled embeddings at runtime/attendance (matches ACTIVITY_WEB_RUNTIME_DIR=/app/runtime, not activity_web/runtime which the container never reads)
Satyam Sd306980 -
Bake current enrolled embeddings into the Space for tomorrow's demo (one-time snapshot, not synced going forward)
Satyam Sad4d55e -
Fix QR enrollment on hosted deployments, remove auto gallery-growth on high-confidence matches
Satyam S- Enrollment QR/link now falls back to the incoming request's own host when no cloudflared tunnel is running, instead of just failing. This is exactly the Hugging Face Space's situation: it's already publicly reachable, so it never needs a tunnel. Respects X-Forwarded-Proto so the link comes out https:// there (required for camera access on a non-localhost origin); still refuses to hand out a localhost URL, since that's never reachable from a student's phone regardless of what the teacher's browser shows. - Removed the automatic "match >= 0.60 -> append embedding to gallery" growth from both mark-attendance paths and the suspicious-reject rematch. It was causing repeated testing with the same demo photos to silently fold those photos' own embeddings back into the gallery, so a second run compared a photo against an embedding derived from itself and returned an inflated, unrealistic 1.000 confidence. Gallery growth now only ever happens from an explicit teacher a…a086f3c
-
QR self-enrollment, multi-photo attendance, reject-and-rematch reinforcement, and enrollment reliability fixes
Satyam S- Add start_enrollment_session.py: pairs the local Flask server (now threaded, for concurrent enrollments) with a cloudflared tunnel so students can self-enroll via a QR code over their own mobile data, not just the teacher's Wi-Fi - Mark attendance now accepts multiple photos in one submission; a student counts present if confidently matched in any one of them - Suspicious matches: "Show face" reveal, and rejecting a match now re-checks the embedding against the rest of the roster (excluding the rejected student) instead of just discarding it - it lands in Present/Suspicious/Unknown depending on what that re-match finds, and the wrongly-suggested student drops to Absent - Unknown faces can be assigned directly to an enrolled student from a dropdown, reinforcing their gallery - Guided camera recording now speaks the "arm's length" framing instruction (previously text-only) and requests a real capture resolution instead of trusting the browser default - both were …4f0aa08
-
Per-classroom rosters, self-enroll tab with guided camera recording, and three-tier attendance with teacher-reviewed reinforcement
Satyam S- Split attendance data per classroom (CSE 1-8), each with its own JSON store - New standalone Enroll Student tab/page with upload, folder, and guided audio-narrated camera recording (front/left/right) for self-enrollment - Mark Attendance now classifies faces into Present/Suspicious/Absent tiers instead of a flat match list, with an unknown-faces zoom viewer - Teachers can confirm/reject Suspicious matches; confirming reinforces that student's gallery with the new embedding and recomputes their prototype - Fixed enrollment video frame sampling to always sequentially decode instead of seeking, which was unreliable for live-recorded webm clipsd35d0ca
-
Update Dockerfile demo-image URL to the renamed GitHub repo
Satyam Sf02f28b -
Classroom Monitoring overhaul + Attendance UI updates (see SESSION_SUMMARY.md)
Satyam S2da9269
-
Retrigger build: demo_classroom.jpg now resolves on origin's raw URL
Satyam S99c1942 -
Switch attendance recognition backbone from glintr100 to AdaFace IR-101
Satyam SSame content as origin/main's cd43f50, applied directly on top of this Space's existing history (not origin's full history, to avoid dragging in old already-removed binary blobs from origin's deep history).2f152d3
-
Bake demo image into Docker image via GitHub raw URL
Satyam S08ddd4b -
Add Preview demo image button alongside Run demo button
Satyam S8772536 -
PRISM AI — with demo attendance button
Satyam Saf32e72