The Teacher's AI Attendance System or TeachAI in short is a web application that ensures an anti-proxy attendance mechanism using GPS validation and allows teachers to view attendance records, including the most recent previous session.
- Detects and verifies student faces.
- Captures live images for attendance verification.
- Stores user data (teachers and students), attendance records, and session details in a JSON-based storage system.
- Ensures no duplicate email IDs during signup.
- Students must enable GPS when marking attendance.
- If a student is outside the teacher-defined distance, they are marked absent.
- Uses the device’s camera to capture student images for face verification.
- Attendance data remains after logout using cookies or similar mechanisms.
- The teacher’s dashboard displays previous session records alongside the current session.
- Separate login for teachers and students.
- Fields:
Email,Password,Login Button.
- Students: Email (unique), password, upload face image (mandatory).
- Teachers: Email (unique), password (no image required).
- Displays attendance history (date, present/absent status).
- Allows students to mark attendance by clicking a photo.
- Attendance validation:
- Face matches with the signup image.
- GPS location is within the teacher-set distance.
- Session code provided by the teacher is valid.
- View attendance records for the current and previous session.
- Modify attendance manually (change absent to present or vice versa).
- Set allowed GPS distance for attendance verification.
- Generate session codes (valid for a limited time, e.g., 1 hour).
- View students who attempted attendance outside the allowed GPS range.
- Export attendance data as an Excel file.
- Open/close attendance within a specific time window.
- Student clicks a photo using the system's camera.
- The system verifies the face with the stored signup image.
- GPS validation checks if the student is within the allowed distance.
- If both conditions (face match + GPS) pass and the session code is valid → Mark Present.
- Otherwise → Mark Absent.
- Storage: Student face images stored in a folder, linked via JSON-based storage.
- Backend & Frontend: Built using TypeScript.
- Persistence: Uses cookies or similar storage to retain attendance records after logout.
- Ensure no duplicate email IDs in the database.
- Variable names and logic should be simple and easy to follow.
- Only the most recent previous session should persist in the teacher’s dashboard.
- Improve UI/UX design.
- Implement automated email notifications for attendance reports.
- Enhance face recognition accuracy with advanced models.
- Add multi-class session support for teachers managing multiple batches.
- Improve GPS accuracy by refining location validation methods, reducing errors in student positioning.