Welcome to LEAD Support Forum Login | Register | Faq  

    LEAD Support Forum
  Resource to find answers and post technical questions about LEAD products.
Search    
   

Redistributing the Leadtools OCR based Application
Started by shrikantn at 07-03-2008 11:26. Topic has 5 replies.

Print Search « Previous Thread Next Thread »
  07-03-2008, 11:26
shrikantn is not online. Last active: 7/8/2008 7:58:50 AM shrikantn

Not Ranked
Joined on 07-03-2008
Posts 4
Redistributing the Leadtools OCR based Application
Reply Quote
For Redistributing the Leadtools OCR based Application i need following two files
Leadtools.Ocr.dll and
Leadtools.Kernel.Ocr.dll

So where can i get these files on machine where i installed the Leadtools OCR Engine and V15 .NET and COM Wrapper as trial
   Report 
  07-03-2008, 13:10
jigar is not online. Last active: 7/24/2008 12:12:53 PM jigar



Top 10 Posts
Joined on 08-22-2007
Posts 371
Re: Redistributing the Leadtools OCR based Application
Reply Quote
Those two files are from v14.  v15 only needs Leadtools.Document.dll.  The OCR Runtime files can be found in your LEADTOOLS 15\Bin\Common folder or online in our downloads section.  Were you previously using v14?

LEADTOOLS Technical Support
   Report 
  07-04-2008, 2:45
shrikantn is not online. Last active: 7/8/2008 7:58:50 AM shrikantn

Not Ranked
Joined on 07-03-2008
Posts 4
Re: Redistributing the Leadtools OCR based Application
Reply Quote
Thanks for correcting my direction.
no, i have never used v14, i just missed the version while looking into solution.
But Even though i included the all OCR required files,
I am getting following exception (ScanSoft DLLs are not loaded)
Leadtools.Document.RasterDocumentException was unhandled
Message="ScanSoft DLLs are not loaded"
Source="Leadtools.Document"
StackTrace:
at Leadtools.Document.RasterDocumentException.CheckErrorCode(Int32 code)
at Leadtools.Document.RasterDocumentEngine.Startup()
at TestLeadToolsOCR.Program.Main(String[] args) in D:\Shrikant\POC\TestLeadToolsOCR\Program.cs:line 25
at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext.Run)
   Report 
  07-04-2008, 4:13
shrikantn is not online. Last active: 7/8/2008 7:58:50 AM shrikantn

Not Ranked
Joined on 07-03-2008
Posts 4
Re: Redistributing the Leadtools OCR based Application
Reply Quote
I am getting the exception at Raster Document Engine startup
   Report 
  07-07-2008, 11:35
jigar is not online. Last active: 7/24/2008 12:12:53 PM jigar



Top 10 Posts
Joined on 08-22-2007
Posts 371
Re: Redistributing the Leadtools OCR based Application
Reply Quote
Try setting the RasterDocumentEngine.EnginePath to the directory where the OCR files are located.  If you don't have the registry entry for the OCR engine, then you have to specify the engine path.  It is better to do it that way so you don't have to deal with the registry.

LEADTOOLS Technical Support
   Report 
  07-08-2008, 3:11
shrikantn is not online. Last active: 7/8/2008 7:58:50 AM shrikantn

Not Ranked
Joined on 07-03-2008
Posts 4
Re: Redistributing the Leadtools OCR based Application
Reply Quote
Thank you very much,
It works.
   Report 
Post
LEAD Support Fo... » Developer » OCR » Redistributing the Leadtools OCR based Application

Powered by Community Server, by Telligent Systems