diff --git a/examples/Demo.cpp b/examples/Demo.cpp
index 9bf1f7c9d0a49b10a28202eb9a3539338b2e77b5..36c63c9d12bf66469c195daaac2e09ddc9f65ff2 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;