-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathindex.html
More file actions
49 lines (42 loc) · 2.01 KB
/
index.html
File metadata and controls
49 lines (42 loc) · 2.01 KB
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 lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Anime Multimodal Emotion Detection</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="container">
<h2>🎭 Anime Multimodal Emotion Detection</h2>
<div id="controls-panel">
<div id="video-wrapper">
<video id="liveCameraFeed" autoplay muted playsinline></video>
<canvas id="faceCaptureCanvas" style="display: none;"></canvas>
</div>
<div id="buttonContainer">
<button id="startBtn">▶️ Start Analysis</button>
<button id="stopBtn" disabled>⏹️ Stop & Analyze</button>
</div>
</div>
<div id="output">
<p><strong>Status:</strong> <span id="status">Ready</span></p>
<p><strong>Transcript:</strong> <span id="transcript">...</span></p>
<hr>
<p><strong>Text Emotion:</strong> <span id="emotion_ser">...</span></p>
<p><strong>Face Emotion:</strong> <span id="emotion_fer">...</span></p>
<p><strong>Final AI Sentiment:</strong> <span id="emotion_final">...</span></p>
</div>
<div id="video-feedback-container">
<video id="introductionVideo" src="assets/intro.mp4" muted playsinline style="display: none;"></video>
<video id="joyFeedbackVideo" src="assets/joy.mp4" muted playsinline style="display: none;"></video>
<video id="sadFeedbackVideo" src="assets/sad.mp4" muted playsinline style="display: none;"></video>
</div>
<div id="animeCharacterContainer">
<img id="mouthClosedImage" src="assets/character_closed.png" class="anime-image active" alt="Mouth Closed">
<img id="mouthOpenImage" src="assets/character_open.png" class="anime-image" alt="Mouth Open">
</div>
</div>
<script src="script.js"></script>
</body>
</html>