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?: {
Result returned by performOCR.