Prime810 commited on
Commit
c76aaa3
·
verified ·
1 Parent(s): ee9d1eb

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, (128, 128))
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, (192, 192))
67
  face = face.astype("float32") / 255.0
68
  face = np.expand_dims(face, axis=0)
69