Skip to content

ValueError: Could not find a format to read the specified file in mode 'i' #13

@KhomZ

Description

@KhomZ

ValueError Traceback (most recent call last)
in ()
2 # xmin-1804/ymin-1734/xmax-2493/ymax-1882
3
----> 4 img = io.imread(file_path) # Read the image
5 fig = px.imshow(img)
6 fig.update_layout(width=600, height=500, margin=dict(l=10, r=10, b=10, t=10),xaxis_title='Figure 8 - N2.jpeg with bounding box')

4 frames
/usr/local/lib/python3.7/dist-packages/imageio/core/functions.py in get_reader(uri, format, mode, **kwargs)
137 if format is None:
138 raise ValueError(
--> 139 "Could not find a format to read the specified file " "in mode %r" % mode
140 )
141

ValueError: Could not find a format to read the specified file in mode 'i'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions