上传备份

master
王兵 3 weeks ago
parent 4164ac0206
commit fb5a7c575e

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 816 B

@ -13,9 +13,9 @@ import java.util.Iterator;
public class {
public static void main(String[] args) throws FindFailed {
Screen screen = new Screen();
Pattern button = new Pattern(new File("legend/文件夹.png")
Pattern button = new Pattern(new File("legend/我的电脑.png")
.getAbsolutePath())
.similar(0.7f);
.similar(0.8f);
// 相似度阈值 0.8
Iterator<Match> all = screen.findAll(button);// 找到按钮位置

Loading…
Cancel
Save

Powered by TurnKey Linux.