Stop OCRing

54 views
Skip to first unread message

Саша Карпюк

unread,
Jun 2, 2021, 8:23:32 AM6/2/21
to tesseract-ocr
Hello everybody. 
I work on Android and use Tesseract. 
Is exist any way to stop OCRing? For example, if I set bitmap to TessBaseApi and called getUTF8Text() method - can I stop this procces in another thread? 

Zdenko Podobny

unread,
Jun 2, 2021, 12:30:11 PM6/2/21
to tesser...@googlegroups.com
Have a look at the ETEXT_DESC *monitor (e,.g. [1]). It is usually used for getting progress monitor (e.g. [2] ), but should be used for cancelling progress too according header file.

st 2. 6. 2021 o 14:23 Саша Карпюк <sashaka...@gmail.com> napísal(a):
Hello everybody. 
I work on Android and use Tesseract. 
Is exist any way to stop OCRing? For example, if I set bitmap to TessBaseApi and called getUTF8Text() method - can I stop this procces in another thread? 

--
You received this message because you are subscribed to the Google Groups "tesseract-ocr" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tesseract-oc...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/5cc076b4-8383-4d35-9cc6-dda71ba0b5c0n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages