airtest
latest
快速开始
Airtest
跨平台的API
airtest.core.api module
Some useful functions
Assertions in airtest
平台相关的API
airtest.core.android package
airtest.core.ios package
airtest.core.win package
模块内容
airtest
airtest package
Subpackages
airtest.aircv package
airtest.cli package
airtest.core package
airtest.report package
Wiki
Device Connection
Code Example
airtest
airtest
airtest package
airtest.aircv package
airtest.aircv.template_matching module
在 GitHub 上编辑
airtest.aircv.template_matching module
模板匹配.
对用户提供的调节参数:
threshod: 筛选阈值,默认为0.8
rgb: 彩色三通道,进行彩色权识别.
class
TemplateMatching
(
im_search
,
im_source
,
threshold
=
0.8
,
rgb
=
True
)
[源代码]
基类:
object
模板匹配.
METHOD_NAME
=
'Template'
MAX_RESULT_COUNT
=
10
find_all_results
(
*
args
,
**
kwargs
)
find_best_result
(
*
args
,
**
kwargs
)
Read the Docs
v: latest
版本
latest
stable
dev
下载
托管于 Read the Docs
项目主页
构建