This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Tuesday, December 19, 2006 9:52:59 PM(UTC)
Groups: Registered
Posts: 30
Hi,
Does anyone has experience to use one thread to do Scanning acquire process and another thread for post-processing on the scanned image data? The reason why we need to do this is that we do not want our kodak scanner to slow down (or even pause) for awaiting the completion of image processing after page acquired, I know that the page acquired method is asynchronous, but it seems that the scanner sometimes slow down after a large batch of
pages scanned (the scan batch is not completed at that time).
I found that even I use one thread for image processing, if the workload of this thread is high, it will still affect the thread for scanning.
Does anyone provide me a solution for this?
Thanks for your kind attention,
Raymond
#2
Posted
:
Thursday, December 21, 2006 9:25:34 AM(UTC)
Groups: Manager, Tech Support
Posts: 367
Was thanked: 1 time(s) in 1 post(s)
Raymond,
You can lower the priority of the thread that does image processing by assigning a value to its Priority property. You can also make it consume less time by frequently calling its Sleep method to make it yield and pass control to other threads.
Amin Dodin
Senior Support Engineer
LEAD Technologies, Inc.
![LEAD Logo LEAD Logo](https://www.leadtools.com/images/new-site-images/leadtools-logo-header.png)
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.