Prime810 commited on
Commit
8690cd8
·
verified ·
1 Parent(s): a425514

Update Backend/app.py

Browse files
Files changed (1) hide show
  1. Backend/app.py +1 -1
Backend/app.py CHANGED
@@ -63,7 +63,7 @@ async def process_image(data: ImageData):
63
 
64
  for (x, y, w, h) in faces:
65
  face = img_np[y:y+h, x:x+w]
66
- face = cv2.resize(face, (96, 96))
67
  face = face.astype("float32") / 255.0
68
  face = np.expand_dims(face, axis=0)
69
 
 
63
 
64
  for (x, y, w, h) in faces:
65
  face = img_np[y:y+h, x:x+w]
66
+ face = cv2.resize(face, (128, 128))
67
  face = face.astype("float32") / 255.0
68
  face = np.expand_dims(face, axis=0)
69