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 : Tuesday, December 19, 2006 9:52:59 PM(UTC)
Raymond Lee

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

 

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 : Thursday, December 21, 2006 9:25:34 AM(UTC)

Amin  
Amin

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
 
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-2024, Yet Another Forum.NET
This page was generated in 0.061 seconds.