Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -18,7 +18,7 @@ zip_ref.close()
|
|
18 |
# Load face detector
|
19 |
mtcnn = MTCNN(margin=14, keep_all=True, factor=0.7, device='cpu')
|
20 |
|
21 |
-
#
|
22 |
class DetectionPipeline:
|
23 |
"""Pipeline class for detecting faces in the frames of a video file."""
|
24 |
|
|
|
18 |
# Load face detector
|
19 |
mtcnn = MTCNN(margin=14, keep_all=True, factor=0.7, device='cpu')
|
20 |
|
21 |
+
#Face Detection function, Reference: (Timesler, 2020); Source link: https://www.kaggle.com/timesler/facial-recognition-model-in-pytorch
|
22 |
class DetectionPipeline:
|
23 |
"""Pipeline class for detecting faces in the frames of a video file."""
|
24 |
|