options property

Map<String, dynamic>? options
final

Additional options for OCR engine

These values are passed directly to the OCR engine. For Tesseract, any valid Tesseract configuration variable can be set.

Common Tesseract options include:

  • 'preserve_interword_spaces': '0' or '1' (preserve spaces between words)
  • 'tessedit_pageseg_mode': Page segmentation mode (see PageSegmentationMode)
  • 'tessedit_ocr_engine_mode': OCR engine mode (0-3)
  • Any other valid Tesseract configuration variables

Implementation

final Map<String, dynamic>? options;