Update Frontend/index.html
Browse files- Frontend/index.html +5 -0
Frontend/index.html
CHANGED
|
@@ -13,6 +13,11 @@
|
|
| 13 |
<!-- π Flip Camera button -->
|
| 14 |
<button onclick="toggleCamera()">π Flip Camera</button>
|
| 15 |
<button onclick="captureAndSend()">Capture & Predict</button>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
<div id="emojiDisplay"></div>
|
| 17 |
<div id="emotionText"></div>
|
| 18 |
<!-- Download link -->
|
|
|
|
| 13 |
<!-- π Flip Camera button -->
|
| 14 |
<button onclick="toggleCamera()">π Flip Camera</button>
|
| 15 |
<button onclick="captureAndSend()">Capture & Predict</button>
|
| 16 |
+
<div id="capturedImagePreview" style="margin-top: 1rem;">
|
| 17 |
+
<h3 style="margin-bottom: 10px;">Captured Image:</h3>
|
| 18 |
+
<canvas id="snapshotCanvas" style="border-radius: 10px; box-shadow: 0 0 10px rgba(255,255,255,0.2);"></canvas>
|
| 19 |
+
</div>
|
| 20 |
+
|
| 21 |
<div id="emojiDisplay"></div>
|
| 22 |
<div id="emotionText"></div>
|
| 23 |
<!-- Download link -->
|