File size: 1,393 Bytes
90cd92a |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 |
<!DOCTYPE html>
<html>
<head>
<title>Results Comparison</title>
<style>
table {
width: 100%;
border-collapse: collapse;
}
th, td {
border: 1px solid black;
text-align: center;
}
</style>
</head>
<body>
<h1>Classification Results Comparison</h1>
<table>
<thead>
<tr>
<th>Video ID</th>
<th>Video</th>
<th>True Labels</th>
<th>AVS Predictions</th>
<th>Audio Predictions</th>
<th>Visual Predictions</th>
<th>Speech Predictions</th>
</tr>
</thead>
<tbody>
{% for video in videos %}
<tr>
<td>{{ video.video_id }}</td>
<td>
<video width="320" height="240" controls>
<source src="{{ video.video_file }}" type="video/mp4">
</video>
</td>
<td>{{ video.true_labels|safe }}</td>
<td>{{ video.avs_pred|safe }}</td>
<td>{{ video.audio_pred|safe }}</td>
<td>{{ video.visual_pred|safe }}</td>
<td>{{ video.speech_pred|safe }}</td>
</tr>
{% endfor %}
</tbody>
</table>
</body>
</html> |