From ee241fb9318f0d1f6a5abd24b4385cc13bd3c588 Mon Sep 17 00:00:00 2001 From: Andrews Sobral <andrewssobral@gmail.com> Date: Wed, 7 Aug 2019 14:43:10 +0200 Subject: [PATCH] Added image resize to demo.cpp --- examples/Demo.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/Demo.cpp b/examples/Demo.cpp index 9bf1f7c..36c63c9 100644 --- a/examples/Demo.cpp +++ b/examples/Demo.cpp @@ -51,6 +51,7 @@ int main(int argc, char **argv) if (img_input.empty()) break; + cv::resize(img_input, img_input, cv::Size(380, 240), 0, 0, CV_INTER_LINEAR); cv::imshow("input", img_input); cv::Mat img_mask; -- GitLab