Reputation: 1
I am using ktxpy (prefered) or qpython.
I want to read data from screen, using tesseract or other.
For this I would like to take a screenshot using any library that I can install through pip for ktxpy.
Which libraries allow me to do this in android? I tested a few that work in Windows but due how android OS works I already knew they wouldn't work for this specific task.
It can be just a combination of keys that allows to replicate pressing screenshot button.
Any other bypass to make this work in a simple way is welcomed.
Upvotes: 0
Views: 137
Reputation: 1
I solved the issue in python in my computer by doing a combination of:
adb exec-out screencap -p
adb shell input tap x y
Notes:
Upvotes: 0