mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-10-28 23:11:45 +08:00
Added regions of interest to ALPR interface. Currently non-functional
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user