mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-10-06 22:32:43 +08:00
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:
@@ -45,11 +45,13 @@
|
||||
#define DEFAULT_TOPN 25
|
||||
#define DEFAULT_DETECT_REGION false
|
||||
|
||||
#define ALPR_NULL_PTR 0
|
||||
|
||||
class AlprImpl
|
||||
{
|
||||
|
||||
public:
|
||||
AlprImpl(const std::string country, const std::string runtimeDir = "");
|
||||
AlprImpl(const std::string country, const std::string configFile = "");
|
||||
virtual ~AlprImpl();
|
||||
|
||||
std::vector<AlprResult> recognize(cv::Mat img);
|
||||
@@ -65,6 +67,8 @@ class AlprImpl
|
||||
|
||||
Config* config;
|
||||
|
||||
bool isLoaded();
|
||||
|
||||
private:
|
||||
|
||||
RegionDetector* plateDetector;
|
||||
|
Reference in New Issue
Block a user