fixed padding tooltip for all

This commit is contained in:
Boki 2026-02-11 13:10:45 -05:00
parent 6ad382cb09
commit 62422202a9
4 changed files with 255 additions and 121 deletions

View file

@ -34,6 +34,9 @@ class Request
[JsonPropertyName("debug")]
public bool Debug { get; set; }
[JsonPropertyName("ocr")]
public OcrOptions? Ocr { get; set; }
[JsonPropertyName("targetRow")]
public int TargetRow { get; set; } = -1;
@ -41,6 +44,21 @@ class Request
public int TargetCol { get; set; } = -1;
}
class OcrOptions
{
[JsonPropertyName("preprocess")]
public bool Preprocess { get; set; } = true;
[JsonPropertyName("kernelSize")]
public int KernelSize { get; set; } = 25;
[JsonPropertyName("scale")]
public int Scale { get; set; } = 2;
[JsonPropertyName("minConfidence")]
public int MinConfidence { get; set; } = 50;
}
class RegionRect
{
[JsonPropertyName("x")]