Skip to content

OCR result variations: saving vs. in-memory processing #89

Answered by robertknight
wsyxbcl asked this question in Q&A
Discussion options

You must be logged in to vote

Does it make a difference if you save as PNG rather than JPEG format? PNG is a lossless format whereas JPEG is lossy. If the model is uncertain about a particular character, so that different letters have very close probabilities, then it is possible that JPEG compression might cause the choice to flip between the different outputs.

If you can upload an example of the cropped image in both PNG and JPEG formats I might be able to confirm if that is what is happening.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@wsyxbcl
Comment options

@robertknight
Comment options

Answer selected by wsyxbcl
@wsyxbcl
Comment options

@robertknight
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants