This commit is contained in:
13
docs/snippets/csharp/config/with_cache.cs
Normal file
13
docs/snippets/csharp/config/with_cache.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using Kreuzberg;
|
||||
|
||||
var config = new ExtractionConfig
|
||||
{
|
||||
UseCache = true,
|
||||
Ocr = new OcrConfig
|
||||
{
|
||||
Backend = "tesseract",
|
||||
Language = "eng"
|
||||
}
|
||||
};
|
||||
|
||||
var result = KreuzbergLib.ExtractFileSync("document.pdf", config);
|
||||
Reference in New Issue
Block a user