Table of Contents

**@arolariu/website**


@arolariu/website / types / ScanType

Enumeration: 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
};

Enumeration Members

JPEG

JPEG: "JPEG"

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

JPEG image format


PNG

PNG: "PNG"

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

PNG image format


PDF

PDF: "PDF"

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

PDF document format


OTHER

OTHER: "OTHER"

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

Other or unsupported format