-
-
Save amankharwal/aef307b1b0ff366b7ffeb86f5fb3a9b2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def viewImage(img, name_of_window): | |
cv2.namedWindow(name_of_window, cv2.WINDOW_NORMAL) | |
cv2.imshow(name_of_window, img) | |
cv2.waitKey(0) | |
cv2.destroyAllWindows() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment