Added runtime data dir parameter

just in case it's not possible to configure the runtime directory via config file (i.e., if the location is only known at runtime)
This commit is contained in:
Matt Hill
2014-05-19 19:41:48 -05:00
parent 0e1d0aae8b
commit be061ad452
6 changed files with 13 additions and 8 deletions

View File

@@ -21,9 +21,9 @@
void plateAnalysisThread(void* arg);
AlprImpl::AlprImpl(const std::string country, const std::string configFile)
AlprImpl::AlprImpl(const std::string country, const std::string configFile, const std::string runtimeDir)
{
config = new Config(country, configFile);
config = new Config(country, configFile, runtimeDir);
// Config file or runtime dir not found. Don't process any further.
if (config->loaded == false)