logo
  • 教程列表
  • SO官方文档
  • pyautogui 模块
    • 鼠标功能
    • 键盘功能
    • ScreenShot 和图像识别
  1. StackOverflow 文档
  2. Python Language 教程
  3. pyautogui 模块
  4. ScreenShot 和图像识别

ScreenShot 和图像识别

Created: November-22, 2018

这些功能将帮助你截取屏幕截图,并将图像与屏幕的一部分相匹配。

.screenshot('c:\\path')        #get the screenshot.
.locateOnScreen('c:\\path')    #search that image on screen and get the coordinates for you.
locateCenterOnScreen('c:\\path')       #get the coordinate for the image on screen.
  • 键盘功能

Copyright © 2018. All right reserved

tastones.com 备案号:鲁ICP备18045372号-1

  • 关于我们
  • 免责声明