mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-10-06 18:22:48 +08:00
Explicitly set OpenCV functions to single threading
This commit is contained in:
@@ -29,6 +29,8 @@ AlprImpl::AlprImpl(const std::string country, const std::string runtimeDir)
|
||||
stateIdentifier = new StateIdentifier(config);
|
||||
ocr = new OCR(config);
|
||||
|
||||
setNumThreads(0);
|
||||
|
||||
this->detectRegion = DEFAULT_DETECT_REGION;
|
||||
this->topN = DEFAULT_TOPN;
|
||||
this->defaultRegion = "";
|
||||
|
Reference in New Issue
Block a user