From dd3044060896250f636358ebc58c0d7e1b9a0af9 Mon Sep 17 00:00:00 2001 From: Tobias Hopp Date: Sun, 28 May 2023 18:13:05 +0200 Subject: [PATCH] update --- capture.py | 3 ++- html/style.css | 4 ++-- src/server.ts | 4 ++-- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/capture.py b/capture.py index de34a9a..559e6d7 100755 --- a/capture.py +++ b/capture.py @@ -2,6 +2,7 @@ import cv2 import sys +import time cap = cv2.VideoCapture(0) cap.set(3, 1280) @@ -20,6 +21,6 @@ while True: cv2.imwrite(file_name, frame) print("wrote_frame") sys.stdout.flush() # Leere den Ausgabepuffer - + time.sleep(5) cap.release() cv2.destroyAllWindows() diff --git a/html/style.css b/html/style.css index 4a40c1c..7ae72a3 100644 --- a/html/style.css +++ b/html/style.css @@ -19,8 +19,8 @@ body { #titleBox { text-align: center; - font-size: 2.2em; - margin-top: -2.0%; + font-size: 2.0em; + margin-top: -1.5%; color: #FFFFFF; font-family: Rachana, serif; } diff --git a/src/server.ts b/src/server.ts index 026114c..5514296 100644 --- a/src/server.ts +++ b/src/server.ts @@ -59,8 +59,8 @@ export class Server { { } this.nextInterval(); - }, 1000/30); + }, 1000*5); } -} \ No newline at end of file +}