{"category":"documents","description":"Draws each page of the PDF as a picture, reads the printed text on it, and returns the text of all pages. It can also build a searchable copy of the PDF. Progress is reported page by page.","endpoint":"https://setget.net/v1/tools/ocr-pdf","examples":[{"input":{"pdf":"sample-scan.pdf"},"title":"Read a two-page scan"},{"input":{"dpi":150,"output":"searchable_pdf","pages":"1","pdf":"sample-scan.pdf"},"title":"Make the first page searchable"}],"input_schema":{"additionalProperties":false,"properties":{"dpi":{"default":200,"description":"Resolution each page is drawn at before reading, in dots per inch. Higher reads small print better and takes longer.","maximum":300,"minimum":100,"type":"integer"},"language":{"default":"eng","description":"Language of the text: eng (English), deu (German), fra (French), spa (Spanish), ita (Italian), por (Portuguese), nld (Dutch), nor (Norwegian), swe (Swedish), dan (Danish), pol (Polish), rus (Russian).","enum":["eng","deu","fra","spa","ita","por","nld","nor","swe","dan","pol","rus"],"type":"string"},"output":{"default":"text","description":"text gives a .txt file. searchable_pdf gives a PDF that looks like the scan and can be searched. both gives the two files.","enum":["text","searchable_pdf","both"],"type":"string"},"pages":{"default":"","description":"Pages to read, such as 1-3, 7 or 5-. Leave empty for every page. At most 50 pages are read in one job.","examples":["1-3"],"maxLength":200,"type":"string"},"pdf":{"description":"A PDF made of scanned or photographed pages.","format":"setget-file","type":"string","x-accept":["pdf"]}},"required":["pdf"],"type":"object"},"keywords":["ocr pdf","scanned pdf to text","searchable pdf","pdf ocr online","make pdf searchable","pdf image to text","extract text from scanned pdf","scan to text","text recognition pdf","copy text from scanned pdf"],"related":["pdf-text","pdf-to-markdown","ocr-image","pdf-to-images","pdf-split","pdf-compress"],"slug":"ocr-pdf","summary":"Read the text in a scanned PDF and get it as a text file, or as a PDF you can search and copy from.","tier":"job","timeout_seconds":600,"title":"Scanned PDF to text (OCR)","url":"https://setget.net/tools/ocr-pdf"}
