Revert "fixed padding tooltip for all"
This reverts commit 6242220, which broke tooltip detection.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
f9b8ef9158
commit
b8f5637c49
4 changed files with 123 additions and 260 deletions
|
|
@ -34,9 +34,6 @@ class Request
|
|||
[JsonPropertyName("debug")]
|
||||
public bool Debug { get; set; }
|
||||
|
||||
[JsonPropertyName("ocr")]
|
||||
public OcrOptions? Ocr { get; set; }
|
||||
|
||||
[JsonPropertyName("targetRow")]
|
||||
public int TargetRow { get; set; } = -1;
|
||||
|
||||
|
|
@ -44,21 +41,6 @@ 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