{% extends "base.html" %} {% block title %}Profile - Facial Recognition System{% endblock %} {% block content %}

{{ current_user.username }}

{{ current_user.role }}
{{ current_user.email }}
Member since {{ current_user.created_at.strftime('%B %Y') }}
Account Status: Active

{{ face_encodings|length }}

Faces

{{ current_user.recognition_logs|length }}

Recognitions

{{ (current_user.created_at | datetime_diff_days) }}

Days

Registered Faces

Add New Face
{% if face_encodings %}
{% for encoding in face_encodings %}
{{ encoding.image_name or 'Face ' + loop.index|string }}
{{ encoding.created_at.strftime('%Y-%m-%d %H:%M') }}
{% endfor %}
{% else %}
No faces registered

Register your face to enable recognition. You can upload an image or capture from your webcam.

Register Your Face
{% endif %}
Security Settings
Face Recognition
Enable face recognition for this account
Recognition Logging
Log all recognition events
{% endblock %} {% block extra_scripts %} {% endblock %}