feature: Optional OCR-Assisted Draft Pre-Fill

This commit is contained in:
voltsrage
2026-06-28 01:28:54 +08:00
parent 5039dbb979
commit c160c5f912
42 changed files with 3592 additions and 33 deletions
@@ -0,0 +1,12 @@
public class OcrOptions
{
public const string Section = "Ocr";
public bool Enabled { get; set; } = false;
public string Provider { get; set; } = "azure"; // "azure" or "tesseract"
public double ConfidenceThreshold { get; set; } = 0.7;
public int PollIntervalSeconds { get; set; } = 15;
public AzureOcrOptions Azure { get; set; } = new();
public TesseractOcrOptions Tesseract { get; set; } = new();
}