Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Monday, September 28, 2009 8:01:16 PM(UTC)

KJS  
KJS

Groups: Registered
Posts: 7


I am runnning 2 OCR process in one PC.
What is happening is that OCR process A gets the result of what OCR process B gets, if these two process works at the exact same time.
I guess this is memory sharing problem LEADTOOLS has.

Frankly speaking, I am trying to apply LOCK management on this methos in order to avoid this problem.
Is this desirable way to get correct OCR result??

Please help.

---------------------------

** if this method is conccurently called in OCR process A and OCR process B, unexpected OCR results come..


string OCRZone(Rectangle rect)
{
        ....

 strOCRCode = _document.Pages[0].RecognizeText(null);     // ArgumentNullException occrred !!!

}

 


 

 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Monday, September 28, 2009 11:55:33 PM(UTC)

Adnan Ismail  
Guest

Groups: Guests
Posts: 3,022

Was thanked: 2 time(s) in 2 post(s)

Can you specify which version of LEADTOOLS (v14.5, v15, v16.5, etc.) are you using?
 
#3 Posted : Tuesday, September 29, 2009 12:42:09 AM(UTC)

KJS  
KJS

Groups: Registered
Posts: 7


LEADTOOLS V.16.5

 
#4 Posted : Tuesday, September 29, 2009 5:51:30 AM(UTC)

Adnan Ismail  
Guest

Groups: Guests
Posts: 3,022

Was thanked: 2 time(s) in 2 post(s)

If the application uses multi-threading, you must register the Thunk Server on the machine that has the OCR engine and enable it by passing True to the CreateEngine Method.
To check the LEADTOOLS Thunk Server utility and register it on your machine, please check the help topic "LEADTOOLS Thunk Server".
Also, if you are using the OCR Plus engine, make sure that you are creating 2 different recognition data file (RDF) for each process.
 
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2020, Yet Another Forum.NET
This page was generated in 0.054 seconds.