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.7.tar.gz
(69.4 kB
view hashes)
Built Distribution
ok_script-0.0.7-py3-none-any.whl
(96.2 kB
view hashes)
Close
Hashes for ok_script-0.0.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d646a319e9433efc1c08c33854f2097a07d578c7df859f404c56d883b283444d |
|
MD5 | 3bb65167c996a71320211e02108f7945 |
|
BLAKE2b-256 | fc249caa37bba6ceeba8011dcb92e423e5f2fb8b6db5250944e7d949af369963 |