mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-10-07 07:20:50 +08:00
Added extra drawAndWait utility overload
This commit is contained in:
@@ -98,6 +98,10 @@ namespace alpr
|
|||||||
return newImage;
|
return newImage;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void drawAndWait(cv::Mat frame)
|
||||||
|
{
|
||||||
|
drawAndWait(&frame);
|
||||||
|
}
|
||||||
void drawAndWait(cv::Mat* frame)
|
void drawAndWait(cv::Mat* frame)
|
||||||
{
|
{
|
||||||
cv::imshow("Temp Window", *frame);
|
cv::imshow("Temp Window", *frame);
|
||||||
|
@@ -80,6 +80,7 @@ namespace alpr
|
|||||||
cv::Mat drawImageDashboard(std::vector<cv::Mat> images, int imageType, unsigned int numColumns);
|
cv::Mat drawImageDashboard(std::vector<cv::Mat> images, int imageType, unsigned int numColumns);
|
||||||
|
|
||||||
void displayImage(Config* config, std::string windowName, cv::Mat frame);
|
void displayImage(Config* config, std::string windowName, cv::Mat frame);
|
||||||
|
void drawAndWait(cv::Mat frame);
|
||||||
void drawAndWait(cv::Mat* frame);
|
void drawAndWait(cv::Mat* frame);
|
||||||
|
|
||||||
double distanceBetweenPoints(cv::Point p1, cv::Point p2);
|
double distanceBetweenPoints(cv::Point p1, cv::Point p2);
|
||||||
|
Reference in New Issue
Block a user