Spaces:
Sleeping
Sleeping
Update attendanceCam.py
Browse files- attendanceCam.py +2 -2
attendanceCam.py
CHANGED
|
@@ -639,8 +639,8 @@ def capture_webcam():
|
|
| 639 |
def process_webcam(state):
|
| 640 |
if state is None:
|
| 641 |
# Default paths - update these to match your system
|
| 642 |
-
model_path = "
|
| 643 |
-
csv_path = "
|
| 644 |
state = AttendanceSystem(model_path, csv_path)
|
| 645 |
|
| 646 |
# Capture frame from webcam
|
|
|
|
| 639 |
def process_webcam(state):
|
| 640 |
if state is None:
|
| 641 |
# Default paths - update these to match your system
|
| 642 |
+
model_path = "best(attendance).pt"
|
| 643 |
+
csv_path = "attendance_data.csv"
|
| 644 |
state = AttendanceSystem(model_path, csv_path)
|
| 645 |
|
| 646 |
# Capture frame from webcam
|