1# importing OpenCV(cv2) module
2import cv2
3
4# Save image in set directory
5# Read RGB image
6img = cv2.imread('g4g.png')
7
8# Output img with window name as 'image'
9cv2.imshow('image', img)
10
11# Maintain output window utill
12# user presses a key
13cv2.waitKey(0)
14
15# Destroying present windows on screen
16cv2.destroyAllWindows()