ocr_pdf
OCR a scanned PDF or image
Queue a scanned PDF, PNG or JPEG for OCR with OCRmyPDF and Tesseract. The result is the same document with a searchable text layer, as PDF/A by default. Pass the file as base64 in `content_base64` (up to 4 MB) or as a download link in `file` (up to 25 MB), and its name in `filename`. Up to 200 pages; an image is one page. Returns `job_id`, `status`, `pages` and `credits`. Call `get_ocr_result` with the `job_id` until `status` is `succeeded` or `failed`; a job is stopped after 15 minutes. Requires an API key. Costs 2 credits per page, charged now and refunded if the job fails. The result is kept for 7 days.
filemodedeskewfilenamerequiredlanguageoutput_typerotate_pagescontent_base64