mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-10-06 04:16:51 +08:00
Moved Tesseract and PostProcessor to class variables rather than pointers
This commit is contained in:
@@ -150,8 +150,8 @@ AlprFullDetails AlprImpl::recognizeFullDetails(cv::Mat img, std::vector<cv::Rect
|
||||
|
||||
|
||||
ocr->performOCR(&pipeline_data);
|
||||
ocr->postProcessor->analyze(plateResult.region, topN);
|
||||
const vector<PPResult> ppResults = ocr->postProcessor->getResults();
|
||||
ocr->postProcessor.analyze(plateResult.region, topN);
|
||||
const vector<PPResult> ppResults = ocr->postProcessor.getResults();
|
||||
|
||||
|
||||
int bestPlateIndex = 0;
|
||||
|
Reference in New Issue
Block a user