ongkn commited on
Commit
3307e73
·
1 Parent(s): b9edf0b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -22,7 +22,7 @@ def grab_faces(img: np.ndarray) -> Optional[np.ndarray]:
22
  predictor = dlib.shape_predictor("shape_predictor_68_face_landmarks_GTX.dat") # load face predictor
23
  mmod = dlib.cnn_face_detection_model_v1("mmod_human_face_detector.dat") # load face detector
24
 
25
- paddingBy = 0.15 # padding by 15%
26
 
27
  gray = cv.cvtColor(img, cv.COLOR_BGR2GRAY) # convert to grayscale
28
 
 
22
  predictor = dlib.shape_predictor("shape_predictor_68_face_landmarks_GTX.dat") # load face predictor
23
  mmod = dlib.cnn_face_detection_model_v1("mmod_human_face_detector.dat") # load face detector
24
 
25
+ paddingBy = 0.1 # padding by 10%
26
 
27
  gray = cv.cvtColor(img, cv.COLOR_BGR2GRAY) # convert to grayscale
28