OCRProcessor processor = new OCRProcessor(@"\App_Data\Tesseract binaries\");
PdfLoadedDocument loadedDocument = new PdfLoadedDocument("fed excel.pdf");
processor.Settings.Language = "eng";
processor.PerformOCR(loadedDocument, @"\App_Data\Tessdata\");
loadedDocument.Save("Sample.pdf");
loadedDocument.Close(true);
我正在获取System.exeception
'Tesseract引擎尚未初始化
...在加载Tessdata时。