snipplets.dev/projects/Python/OpenCV_to_HTML/templates/index.html

30 lines
575 B
HTML
Raw Normal View History

2023-11-12 22:45:23 +03:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>OpenCV Stream video</title>
<style type="text/css">
body {
background-color: #2a2a3a;
color: #efefef;
font-family: Ubuntu;
}
div.video {
text-align: center;
}
img.video-frame {
border-radius: 8px;
}
</style>
</head>
<body>
<div class="video">
<h1>OpenCV Stream video to web browser/HTML page</h1>
2024-03-20 00:28:23 +03:00
<img class="video-frame rounded" src="{{ url_for('video_feed') }}">
2023-11-12 22:45:23 +03:00
</div>
</body>
</html>