Solid Framework SDK 10.0.12602
SDK for converting and extracting value from PDFs
Public Member Functions | Static Public Member Functions | Properties | List of all members
SolidFramework.Imaging.Ocr Class Reference
Inheritance diagram for SolidFramework.Imaging.Ocr:

Public Member Functions

virtual void Dispose ()
 
 Ocr ()
 Initializes a new instance of the Ocr class.
 
 Ocr (string languageCode)
 Initializes a new instance of the Ocr class. More...
 
void AddWord (string customWord)
 Adds a word to the custom dictionary for the lifetime of this Ocr session. Useful for domain specific names or terminology. More...
 
global::System.IntPtr GetOcrEngine ()
 
SolidFramework.Imaging.OcrResults Process (SolidFramework.Imaging.Image image)
 Processes the specified image. More...
 
bool Equals (SolidFramework.Imaging.Ocr other)
 
override bool Equals (object obj)
 
override int GetHashCode ()
 

Static Public Member Functions

static string NormalizeOcrLanguage (string language)
 
static bool operator== (SolidFramework.Imaging.Ocr obj1, SolidFramework.Imaging.Ocr obj2)
 
static bool operator!= (SolidFramework.Imaging.Ocr obj1, SolidFramework.Imaging.Ocr obj2)
 

Properties

static SolidFramework.StringsArray Languages [get]
 
string this[int index] [get]
 
static string TesseractDataDirectoryLocation [getset]
 
int Count [get]
 
bool TextRecoverySuspects [getset]
 Gets or sets a value indicating whether to highlight low confidence words (any word with OcrWord.Confidence less than 100) in the OCR output in yellow. More...
 

Constructor & Destructor Documentation

◆ Ocr()

SolidFramework.Imaging.Ocr.Ocr ( string  languageCode)

Initializes a new instance of the Ocr class.

Parameters
languageCodeThe language code.

Member Function Documentation

◆ AddWord()

void SolidFramework.Imaging.Ocr.AddWord ( string  customWord)

Adds a word to the custom dictionary for the lifetime of this Ocr session. Useful for domain specific names or terminology.

Parameters
customWordThe custom word.

◆ Process()

SolidFramework.Imaging.OcrResults SolidFramework.Imaging.Ocr.Process ( SolidFramework.Imaging.Image  image)

Processes the specified image.

Parameters
imageThe image.
Returns

Property Documentation

◆ TextRecoverySuspects

bool SolidFramework.Imaging.Ocr.TextRecoverySuspects
getset

Gets or sets a value indicating whether to highlight low confidence words (any word with OcrWord.Confidence less than 100) in the OCR output in yellow.

true to mark suspects; otherwise, false.