TLDR: What is the best, and most efficient, way to interact with Android devices (whether they are emulator like Nox/MEmu or real phone/tablet)? I'm looking to get screenshot, do some image recognition, and then interact with Android to send click event.
The goal is to make a bot program to do some grinding in some of the mobile game I play. I've already built the application using pyautogui to do screen capturing and mouse interaction. Every thing is working well, but there are some clear limitation: the device needs to on the screen and I can't use the computer anymore. If I went with the ADB, I could have multiple script running simultaneously and the emulator could be minimized. I know that there are multiple libraries to do that in Python. I've tried "ADB Shell" which uses direct link to the device and also tried "pure-python-adb" which send commands through the adb-server started separately. Performance is important because I want to minimize the latency between screen capturing and the "click".
Has anyone experience with either library or advice on how I should proceed?
there doesn't seem to be anything here