Current section

Files

Jump to
xberg lib xberg ocr_table.ex
Raw

lib/xberg/ocr_table.ex

# This file is auto-generated by alef — DO NOT EDIT.
# alef:hash:61b2c8938c132132f6ac987a5658fed582bea2f8248dbe1d25aa618e0ec0b375
# To regenerate: alef generate
# To verify freshness: alef verify --exit-code
defmodule Xberg.OcrTable do
@moduledoc """
Table detected via OCR.
Represents a table structure recognized during OCR processing.
"""
@typedoc "Table detected via OCR."
@type t :: %__MODULE__{
cells: [[String.t()]],
markdown: String.t() | nil,
page_number: non_neg_integer(),
bounding_box: Xberg.OcrTableBoundingBox.t() | nil
}
defstruct cells: [],
markdown: nil,
page_number: 0,
bounding_box: nil
end