From 603ad496013320ef2b13dedf013f45587a67c11a Mon Sep 17 00:00:00 2001 From: Ryan Baumann Date: Tue, 23 Aug 2016 16:29:58 -0400 Subject: Remove imshow commands --- template_match_multiscale.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/template_match_multiscale.py b/template_match_multiscale.py index 4c104af..a347b75 100755 --- a/template_match_multiscale.py +++ b/template_match_multiscale.py @@ -54,7 +54,6 @@ template = cv2.imread(args["template"]) template = cv2.cvtColor(template, cv2.COLOR_BGR2GRAY) template = cv2.Canny(template, 50, 200) (tH, tW) = template.shape[:2] -cv2.imshow("Template", template) imagePath = args["image"] # load the image, convert it to grayscale, and initialize the @@ -86,8 +85,6 @@ for scale in np.linspace(0.2, 1.0, 20)[::-1]: clone = np.dstack([edged, edged, edged]) cv2.rectangle(clone, (maxLoc[0], maxLoc[1]), (maxLoc[0] + tW, maxLoc[1] + tH), (0, 0, 255), 2) - cv2.imshow("Visualize", clone) - cv2.waitKey(0) # if we have found a new maximum correlation value, then ipdate # the bookkeeping variable -- cgit v1.2.3-70-g09d2