Skip to content
Snippets Groups Projects
Commit 782878f9 authored by Victor BROS's avatar Victor BROS
Browse files

Merge branch 'vbros-master-patch-98771' into 'master'

Porting Miura matching algorithm to fix the score dimensions for bob pipelines

See merge request !53
parents c2be67f9 66a12faf
No related branches found
No related tags found
1 merge request!53Porting Miura matching algorithm to fix the score dimensions for bob pipelines
Pipeline #58527 passed with warnings
......@@ -72,14 +72,14 @@ class MiuraMatch(BioAlgorithm):
Parameters:
model (numpy.ndarray): The model of the user to test the probe agains
model (numpy.ndarray): The model of the user to test the probe against
probe (numpy.ndarray): The probe to test
Returns:
float: Value between 0 and 0.5, larger value means a better match
list[float]: Value between 0 and 0.5, larger value means a better match
"""
......@@ -126,7 +126,7 @@ class MiuraMatch(BioAlgorithm):
)
)
return numpy.mean(scores)
return [numpy.mean(scores)]
def score_multiple_biometric_references(self, biometric_references, data):
if isinstance(biometric_references, list):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment