Moved Tesseract and PostProcessor to class variables rather than pointers

This commit is contained in:
Matt Hill
2014-10-23 23:35:25 -04:00
parent 22cdf1b1f1
commit 1de0617a8e
3 changed files with 18 additions and 25 deletions

View File

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