GithubHelp home page GithubHelp logo

charlinchen / uma_autotrain Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 0.0 2.84 MB

Get the phone screen content through ADB, and get the click strategy through image recognition.Then tap in the corresponding position of the mobile phone in order to achieve automatic horse raising.

License: GNU Affero General Public License v3.0

Python 100.00%
umamusume

uma_autotrain's Introduction

Umamusume Automatically scripts

ウマ娘/赛马娘自动育成脚本 中文版传送门:https://gitee.com/CharlinChen/Uma_AutoTrain

Introduction

Get the phone screen content through ADB, and get the click strategy through image recognition.Then tap in the corresponding position of the mobile phone in order to achieve automatic horse raising.

Instructions

  1. Make sure PYTHON3 is installed with modules such as subprocess,matplotlib,numpy and random.
  2. Enter the mobile developer mode, open the USB debugging, then connect the phone and computer with the data cable.
  3. Run the script using the following command:python3 start.py
  4. Enter the training round (the initial value is 0) and the target distance, then the phone will pop up the USB debugging application, please allow debugging.
  5. This script works on phones with a 2340x1080 resolution and 76 pixels high bang, such as the Redmi Note 8 Pro.
  6. For other mobile phones, please change the feature identification coordinates and color in the code by yourself.
  7. If you don't know Python syntax and your phone doesn't meet the requirements, you can probably give up.
  8. Video presentation: https://www.bilibili.com/video/BV1qo4y1C7VU/

Responsibility

  1. This code is only for learning and communication, do not use for commercial purposes (such as Taobao);
  2. The use of script violates part of the game treaty, please be responsible for your account.

By: charlin

uma_autotrain's People

Contributors

charlinchen avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.