wkentaro / labelme

Image Polygonal Annotation with Python (polygon, rectangle, circle, line, point and image-level flag annotation).
https://labelme.io
Other
13.62k stars 3.42k forks source link

Labelme 5.5.0 don't support *.jpg files #1492

Open Deephome opened 2 months ago

Deephome commented 2 months ago

Provide environment information

labelme 5.5.0 QtAwesome 1.2.2 qtconsole 5.4.0 QtPy 2.2.0 PyQt5 5.15.7 PyQt5-sip 12.11.0

What OS are you using?

Windows

Describe the Bug

I installed Labelme by "pip install", the labelme software cannot load jpg files. As suggested in other issue, I find that the QtGui also don't support jpg format. How to solve this problem? thank you!

> from qtpy import QtGui
> QtGui.QImageReader.supportedImageFormats()
[PyQt5.QtCore.QByteArray(b'bmp'), PyQt5.QtCore.QByteArray(b'cur'), PyQt5.QtCore.QByteArray(b'gif'), PyQt5.QtCore.QByteArray(b'icns'), PyQt5.QtCore.QByteArray(b'ico'), PyQt5.QtCore.QByteArray(b'pbm'), PyQt5.QtCore.QByteArray(b'pgm'), PyQt5.QtCore.QByteArray(b'png'), PyQt5.QtCore.QByteArray(b'ppm'), PyQt5.QtCore.QByteArray(b'tga'), PyQt5.QtCore.QByteArray(b'tif'), PyQt5.QtCore.QByteArray(b'tiff'), PyQt5.QtCore.QByteArray(b'wbmp'), PyQt5.QtCore.QByteArray(b'webp'), PyQt5.QtCore.QByteArray(b'xbm'), PyQt5.QtCore.QByteArray(b'xpm')]

Expected Behavior

No response

To Reproduce

No response