sid-reddy-krishna commited on
Commit
48eb1cd
·
1 Parent(s): b27a86b
app/Hackathon_setup/face_recognition.py CHANGED
@@ -85,7 +85,7 @@ def get_similarity(img1, img2):
85
 
86
  # YOUR CODE HERE, return similarity measure using your model
87
 
88
- return 0
89
 
90
  #1) Image captured from mobile is passed as parameter to this function in the API call, It returns the face class in the string form ex: "Person1"
91
  #2) The image is passed to the function in base64 encoding, Code to decode the image provided within the function
 
85
 
86
  # YOUR CODE HERE, return similarity measure using your model
87
 
88
+ return dissimilarity
89
 
90
  #1) Image captured from mobile is passed as parameter to this function in the API call, It returns the face class in the string form ex: "Person1"
91
  #2) The image is passed to the function in base64 encoding, Code to decode the image provided within the function