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