This commit is contained in:
2026-05-30 00:22:52 +02:00
parent 49828c9323
commit f83e01380c
4 changed files with 171 additions and 103 deletions
+31
View File
@@ -0,0 +1,31 @@
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Pi Camera Stream</title>
<link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">
</head>
<body>
<header>
<h1>Raspberry Pi Camera</h1>
<p class="subtitle">HQ Camera M12 — Live Stream</p>
</header>
<div class="stream-container">
<img id="stream" src="/video_feed" alt="Camera stream">
</div>
<section class="gallery" id="gallery">
<p class="gallery-empty">Aucune photo pour l'instant</p>
</section>
<footer>
Résolution <span>{{ width }}×{{ height }}</span>
Qualité <span>{{ quality }}%</span>
</footer>
<script src="{{ url_for('static', filename='script.js') }}"></script>
</body>
</html>