Parameterized min_confidence and skip_level

This commit is contained in:
Matt Hill
2016-07-02 09:01:27 -04:00
parent f215f92a82
commit 075472a948
3 changed files with 21 additions and 8 deletions

View File

@@ -77,6 +77,8 @@ namespace alpr
std::vector<std::string> getPatterns();
void setConfidenceThreshold(float min_confidence, float skip_level);
private:
Config* config;
@@ -94,6 +96,9 @@ namespace alpr
std::vector<PPResult> allPossibilities;
std::set<std::string> allPossibilitiesLetters;
float min_confidence;
float skip_level;
};
}