SyntaxFix
Write A Post
Hire A Developer
Questions
you can use skimage.img_as_ubyte(yourdata) it will make you numpy array ranges from 0->255
skimage.img_as_ubyte(yourdata)
from skimage import img_as_ubyte img = img_as_ubyte(data) cv2.imshow("Window", img)