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

Faster Load Image #1664

Merged
merged 1 commit into from
Mar 21, 2023
Merged

Conversation

RunDevelopment
Copy link
Member

This PR changes Load Image to use PIL for JPEG images. This is around 10% than using OpenCV.

In order to implement this change, I also changed how Load Image works internally. It will now go through a list of decoders and use the image of the first decoder that succeeds in reading the image. This makes it easy to change the order of decoders and to add specialized decoders (e.g. use PIL but only for JPEGs).

@joeyballentine joeyballentine merged commit 4b0ca43 into chaiNNer-org:main Mar 21, 2023
@RunDevelopment RunDevelopment deleted the faster-load-image branch March 21, 2023 19:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants