-
Notifications
You must be signed in to change notification settings - Fork 74.1k
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
Different results from scipy imread and tensorflow decode_jpeg #11623
Comments
I can reproduce the result with exactly the same error using the same image and code. system information
printed a small portion of the results
|
We use libjpeg. I am not sure what your application is. If you really need this, I would recommend writing your own op on top of pillow. I am going to close this, since I don't think it warrants changing the TF core. |
I think the reason for this difference is that Tensorflow used fast integer DCT as a default decode jpeg image
|
Oh yes, I remember some discussion about that. I think we change the default but the other version is available through options. |
Problem Description
Image decoded using decode_jpeg from tensor flow is visually similar, but numerically different from one returned by scipy imread.
Minimal Example:
System information
The text was updated successfully, but these errors were encountered: