diff --git a/hrp/internal/version/VERSION b/hrp/internal/version/VERSION index c1c84bcc..c1960ff1 100644 --- a/hrp/internal/version/VERSION +++ b/hrp/internal/version/VERSION @@ -1 +1 @@ -v5.0.0+2412191325 +v5.0.0+2412202201 diff --git a/hrp/pkg/uixt/ai.go b/hrp/pkg/uixt/ai.go index c4abc087..1b8c7ff6 100644 --- a/hrp/pkg/uixt/ai.go +++ b/hrp/pkg/uixt/ai.go @@ -125,6 +125,8 @@ func (t OCRTexts) FilterScope(scope AbsScope) (results OCRTexts) { return } +// FindText returns matched text with options +// Notice: filter scope should be specified with WithAbsScope func (t OCRTexts) FindText(text string, options ...ActionOption) (result OCRText, err error) { actionOptions := NewActionOptions(options...)