This is a repository that can help you turn your PC into a robot student. For example, it includes a script that can automatically perform key and mouse operations on web pages to complete online courses.
numpy
opencv-python
pyautogui
- Place the screenshot of the icons you need to click under the
templates
folder - Modify parameters such as screen resolution, template image path, and wait time in
params.txt
- Run
auto_view.py
- Copy all text into
source.txt
and save it - Run
auto_key.py
and then move the mouse to the target text box within 5 seconds - Wait for input completion
For more information please visit the blog: http://t.csdn.cn/7pAa9