You are viewing limited content. For full access, please sign in.

Question

Question

Would like to decrease the default settings for when OCR timesout in the Client?

asked on April 2, 2015 Show version history

After we run several thousand docs through the DCC to get OCR'd, there remain a few docs that only had "some" pages  OCR'd and not all. This requires the user to manually process these docs through the Laserfiche client to get as many pages OCR'd as he can. However, if there is an issue with a page that cannot be recognized or OCR'd, it takes up to 10 minutes for the OCR to timeout. 

For every page that can’t be recognized, it takes 10 minutes for the OCR engine to give up on that page and move to the next page of the doc. If I’ve got 10 bad (unrecognizable) pages in a doc then I could be waiting nearly two hours for a single document to process, and because the client is single-threaded (only processes one file at a time), if I select 10 files to OCR and the first one has the bad pages, then it’s almost two hours before the next file even has a chance to run.

 

Where would we change the OCR default settings to reduce the timeout from 10 minutes to 1 minutes per page? 

0 0

Answer

SELECTED ANSWER
replied on April 2, 2015

Try creating a DWord registry value called ProcessTimeOut under HKCU\Software\Laserfiche\Client8\Profile\OCR\. It would have be done for the service user DCC is running as on the worker machines. You can set the value in minutes. The default is 10, which is the behavior you're seeing.

0 0
replied on June 1, 2017

Do you know if this will work for DCC OCRing with the local system account?

[HKEY_LOCAL_MACHINE\SOFTWARE\Laserfiche\Client8\Profile\OCR]
"ProcessTimeOut"=dword:00000004

Setting 4 min timeout.

0 0

Replies

replied on May 27, 2016

We have a customer that needs Quick Fields OCR tasks to timeout faster, is there a registry key I can use to accomplish that?

0 0
replied on May 27, 2016

The specified value is used if present. The default of 10 minutes applies for when the key is not present.

0 0
replied on June 6, 2018

Is this still valid? I've tried adding this registry key and it doesn't work. It's still defaulting to 10 mins.

0 0
replied on June 6, 2018

Yes, it's still valid. Make sure you put the registry key under HKEY_Current_User.

0 0
replied on June 7, 2018

Should I make the folders if they don't exist, because I couldn't find it under the current user.

2018-06-07_11-29-49.png
0 0
replied on June 7, 2018

I guess a better question is if it goes on the scheduler or each worker or both?

0 0
replied on June 7, 2018 Show version history

Yes, you can create the path.

 

0 0
replied on June 7, 2018

Oh I saw DCC in the OP. But yes, I'm using DCC.

0 0
replied on June 7, 2018 Show version history

Sorry about that, I misread it.

But also, as of 9.2, DCC has a OCR task timeout in a config file. This should override the OCR registry key.

The file is OCRConfig.xml and it's in DCC's install directory under Modules (by default, C:\Program Files (x86)\Laserfiche\Distributed Computing Cluster\Modules\OCREntry). The value is in seconds.

<OcrOperationTimeoutInSeconds>600</OcrOperationTimeoutInSeconds>

You'd want to update this on the workers.

0 0
replied on June 7, 2018

I tried changing that before and it didn't do anything but let me mess with it again. It should be done to the workers, correct? Thanks!

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.