FaceFeel / Frontend /index.html
Prime810's picture
Update Frontend/index.html
04725e4 verified
raw
history blame contribute delete
951 Bytes
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>FaceFeel</title>
<link rel="stylesheet" href="/static/style.css">
</head>
<body>
<h1>FaceFeel: Your Face, Your Feelings!</h1>
<!-- βœ… playsinline added for iOS -->
<video autoplay playsinline id="videoElement"></video>
<br />
<!-- πŸ”„ Flip Camera button -->
<button class="btn" onclick="toggleCamera()">πŸ”„ Flip Camera</button>
<button class="btn" onclick="captureAndSend()">Capture & Predict</button>
<div id="capturedImagePreview">
<h3>Captured Image:</h3>
<img id="snapshotImage" alt="Captured snapshot" />
</div>
<div id="emojiDisplay"></div>
<div id="emotionText"></div>
<!-- Download link -->
<a id="downloadEmoji" download="emoji.png" style="display: none;">⬇️ Download Emoji</a>
<script src="/static/scripts.js"></script>
</body>
</html>