update
This commit is contained in:
parent
808b9411f3
commit
dd30440608
@ -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()
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -59,8 +59,8 @@ export class Server {
|
||||
{
|
||||
}
|
||||
this.nextInterval();
|
||||
}, 1000/30);
|
||||
}, 1000*5);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user