MistralClient.Models.OCRImageObject (mistralex_ai v0.1.0)

View Source

Represents an extracted image object from OCR processing.

Summary

Functions

Create an OCR image object from a map.

Types

t()

@type t() :: %MistralClient.Models.OCRImageObject{
  bottom_right_x: integer() | nil,
  bottom_right_y: integer() | nil,
  id: String.t(),
  image_annotation: String.t() | nil,
  image_base64: String.t() | nil,
  top_left_x: integer() | nil,
  top_left_y: integer() | nil
}

Functions

from_map(data)

@spec from_map(map()) :: t()

Create an OCR image object from a map.