API calls for all endpoints tagged OCR.
Summary
Functions
Perform OCR Extracts text and content from documents or images using optical character recognition. Supports PDF URLs, base64-encoded documents, and image URLs.
Functions
@spec perform_ocr(Tesla.Env.client(), ExBifrost.Model.OcrRequest.t(), keyword()) :: {:ok, ExBifrost.Model.BifrostError.t()} | {:ok, ExBifrost.Model.OcrResponse.t()} | {:error, Tesla.Env.t()}
Perform OCR Extracts text and content from documents or images using optical character recognition. Supports PDF URLs, base64-encoded documents, and image URLs.
Parameters
connection(ExBifrost.Connection): Connection to serverocr_request(OcrRequest):opts(keyword): Optional parameters
Returns
{:ok, ExBifrost.Model.OcrResponse.t}on success{:error, Tesla.Env.t}on failure