mirror of
https://github.com/go-vgo/robotgo
synced 2026-05-24 10:19:01 +00:00
Update README.md
This commit is contained in:
parent
7643a714b8
commit
db6723eb00
2 changed files with 34 additions and 2 deletions
18
README.md
18
README.md
|
|
@ -226,7 +226,6 @@ import (
|
|||
"fmt"
|
||||
|
||||
"github.com/go-vgo/robotgo"
|
||||
"github.com/vcaesar/gcv"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
|
@ -251,6 +250,23 @@ func main() {
|
|||
|
||||
robotgo.SaveBitmap(bitmap, "test.png")
|
||||
}
|
||||
```
|
||||
|
||||
#### [OpenCV](https://github.com/vcaesar/gcv)
|
||||
|
||||
```Go
|
||||
package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/go-vgo/robotgo"
|
||||
"github.com/vcaesar/gcv"
|
||||
)
|
||||
|
||||
func main() {
|
||||
opencv()
|
||||
}
|
||||
|
||||
func opencv() {
|
||||
name := "test.png"
|
||||
|
|
|
|||
18
README_zh.md
18
README_zh.md
|
|
@ -224,7 +224,6 @@ import (
|
|||
"fmt"
|
||||
|
||||
"github.com/go-vgo/robotgo"
|
||||
"github.com/vcaesar/gcv"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
|
@ -249,6 +248,23 @@ func main() {
|
|||
|
||||
robotgo.SaveBitmap(bitmap, "test.png")
|
||||
}
|
||||
```
|
||||
|
||||
#### [OpenCV](https://github.com/vcaesar/gcv)
|
||||
|
||||
```Go
|
||||
package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/go-vgo/robotgo"
|
||||
"github.com/vcaesar/gcv"
|
||||
)
|
||||
|
||||
func main() {
|
||||
opencv()
|
||||
}
|
||||
|
||||
func opencv() {
|
||||
name := "test.png"
|
||||
|
|
|
|||
Loading…
Reference in a new issue