Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include additional file format in load_yolo_annotations #1769

Closed
1 task done
pirnerjonas opened this issue Jan 7, 2025 · 5 comments
Closed
1 task done

Include additional file format in load_yolo_annotations #1769

pirnerjonas opened this issue Jan 7, 2025 · 5 comments
Labels
question Further information is requested

Comments

@pirnerjonas
Copy link
Contributor

Search before asking

  • I have searched the Supervision issues and found no similar feature requests.

Question

Hi,

I wanted to load my yolo dataset which uses .bmp images via sv.DetectionDataset.from_yolo(). Currently only ["jpg", "jpeg", "png"] are allowed in load_yolo_annotations. I just tested to include .bmp in the list and it seemed to work. Would it be possible to extend the available file formats?

Also I think yolo allows even more image formats

Additional

No response

@pirnerjonas pirnerjonas added the question Further information is requested label Jan 7, 2025
@patel-zeel
Copy link
Contributor

Hi, @pirnerjonas, thanks for raising this issue. I am happy to see that my PR is likely to help people beyond myself :) This issue is discussed in #1554 and will be resolved by #1636. In summary, once the PR is merged, supervision will allow all image formats supported by Pillow (restricted to RGB or grayscale).

@pirnerjonas
Copy link
Contributor Author

Hi @patel-zeel, sorry I missed that issue. Sounds great, thanks for the response. Looking forward to having this in supervision.

@SkalskiP
Copy link
Collaborator

SkalskiP commented Jan 8, 2025

Hi @pirnerjonas 👋🏻 thanks for bringing this issue to our attention. Given that @patel-zeel is already working on a fix, let's close this issue.

@pirnerjonas
Copy link
Contributor Author

Hi @SkalskiP, no problem, I just closed the issue 👍

@SkalskiP
Copy link
Collaborator

SkalskiP commented Jan 8, 2025

I just looked at the PR submitted by @patel-zeel, left a few comments, nothing major. Hoping we can merge it soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants