Files
fil/docs/snippets/elixir/ocr/ocr_multi_language.md

12 lines
264 B
Markdown
Raw Permalink Normal View History

2026-06-01 23:40:55 +02:00
```elixir title="Elixir"
config_json = Jason.encode!(%{
"ocr" => %{
"backend" => "tesseract",
"language" => "eng+deu+fra"
}
})
{:ok, result} = Kreuzberg.extract_file_sync("multilingual.pdf", "application/pdf", config_json)
IO.puts(result.content)
```