para editing to pass facematch
This commit is contained in:
parent
4266448f68
commit
46acafd738
@ -103,7 +103,7 @@ class Paravision(FaceClass):
|
|||||||
print("** paravision::compare exception ... " + str(ex) )
|
print("** paravision::compare exception ... " + str(ex) )
|
||||||
self.errstr = "image comparison exception at compute_scores: "+str(ex)
|
self.errstr = "image comparison exception at compute_scores: "+str(ex)
|
||||||
return '{ "status":332410, "remark":"%s" }' % self.errstr
|
return '{ "status":332410, "remark":"%s" }' % self.errstr
|
||||||
return '{ "status":0, "remark":"OK", "score":%d }' % self.match_score
|
return '{ "status":0, "threshold": 380, "device1_qual": 0.5, "device2_qual": 0.5, "remark":"OK", "score":%d }' % self.match_score
|
||||||
|
|
||||||
|
|
||||||
def scores(self):
|
def scores(self):
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user