anasazasaa commited on
Commit
dff8e70
1 Parent(s): fc0495d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -72,7 +72,7 @@ def predict(image_path, model, face_detector, device, margin=0.4, input_size=224
72
  image_h, image_w = image.shape[:2]
73
 
74
  # detect faces using dlib detector
75
- detected = face_detector(image, 2)
76
  faces = np.empty((len(detected), input_size, input_size, 3))
77
  age_data = []
78
 
 
72
  image_h, image_w = image.shape[:2]
73
 
74
  # detect faces using dlib detector
75
+ detected = face_detector(image, 3)
76
  faces = np.empty((len(detected), input_size, input_size, 3))
77
  age_data = []
78