Honestly I wouldn't bother with the complex solutions to get precise
progress callbacks - the estimation method based on past scans works really
well. You can see it with ScanBizCards (free versions available for iOS,
iPad, Android): right after you install the app you'll notice that the
progress animation may not be accurate (i.e. the scan may jump to 100%
complete straight from say 70% done or get stuck at 100% done for a second)
but after scanning a couple of cards it will match actual progress quite
well.

Patrick

On Fri, Jan 11, 2013 at 10:26 AM, <[email protected]> wrote:

>  Patrick
>
>    thanks. your idea is sort of good so far.
>
> I roughly looked through the source code and found nothing .
>
>  it seems that there's no event or callback function relative to OCR
> progress .
>
>
>
> On Friday, January 11, 2013 9:45:07 PM UTC+8, Patrick Questembert wrote:
>>
>> I don't know what callback mechanisms exist in Tesseract but you could
>> use the lower-level APIs to first get blocks and rows then do the
>> recognition for each row separately. Or, simpler, just keep track of how
>> long it takes your app to complete the OCR as a function of image size and
>> assume the next image will follow the same performance stats.
>>
>> Patrick
>>
>> On Fri, Jan 11, 2013 at 2:44 AM, <[email protected]> wrote:
>>
>>>
>>> sometime  it takes a long time to run OCR
>>>
>>> so how to  get the progress during OCR?
>>>
>>> thanks !
>>>
>>> I'm using Tesseract3.02    win7 b4bit VS2010
>>>
>>>
>>>  --
>>> You received this message because you are subscribed to the Google
>>> Groups "tesseract-ocr" group.
>>> To post to this group, send email to [email protected]
>>> To unsubscribe from this group, send email to
>>> tesseract-oc...@**googlegroups.com
>>> For more options, visit this group at
>>> http://groups.google.com/**group/tesseract-ocr?hl=en<http://groups.google.com/group/tesseract-ocr?hl=en>
>>>
>>
>>
>>
>> --
>> Patrick Questembert, *ScanBizCards*
>> +1-917-250-4177 | www.scanbizcards.com
>> twitter.com/ScanBizCards | 
>> www**.facebook.com/ScanBizCards<http://www.facebook.com/ScanBizCards>
>> Just released: Power Contacts - http://itunes.apple.com/us/**
>> app/power-contacts/**id476986356?mt=8<http://itunes.apple.com/us/app/power-contacts/id476986356?mt=8>
>>
>  --
> You received this message because you are subscribed to the Google
> Groups "tesseract-ocr" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/tesseract-ocr?hl=en
>



-- 
Patrick Questembert, *ScanBizCards*
+1-917-250-4177 | www.scanbizcards.com
twitter.com/ScanBizCards | www.facebook.com/ScanBizCards
Just released: Power Contacts -
http://itunes.apple.com/us/app/power-contacts/id476986356?mt=8

-- 
You received this message because you are subscribed to the Google
Groups "tesseract-ocr" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/tesseract-ocr?hl=en

Reply via email to