Commit 54e076ea46ec7d4f3cafa649e1a6eb196f051782

Authored by Josh Klontz
1 parent 6c399648

added missing compare function

Showing 1 changed file with 5 additions and 0 deletions
openbr/plugins/quality.cpp
... ... @@ -182,6 +182,11 @@ class MatchProbabilityDistance : public Distance
182 182 mp = MP(genuineScores, impostorScores);
183 183 }
184 184  
  185 + float compare(const Template &target, const Template &query) const
  186 + {
  187 + return normalize(distance->compare(target, query));
  188 + }
  189 +
185 190 float compare(const cv::Mat &target, const cv::Mat &query) const
186 191 {
187 192 return normalize(distance->compare(target, query));
... ...