Skip to main content

extract_text

Method
This is a method of the VisionAgent class in the vision_agent module.
Extract text from an image (OCR-like functionality).

Signature

Parameters

str
required
Image URL or local file path
Optional[str]
Detail level (low, high, auto) - recommend “high” for text
Optional[str]
Override model for this call **kwargs: Additional parameters

Returns

str
Extracted text

Usage

Uses

  • analyze

Source

View on GitHub

praisonaiagents/agent/vision_agent.py at line 355