Automation with Computer Vision for Python
Project description
autoui
This project aims to provide a universal framework for developing automation tool for PC/Android games, running in windows, emulator, or physical Android Phone. Currently still working in progress, there is a working
Showcase
Example Usage
Basically you only need to write the Tasks and Scenes, the autoui framework will do all the heavy lifting. genshin/main.py
# Defining game scenes to handle different in-game situations through automated tasks
task_executor.scenes.extend([
WorldScene(interaction, feature_set),
StartScene(interaction, feature_set),
MonthlyCardScene(interaction, feature_set),
DialogCloseButtonScene(interaction, feature_set),
DialogChoicesScene(interaction, feature_set),
DialogPlayingScene(interaction, feature_set),
BlackDialogScene(interaction, feature_set),
])
# Adding automated tasks for gameplay, such as dialog navigation and item collection
task_executor.tasks.extend([
AutoPlayDialogTask(interaction, feature_set), # speeding up the dialogs
AutoChooseDialogTask(interaction, feature_set), # choose dialog options
AutoPickTask(interaction, feature_set), # pickup items in world scene
AutoLoginTask(interaction, feature_set), # auto login and claim rewards
])
Scenes
Tasks
Project Structure
autoui
: Framework code.genshin
: Example Genshin Impact automation project
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ok-script-0.0.8.tar.gz
(69.1 kB
view hashes)
Built Distribution
ok_script-0.0.8-py3-none-any.whl
(93.9 kB
view hashes)
Close
Hashes for ok_script-0.0.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5af88a55d608700f1dea7fbb9f1fa9d9887d261488eddb2f0b3458de89f5e9b0 |
|
MD5 | bd83df70a28a7fd12c03ac60d7d1610b |
|
BLAKE2b-256 | f6c2d3426368cd8fe26fcd73a3aeb9c3c329a8052698fb438add62532ac129cf |