Skip to content
This repository has been archived by the owner on Jun 14, 2018. It is now read-only.

Could we get a confidence value by each word? #74

Closed
gbc8181 opened this issue Sep 7, 2017 · 4 comments
Closed

Could we get a confidence value by each word? #74

gbc8181 opened this issue Sep 7, 2017 · 4 comments

Comments

@gbc8181
Copy link

gbc8181 commented Sep 7, 2017

Hi everyone,

I just noticed that we can get a confidence value of each word by Tesseract API. So I want to know if pyocr can also give us a confidence value of each word? If so, how to do that?

Thanks so much!

@jflesch
Copy link
Member

jflesch commented Sep 7, 2017

Are we talking about the command line tool tesseract or the library libtesseract ?

@gbc8181
Copy link
Author

gbc8181 commented Sep 7, 2017

I mean tesseract API. APIxample (https://github.com/tesseract-ocr/tesseract/wiki/APIExample) shows they have this function.

@jflesch
Copy link
Member

jflesch commented Sep 7, 2017

Right now it can't.
pyocr.libtesseract could be updated to add the support for that I guess.

@jflesch
Copy link
Member

jflesch commented Nov 30, 2017

Implemented by @a-pagano : #86 :-)

@jflesch jflesch closed this as completed Nov 30, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants