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



Last Go to last post Unread Go to first unread post
#1 Posted : Friday, July 6, 2012 6:17:23 AM(UTC)


Groups: Registered
Posts: 9

Hello, I want a webservice to host my OCR process so it is done on a server. At this time it works, but every call I'm creating the engine object which takes a lot of time. So I thought I could store the engine object in my class and re-use it, but that seems to cause problems when multiple calls are fired at once.

So now I was wondering: what are the best practices on this, and how can I make sure the performance is optimal vs a stable solution? Thanks.

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 : Sunday, July 8, 2012 5:31:26 AM(UTC)


Groups: Guests
Posts: 3,022

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

The time-consuming part is usually the recognition process and not creating the engine.

If you're using the Advantage OCR engine, it should work properly in a multi-threaded environment.

However, if you use the Plus or Professional OCR engines, they will need you to enable the thunk layer.

For details, see our OCR Multi-Threading demo shipped with the toolkit.
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.050 seconds.