Spaces:
Runtime error
Runtime error
File size: 1,589 Bytes
43317b5 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Recognize Gestures</title>
<style>
body {
font-family: Arial, sans-serif;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100vh;
margin: 0;
}
h1 {
text-align: center;
margin-bottom: 20px;
}
.video-container {
display: flex;
justify-content: center;
width: 100%;
max-width: 720px;
}
img {
border: 1px solid #ddd; /* Gray border */
border-radius: 4px; /* Rounded border */
padding: 5px; /* Some padding */
width: 100%; /* Set width to 100% of the container */
max-width: 720px; /* Maximum width */
}
a.button {
background-color: #4CAF50; /* Green */
border: none;
color: white;
padding: 10px 20px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin: 20px 0;
cursor: pointer;
border-radius: 5px;
}
</style>
</head>
<body>
<h1>Gesture Recognition Application</h1>
<div class="video-container">
<img src="{{ url_for('video_feed') }}" alt="Video Stream">
</div>
<a href="{{ url_for('save_gesture_data') }}" class="button">Save Data</a>
</body>
</html>
|