Airtest icon indicating copy to clipboard operation
Airtest copied to clipboard

无法在目标设备中识别多个位置的目标图片

Open luowqn opened this issue 1 year ago • 0 comments

描述问题bug 想要识别出可以点击的“我要申办”按钮,通过 imageimage 并且开启了rgb识别功能,仍然只能识别到一个位置的按钮

相关截图 image

复现步骤

if __name__ == '__main__':
 
    time.sleep(3)
   
    
    bans=find_all(Template(r"tpl1702524707509.png",rgb=True))
    print(bans)

预期效果 获取当前页面的所有可点击的“我要申办”按钮列表

python 版本: python3.11

airtest 版本: 1.2.16

设备:

  • 型号:P20
  • 系统: HarmonyOS 3.0

其他相关环境信息 windows11

luowqn avatar Dec 14 '23 03:12 luowqn