GdPicturePDF.OcrPage() seems to make OCRing of a PDF page much easier. It yet does not support all the settings which are possible with GdPictureImaging's OCR functions.
We have been using OCRTesseractSetPassCount() with the traditional functions. There does not seem to be a way to set the pass count with OcrPage(), however, so we cannot yet use it, and would be grateful if such a possibility was added.
One way to do so would be an overload with an extended parameter list (as suggested by Sami, see support ticket #39610).
Since there are lots of other settings as well, however, e.g. the OCR context and the Tesseract variables, it does not seem to be good to provide overloads for all these possibilities.
So, in order to provide GdPicture.OcrPage() with all the functionality given with GdPictureImaging, I suggest to add setter functions to GdPicturePDF in the same way as they exist in GdPictureImaging, i.e. OCRTesseractSetPassCount(), OCRTesseractSetOCRContext(), OCRTesseractSetVariable() etc.
Who is online
Users browsing this forum: No registered users and 1 guest