mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-10-07 02:52:50 +08:00
Added delay to show images. Otherwise, images don't show during videos
This commit is contained in:
@@ -104,7 +104,10 @@ void drawAndWait(cv::Mat* frame)
|
|||||||
void displayImage(Config* config, string windowName, cv::Mat frame)
|
void displayImage(Config* config, string windowName, cv::Mat frame)
|
||||||
{
|
{
|
||||||
if (config->debugShowImages)
|
if (config->debugShowImages)
|
||||||
|
{
|
||||||
imshow(windowName, frame);
|
imshow(windowName, frame);
|
||||||
|
cv::waitKey(5);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
vector<Mat> produceThresholds(const Mat img_gray, Config* config)
|
vector<Mat> produceThresholds(const Mat img_gray, Config* config)
|
||||||
|
Reference in New Issue
Block a user