Current section
Files
Jump to
Current section
Files
lib/xberg/document_boundary.ex
# This file is auto-generated by alef — DO NOT EDIT.
# alef:hash:c42b3ed17053806bdcf42dea768a2aecba67c8ec1370751ea7323b02483cbce1
# To regenerate: alef generate
# To verify freshness: alef verify --exit-code
defmodule Xberg.DocumentBoundary do
@moduledoc "Detected document boundary within a PDF."
@typedoc "Detected document boundary within a PDF."
@type t :: %__MODULE__{
start_page: non_neg_integer(),
end_page: non_neg_integer(),
confidence: float(),
reason: String.t() | nil
}
defstruct start_page: 0,
end_page: 0,
confidence: 0.0,
reason: :start
end