Face Recognition Attendance
Face Recognition Attendance
Configure and use biometric face recognition for automated attendance tracking.
Time Required: 30-45 minutes (initial setup) Module: Attendance, Face Recognition (Enterprise) User Role: Attendance Manager, System Administrator
Table of Contents
- Overview
- Prerequisites
- System Setup
- Student Registration
- Mark Attendance
- Device Configuration
- Field Reference
- Troubleshooting
Overview
Face recognition attendance provides:
- Contactless attendance marking
- Automated check-in/check-out
- Anti-proxy attendance measures
- Integration with attendance sheets
- Real-time synchronization
Note: This feature requires the Enterprise edition.
Prerequisites
Hardware Requirements
- Camera device (webcam, IP camera, or dedicated device)
- Minimum 720p resolution recommended
- Adequate lighting in capture area
- Stable network connection
Software Requirements
- OpenEduCat Enterprise license
- Face Recognition module installed
- Python face recognition libraries configured
- Camera drivers installed
Data Requirements
- Students enrolled with photos
- Attendance registers configured
- Course and batch set up
System Setup
Step 1: Enable Face Recognition
- Go to OpenEduCat > Configuration > Settings
- Navigate to Attendance section
- Enable Face Recognition Attendance
- Click Save
Step 2: Configure Recognition Settings
| Setting | Description | Recommended |
|---|---|---|
Recognition Tolerance | Match sensitivity | 0.6 (default) |
Min Confidence | Minimum match score | 70% |
Anti-Spoofing | Liveness detection | Enabled |
Max Recognition Time | Timeout seconds | 10 |
Step 3: Set Up Recognition Model
- Go to OpenEduCat > Attendance > Face Recognition Settings
- Click Initialize Model
- Wait for model to load
- Test with sample image
Student Registration
Step 1: Capture Student Photos
For each student:
- Go to OpenEduCat > Students
- Open student record
- Go to Face Recognition tab
- Click Capture Face
Step 2: Photo Requirements
| Requirement | Specification |
|---|---|
| Lighting | Even, front-facing |
| Background | Plain, contrasting |
| Expression | Neutral, eyes open |
| Accessories | Remove glasses, hats |
| Multiple Angles | Capture 3-5 images |
Step 3: Verify Registration
- Click Test Recognition
- System attempts to identify student
- If successful, status shows “Registered”
- If failed, capture additional images
Bulk Registration
- Go to OpenEduCat > Attendance > Face Registration
- Select course and batch
- Click Start Bulk Capture
- Students approach camera in sequence
- System captures and registers each
Mark Attendance
Automatic Mode
- Go to OpenEduCat > Attendance > Face Recognition Kiosk
- Select course, batch, and session
- Click Start Recognition
- Students stand in front of camera
- System identifies and marks attendance
Recognition Process
Student Approaches → Face Detected → Identity Matched → Attendance Marked ↓ ↓ No Face Found No Match Found ↓ ↓ Retry Manual EntryManual Override
For unrecognized students:
- Click Manual Entry
- Select student from list
- Mark attendance status
- Optionally re-capture face
Device Configuration
Webcam Setup
- Go to OpenEduCat > Configuration > Devices
- Click Create
- Configure:
| Field | Description |
|---|---|
Name | Device identifier |
Type | Webcam |
Device ID | Camera index (0, 1, 2) |
Location | Physical location |
IP Camera Setup
- Create new device
- Configure:
| Field | Description |
|---|---|
Name | Camera name |
Type | IP Camera |
URL | RTSP or HTTP stream URL |
Username | Camera credentials |
Password | Camera password |
Multiple Locations
Configure devices for different locations:
| Location | Device | Purpose |
|---|---|---|
| Main Gate | IP Camera 1 | Entry check-in |
| Classroom A | Webcam | Session attendance |
| Library | IP Camera 2 | Optional check-in |
Field Reference
Recognition Settings
| Field | Type | Description |
|---|---|---|
face_tolerance | Float | Match tolerance (0-1) |
min_confidence | Float | Minimum score % |
enable_antispoofing | Boolean | Liveness check |
recognition_timeout | Integer | Seconds timeout |
Student Face Data
| Field | Type | Description |
|---|---|---|
face_encoding | Binary | Encoded face data |
face_images | One2many | Captured images |
face_registered | Boolean | Registration status |
last_recognition | Datetime | Last recognized |
Recognition Log
| Field | Type | Description |
|---|---|---|
student_id | Many2one | Matched student |
confidence | Float | Match score |
timestamp | Datetime | Recognition time |
device_id | Many2one | Source device |
image | Binary | Captured image |
Troubleshooting
Face not detected
Problem: Camera not detecting faces.
Solutions:
- Check camera is working (test with other app)
- Improve lighting conditions
- Ensure face is within frame
- Check camera resolution settings
- Verify face detection model loaded
Low recognition accuracy
Problem: Students not recognized correctly.
Solutions:
- Re-capture face images with better lighting
- Capture multiple angles
- Adjust tolerance setting (lower = stricter)
- Remove glasses/hats during capture
- Update face encodings periodically
Slow recognition
Problem: Takes too long to recognize.
Solutions:
- Reduce image resolution
- Limit students in recognition pool
- Check CPU/GPU performance
- Optimize recognition model
- Use batch-specific recognition
Anti-spoofing false positives
Problem: Real faces rejected as spoofs.
Solutions:
- Adjust anti-spoofing sensitivity
- Improve lighting conditions
- Reduce camera glare
- Temporarily disable for testing
- Update liveness detection model
Camera connection issues
Problem: Cannot connect to camera.
Solutions:
- Check camera is powered on
- Verify network connectivity (IP cameras)
- Check URL format and credentials
- Test camera with VLC or browser
- Check firewall settings