Turing311 commited on
Commit
04ca36c
1 Parent(s): 4a8f480
Files changed (2) hide show
  1. 1.zip +3 -0
  2. app.py +1 -2
1.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8efbc367400d814c596cd924b0d76dd449861bbee86ffa914b35c2a1a91f410d
3
+ size 118002800
app.py CHANGED
@@ -119,8 +119,7 @@ def compare_face():
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
- "sim_2": float(sim_2)
124
  }
125
  })
126
 
 
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