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 OcrResult
{
public Guid Id { get; set; }
public Guid BatchId { get; set; }
public string Provider { get; set; } = null!; // "azure" or "tesseract"
public string FieldConfidencesJson { get; set; } = null!; // serialized Dictionary<string, double>
public string? RawText { get; set; }
public int DurationMs { get; set; }
public DateTimeOffset ProcessedAt { get; set; }
public DigitizationBatch Batch { get; set; } = null!;
}