Added regions of interest to ALPR interface. Currently non-functional

This commit is contained in:
Matt Hill
2014-08-18 23:23:03 -04:00
parent d76f122ad6
commit aac6d61773
10 changed files with 102 additions and 24 deletions

View File

@@ -72,12 +72,12 @@ void VideoBuffer::connect(std::string mjpeg_url, int fps)
}
int VideoBuffer::getLatestFrame(cv::Mat* frame)
int VideoBuffer::getLatestFrame(cv::Mat* frame, std::vector<cv::Rect>& regionsOfInterest)
{
if (dispatcher == NULL)
return -1;
return dispatcher->getLatestFrame(frame);
return dispatcher->getLatestFrame(frame, regionsOfInterest);
}