aashwinik commited on
Commit
d333a65
1 Parent(s): 1b4f860

Update Face_Censoring.py

Browse files
Files changed (1) hide show
  1. Face_Censoring.py +3 -1
Face_Censoring.py CHANGED
@@ -20,7 +20,7 @@ def censor_face(filePath):
20
  #st.write(height, width)
21
 
22
  #gray=cv2.cvtColor(frame,cv2.COLOR_BGR2GRAY)
23
- st.write("Frame: " + str(frame))
24
 
25
  output=cv2.VideoWriter(output_file, cv2.VideoWriter_fourcc(*'mp4v'), 30, (width, height))
26
 
@@ -32,4 +32,6 @@ def censor_face(filePath):
32
  success, frame = video.read()
33
 
34
  output.release()
 
 
35
  return output
 
20
  #st.write(height, width)
21
 
22
  #gray=cv2.cvtColor(frame,cv2.COLOR_BGR2GRAY)
23
+ #st.write("Frame: " + str(frame))
24
 
25
  output=cv2.VideoWriter(output_file, cv2.VideoWriter_fourcc(*'mp4v'), 30, (width, height))
26
 
 
32
  success, frame = video.read()
33
 
34
  output.release()
35
+ st.write(type(output))
36
+ st.write(type(frame))
37
  return output