Spaces:
Sleeping
Sleeping
Update Face_Censoring.py
Browse files- Face_Censoring.py +3 -2
Face_Censoring.py
CHANGED
|
@@ -1,8 +1,9 @@
|
|
| 1 |
import cv2
|
|
|
|
| 2 |
|
| 3 |
def censor_face(filePath):
|
| 4 |
-
|
| 5 |
-
output_file = 'censored_' + filePath
|
| 6 |
video=cv2.VideoCapture(filePath)
|
| 7 |
success, frame = video.read()
|
| 8 |
|
|
|
|
| 1 |
import cv2
|
| 2 |
+
import Streamlit as st
|
| 3 |
|
| 4 |
def censor_face(filePath):
|
| 5 |
+
st.write(str(filePath))
|
| 6 |
+
output_file = 'censored_' + str(filePath)
|
| 7 |
video=cv2.VideoCapture(filePath)
|
| 8 |
success, frame = video.read()
|
| 9 |
|