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