name the window
This commit is contained in:
parent
6d48185771
commit
57abd697ba
1
main.py
1
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)
|
image = cv2.resize(image, (1000, int(image.shape[0]/image.shape[1] * 1000)), interpolation = cv2.INTER_NEAREST)
|
||||||
|
|
||||||
if args2.show:
|
if args2.show:
|
||||||
|
cv2.namedWindow("Item Sorter")
|
||||||
cv2.imshow("Item Sorter", image)
|
cv2.imshow("Item Sorter", image)
|
||||||
cv2.waitKey(0)
|
cv2.waitKey(0)
|
||||||
gray = cv2.cvtColor(image, cv2.COLOR_BGR2GRAY)
|
gray = cv2.cvtColor(image, cv2.COLOR_BGR2GRAY)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user