Skip to main content
Source must be a URL (https://) or base64-encoded document. Local file paths are not supported.

Extract Text

from praisonaiagents import OCRAgent

agent = OCRAgent()
text = agent.read("https://arxiv.org/pdf/2201.04234")
print(text)

From Image URL

from praisonaiagents import OCRAgent

agent = OCRAgent()
text = agent.read("https://example.com/screenshot.png")
print(text)

Providers