Turing311 commited on
Commit
05f90d0
1 Parent(s): 92e8f2f
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -204,8 +204,8 @@ def coompare_face_base64():
204
  "data": {
205
  "result": result,
206
  "similarity": float(similarity),
207
- "face1": {"x1": int(faceRect1[0]), "y1": int(faceRect1[2]), "x2": int(faceRect1[1]), "y2" : int(faceRect1[3])},
208
- "face2": {"x1": int(faceRect2[0]), "y1": int(faceRect2[2]), "x2": int(faceRect2[1]), "y2" : int(faceRect2[3])},
209
  }
210
  })
211
  response.status_code = 200
 
204
  "data": {
205
  "result": result,
206
  "similarity": float(similarity),
207
+ "face1": {"x1": int(faceRect1[0]), "y1": int(faceRect1[1]), "x2": int(faceRect1[2]), "y2" : int(faceRect1[3])},
208
+ "face2": {"x1": int(faceRect2[0]), "y1": int(faceRect2[1]), "x2": int(faceRect2[2]), "y2" : int(faceRect2[3])},
209
  }
210
  })
211
  response.status_code = 200