Skip to content Skip to sidebar Skip to footer

Cannot Determine Type Of File

Hi i have just started learning image processing using python. When i tried to open an image that i downloaded from the net, I keep getting this error and I have no idea about how

Solution 1:

Hello this looks like a pretty old thread but I found it recently because I had the same problem.

I think that the error message is misleading because it implies that the type of file is incorrect.

I fixed the problem by including the full path to the image file. For example, it could look something like:

dna = mahotas.imread('C:\Documents\dna.jpeg')

Post a Comment for "Cannot Determine Type Of File"