Emgu TF is a cross platform .Net wrapper for the Google Tensorflow library. Allows Tensorflow functions to be called from .NET compatible languages such as C#, VB, VC++, IronPython.
I am trying to use the PDFRenderer on Windows/.NET Standard 2.0 to generate a searchable PDF from image. When I use the PDFRenderer to create the PDF, a zero byte file is created. I followed the sample code in the test cases for OCR:
using (PDFRenderer pdfRenderer = new PDFRenderer("abc.pdf", "./", false))
using (Pix imgPix = new Pix(img.Mat))
{
ocr.ProcessPage(imgPix, 1, "img", null, 100000, pdfRenderer);
}
I noticed that in recent check-ins of the code that this test case is commented out. Is the PDFRenderer broken?
I am trying to use the PDFRenderer on Windows/.NET Standard 2.0 to generate a searchable PDF from image. When I use the PDFRenderer to create the PDF, a zero byte file is created. I followed the sample code in the test cases for OCR:
using (PDFRenderer pdfRenderer = new PDFRenderer("abc.pdf", "./", false)) using (Pix imgPix = new Pix(img.Mat)) { ocr.ProcessPage(imgPix, 1, "img", null, 100000, pdfRenderer); }
I noticed that in recent check-ins of the code that this test case is commented out. Is the PDFRenderer broken?