I'd like to grab the screen 10 times a second to feed it into a computer vision model.
Running screencap
in a loop in adb shell is too slow.
Other answers have suggested reading from /dev/graphics/fb0
, but my emulator does not have this file.
Ideas for how to do this?
scrcpy
– Robert Mar 23 '22 at 15:05