why the image is not showing even after coded correctly without any error???
import cv2
def main():
imgpath="C:\\Users\\vivekz\\Desktop\\ip\\database\\standard_test_images\\lena_gray_512.tif"
img=cv2.imread(imgpath,cv2.IMREAD_GRAYSCALE)
cv2.namedWindow('lena',cv2.WINDOW_NORMAL)
cv2.imshow('lena',img)
cv2.waitKey(0)
cv2.destroyAllWindows
if __name__=="__main__":
main()
I removed your image. Pease post your code as text
please add this in your code