Skip to content

1.2.1-1.2.2

Choose a tag to compare

@yimelia yimelia released this 19 Aug 07:49
· 321 commits to master since this release

Airtest 1.2.1-1.2.2

本次更新以bug修复、图像识别效果提升为主,更新内容如下:

  • 修复上个版本改动带来的问题
    • 修复在使用py2、或者是某些特殊版本的python时,导致的一些报错
    • 初始化minitouch时,不再额外增加一个(0, 0)坐标的点击,避免误点
  • 图像识别算法的改进
    • 优化了mstpl算法,提升了判定的严格程度,可以有效降低当目标图片不在当前画面中的误检率
    • tpl算法被添加回设置里,可以在mstpl失败时作为补充方案
    • 修复了mstpl算法在参数错误时的容错
  • adb.pm_install接口中增加安装完毕后自动删除apk包的功能,避免调用完之后没清理,残留大量apk包的问题
  • 其他BUG修复
    • 当断开连接时,有可能会有部分forward过的端口没有被完整回收 620d17c
    • 部分特殊型号的手机,在上个版本更新后,仍然可能出现连接后只能看到半屏图像的问题(VIVO X30 Pro),因此在获取设备宽高数据时,强制指定更短的边为width,更长的边为height
    • merge了 #939 , 更好地兼容了windows双屏的情况
    • 其他一些小BUG的修复

This update focuses on bug fixes and improved image recognition effects. The update content is as follows:

  • Fix the problems caused by the changes of the previous version
    • Fix some errors caused when using py2 or some special versions of python
    • When initializing the minitouch, no additional clicks with (0, 0) coordinates are added to avoid mistakes
  • Improvement of image recognition algorithm
    • Optimized the mstpl algorithm to improve the strictness of the judgment, which can effectively reduce the false detection rate when the target picture is not in the current picture
    • The tpl algorithm is added back to the settings, which can be used as a supplementary solution when mstpl fails
    • Fixed the fault tolerance of mstpl algorithm when the parameters are wrong
  • Add the function of automatically deleting the apk package after the installation is completed in the adb.pm_install interface to avoid the problem of a large number of apk packages that are not cleaned up after the call is completed
  • Other bug fixes
    • When the connection is disconnected, some of the forwarded ports may not be fully recovered 620d17c
    • For some special models of mobile phones, after the last version update, there may still be a problem that only half-screen images can be seen after connecting (VIVO X30 Pro). Therefore, when obtaining the device width and height data, it is mandatory to specify the shorter side as width, the longer side is height
    • Merged #939, which is better compatible with dual-screen windows
    • Some other minor bug fixes