Update Backend/app.py
Browse files- 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, (
|
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 |
|