PyAutoGuiを使用したpythonファイルをexe化するためにpyinstallerを使用しました。 実行ファイルを動作させると画像認識がされずにエラーとなっていました。 OpenCVがインストールされていないことが原因のようです。 target_range = pyautogui.locateOnScreen('hoge.png',confidence ...
確認した環境は下記の通りです。 > python --version Python 3.11.7 > pip freeze : PyAutoGUI==0.9.54 : PyScreeze==0.1.30 : pywin32==306 : インストールされていない場合は、pyautogui、pywin32をインストールします。 下記のコードの表記内、いずれもBEGIN multi display ...
Customer stories Events & webinars Ebooks & reports Business insights GitHub Skills ...
When using the locateOnScreen function in a loop to continuously search for an image on the screen, the memory usage of the Python process increases significantly over time. Use locateOnScreen in a ...