FaceFeel / Frontend /index.html
Prime810's picture
Update Frontend/index.html
d64770b verified
raw
history blame
1.03 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>FaceFeel: Emotion Mirror</title>
<link rel="stylesheet" href="/static/style.css">
</head>
<body>
<header>
<h1>FaceFeel</h1>
<p>Your Face, Your Feelings!</p>
</header>
<section class="camera-section">
<video autoplay="true" id="videoElement"></video>
<div class="btn-group">
<button class="btn" onclick="toggleCamera()">🔄 Flip Camera</button>
<button class="btn primary" onclick="captureAndSend()">📸 Capture & Predict</button>
</div>
</section>
<section class="result-section">
<div id="capturedImagePreview">
<h3>Captured Image</h3>
<img id="snapshotImage" alt="Captured snapshot"/>
</div>
<div id="emojiDisplay"></div>
<div id="emotionText"></div>
<a id="downloadEmoji" download="emoji.png">⬇️ Download Emoji</a>
</section>
<script src="/static/scripts.js"></script>
</body>
</html>