{% extends 'base.html' %} {% block content %}

Image Processing

{% csrf_token %} {{ form.as_p }}
{% if proccessed %}
Uploaded Image
{% if cropped_faces %}

Detected Faces

Detected Faces

Cropped Faces

{% for face, face_name, distance, fdescription in cropped_faces %}
Cropped Face
{{ face_name }}
{{ fdescription }}
{% endfor %}
{% endif %}
{% if texts %}
{% for text in texts %} {{ text }} {% endfor %}
{% endif %}
{% if metadata %}
{% for tag, value in metadata.items %} {% endfor %}
IPTC Field Value
{{ tag }} {{ value }}
{% endif %} {% if exifs %}
{% for tag, value in exifs.items %} {% endfor %}
EXIF Field Value
{{ tag }} {{ value }}
{% endif %}
{% if description %}

{{ description }}

{% endif %}
{% if reverse_images %} {{ reverse_images }} {% endif %}
{% endif %} {% endblock %}