Turing311 commited on
Commit
86c3ee0
1 Parent(s): 2ed1a28
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -118,8 +118,8 @@ def compare_face():
118
  "data": {
119
  "result": result,
120
  "similarity": float(similarity),
121
- "face1": {"x1": int(faceRect1[0]), "y1": int(faceRect1[2]), "x2": int(faceRect1[1]), "y2" : int(faceRect1[3])},
122
- "face2": {"x1": int(faceRect2[0]), "y1": int(faceRect2[2]), "x2": int(faceRect2[1]), "y2" : int(faceRect2[3])},
123
  }
124
  })
125
 
 
118
  "data": {
119
  "result": result,
120
  "similarity": float(similarity),
121
+ "face1": {"x1": int(faceRect1[0]), "y1": int(faceRect1[1]), "x2": int(faceRect1[2]), "y2" : int(faceRect1[3])},
122
+ "face2": {"x1": int(faceRect2[0]), "y1": int(faceRect2[1]), "x2": int(faceRect2[2]), "y2" : int(faceRect2[3])},
123
  }
124
  })
125