AirtestProject / AirtestProject/Airtest

snapshot+recognition可识别,运行不可识别。

Abierto
#894 1 comentario 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Python
Estrellas
9.6k
Forks
1.5k
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

(请尽量按照下面提示内容填写,有助于我们快速定位和解决问题,感谢配合。否则直接关闭。)

**(重要!问题分类)**
* 测试开发环境AirtestIDE使用问题 -> https://github.com/AirtestProject/AirtestIDE/issues
* 控件识别、树状结构、poco库报错 -> https://github.com/AirtestProject/Poco/issues
* 图像识别、设备控制相关问题 -> 按下面的步骤

**描述问题bug**
(简洁清晰得概括一下遇到的问题是什么。或者是报错的traceback信息。)
[12:52:59][INFO] Try finding: Template(D:\Desktop\sw.air\tpl1618894192938.png)
[12:53:00][DEBUG] resize: (123, 23)->(1, 1), resolution: (1024, 768)=>(1029, 0)
[12:53:00][DEBUG] try match with SURFMatching
[12:53:00][DEBUG] find_best_result() run time is 0.00 s.
[12:53:00][DEBUG] try match with TemplateMatching
[12:53:00][DEBUG] 'error: in template match, found im_search bigger than im_source.'
[12:53:00][DEBUG] try match with BRISKMatching
[12:53:00][DEBUG] find_best_result() run time is 0.00 s.
[12:53:00][DEBUG] match result: None
```
(在这里粘贴traceback或其他报错信息)
```

**复现步骤**

**预期效果**
希望运行时能够自动点击windows应用,但是不行。
在ide中点击代码,“snapshot+recognition”中是能够正确识别的,但是运行则不行。
target_Image: https://github.com/1999single/ProjectIssue/blob/master/airTest/target.png
source_Image: https://github.com/1999single/ProjectIssue/blob/master/airTest/source.png
snapshot+recognition_Image: https://github.com/1999single/ProjectIssue/blob/master/airTest/Snapshot%2BRecognition.png
result_img: https://github.com/1999single/ProjectIssue/blob/master/airTest/result.png

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.