I am trying to convert the numpy array consisting of pixel values of a image to display the image.
Code:
for j in range(hieght):
for k in range(width):
y=np.asarray(x[j,k]-10)
img=np.array(y)
cv2.imshow('image',img)
It is not able display image