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