mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-10-19 01:44:34 +08:00
Added size() to scorekeeper
This commit is contained in:
@@ -51,6 +51,12 @@ namespace alpr
|
||||
|
||||
return score;
|
||||
}
|
||||
|
||||
|
||||
int ScoreKeeper::size() {
|
||||
return weight_ids.size();
|
||||
}
|
||||
|
||||
|
||||
void ScoreKeeper::printDebugScores() {
|
||||
|
||||
|
@@ -35,6 +35,7 @@ namespace alpr
|
||||
void setScore(std::string weight_id, float score, float weight);
|
||||
|
||||
float getTotal();
|
||||
int size();
|
||||
|
||||
void printDebugScores();
|
||||
|
||||
|
Reference in New Issue
Block a user