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 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()

View File

@ -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;
}

View File

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