name the window

cascade
Cole Deck 4 years ago
parent 6d48185771
commit 57abd697ba

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

Loading…
Cancel
Save