Spaces:
Runtime error
Runtime error
Commit
·
a63ab35
1
Parent(s):
28ee621
Update app.py
Browse files
app.py
CHANGED
@@ -38,7 +38,7 @@ def Attandance(text,video,image):
|
|
38 |
index=1
|
39 |
while True:
|
40 |
try:
|
41 |
-
if framecount%
|
42 |
ret, frame = cap.read()
|
43 |
#faces = cv2.resize(frame, (0, 0), None, 0.25, 0.25)
|
44 |
faces = cv2.cvtColor(frame, cv2.COLOR_BGR2RGB)
|
|
|
38 |
index=1
|
39 |
while True:
|
40 |
try:
|
41 |
+
if framecount%100==0:
|
42 |
ret, frame = cap.read()
|
43 |
#faces = cv2.resize(frame, (0, 0), None, 0.25, 0.25)
|
44 |
faces = cv2.cvtColor(frame, cv2.COLOR_BGR2RGB)
|