Changed library to point to a config file rather than runtime dir

runtime dir location is specified in the config file
This commit is contained in:
Matt Hill
2014-05-10 09:50:52 -05:00
parent cbfa90fc84
commit 66febb8ca8
10 changed files with 110 additions and 41 deletions

View File

@@ -22,9 +22,9 @@
// ALPR code
Alpr::Alpr(const std::string country, const std::string runtimeDir)
Alpr::Alpr(const std::string country, const std::string configFile)
{
impl = new AlprImpl(country, runtimeDir);
impl = new AlprImpl(country, configFile);
}
Alpr::~Alpr()
@@ -68,7 +68,7 @@ void Alpr::setDefaultRegion(std::string region)
bool Alpr::isLoaded()
{
return true;
return impl->isLoaded();
}
std::string Alpr::getVersion()