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