SyntaxFix
Write A Post
Hire A Developer
Questions
You can also use matplotlib for this.
from matplotlib.image import imread img = imread('abc.tiff') print(type(img))
output: <class 'numpy.ndarray'>
<class 'numpy.ndarray'>