| <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> |