1.2.1-1.2.2
Airtest 1.2.1-1.2.2
本次更新以bug修复、图像识别效果提升为主,更新内容如下:
- 修复上个版本改动带来的问题
- 修复在使用py2、或者是某些特殊版本的python时,导致的一些报错
- 初始化minitouch时,不再额外增加一个(0, 0)坐标的点击,避免误点
- 图像识别算法的改进
- 优化了
mstpl算法,提升了判定的严格程度,可以有效降低当目标图片不在当前画面中的误检率 tpl算法被添加回设置里,可以在mstpl失败时作为补充方案- 修复了mstpl算法在参数错误时的容错
- 优化了
- 在
adb.pm_install接口中增加安装完毕后自动删除apk包的功能,避免调用完之后没清理,残留大量apk包的问题 - 其他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
mstplalgorithm 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
tplalgorithm 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
- Optimized the
- Add the function of automatically deleting the apk package after the installation is completed in the
adb.pm_installinterface 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