CloudTextRecognizerOptions constructor

const CloudTextRecognizerOptions({
  1. List<String>? hintedLanguages,
  2. 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,
});