name the window

This commit is contained in:
Cole Deck 2019-12-08 15:42:18 -06:00
parent 6d48185771
commit 57abd697ba

View File

@ -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)