Code Monkey home page Code Monkey logo

mobile-bot's Introduction

Description

This is a bot that uses pyautogui and some android emulator to help automate certain tasks in the mobile game King's Raid. The program CV2 to help with capturing images, and matching based on templates to find locations of where to click. CV2 is also used for some pre image processing for using Python-Tesseract as an optical character recognition (OCR) tool that utilizes machine learning to determine characters. A UI is also implemented using eel. 'Eel is a little Python library for making simple Electron-like offline HTML/JS GUI apps, with full access to Python capabilities and libraries'. Eel was mainly used because the GUI was done using HTML and since, I am familiar with styling it was an easier choice.

TODO

There is a lot more I want to do but here is an in-completed todo list (it was probably continue to grow)

  • Improve accuracy of image recognition
    • Change to black and white (rather then grey+black)
    • Log images
    • Teach tesseract?
    • Parallelize?
  • Implement page scrolling
  • Fix Button clicking for events.
  • Implement Cached position for buttons (rather then template match for grind)
  • improve logging
  • Clean up code
    • segment into modules? (inventory module)
    • segment into Macros and micro functions and utility?? and logging
  • Implement randomization
  • Allow repositioning of NOX
  • Start on league of honor as next module
    • Universal Hero class
    • Figure out a method to check skills + exec + check if alive
    • Pick and Ban phase
      • Pick and Ban priority
  • Create a GUI
  • Show Error Items
  • How to exit prematurely
  • Add Scrolling

##CV2 OpenCV-Python - used to solve computer vision problems.

Tesseract (don't need anymore?)

Used for image to text pip install pytesseract

https://www.pyimagesearch.com/2018/08/20/opencv-text-detection-east-text-detector/ pip install --upgrade imutils https://github.com/ZER-0-NE/EAST-Detector-for-text-detection-using-OpenCV

https://github.com/tesseract-ocr/tesseract/wiki/TrainingTesseract-4.00#introduction

mobile-bot's People

Contributors

illuap 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.