diff --git a/src/openalpr/alpr_impl.cpp b/src/openalpr/alpr_impl.cpp index aa10796..02975c2 100644 --- a/src/openalpr/alpr_impl.cpp +++ b/src/openalpr/alpr_impl.cpp @@ -349,7 +349,10 @@ namespace alpr { cv::Mat img = cv::imdecode(cv::Mat(imageBytes), 1); - return this->recognize(img, regionsOfInterest); + std::vector rois = convertRects(regionsOfInterest); + + AlprFullDetails fullDetails = recognizeFullDetails(img, rois); + return fullDetails.results; } AlprResults AlprImpl::recognize( unsigned char* pixelData, int bytesPerPixel, int imgWidth, int imgHeight, std::vector regionsOfInterest)