CampusClock โ AI Smart Attendance System ๐ Inspiration
Traditional attendance systems are slow, manual, and vulnerable to proxy attendance. There is no guarantee that a student is physically present, and tracking absentees requires manual effort.
To solve this, we built CampusClock, an intelligent system that combines AI face recognition, GPS-based validation, and automated attendance logic.
๐ A student should only be marked present if they are physically present โ otherwise, the system should automatically handle absence.
โ๏ธ What it does
CampusClock is a fully automated, AI-powered attendance system with real-time validation and smart absence handling.
๐จโ๐ Student Registration (Admin Controlled) Only admin can register students using a secure secret key Stored details: Name Registration Number Semester Branch Phone Number Data stored in Supabase ๐ GPS-Based Attendance Restriction Powered by Leaflet.js Admin defines dedicated campus coordinates (geo-fenced area)
โ Attendance allowed only if:
Student is inside defined GPS boundary
โ Blocked if:
Student is outside allowed location ๐ง AI Face Recognition Powered by Face-API.js
Process:
Student opens system Camera captures face AI verifies identity Matches with stored data โ Smart Attendance Logic
Attendance is marked only when:
โ๏ธ Face is verified โ๏ธ Location is valid
๐ If both conditions pass:
Attendance is marked Present Stored in Supabase ๐ Automatic Absence Marking (NEW FEATURE)
This feature ensures complete automation without manual intervention.
If a student does NOT mark attendance before 12:00 AM (midnight): System will automatically mark them as Absent
๐ How it works:
A scheduled backend process runs daily at midnight It checks: Students who did not mark attendance that day Then: Updates their status to Absent in database
โ Benefits:
No manual tracking required Accurate daily records Prevents missed or unrecorded attendance โ ๏ธ Attendance Monitoring & Alerts System tracks attendance percentage continuously If attendance < 60%: Student is flagged Requires admin approval Notification can be sent ๐งโ๐ผ Admin Dashboard Access controlled via admin secret key
Features:
๐ Overview
Total students Present / Absent count Low attendance alerts
๐ Management
Add / remove students View details
โ ๏ธ Control Panel
Approve flagged students Monitor defaulters
๐ Reports
Daily logs Historical attendance ๐ ๏ธ How we built it
- Frontend HTML, CSS, JavaScript Camera + location access Clean UI for students & admin
- AI Engine Implemented using Face-API.js Real-time face detection & matching
- Backend & Database Powered by Supabase
Handles:
Student records Attendance logs Scheduled tasks (midnight absence marking)
- Map & GPS System Using Leaflet.js Geo-fencing implementation Location validation โ๏ธ Challenges we ran into ๐ฏ Face recognition accuracy in low light ๐ GPS accuracy and boundary radius issues ๐ Implementing reliable midnight scheduler ๐ Securing admin access ๐ Real-time system synchronization ๐ Accomplishments that we're proud of โ Built a fully automated attendance system โ Eliminated proxy attendance โ Implemented GPS + AI validation together โ Added automatic absence marking โ Created a real-world scalable solution ๐ What we learned Using Face-API.js for AI Backend automation with Supabase Geo-fencing using Leaflet.js Handling real-time + scheduled systems together Importance of automation in real-world apps ๐ฎ What's next for CampusClock ๐ฑ Mobile app version ๐ SMS/WhatsApp alerts ๐ Advanced analytics ๐ค Better AI model (deep learning upgrade) ๐งพ Auto reports (PDF/Excel) ๐ Multi-authentication (Face + OTP)
Built With
- admin-secret-key-system
- browser-devtools
- camera-api-(mediadevices.getusermedia)
- cron-jobs
- css3
- face-api.js
- face-recognition-api
- geolocation-api
- git
- html5
- javascript
- leaflet.js
- mediadevices-api
- postgresql-(via-supabase)
- role-based-access-control
- supabase
- supabase-edge-functions
- vanilla-javascript
- vercel-/-netlify
- vs-code
- web-application
Log in or sign up for Devpost to join the conversation.