mirror of
https://github.com/go-vgo/robotgo
synced 2026-05-24 02:08:33 +00:00
Update README.md
This commit is contained in:
parent
cae09b8577
commit
335b3f50a2
2 changed files with 4 additions and 2 deletions
|
|
@ -310,7 +310,8 @@ func opencv() {
|
|||
res1 := gcv.Find(img1, img)
|
||||
fmt.Println("find: ", res1)
|
||||
|
||||
x, y = gcv.FindX(img1, img)
|
||||
img2, _, _ := robotgo.DecodeImg("test_001.png")
|
||||
x, y = gcv.FindX(img2, img)
|
||||
fmt.Println(x, y)
|
||||
}
|
||||
```
|
||||
|
|
|
|||
|
|
@ -307,7 +307,8 @@ func opencv() {
|
|||
res1 := gcv.Find(img1, img)
|
||||
fmt.Println("find: ", res1)
|
||||
|
||||
x, y = gcv.FindX(img1, img)
|
||||
img2, _, _ := robotgo.DecodeImg("test_001.png")
|
||||
x, y = gcv.FindX(img2, img)
|
||||
fmt.Println(x, y)
|
||||
}
|
||||
```
|
||||
|
|
|
|||
Loading…
Reference in a new issue