-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstream.html
More file actions
69 lines (64 loc) · 2.09 KB
/
stream.html
File metadata and controls
69 lines (64 loc) · 2.09 KB
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
65
66
67
68
69
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Live Detection</title>
<style>
body {
background: radial-gradient(circle at top left, #0f0c29, #302b63, #24243e);
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
color: #fff;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
min-height: 100vh;
margin: 0;
padding: 20px;
}
h2 {
margin-bottom: 20px;
text-align: center;
font-size: 26px;
color: #ffffff;
background-color: rgba(255, 255, 255, 0.1);
padding: 10px 25px;
border-radius: 10px;
box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}
img {
border: 6px solid rgba(255, 255, 255, 0.2);
border-radius: 15px;
box-shadow: 0 10px 25px rgba(0,0,0,0.5);
max-width: 95%;
height: auto;
transition: transform 0.2s ease;
}
img:hover {
transform: scale(1.01);
}
a {
display: inline-block;
margin-top: 30px;
text-decoration: none;
background-color: #00c6ff;
background-image: linear-gradient(to right, #00c6ff, #0072ff);
color: white;
padding: 12px 30px;
border-radius: 8px;
font-weight: bold;
transition: background-color 0.3s ease, transform 0.2s ease;
box-shadow: 0 6px 15px rgba(0,114,255,0.3);
}
a:hover {
background-image: linear-gradient(to right, #0072ff, #00c6ff);
transform: translateY(-2px);
}
</style>
</head>
<body>
<h2>🎥 Live Crowd Detection on: <em>{{ filename }}</em></h2>
<img src="{{ url_for('video_feed') }}" width="720" alt="Live video feed">
<a href="/result">✅ Finish & Show Final Count</a>
</body>
</html>