{% extends "base.html" %} {% block title %}Recognition Logs - Facial Recognition System{% endblock %} {% block content %}
Filters
Quick Stats
Total Events: {{ logs.total }}
This Page: {{ logs.items|length }}
{% if logs.items %}
{% if current_user.role == 'Admin' %} {% endif %} {% for log in logs.items %} {% if current_user.role == 'Admin' %} {% endif %} {% endfor %}
Timestamp User Recognized As Confidence Type Status
{{ log.timestamp.strftime('%Y-%m-%d') }}
{{ log.timestamp.strftime('%H:%M:%S') }}
{% if log.user %} {% else %} System {% endif %}
{{ log.recognized_name }}
{% if log.confidence_score %}
{{ "%.1f%%" | format(log.confidence_score * 100) }}
{% else %} N/A {% endif %}
{{ log.recognition_type.title() }} {% if log.confidence_score %} {% if log.confidence_score > 0.8 %} High Confidence {% elif log.confidence_score > 0.5 %} Medium Confidence {% else %} Low Confidence {% endif %} {% else %} Unknown {% endif %}
{% if logs.pages > 1 %}
{% endif %} {% else %}
No recognition logs found

{% if current_user.role == 'Admin' %} No recognition events have been recorded in the system yet. {% else %} You haven't used the face recognition system yet. {% endif %}

Start Recognition
{% endif %}
{% endblock %} {% block extra_scripts %} {% endblock %}