Socket
Socket
Sign inDemoInstall

asb

Package Overview
Dependencies
3
Maintainers
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    asb

Python utility to capture android screen frames in real time and use with 3rd party libs like opencv.


Maintainers
1

Readme

Android Screen Buffer

Python package for streaming Android device's screen frames. This utility can be used to capture android screen frames in real time and use with 3rd party libs like opencv. Might be usefull in case you'd like to make processing or use screen frames in your python code (e.g to create reinforcement learning setups for android games).

How to install:

  • First install and run minicap (thats really easy).
  • Then pip install asb

How to use:

from asb import AndroidScreenBuffer

buff = AndroidScreenBuffer()
buff.run()

img = buff.get_last_frame()

if img is not None:
    # Use image as you would like
    # e.g cv2.imshow('capture', img)

FAQs


Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc