fixed padding tooltip for all
This commit is contained in:
parent
6ad382cb09
commit
62422202a9
4 changed files with 255 additions and 121 deletions
|
|
@ -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")]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue