conciomith commited on
Commit
ad7b3d7
·
1 Parent(s): 1842142

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,7 +6,7 @@ def RFace(img):
6
  faces = RetinaFace.extract_faces(img, align = True)
7
  last = np.zeros((20,20), np.uint8)
8
  for count, image in enumerate(faces):
9
- if count == 1:
10
  last = image
11
  else:
12
  h1, w1 = last.shape[:2]
 
6
  faces = RetinaFace.extract_faces(img, align = True)
7
  last = np.zeros((20,20), np.uint8)
8
  for count, image in enumerate(faces):
9
+ if count == 0:
10
  last = image
11
  else:
12
  h1, w1 = last.shape[:2]