30 lines
567 B
HTML
30 lines
567 B
HTML
<!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>
|
||
<img class="video-frame" src="{{ url_for('video_feed') }}">
|
||
</div>
|
||
</body>
|
||
</html>
|