Search Results for

    Show / Hide Table of Contents

    Interface ILibTesseract

    Namespace: DynamicTesseract
    Assembly: IronOcr.dll
    Syntax
    public interface ILibTesseract

    Methods

    BaseAPIAnalyseLayout(HandleRef)

    Declaration
    IntPtr BaseAPIAnalyseLayout(HandleRef handle)
    Parameters
    Type Name Description
    System.Runtime.InteropServices.HandleRef handle
    Returns
    Type Description
    System.IntPtr

    BaseAPIClear(HandleRef)

    Declaration
    void BaseAPIClear(HandleRef handle)
    Parameters
    Type Name Description
    System.Runtime.InteropServices.HandleRef handle

    BaseApiCreate()

    Declaration
    IntPtr BaseApiCreate()
    Returns
    Type Description
    System.IntPtr

    BaseApiDelete(HandleRef)

    Declaration
    void BaseApiDelete(HandleRef ptr)
    Parameters
    Type Name Description
    System.Runtime.InteropServices.HandleRef ptr

    BaseApiGetBoolVariable(HandleRef, String, out Int32)

    Declaration
    int BaseApiGetBoolVariable(HandleRef handle, string name, out int value)
    Parameters
    Type Name Description
    System.Runtime.InteropServices.HandleRef handle
    System.String name
    System.Int32 value
    Returns
    Type Description
    System.Int32

    BaseApiGetBoxTextInternal(HandleRef, Int32)

    Declaration
    IntPtr BaseApiGetBoxTextInternal(HandleRef handle, int pageNum)
    Parameters
    Type Name Description
    System.Runtime.InteropServices.HandleRef handle
    System.Int32 pageNum
    Returns
    Type Description
    System.IntPtr

    BaseAPIGetComponentImages(HandleRef, PageIteratorLevel, Int32, IntPtr, IntPtr)

    Declaration
    IntPtr BaseAPIGetComponentImages(HandleRef handle, PageIteratorLevel level, int text_only, IntPtr pixa, IntPtr blockids)
    Parameters
    Type Name Description
    System.Runtime.InteropServices.HandleRef handle
    PageIteratorLevel level
    System.Int32 text_only
    System.IntPtr pixa
    System.IntPtr blockids
    Returns
    Type Description
    System.IntPtr

    BaseAPIGetDatapath(HandleRef)

    Declaration
    string BaseAPIGetDatapath(HandleRef handle)
    Parameters
    Type Name Description
    System.Runtime.InteropServices.HandleRef handle
    Returns
    Type Description
    System.String

    BaseApiGetDoubleVariable(HandleRef, String, out Double)

    Declaration
    int BaseApiGetDoubleVariable(HandleRef handle, string name, out double value)
    Parameters
    Type Name Description
    System.Runtime.InteropServices.HandleRef handle
    System.String name
    System.Double value
    Returns
    Type Description
    System.Int32

    BaseApiGetHOCRTextInternal(HandleRef, Int32)

    Declaration
    IntPtr BaseApiGetHOCRTextInternal(HandleRef handle, int pageNum)
    Parameters
    Type Name Description
    System.Runtime.InteropServices.HandleRef handle
    System.Int32 pageNum
    Returns
    Type Description
    System.IntPtr

    BaseApiGetIntVariable(HandleRef, String, out Int32)

    Declaration
    int BaseApiGetIntVariable(HandleRef handle, string name, out int value)
    Parameters
    Type Name Description
    System.Runtime.InteropServices.HandleRef handle
    System.String name
    System.Int32 value
    Returns
    Type Description
    System.Int32

    BaseApiGetIterator(HandleRef)

    Declaration
    IntPtr BaseApiGetIterator(HandleRef handle)
    Parameters
    Type Name Description
    System.Runtime.InteropServices.HandleRef handle
    Returns
    Type Description
    System.IntPtr

    BaseAPIGetPageSegMode(HandleRef)

    Declaration
    PageSegMode BaseAPIGetPageSegMode(HandleRef handle)
    Parameters
    Type Name Description
    System.Runtime.InteropServices.HandleRef handle
    Returns
    Type Description
    PageSegMode

    BaseApiGetStringVariableInternal(HandleRef, String)

    Declaration
    IntPtr BaseApiGetStringVariableInternal(HandleRef handle, string name)
    Parameters
    Type Name Description
    System.Runtime.InteropServices.HandleRef handle
    System.String name
    Returns
    Type Description
    System.IntPtr

    BaseAPIGetThresholdedImage(HandleRef)

    Declaration
    IntPtr BaseAPIGetThresholdedImage(HandleRef handle)
    Parameters
    Type Name Description
    System.Runtime.InteropServices.HandleRef handle
    Returns
    Type Description
    System.IntPtr

    BaseApiGetUNLVTextInternal(HandleRef)

    Declaration
    IntPtr BaseApiGetUNLVTextInternal(HandleRef handle)
    Parameters
    Type Name Description
    System.Runtime.InteropServices.HandleRef handle
    Returns
    Type Description
    System.IntPtr

    BaseAPIGetUTF8TextInternal(HandleRef)

    Declaration
    IntPtr BaseAPIGetUTF8TextInternal(HandleRef handle)
    Parameters
    Type Name Description
    System.Runtime.InteropServices.HandleRef handle
    Returns
    Type Description
    System.IntPtr

    BaseApiInit(HandleRef, String, String, Int32, String[], Int32, String[], String[], UIntPtr, Boolean)

    Declaration
    int BaseApiInit(HandleRef handle, string datapath, string language, int mode, string[] configs, int configs_size, string[] vars_vec, string[] vars_values, UIntPtr vars_vec_size, bool set_only_non_debug_params)
    Parameters
    Type Name Description
    System.Runtime.InteropServices.HandleRef handle
    System.String datapath
    System.String language
    System.Int32 mode
    System.String[] configs
    System.Int32 configs_size
    System.String[] vars_vec
    System.String[] vars_values
    System.UIntPtr vars_vec_size
    System.Boolean set_only_non_debug_params
    Returns
    Type Description
    System.Int32

    BaseAPIMeanTextConf(HandleRef)

    Declaration
    int BaseAPIMeanTextConf(HandleRef handle)
    Parameters
    Type Name Description
    System.Runtime.InteropServices.HandleRef handle
    Returns
    Type Description
    System.Int32

    BaseApiPrintVariablesToFile(HandleRef, String)

    Declaration
    int BaseApiPrintVariablesToFile(HandleRef handle, string filename)
    Parameters
    Type Name Description
    System.Runtime.InteropServices.HandleRef handle
    System.String filename
    Returns
    Type Description
    System.Int32

    BaseApiRecognize(HandleRef, HandleRef)

    Declaration
    int BaseApiRecognize(HandleRef handle, HandleRef monitor)
    Parameters
    Type Name Description
    System.Runtime.InteropServices.HandleRef handle
    System.Runtime.InteropServices.HandleRef monitor
    Returns
    Type Description
    System.Int32

    BaseApiSetDebugVariable(HandleRef, String, IntPtr)

    Declaration
    int BaseApiSetDebugVariable(HandleRef handle, string name, IntPtr valPtr)
    Parameters
    Type Name Description
    System.Runtime.InteropServices.HandleRef handle
    System.String name
    System.IntPtr valPtr
    Returns
    Type Description
    System.Int32

    BaseApiSetImage(HandleRef, HandleRef)

    Declaration
    void BaseApiSetImage(HandleRef handle, HandleRef pixHandle)
    Parameters
    Type Name Description
    System.Runtime.InteropServices.HandleRef handle
    System.Runtime.InteropServices.HandleRef pixHandle

    BaseApiSetInputName(HandleRef, String)

    Declaration
    void BaseApiSetInputName(HandleRef handle, string value)
    Parameters
    Type Name Description
    System.Runtime.InteropServices.HandleRef handle
    System.String value

    BaseAPISetInputName(HandleRef, String)

    Declaration
    void BaseAPISetInputName(HandleRef handle, string name)
    Parameters
    Type Name Description
    System.Runtime.InteropServices.HandleRef handle
    System.String name

    BaseAPISetOutputName(HandleRef, String)

    Declaration
    void BaseAPISetOutputName(HandleRef handle, string name)
    Parameters
    Type Name Description
    System.Runtime.InteropServices.HandleRef handle
    System.String name

    BaseAPISetPageSegMode(HandleRef, PageSegMode)

    Declaration
    void BaseAPISetPageSegMode(HandleRef handle, PageSegMode mode)
    Parameters
    Type Name Description
    System.Runtime.InteropServices.HandleRef handle
    PageSegMode mode

    BaseApiSetRectangle(HandleRef, Int32, Int32, Int32, Int32)

    Declaration
    void BaseApiSetRectangle(HandleRef handle, int left, int top, int width, int height)
    Parameters
    Type Name Description
    System.Runtime.InteropServices.HandleRef handle
    System.Int32 left
    System.Int32 top
    System.Int32 width
    System.Int32 height

    BaseApiSetVariable(HandleRef, String, IntPtr)

    Declaration
    int BaseApiSetVariable(HandleRef handle, string name, IntPtr valPtr)
    Parameters
    Type Name Description
    System.Runtime.InteropServices.HandleRef handle
    System.String name
    System.IntPtr valPtr
    Returns
    Type Description
    System.Int32

    BoxTextRendererCreate(String)

    Declaration
    IntPtr BoxTextRendererCreate(string outputbase)
    Parameters
    Type Name Description
    System.String outputbase
    Returns
    Type Description
    System.IntPtr

    ChoiceIteratorDelete(HandleRef)

    Declaration
    void ChoiceIteratorDelete(HandleRef handle)
    Parameters
    Type Name Description
    System.Runtime.InteropServices.HandleRef handle

    ChoiceIteratorGetConfidence(HandleRef)

    Declaration
    float ChoiceIteratorGetConfidence(HandleRef handle)
    Parameters
    Type Name Description
    System.Runtime.InteropServices.HandleRef handle
    Returns
    Type Description
    System.Single

    ChoiceIteratorGetUTF8TextInternal(HandleRef)

    Declaration
    IntPtr ChoiceIteratorGetUTF8TextInternal(HandleRef handle)
    Parameters
    Type Name Description
    System.Runtime.InteropServices.HandleRef handle
    Returns
    Type Description
    System.IntPtr

    ChoiceIteratorNext(HandleRef)

    Declaration
    int ChoiceIteratorNext(HandleRef handle)
    Parameters
    Type Name Description
    System.Runtime.InteropServices.HandleRef handle
    Returns
    Type Description
    System.Int32

    DeleteIntArray(IntPtr)

    Declaration
    void DeleteIntArray(IntPtr arr)
    Parameters
    Type Name Description
    System.IntPtr arr

    DeleteResultRenderer(HandleRef)

    Declaration
    void DeleteResultRenderer(HandleRef renderer)
    Parameters
    Type Name Description
    System.Runtime.InteropServices.HandleRef renderer

    DeleteText(IntPtr)

    Declaration
    void DeleteText(IntPtr textPtr)
    Parameters
    Type Name Description
    System.IntPtr textPtr

    DeleteTextArray(IntPtr)

    Declaration
    void DeleteTextArray(IntPtr arr)
    Parameters
    Type Name Description
    System.IntPtr arr

    GetVersion()

    Declaration
    string GetVersion()
    Returns
    Type Description
    System.String

    HOcrRendererCreate(String)

    Declaration
    IntPtr HOcrRendererCreate(string outputbase)
    Parameters
    Type Name Description
    System.String outputbase
    Returns
    Type Description
    System.IntPtr

    HOcrRendererCreate2(String, Int32)

    Declaration
    IntPtr HOcrRendererCreate2(string outputbase, int font_info)
    Parameters
    Type Name Description
    System.String outputbase
    System.Int32 font_info
    Returns
    Type Description
    System.IntPtr

    PageIteratorBaseline(HandleRef, PageIteratorLevel, out Int32, out Int32, out Int32, out Int32)

    Declaration
    int PageIteratorBaseline(HandleRef handle, PageIteratorLevel level, out int x1, out int y1, out int x2, out int y2)
    Parameters
    Type Name Description
    System.Runtime.InteropServices.HandleRef handle
    PageIteratorLevel level
    System.Int32 x1
    System.Int32 y1
    System.Int32 x2
    System.Int32 y2
    Returns
    Type Description
    System.Int32

    PageIteratorBegin(HandleRef)

    Declaration
    void PageIteratorBegin(HandleRef handle)
    Parameters
    Type Name Description
    System.Runtime.InteropServices.HandleRef handle

    PageIteratorBlockType(HandleRef)

    Declaration
    PolyBlockType PageIteratorBlockType(HandleRef handle)
    Parameters
    Type Name Description
    System.Runtime.InteropServices.HandleRef handle
    Returns
    Type Description
    PolyBlockType

    PageIteratorBoundingBox(HandleRef, PageIteratorLevel, out Int32, out Int32, out Int32, out Int32)

    Declaration
    int PageIteratorBoundingBox(HandleRef handle, PageIteratorLevel level, out int left, out int top, out int right, out int bottom)
    Parameters
    Type Name Description
    System.Runtime.InteropServices.HandleRef handle
    PageIteratorLevel level
    System.Int32 left
    System.Int32 top
    System.Int32 right
    System.Int32 bottom
    Returns
    Type Description
    System.Int32

    PageIteratorCopy(HandleRef)

    Declaration
    IntPtr PageIteratorCopy(HandleRef handle)
    Parameters
    Type Name Description
    System.Runtime.InteropServices.HandleRef handle
    Returns
    Type Description
    System.IntPtr

    PageIteratorDelete(HandleRef)

    Declaration
    void PageIteratorDelete(HandleRef handle)
    Parameters
    Type Name Description
    System.Runtime.InteropServices.HandleRef handle

    PageIteratorGetBinaryImage(HandleRef, PageIteratorLevel)

    Declaration
    IntPtr PageIteratorGetBinaryImage(HandleRef handle, PageIteratorLevel level)
    Parameters
    Type Name Description
    System.Runtime.InteropServices.HandleRef handle
    PageIteratorLevel level
    Returns
    Type Description
    System.IntPtr

    PageIteratorGetImage(HandleRef, PageIteratorLevel, Int32, HandleRef, out Int32, out Int32)

    Declaration
    IntPtr PageIteratorGetImage(HandleRef handle, PageIteratorLevel level, int padding, HandleRef originalImage, out int left, out int top)
    Parameters
    Type Name Description
    System.Runtime.InteropServices.HandleRef handle
    PageIteratorLevel level
    System.Int32 padding
    System.Runtime.InteropServices.HandleRef originalImage
    System.Int32 left
    System.Int32 top
    Returns
    Type Description
    System.IntPtr

    PageIteratorIsAtBeginningOf(HandleRef, PageIteratorLevel)

    Declaration
    int PageIteratorIsAtBeginningOf(HandleRef handle, PageIteratorLevel level)
    Parameters
    Type Name Description
    System.Runtime.InteropServices.HandleRef handle
    PageIteratorLevel level
    Returns
    Type Description
    System.Int32

    PageIteratorIsAtFinalElement(HandleRef, PageIteratorLevel, PageIteratorLevel)

    Declaration
    int PageIteratorIsAtFinalElement(HandleRef handle, PageIteratorLevel level, PageIteratorLevel element)
    Parameters
    Type Name Description
    System.Runtime.InteropServices.HandleRef handle
    PageIteratorLevel level
    PageIteratorLevel element
    Returns
    Type Description
    System.Int32

    PageIteratorNext(HandleRef, PageIteratorLevel)

    Declaration
    int PageIteratorNext(HandleRef handle, PageIteratorLevel level)
    Parameters
    Type Name Description
    System.Runtime.InteropServices.HandleRef handle
    PageIteratorLevel level
    Returns
    Type Description
    System.Int32

    PageIteratorOrientation(HandleRef, out Orientation, out WritingDirection, out TextLineOrder, out Single)

    Declaration
    void PageIteratorOrientation(HandleRef handle, out Orientation orientation, out WritingDirection writing_direction, out TextLineOrder textLineOrder, out float deskew_angle)
    Parameters
    Type Name Description
    System.Runtime.InteropServices.HandleRef handle
    Orientation orientation
    WritingDirection writing_direction
    TextLineOrder textLineOrder
    System.Single deskew_angle

    PDFRendererCreate(String, IntPtr, Int32)

    Declaration
    IntPtr PDFRendererCreate(string outputbase, IntPtr datadir, int textonly)
    Parameters
    Type Name Description
    System.String outputbase
    System.IntPtr datadir
    System.Int32 textonly
    Returns
    Type Description
    System.IntPtr

    ResultIteratorCopy(HandleRef)

    Declaration
    IntPtr ResultIteratorCopy(HandleRef handle)
    Parameters
    Type Name Description
    System.Runtime.InteropServices.HandleRef handle
    Returns
    Type Description
    System.IntPtr

    ResultIteratorDelete(HandleRef)

    Declaration
    void ResultIteratorDelete(HandleRef handle)
    Parameters
    Type Name Description
    System.Runtime.InteropServices.HandleRef handle

    ResultIteratorGetChoiceIterator(HandleRef)

    Declaration
    IntPtr ResultIteratorGetChoiceIterator(HandleRef handle)
    Parameters
    Type Name Description
    System.Runtime.InteropServices.HandleRef handle
    Returns
    Type Description
    System.IntPtr

    ResultIteratorGetConfidence(HandleRef, PageIteratorLevel)

    Declaration
    float ResultIteratorGetConfidence(HandleRef handle, PageIteratorLevel level)
    Parameters
    Type Name Description
    System.Runtime.InteropServices.HandleRef handle
    PageIteratorLevel level
    Returns
    Type Description
    System.Single

    ResultIteratorGetPageIterator(HandleRef)

    Declaration
    IntPtr ResultIteratorGetPageIterator(HandleRef handle)
    Parameters
    Type Name Description
    System.Runtime.InteropServices.HandleRef handle
    Returns
    Type Description
    System.IntPtr

    ResultIteratorGetUTF8TextInternal(HandleRef, PageIteratorLevel)

    Declaration
    IntPtr ResultIteratorGetUTF8TextInternal(HandleRef handle, PageIteratorLevel level)
    Parameters
    Type Name Description
    System.Runtime.InteropServices.HandleRef handle
    PageIteratorLevel level
    Returns
    Type Description
    System.IntPtr

    ResultIteratorSymbolIsDropcap(HandleRef)

    Declaration
    bool ResultIteratorSymbolIsDropcap(HandleRef handle)
    Parameters
    Type Name Description
    System.Runtime.InteropServices.HandleRef handle
    Returns
    Type Description
    System.Boolean

    ResultIteratorSymbolIsSubscript(HandleRef)

    Declaration
    bool ResultIteratorSymbolIsSubscript(HandleRef handle)
    Parameters
    Type Name Description
    System.Runtime.InteropServices.HandleRef handle
    Returns
    Type Description
    System.Boolean

    ResultIteratorSymbolIsSuperscript(HandleRef)

    Declaration
    bool ResultIteratorSymbolIsSuperscript(HandleRef handle)
    Parameters
    Type Name Description
    System.Runtime.InteropServices.HandleRef handle
    Returns
    Type Description
    System.Boolean

    ResultIteratorWordFontAttributes(HandleRef, out Boolean, out Boolean, out Boolean, out Boolean, out Boolean, out Boolean, out Int32, out Int32)

    Declaration
    IntPtr ResultIteratorWordFontAttributes(HandleRef handle, out bool isBold, out bool isItalic, out bool isUnderlined, out bool isMonospace, out bool isSerif, out bool isSmallCaps, out int pointSize, out int fontId)
    Parameters
    Type Name Description
    System.Runtime.InteropServices.HandleRef handle
    System.Boolean isBold
    System.Boolean isItalic
    System.Boolean isUnderlined
    System.Boolean isMonospace
    System.Boolean isSerif
    System.Boolean isSmallCaps
    System.Int32 pointSize
    System.Int32 fontId
    Returns
    Type Description
    System.IntPtr

    ResultIteratorWordIsFromDictionary(HandleRef)

    Declaration
    bool ResultIteratorWordIsFromDictionary(HandleRef handle)
    Parameters
    Type Name Description
    System.Runtime.InteropServices.HandleRef handle
    Returns
    Type Description
    System.Boolean

    ResultIteratorWordIsNumeric(HandleRef)

    Declaration
    bool ResultIteratorWordIsNumeric(HandleRef handle)
    Parameters
    Type Name Description
    System.Runtime.InteropServices.HandleRef handle
    Returns
    Type Description
    System.Boolean

    ResultIteratorWordRecognitionLanguageInternal(HandleRef)

    Declaration
    IntPtr ResultIteratorWordRecognitionLanguageInternal(HandleRef handle)
    Parameters
    Type Name Description
    System.Runtime.InteropServices.HandleRef handle
    Returns
    Type Description
    System.IntPtr

    ResultRendererAddImage(HandleRef, HandleRef)

    Declaration
    int ResultRendererAddImage(HandleRef renderer, HandleRef api)
    Parameters
    Type Name Description
    System.Runtime.InteropServices.HandleRef renderer
    System.Runtime.InteropServices.HandleRef api
    Returns
    Type Description
    System.Int32

    ResultRendererBeginDocument(HandleRef, IntPtr)

    Declaration
    int ResultRendererBeginDocument(HandleRef renderer, IntPtr titlePtr)
    Parameters
    Type Name Description
    System.Runtime.InteropServices.HandleRef renderer
    System.IntPtr titlePtr
    Returns
    Type Description
    System.Int32

    ResultRendererEndDocument(HandleRef)

    Declaration
    int ResultRendererEndDocument(HandleRef renderer)
    Parameters
    Type Name Description
    System.Runtime.InteropServices.HandleRef renderer
    Returns
    Type Description
    System.Int32

    ResultRendererExtention(HandleRef)

    Declaration
    IntPtr ResultRendererExtention(HandleRef renderer)
    Parameters
    Type Name Description
    System.Runtime.InteropServices.HandleRef renderer
    Returns
    Type Description
    System.IntPtr

    ResultRendererImageNum(HandleRef)

    Declaration
    int ResultRendererImageNum(HandleRef renderer)
    Parameters
    Type Name Description
    System.Runtime.InteropServices.HandleRef renderer
    Returns
    Type Description
    System.Int32

    ResultRendererInsert(HandleRef, HandleRef)

    Declaration
    void ResultRendererInsert(HandleRef renderer, HandleRef next)
    Parameters
    Type Name Description
    System.Runtime.InteropServices.HandleRef renderer
    System.Runtime.InteropServices.HandleRef next

    ResultRendererNext(HandleRef)

    Declaration
    IntPtr ResultRendererNext(HandleRef renderer)
    Parameters
    Type Name Description
    System.Runtime.InteropServices.HandleRef renderer
    Returns
    Type Description
    System.IntPtr

    ResultRendererTitle(HandleRef)

    Declaration
    IntPtr ResultRendererTitle(HandleRef renderer)
    Parameters
    Type Name Description
    System.Runtime.InteropServices.HandleRef renderer
    Returns
    Type Description
    System.IntPtr

    TessBaseAPIDetectOrientationScript(HandleRef, out Int32, out Single, out IntPtr, out Single)

    Declaration
    int TessBaseAPIDetectOrientationScript(HandleRef handle, out int orient_deg, out float orient_conf, out IntPtr script_name, out float script_conf)
    Parameters
    Type Name Description
    System.Runtime.InteropServices.HandleRef handle
    System.Int32 orient_deg
    System.Single orient_conf
    System.IntPtr script_name
    System.Single script_conf
    Returns
    Type Description
    System.Int32

    TextRendererCreate(String)

    Declaration
    IntPtr TextRendererCreate(string outputbase)
    Parameters
    Type Name Description
    System.String outputbase
    Returns
    Type Description
    System.IntPtr

    UnlvRendererCreate(String)

    Declaration
    IntPtr UnlvRendererCreate(string outputbase)
    Parameters
    Type Name Description
    System.String outputbase
    Returns
    Type Description
    System.IntPtr
    ☀
    ☾
    Downloads
    • Download with Nuget
    • Start for Free
    In This Article
    Back to top
    Install with Nuget
    Want to deploy IronOCR to a live project for FREE?
    What’s included?
    30 days of fully-functional product
    Test and share in a live environment
    No watermarks in production
    Get your free 30-day Trial Key instantly.
    No credit card or account creation required
    Your Trial License Key has been emailed to you.
    Download IronOCR free to apply
    your Trial Licenses Key
    Install with NuGet View Licenses
    Licenses from $499. Have a question? Get in touch.