mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-10-06 11:56:52 +08:00
Added DetectorCPU class and factory to instantiate it. Updated openalpr to use new class
This commit is contained in:
@@ -37,7 +37,7 @@ AlprImpl::AlprImpl(const std::string country, const std::string configFile, cons
|
||||
return;
|
||||
}
|
||||
|
||||
plateDetector = new RegionDetector(config);
|
||||
plateDetector = createDetector(config);
|
||||
stateIdentifier = new StateIdentifier(config);
|
||||
ocr = new OCR(config);
|
||||
setNumThreads(0);
|
||||
|
Reference in New Issue
Block a user