Community

FineReader Engine consumes too many resources

Good Morning,

I have a problem when I process some documents.

FineReader Engine SDK uses too many resources from my machine and causes a slowdown of other processes.

There are any way to limit the amount of resourses used in this process?

Thank you.

Kind Regards.

Was this article helpful?

0 out of 0 found this helpful

Comments

1 comment

  • Avatar
    Permanently deleted user

    I can suggest three methods:

    1) Limit the number of recognition processes, so that FineReader Engine will be unable to use more than 1 CPU cores for OCR 

    MultiProcessingParams.RecognitionProcessesCount = 1

    2) If that will not free up enough resources, you may force your application to slow down OCR speed by adding Thread.Sleep() call to OnProgress Method of the IFRDocumentEvents Interface. 

    Please refer "EventsHandling" code sample to figure out how to use OnProgress() method. If you would sleep for a few milliseconds after each OCR callback, then other processes will have more room in terms of CPU resources.

    3) You may fasten the recognition speed by the cost of recognition quality. 

    RecognizerParams.BalancedMode = true
    ObjectsExtractionParams.FastObjectsExtraction = true

    For good-quality grayscale or color 300+dpi scans, the quality deterioration will be insignificant.

    RecognizerParams.FastMode = true;
    ObjectsExtractionParams.FastObjectsExtraction = true;

    will perform even faster, but the quality would be deteriorated. 

    The full list of recommendation can be found at "Guided Tour > Best Practices > Increasing Processing Speed"

    0

Please sign in to leave a comment.