Added setCountry function to main API.

This allows the country to be changed without reloading the library and runtime_data
This commit is contained in:
Matt Hill
2016-02-14 15:58:04 -05:00
parent bc6e49b546
commit eb2954e49f
6 changed files with 83 additions and 31 deletions

View File

@@ -137,6 +137,9 @@ namespace alpr
Alpr(const std::string country, const std::string configFile = "", const std::string runtimeDir = "");
virtual ~Alpr();
// Set the country used for plate recognition
void setCountry(std::string country);
void setDetectRegion(bool detectRegion);
void setTopN(int topN);
void setDefaultRegion(std::string region);