enquire-mcp API reference - v3.9.0-rc.4
    Preparing search index...

    Interface OcrPdfResult

    Envelope returned by ocrPdf.

    mean_confidence is the average across pages with text (NaN if all empty). langs echoes the language(s) used so the caller can audit what was actually tried (especially relevant when defaulting to 'eng').

    interface OcrPdfResult {
        full_text: string;
        has_text: boolean;
        langs: string;
        mean_confidence: number;
        mtime: string;
        name: string;
        page_count: number;
        pages: OcrPdfPage[];
        path: string;
        size_bytes: number;
        total_page_count: number;
    }
    Index

    Properties

    full_text: string
    has_text: boolean
    langs: string

    Languages used for OCR (whatever the caller passed).

    mean_confidence: number

    Mean confidence across pages with text. NaN if all pages empty.

    mtime: string
    name: string
    page_count: number
    pages: OcrPdfPage[]
    path: string
    size_bytes: number
    total_page_count: number