Extracted text content.
Overall confidence score (0 = no confidence, 1 = certain).
Which processing tier produced the winning result.
'ocr' — PaddleOCR or Tesseract.js (fast, local, free).'handwriting' — TrOCR handwriting recognition (local).'document-ai' — Florence-2 document understanding (local).'cloud-vision' — Cloud LLM (GPT-4o, Claude, Gemini).Optional categoryContent category detected by the pipeline (e.g. 'printed-text').
Provider name that produced the winning result (e.g. 'paddle', 'openai').
Optional regionsText regions with bounding boxes, when the winning tier provides spatial information. Not all tiers return region data.
Optional bbox?: { Optional failedTiers that were due to run and failed, each with its error, such as a cloud tier whose request failed while a local tier read the text. Absent when none did.
Result returned by performOCR.