Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

how can i lead ocr training interface from my application

My needs are following:

1.

launch “NI OCR Training” application from my application

2. pass to “NI OCR Training” application file name which should be opened from programming point of view, not by manual actions “File/Open image”, etc.

3.

receive feedback from “NI OCR Training” application which charset file is saved

0 Kudos
Message 1 of 2
(3,528 Views)

Hello Zredo,


Since OCR Training is an executable that doesn’t take command line arguments, there is no real way to pass information back and forth between your application and the OCR Training.

However, starting this executable from your application should be no problem.  The NI OCR Training application is an executable normally located at C:\Program Files\National Instruments\Vision\Utility\OCR Training Interface\OCR Training.exe.  Of course, the method of starting it will vary between development environments.  In LabVIEW for example, you would use the System Exec.vi to run the OCR Training program.  


Regards,
Luke H

Message Edited by Luke H on 01-18-2007 03:39 PM

0 Kudos
Message 2 of 2
(3,509 Views)