Skip to main content

Type Alias: ScanType

@arolariu/website


@arolariu/website / types / ScanType

Type Alias: ScanType

ScanType = typeof ScanType[keyof typeof ScanType]

Defined in: types/scans/Scan.ts:46

Represents the document format type of a standalone scan.

Remarks

Identifies the file format of uploaded documents for proper processing pipeline selection. Different formats require different OCR strategies and preprocessing steps.

Supported Formats:

  • Image formats (JPEG, PNG): Direct OCR processing
  • PDF: Multi-page document extraction with embedded text detection
  • OTHER: Fallback processing with format detection

Example

const scan: Scan = {
scanType: ScanType.JPEG,
// ... other properties
};
// was this page useful?