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

  • 關於本站
  • 免責聲明