tap_cv supports WithDataScope

This commit is contained in:
buyuxiang
2023-06-28 13:03:14 +08:00
parent cd730a1cb9
commit d64f6151d9
4 changed files with 24 additions and 11 deletions

View File

@@ -203,7 +203,7 @@ func (dExt *DriverExt) FindDetectUIRectInUIKit(uiTypes []string, options ...Data
return 0, 0, 0, 0, err
}
var rect image.Rectangle
rect, err = service.FindUI(uiTypes, bufSource.Bytes())
rect, err = service.FindUI(uiTypes, bufSource.Bytes(), options...)
if err != nil {
return 0, 0, 0, 0, err
}