Added DetectorCPU class and factory to instantiate it. Updated openalpr to use new class

This commit is contained in:
Matt Hill
2014-08-21 07:11:11 -04:00
parent 74bbdc0c5b
commit 740adabf0f
10 changed files with 224 additions and 122 deletions

View File

@@ -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);