An attempt to automate gameplay of the Android game Indefinite: Interrogation Game
Using the adb cli tool for the following functions:
- Capture screenshots on the target device.
- Pull screenshots from the target device.
- Issue INPUT commands (taps) to the target device.
Wireless ADB can be set up following instructions here
Using the wonderful Python Pillow library for:
- Cropping images to get them ready to parse text
This OCR tool is being used to read (parse) the text off the cropped images.
Just getting started with nltk, so it is seeming a bit overwhelming for now. Using this to tokenize the parsed text.
Pixel coordinate values are currently hardcoded to a Samsung Galaxy Note 10+. Should work for devices with similar displays.