Spaces:
Sleeping
Sleeping
Update templates/index.html
Browse files- templates/index.html +9 -34
templates/index.html
CHANGED
|
@@ -1,35 +1,10 @@
|
|
| 1 |
-
<!DOCTYPE html>
|
| 2 |
-
<html>
|
| 3 |
-
<head>
|
| 4 |
-
<title>Camera
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
background-color: #f0f0f0;
|
| 11 |
-
}
|
| 12 |
-
.welcome {
|
| 13 |
-
font-size: 3em;
|
| 14 |
-
color: #2c3e50;
|
| 15 |
-
margin-bottom: 30px;
|
| 16 |
-
}
|
| 17 |
-
.hidden-camera {
|
| 18 |
-
position: absolute;
|
| 19 |
-
width: 1px;
|
| 20 |
-
height: 1px;
|
| 21 |
-
opacity: 0;
|
| 22 |
-
z-index: -100;
|
| 23 |
-
}
|
| 24 |
-
</style>
|
| 25 |
-
</head>
|
| 26 |
-
<body>
|
| 27 |
-
<div class="welcome">Welcome to Camera System</div>
|
| 28 |
-
<p>The camera is working in the background...</p>
|
| 29 |
-
|
| 30 |
-
<!-- Hidden camera stream -->
|
| 31 |
-
<div class="hidden-camera">
|
| 32 |
-
<img src="{{ url_for('video_feed') }}">
|
| 33 |
-
</div>
|
| 34 |
-
</body>
|
| 35 |
</html>
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html>
|
| 3 |
+
<head>
|
| 4 |
+
<title>Camera View</title>
|
| 5 |
+
</head>
|
| 6 |
+
<body>
|
| 7 |
+
<h1>Camera View</h1>
|
| 8 |
+
<img src="https://harshdhane-camera-test.hf.space/video_stream" />
|
| 9 |
+
</body>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
</html>
|