Spaces:
Sleeping
Sleeping
Update Face_Censoring.py
Browse files- Face_Censoring.py +1 -1
Face_Censoring.py
CHANGED
@@ -5,7 +5,7 @@ def censor_face(filePath):
|
|
5 |
|
6 |
output_file = 'Output\censored_' + str(filePath.name)
|
7 |
|
8 |
-
video=cv2.VideoCapture(filePath.name
|
9 |
success, frame = video.read()
|
10 |
|
11 |
height = frame.shape[0]
|
|
|
5 |
|
6 |
output_file = 'Output\censored_' + str(filePath.name)
|
7 |
|
8 |
+
video=cv2.VideoCapture(filePath.name)
|
9 |
success, frame = video.read()
|
10 |
|
11 |
height = frame.shape[0]
|