Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Airtest图像识别能力可以移植到其他框架上吗? #1222

Open
dongtesting opened this issue Jun 23, 2024 · 1 comment
Open

Airtest图像识别能力可以移植到其他框架上吗? #1222

dongtesting opened this issue Jun 23, 2024 · 1 comment

Comments

@dongtesting
Copy link

💡相关项目: Airtest

标题: [问题咨询]Airtest图像识别能力可以移植到其他框架上吗?

AirtestIDE版本:

未使用本地Pyhton环境运行脚本

报错描述:
    您好。一直觉得Airtest的基于图像识别的能力非常的棒。 如果一个项目已经使用playwright写的非常的多自动化脚本。但是只有很少部门场景需要基于图像识别。如果移植部分Airtest 代码,可行吗?容易实现吗? 非常感谢!

相关截图:

报错Log:

连接设备信息:

提供最小可复现此BUG的代码:

@imliuruiqi
Copy link

应该是可以的 图像识别的代码在 airtest/aircv ,可以直接调用

def find_template(im_source, im_search, threshold=0.8, rgb=False):

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants