mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-10-07 10:30:52 +08:00
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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user