mirror of
https://github.com/go-vgo/robotgo.git
synced 2025-06-06 00:33:55 +00:00
Update README.md
This commit is contained in:
parent
cae09b8577
commit
335b3f50a2
@ -310,7 +310,8 @@ func opencv() {
|
|||||||
res1 := gcv.Find(img1, img)
|
res1 := gcv.Find(img1, img)
|
||||||
fmt.Println("find: ", res1)
|
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)
|
fmt.Println(x, y)
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
@ -307,7 +307,8 @@ func opencv() {
|
|||||||
res1 := gcv.Find(img1, img)
|
res1 := gcv.Find(img1, img)
|
||||||
fmt.Println("find: ", res1)
|
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)
|
fmt.Println(x, y)
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user