Click or drag to resize
TesseractOcrInitParamsLanguage Property
The language to use by the Ocr engine (language dictionary first 3 chars). The language is(usually) an ISO 639 - 3 string or NULL will default to eng.

Namespace: DevScope.Ocr.Tesseract.Windows
Assembly: DevScope.Ocr.Tesseract.Windows.x86 (in DevScope.Ocr.Tesseract.Windows.x86.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
public string Language { get; set; }

Property Value

Type: String
Remarks

The Language property may be a string of the form[~]<lang>[+[~]<lang>] * indicating that multiple languages are to be loaded.Eg hin + eng will load Hindi and English.

Languages may specify internally that they want to be loaded with one or more other languages, so the ~sign is available to override that.Eg if hin were set to load eng by default, then hin + ~eng would force loading only hin.The number of loaded languages is limited only by memory, with the caveat that loading additional languages will impact both speed and accuracy, as there is more work to do to decide on the applicable language, and there is more chance of hallucinating incorrect words.

See Also