Catalog PyPI
PACKAGE EXPLORERView in registry

adb-screencap-streaming

PyPI

Streams ADB's Screencap (useful for bots and video capturing)

adbandroidbotopencvscreencapstreamingvideo
Versions collected1
Direct dependencies5From release 0.12
Last observed20 Oct, 19:13 UTC

README

Version 0.12 documentation

Grab screenshots from ADB's screencap and process them right away


pip install adb-screencap-streaming





from adb_screencap_streaming import ADBScreenshot

import cv2

bilder = ADBScreenshot(

    "C:\\Users\\Gamer\\AppData\\Local\\Android\\Sdk\\platform-tools\\adb.exe",

    "localhost:5735",

    show_capture_keys="ctrl+alt+z", # starts cv2.imshow() - can be enabled/disabled by pressing ctrl+alt+z

    show_fps_keys="ctrl+alt+f", # show the fps rate - can be enabled/disabled by pressing ctrl+alt+f

    kill_screencap_keys="ctrl+alt+x", # kills the capture process

)

for ka in bilder.get_adb_screenshots(

    sleeptime=None,

    resize_width=None,

    resize_height=None,

    resize_percent=None,

    interpolation=cv2.INTER_AREA,

):

    print('Do some stuff here', end='\r')

    break #if you break out of the loop, stop capturing 

    

bilder.kill_screencap()



Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.1224 Nov 20225

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
hansalemaos/adb_screencap_streaming

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 19:13 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:733ed7705a2ca49d685a793cb4f2ffec059562e7e797af7691dfc13b9d181b9a