aashwinik commited on
Commit
1e29126
1 Parent(s): 08a4635

Update Face_Censoring.py

Browse files
Files changed (1) hide show
  1. 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 + ".mp4")
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]