问题描述:自动化使用图片截图,一直提示算法错误
Server版本:1.4.1-rc
Agent版本与部署方式:1.4.1-rc. jar包部署
手机型号与系统版本:oppo reno7pro 安卓11
截图:
相关日志:
{"msg":"step","des":"强制等待","log":"等待8000 ms","time":"16:24:52","rid":0,"udId":"HAHUUCZ94HTGZ9VC","status":2,"cid":0}
2022-07-02 16:24:54.367 - INFO 17072 --- [android-run-step-task-0-1-HAHUUCZ94HTGZ9VC] o.cloud.sonic.agent.tools.cv.SIFTFinder : 处理前共有匹配数:6335
2022-07-02 16:24:54.370 - INFO 17072 --- [android-run-step-task-0-1-HAHUUCZ94HTGZ9VC] o.cloud.sonic.agent.tools.cv.SIFTFinder : 处理后匹配数:3
2022-07-02 16:24:54.371 - INFO 17072 --- [android-run-step-task-0-1-HAHUUCZ94HTGZ9VC] org.cloud.sonic.agent.tests.LogUtil : {"msg":"step","des":"SIFT算法无法定位图片,切换AKAZE算法中...","log":"","time":"16:24:54","rid":0,"udId":"HAHUUCZ94HTGZ9VC","status":1,"cid":0}
2022-07-02 16:24:54.840 - INFO 17072 --- [WebSocketConnectReadThread-58] o.c.s.agent.transport.TransportClient : Agent <- Server message: {"msg":"pong"}
2022-07-02 16:24:55.171 - INFO 17072 --- [android-run-step-task-0-1-HAHUUCZ94HTGZ9VC] org.cloud.sonic.agent.tests.LogUtil : {"msg":"step","des":"AKAZE图像算法出错,切换模版匹配算法中...","log":"","time":"16:24:55","rid":0,"udId":"HAHUUCZ94HTGZ9VC","status":3,"cid":0}
2022-07-02 16:24:55.171 - INFO 17072 --- [android-run-step-task-0-1-HAHUUCZ94HTGZ9VC] org.cloud.sonic.agent.tests.LogUtil : {"msg":"step","des":"AKAZE算法无法定位图片,切换模版匹配算法中...","log":"","time":"16:24:55","rid":0,"udId":"HAHUUCZ94HTGZ9VC","status":1,"cid":0}
2022-07-02 16:24:56.015 - INFO 17072 --- [android-run-step-task-0-1-HAHUUCZ94HTGZ9VC] org.cloud.sonic.agent.tests.LogUtil : {"msg":"step","des":"模版匹配算法出错","log":"","time":"16:24:56","rid":0,"udId":"HAHUUCZ94HTGZ9VC","status":3,"cid":0}
2022-07-02 16:24:56.015 - INFO 17072 --- [android-run-step-task-0-1-HAHUUCZ94HTGZ9VC] org.cloud.sonic.agent.tests.LogUtil : {"msg":"step","des":"点击图片头像1异常!","log":"http://xx.xx.xx.xx:3000/server/api/folder/keepFiles/20220702/1a7625df-0b04-4846-aa62-0f2354b1d093.jpg","time":"16:24:56","rid":0,"udId":"HAHUUCZ94HTGZ9VC","status":4,"cid":0}
2022-07-02 16:24:57.155 - INFO 17072 --- [android-run-step-task-0-1-HAHUUCZ94HTGZ9VC] org.cloud.sonic.agent.tests.LogUtil : {"msg":"step","des":"获取异常截图","log":"http://xx.xx.xx.xx:3000/server/api/folder/imageFiles/20220702/11758aaf-272d-4b7e-a941-7dc827d02b4a.jpg","time":"16:24:57","rid":0,"udId":"HAHUUCZ94HTGZ9VC","status":3,"cid":0}
2022-07-02 16:24:57.156 - INFO 17072 --- [android-run-step-task-0-1-HAHUUCZ94HTGZ9VC] org.cloud.sonic.agent.tests.LogUtil : {"msg":"step","des":"","log":"异常信息: java.lang.Exception: 图片定位失败!","time":"16:24:57","rid":0,"udId":"HAHUUCZ94HTGZ9VC","status":3,"cid":0}
2022-07-02 16:24:57.156 - INFO 17072 --- [android-run-step-task-0-1-HAHUUCZ94HTGZ9VC] org.cloud.sonic.agent.tests.LogUtil : {"msg":"status","des":"","log":"","time":"16:24:57","rid":0,"udId":"HAHUUCZ94HTGZ9VC","status":3,"cid":0}