From 57abd697baf19d5a1c71a8315fdc90aa00410971 Mon Sep 17 00:00:00 2001 From: Cole Deck Date: Sun, 8 Dec 2019 15:42:18 -0600 Subject: [PATCH] name the window --- main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/main.py b/main.py index b152093..9ec2caa 100644 --- a/main.py +++ b/main.py @@ -79,6 +79,7 @@ image = cv2.imread(args["image"]) image = cv2.resize(image, (1000, int(image.shape[0]/image.shape[1] * 1000)), interpolation = cv2.INTER_NEAREST) if args2.show: + cv2.namedWindow("Item Sorter") cv2.imshow("Item Sorter", image) cv2.waitKey(0) gray = cv2.cvtColor(image, cv2.COLOR_BGR2GRAY)