capture

Screen Capture.
from IPython.display import display, Image

source

setup_share

def setup_share():

Setup screen sharing

setup_share()

source

start_share

def start_share():

Call self as a function.

start_share()

source

capture_screen

async def capture_screen(
    timeout:int=15
):

Capture the screen as a PIL image.


source

capture_tool

async def capture_tool(
    timeout:int=15
):

Capture the screen. Re-call this function to get the most recent screenshot, as needed. Use default timeout where possible

# Don't run-all -- only run this after choosing a window to share
img = await capture_screen()
img.thumbnail((700,700))
# img