OCRConfig constructor

const OCRConfig({
  1. String language = 'eng',
  2. OCREngine engine = OCREngine.defaultEngine,
  3. String? tessDataPath,
  4. Map<String, dynamic>? options,
})

Creates a new OCR configuration

Implementation

const OCRConfig({
  this.language = 'eng',
  this.engine = OCREngine.defaultEngine,
  this.tessDataPath,
  this.options,
});