Update Frontend/index.html
Browse files- Frontend/index.html +31 -26
Frontend/index.html
CHANGED
@@ -2,36 +2,41 @@
|
|
2 |
<html lang="en">
|
3 |
<head>
|
4 |
<meta charset="UTF-8" />
|
5 |
-
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
6 |
-
<title>
|
7 |
-
<link rel="stylesheet" href="style.css"
|
8 |
</head>
|
9 |
<body>
|
10 |
-
<
|
11 |
-
<h1>
|
12 |
-
<p>
|
13 |
-
</header>
|
14 |
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
|
|
28 |
|
29 |
-
<
|
30 |
-
|
31 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
32 |
</section>
|
33 |
|
34 |
-
|
35 |
-
<script src="/static/scripts.js"></script>
|
36 |
</body>
|
37 |
-
</html>
|
|
|
2 |
<html lang="en">
|
3 |
<head>
|
4 |
<meta charset="UTF-8" />
|
5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
6 |
+
<title>FaceSense</title>
|
7 |
+
<link rel="stylesheet" href="style.css" />
|
8 |
</head>
|
9 |
<body>
|
10 |
+
<section class="container">
|
11 |
+
<h1 class="title">FaceSense</h1>
|
12 |
+
<p class="subtitle">Detect Emotions from Facial Expressions</p>
|
|
|
13 |
|
14 |
+
<section class="camera-emoji-container">
|
15 |
+
<section class="camera-section">
|
16 |
+
<div class="video-wrapper">
|
17 |
+
<video id="videoElement" autoplay muted></video>
|
18 |
+
<button class="back-button">←</button>
|
19 |
+
</div>
|
20 |
+
<button id="switchCamera">Switch Camera</button>
|
21 |
+
<button id="capture">Capture</button>
|
22 |
+
</section>
|
23 |
+
<section class="emoji-section">
|
24 |
+
<div class="emoji-display" id="emoji">😮</div>
|
25 |
+
<p class="emotion-label" id="emotion">Surprised</p>
|
26 |
+
</section>
|
27 |
+
</section>
|
28 |
|
29 |
+
<section class="captured-section">
|
30 |
+
<div class="captured-img-wrapper">
|
31 |
+
<img id="capturedImage" alt="Captured" />
|
32 |
+
</div>
|
33 |
+
<div>
|
34 |
+
<p>Captured Image</p>
|
35 |
+
<a id="downloadLink" download="capture.png">⬇️ Download</a>
|
36 |
+
</div>
|
37 |
+
</section>
|
38 |
</section>
|
39 |
|
40 |
+
<script src="script.js"></script>
|
|
|
41 |
</body>
|
42 |
+
</html>
|