Files
fil/packages/elixir/lib/kreuzberg/ocr_pipeline_config.ex

24 lines
856 B
Elixir
Raw Normal View History

2026-06-01 23:40:55 +02:00
# This file is auto-generated by alef — DO NOT EDIT.
# alef:hash:4e15143f4af1ae8bafbdb1506ef057da924484c66a19483966333558ad437e75
# To regenerate: alef generate
# To verify freshness: alef verify --exit-code
# Issues & docs: https://github.com/kreuzberg-dev/alef
defmodule Kreuzberg.OcrPipelineConfig do
@moduledoc """
Multi-backend OCR pipeline with quality-based fallback.
Backends are tried in priority order (highest first). After each backend
produces output, quality is evaluated. If it meets `quality_thresholds.pipeline_min_quality`,
the result is accepted. Otherwise the next backend is tried.
"""
@typedoc "Multi-backend OCR pipeline with quality-based fallback."
@type t :: %__MODULE__{
stages: [map()],
quality_thresholds: map()
}
defstruct stages: [],
quality_thresholds: nil
end