You are here: GdPicture.NET > Documentation > Classes > GdPictureImaging Class > GdPictureImaging Methods > OCR Extension (Tesseract) > OCRTesseractGetOrientation > OCRTesseractGetOrientation Method (Integer, TesseractDictionary, String)
logo.gif
ContentsIndexHome
PreviousUpNext
GdPictureImaging.OCRTesseractGetOrientation Method (Integer, TesseractDictionary, String)

Tries to determine the orientation of a GdPicture image using the GdPicture Tesseract Plugin.

C#
public RotateFlipType OCRTesseractGetOrientation(
    int ImageID, 
    TesseractDictionary Dictionary, 
    String DictionaryPath
);
Visual Basic
Public Function OCRTesseractGetOrientation(
    ByVal ImageID As Integer, 
    ByVal Dictionary As TesseractDictionary, 
    ByVal DictionaryPath As String
) As RotateFlipType
Parameters
Parameters 
Description 
ImageID 
GdPicture Image Identifier.  
Dictionary 
The dictionary to use. A member of the TesseractDictionary enumeration.  
DictionaryPath 
The path into which the engine can find the dictionary files (see the TesseractDictionary enumeration).  
Returns

A member of the RotateFlipType enumeration. The detected page rotation.

This function requires the optional GdPicture Tesseract Plugin. This Plugin must be unlocked with the SetLicenseNumberOCRTesseract() function.

What do you think about this topic? Send feedback!
Copyright (c) 2009-2011 www.gdpicture.com. All rights reserved.