CloudTextRecognizerOptions constructor
const
CloudTextRecognizerOptions({
- List<
String> ? hintedLanguages, - CloudTextModelType textModelType = CloudTextModelType.sparse,
Constructor for CloudTextRecognizerOptions.
For Latin alphabet based languages, setting language hints is not needed.
In cases, when the language of the text in the image is known, setting a hint will help get better results (although it will be a significant hindrance if the hint is wrong).
Implementation
const CloudTextRecognizerOptions({
this.hintedLanguages,
this.textModelType = CloudTextModelType.sparse,
});