Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

abbyy finereader.exe looking for cmd commands to use in other programms

I just bought abbyy finereader 11 copr to rund it from another programm, but i cant find any commends to be used for finereader.exe. so without any commands it simply openens and scans but i need to tell it where to save the document and how to name and the to close the app again, also it would be cool to have it as a background task.

like image 343
user1748357 Avatar asked May 05 '13 14:05

user1748357


3 Answers

Hello I saw this msg very late but i m using ABBYY command line for 10years .

I prefer ABBYY 8 because makes same good job faster and does not open any GUI . It comes with FineOCR.exe:

"C:\...\ABBYY FineReader 8\FineOCR.exe" %1 /lang greek english /send MsWord

It does OCR and opens MsWord . FineOCR.txt is a simple help file.

Regarding ABBYY 11,12 (all versions) there is a FineCmd.exe . Using something like:

"c:\...\FineReader\FineCMD.exe" %1 /lang greek english /send MsWord 

does what FineOCR did before (but no .txt help file)

like image 87
Mic X Avatar answered Oct 12 '22 23:10

Mic X


While doing my OCR research project, found one. Works with FR12, didn't tested with earlier versions.

FineCmd.exe PRESS2.TIFF /lang Mixed /out C:\temp\result.txt /quit 

general command line:  <open_keys/scanning> [<recognition_keys>] [<export_keys>] 

  <open_keys/scanning> ::= ImageFiles | /scan [SourceName] | /file [filename1 filename2], where
    ImageFiles - list of files for recognition
    SourceName - images source (scanner); if not specified, current is used
    filename.. -  list of files for recognition

  <recognition_keys> ::= [/lang Language] [/optionsFile OptionsFileName], where
    Language - name of language in English (russian, greek, Mixed)
    OptionsFileName - path to options file

  <export_key> ::= /out ExportFile | /send Target, where
    ExportFile - name of file with extension to save file to
      (txt, rtf, doc, docx, xml, htm(l), xls, xlsx, ppt, pptx, pdf, dbf, csv, lit); 
    Target - name of target app where to open
      (MSWord, MSExcel, WordPro, WordPerfect, StarWriter, Mail, Clipboard, WebBrowser, Acrobat, PowerPoint)

This command opens FR ui, processes the file and then closes it (if you pass argument /quit). FineCmd.exe located in FR directory where you installed it

like image 45
sancheese Avatar answered Oct 13 '22 00:10

sancheese


Version 14 does not save the output file using:

FineCmd.exe PRESS2.TIFF /lang Mixed /out C:\temp\result.txt /quit

or

FineCmd.exe PRESS2.TIFF /lang Mixed /out C:\temp\result.txt

Versions 11 & 12 work well using the above commands (does save the output) but does display the GUI which can be closed using /quit.

Versions 9 & 10 don't come with FineCmd.exe or FineOCR.exe.

Version 8 can OCR and send the output to an application of choice but cannot save using /out. In my experience it does open the GUI.

like image 29
Ivan Avatar answered Oct 12 '22 23:10

Ivan