From d8f84cb7023a2d31a954f034bed8dc4ae31b91d8 Mon Sep 17 00:00:00 2001 From: Matt Hill Date: Sun, 28 Jun 2015 11:44:59 -0400 Subject: [PATCH] Added extra drawAndWait utility overload --- src/openalpr/utility.cpp | 4 ++++ src/openalpr/utility.h | 1 + 2 files changed, 5 insertions(+) diff --git a/src/openalpr/utility.cpp b/src/openalpr/utility.cpp index ca3efe3..de3adf0 100644 --- a/src/openalpr/utility.cpp +++ b/src/openalpr/utility.cpp @@ -98,6 +98,10 @@ namespace alpr return newImage; } + void drawAndWait(cv::Mat frame) + { + drawAndWait(&frame); + } void drawAndWait(cv::Mat* frame) { cv::imshow("Temp Window", *frame); diff --git a/src/openalpr/utility.h b/src/openalpr/utility.h index 2809c3a..2159bd3 100644 --- a/src/openalpr/utility.h +++ b/src/openalpr/utility.h @@ -80,6 +80,7 @@ namespace alpr cv::Mat drawImageDashboard(std::vector images, int imageType, unsigned int numColumns); void displayImage(Config* config, std::string windowName, cv::Mat frame); + void drawAndWait(cv::Mat frame); void drawAndWait(cv::Mat* frame); double distanceBetweenPoints(cv::Point p1, cv::Point p2);