How OCR strategies and partitioning work
developWhen creating searchable PDFs, you can control how the Vision framework analyzes pages using --ocr-strategy.
standard: Uses full-page OCR only.partitioned: Recursively splits large pages into smaller regions along their longer axis. This helps recover small text (like form labels) that might be missed during a single full-page pass. This mode may take longer as regions are processed serially.auto(default): Starts with a full-page pass, then runs a partitioned pass only for large pages where text is small or missing.
Constraints:
partitionedmode cannot be combined with--roi(Region of Interest).automode skips partitioning if--roiis set.
# Force partitioned OCR for better accuracy on small text
mac-ocr searchable-pdf --ocr-strategy partitioned scan.pdf