Spaces:
Runtime error
Runtime error
dhairyashah
commited on
Commit
•
08f0745
1
Parent(s):
277c665
update
Browse files- .gitignore +1 -0
- app.py +1 -1
.gitignore
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
venv
|
app.py
CHANGED
@@ -20,7 +20,7 @@ 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 |
|
25 |
def __init__(self, detector, n_frames=None, batch_size=60, resize=None):
|
26 |
"""Constructor for DetectionPipeline class.
|
|
|
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.s"""
|
24 |
|
25 |
def __init__(self, detector, n_frames=None, batch_size=60, resize=None):
|
26 |
"""Constructor for DetectionPipeline class.
|