VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
In This Topic
    VintaSoft OCR .NET Plug-in: API changes in version 12.1
    In This Topic
    Now Tesseract OCR needs "osd.traineddata" OCR dictionary by default because the default value of OcrEngineSettings.RecognitionRegionType property is changed from RecognitionRegionType.RecognizeSingleBlock to RecognitionRegionType.RecognizePageWithPageSegmentationAndOrientationDetection. This change allowed to improve quality of text recognition result.


    API changes in Vintasoft.Imaging.Ocr.dll

    New classes:

    public class Vintasoft.Imaging.Ocr.Results. OcrCleanupSettings Contains the settings, which define how to cleanup the OCR recognize results.


    Changed classes:

    Vintasoft.Imaging.Ocr.Results. OcrDocument
    Added methods
    public bool Cleanup(Vintasoft.Imaging.Ocr.Results. OcrCleanupSettings) Cleanups the current document.


    Vintasoft.Imaging.Ocr.Results. OcrObject
    Added methods
    public void SetBoundingBox(System.Drawing. Rectangle) Sets the bounding box.
    public void Transform(Vintasoft.Imaging. AffineMatrix) Applies a transformation matrix to this OcrObject .


    Vintasoft.Imaging.Ocr.Results. OcrObjectLocation
    Added methods
    public void SetBaseline(int, int, int, int) Sets new baseline.


    Vintasoft.Imaging.Ocr.Results. OcrPage
    Added methods
    public bool Cleanup(Vintasoft.Imaging.Ocr.Results. OcrCleanupSettings) Cleanups the current page.
    public void Transform(Vintasoft.Imaging. AffineMatrix) Applies a transformation matrix to this OcrPage .




    API changes in Vintasoft.Imaging.Ocr.Tesseract.dll

    Changed classes:

    Vintasoft.Imaging.Ocr.Tesseract. TesseractOcrSettings
    Renamed properties
    public bool NonOverlappingSymbolRegions { get ; set ; } public bool UseSymbolRegionsCorrection { get ; set ; }




    API changes in Vintasoft.Imaging.Pdf.Ocr.dll

    New classes:

    public class Vintasoft.Imaging.Pdf.Ocr. OcrImageProcessingEventArgs Provides data for the ImageProcessingStarted and ImageProcessingFinished events.
    public class Vintasoft.Imaging.Pdf.Ocr. OcrPageRecognizedEventArgs Provides data for the OcrPageRecognized event.
    public class Vintasoft.Imaging.Pdf.Ocr. OcrTextOverImageSettings Contains the settings, which define how to build searchable PDF document that contains text over image.
    public class Vintasoft.Imaging.Pdf.Ocr. PdfPageAddedEventArgs Provides data for the PdfPageAdded event.
    public class Vintasoft.Imaging.Pdf.Ocr. SearchablePdfGenerator A processing command that allows to add recognized pages to a searchable PDF document.


    Changed classes:

    Vintasoft.Imaging.Pdf.Ocr. PdfDocumentBuilder
    Added properties
    public Vintasoft.Imaging.Ocr.Results. OcrCleanupSettings CleanupSettings { get ; set ; } Gets or sets the OCR cleanup settings.
    public Vintasoft.Imaging.Pdf.Ocr. OcrTextOverImageSettings TextOverImageSettings { get ; set ; } Gets or sets the OCR text over image settings.
    Added methods
    public void AddPage(Vintasoft.Imaging. VintasoftImage, Vintasoft.Imaging.Ocr.Results. OcrPage, Vintasoft.Imaging.Utils. IProgressController) Adds new page with specified image to a PDF document.
    public void InsertPage(int, Vintasoft.Imaging. VintasoftImage, Vintasoft.Imaging.Ocr.Results. OcrPage, Vintasoft.Imaging.Utils. IProgressController) Inserts new page with specified image to a PDF document.
    public void SetAsBackground(int, Vintasoft.Imaging.Ocr.Results. OcrPage, Vintasoft.Imaging. AffineMatrix, Vintasoft.Imaging.Utils. IProgressController) Sets the OCR page as background layer of PDF page.


    Changed enumerations:

    Vintasoft.Imaging.Pdf.Ocr. PdfPageCreationMode
    Added fields
    public static Vintasoft.Imaging.Pdf.Ocr. PdfPageCreationMode TextOverImage Text over image.