Spaces:
Sleeping
Sleeping
Update Face_Censoring.py
Browse files- Face_Censoring.py +1 -1
Face_Censoring.py
CHANGED
|
@@ -14,7 +14,7 @@ def censor_face(filePath):
|
|
| 14 |
|
| 15 |
print(height, width)
|
| 16 |
|
| 17 |
-
face_cascade=cv2.CascadeClassifier('XML\faces.xml')
|
| 18 |
tfile2 = tempfile.NamedTemporaryFile(delete=False)
|
| 19 |
tfile2.write(face_cascade.read())
|
| 20 |
|
|
|
|
| 14 |
|
| 15 |
print(height, width)
|
| 16 |
|
| 17 |
+
face_cascade=cv2.CascadeClassifier.load('XML\faces.xml')
|
| 18 |
tfile2 = tempfile.NamedTemporaryFile(delete=False)
|
| 19 |
tfile2.write(face_cascade.read())
|
| 20 |
|