diff --git a/README.md b/README.md index ae6775f..fdfbf7c 100644 --- a/README.md +++ b/README.md @@ -191,7 +191,7 @@ func main() { bitmap := robotgo.CaptureScreen(10, 20, 30, 40) fmt.Println("...", bitmap) - fx, fy := robotgo.FindBitmap(bitmap) + fx, fy := robotgo.FindBit(bitmap) fmt.Println("FindBitmap------", fx, fy) robotgo.SaveBitmap(bitmap, "test.png") diff --git a/README_zh.md b/README_zh.md index 07fe732..8b1608f 100644 --- a/README_zh.md +++ b/README_zh.md @@ -189,7 +189,7 @@ func main() { bitmap := robotgo.CaptureScreen(10, 20, 30, 40) fmt.Println("...", bitmap) - fx, fy := robotgo.FindBitmap(bitmap) + fx, fy := robotgo.FindBit(bitmap) fmt.Println("FindBitmap------", fx, fy) robotgo.SaveBitmap(bitmap, "test.png")