-
Notifications
You must be signed in to change notification settings - Fork 2
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
add confidence to OCR result #1
Comments
we can add something that would output some kind of confidence on the character level, however on the line level that would leave us with multiple options on how to handle that. |
Yes, it would have little value because you would need to pair the score with the line length. Also, I have not seen it implemented as a multiplication – anywhere ever.
Yes, that's what everyone seems to use. As an alternative, one could calculate the perplexity... |
mean average is a good option imo |
Thanks a lot! |
https://github.com/MegaloPat/ocrd_froc/blob/4c207eb708235bf6a7696e6feed62630e08c20b1/ocrd_froc/processor.py#L91
Would that be possible? (I guess we would first have to factor out the
sum(torch.max(out, 2))
ofrun_cocr
,run_selocr
andrun_adaptive
, right?)The text was updated successfully, but these errors were encountered: