change: add notice for FindText

This commit is contained in:
lilong.129
2024-12-20 22:01:05 +08:00
parent ed8fdebc81
commit 985a0737f9
2 changed files with 3 additions and 1 deletions

View File

@@ -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...)