How ankemravi/facegazebiometricfusionforenhancedpersonalauthentication works
This is a Flask-based gaze authentication application. A user submits credentials, the application checks the MySQL user record and compares a webcam face encoding, then starts gaze tracking; the user follows a generated maze and submits the result for coordinate matching before reaching the success page. The graph also shows the separate face-data enrollment utility and the documented login, gaze, and outcome interfaces. The source excerpts expose the main route and gaze logic; template behavior is represented only at the documented interface level.
Main entry points: app.py Flask routes · login.html Login page · gaze_tracking_module.py Gaze capture · gaze_auth.html Gaze page
Components 13
Web authentication
- Login page
templates/login.html - Flask routes
app.py - Credential lookup
app.py - Face verification
app.py - Users database
- Gaze page
templates/gaze_auth.html - Success page
templates/success.html
Gaze verification
- Gaze capture
gaze_tracking_module.py - Maze generation
gaze_tracking_module.py - Coordinate matching
gaze_tracking_module.py
Face enrollment
- Face enrollment
insert_face_data.py
Other components
- User
- Browser
Connections 15
- User → Browser: uses
README.txt - Browser → Login page: opens
README.txt - Login page → Flask routes: submits credentials
README.txt - Flask routes → Credential lookup: calls
app.py - Credential lookup → Users database: queries
app.py - Flask routes → Face verification: verifies face
app.py - Face verification → Users database: reads face data
app.py - Flask routes → Gaze page: renders
app.py - Flask routes → Gaze capture: starts tracking
app.py - Gaze capture → Maze generation: generates maze
gaze_tracking_module.py - Browser → Gaze page: follows maze
README.txt - Flask routes → Coordinate matching: checks coordinates
app.py - Flask routes → Success page: renders on success
app.py - Browser → Success page: views outcome
README.txt - Face enrollment → Users database: inserts face data
insert_face_data.py