Prime810 commited on
Commit
0148a7d
Β·
verified Β·
1 Parent(s): 0e704d0

Update Frontend/index.html

Browse files
Files changed (1) hide show
  1. 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 -->