diff --git a/bob/bio/face/algorithm/Histogram.py b/bob/bio/face/algorithm/Histogram.py index 8ed6c2d77bb74c54055e054efb57e09593126fec..4104020a5cf71d80368694e3a8459448a9ad5fa4 100644 --- a/bob/bio/face/algorithm/Histogram.py +++ b/bob/bio/face/algorithm/Histogram.py @@ -155,4 +155,10 @@ class Histogram (Algorithm): def read_feature(*args, **kwargs) : raise NotImplementedError("This function is not implemented and should not be called.") def train_enroller(*args, **kwargs) : raise NotImplementedError("This function is not implemented and should not be called.") def load_enroller(*args, **kwargs) : pass - def score_for_multiple_models(*args, **kwargs) : raise NotImplementedError("This function is not implemented and should not be called.") + + def score_for_multiple_models(self, models, probe): + + self._check_feature(probe, self._is_sparse(probe)) + scores = [ self.score(m, probe) for m in models ] + return scores +