This commit is contained in:
Tobias Hopp 2023-05-28 18:13:05 +02:00
parent 808b9411f3
commit dd30440608
3 changed files with 6 additions and 5 deletions

View File

@ -2,6 +2,7 @@
import cv2 import cv2
import sys import sys
import time
cap = cv2.VideoCapture(0) cap = cv2.VideoCapture(0)
cap.set(3, 1280) cap.set(3, 1280)
@ -20,6 +21,6 @@ while True:
cv2.imwrite(file_name, frame) cv2.imwrite(file_name, frame)
print("wrote_frame") print("wrote_frame")
sys.stdout.flush() # Leere den Ausgabepuffer sys.stdout.flush() # Leere den Ausgabepuffer
time.sleep(5)
cap.release() cap.release()
cv2.destroyAllWindows() cv2.destroyAllWindows()

View File

@ -19,8 +19,8 @@ body {
#titleBox { #titleBox {
text-align: center; text-align: center;
font-size: 2.2em; font-size: 2.0em;
margin-top: -2.0%; margin-top: -1.5%;
color: #FFFFFF; color: #FFFFFF;
font-family: Rachana, serif; font-family: Rachana, serif;
} }

View File

@ -59,7 +59,7 @@ export class Server {
{ {
} }
this.nextInterval(); this.nextInterval();
}, 1000/30); }, 1000*5);
} }