This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Monday, September 28, 2009 8:01:16 PM(UTC)
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 !!!
}
#2
Posted
:
Monday, September 28, 2009 11:55:33 PM(UTC)
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)
Groups: Registered
Posts: 7
#4
Posted
:
Tuesday, September 29, 2009 5:51:30 AM(UTC)
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.