ABBYY FineReaderOCR 如何使用命令行

一、先上实例:

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

FineCMD.exe %1 /lang greek english /send MsWord

文件名最好加上引号,避免文件名中有空格出错

FineCMD.exe "R:\历年考试真题(33页).pdf" /lang Mixed /out “C:\temp\result.pdf” /send Acrobat /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)

三、建议设置(FineReaderOCR.exe

避免ABBYY FineReaderOCR会将横向页分割成了两页

识别语言

如果为了减小保存后PDF的文件大小,同时建议如下设置,文字图像会稍有压缩