I have a pdf with text and images (scanned) and for obtaining text from pdf
i use ocr tool of laserfiche. Its working fine.
But via sdk laserfiche , ocrengine not working , not obtaing text from images of pdf.
So i use code via sdk snapshot and next ocr via sdk its working fine, but
only client laserfiche is open.
There is code:
using (C_AU.ClientManager clienteLaserFiche = new C_AU.ClientManager())
{
IList<C_AU.ClientWindow> carpetasAbiertas = clienteLaserFiche.GetAllClientWindows(C_AU.ClientWindowType.Main).ToList();
C_AU.MainWindow carpeta = carpetasAbiertas[0] as C_AU.MainWindow;
C_AU.GeneratePagesOptions opcionesCat = new C_AU.GeneratePagesOptions();
opcionesCat.ShowUI = false;
List<int> documentos = new List<int>();
documentos.Add(915);
carpeta.GeneratePages(documentos, opcionesCat);
}
next ocr al id document 915
motorOcr = C_DS.OcrEngine.LoadEngine();
motorOcr.AutoOrient = true;
motorOcr.Decolumnize = true;
motorOcr.OptimizationMode = C_DS.OcrOptimizationMode.Accuracy;
motorOcr.Run(C_RA.Document.GetDocumentInfo(Convert.ToInt32(915),varConexion.varSession));
How extract text from pdf with images (scanned) ? via sdk laserfiche, script workflow, etc?
its possible?
its possible extract text from pdf with images without call client laserfiche snapshot ?