我正在嘗試使用Sikuli API for Java實現視頻遊戲的自動化。遊戲具有隨機效果,通常模式匹配得分低於0.7。即使得分低於0.7,是否有辦法獲得分數? 我的代碼是: Screen screen = new Screen();
Pattern image1 = new Pattern("C:\\picture1.png");
Region reg = new Screen();
Sy
我正在使用以下方法嘗試將屏幕截圖與保存的.png圖像進行比較,但它不起作用。屏幕截圖和PNG文件是相同的,但我得到了下面的錯誤在日食: java.lang.AssertionError: The following asserts failed:
expected [P(C:/Users/pauljos/tmpDirectory.png) S: 0.7] but found [[emai
我想使用Sikuli4Net但我行screen.Wait(gmail);得到這個異常: System.Net.WebException:
Unable to connect to the remote server
InnerException {"No connection could be made because the
target machine actively refused