VideoSession
yosoi.surface.VideoSession
class VideoSession(SurfaceConnection):
Read-only stateful exploration around a frozen VideoSurface.
Source: python/yosoi/surface.py:1174
Base classes
Section titled “Base classes”Members below are declared on this class. Inherited Pydantic methods and generated constructor signatures are not expanded.
Methods
Section titled “Methods”@classmethod
async def open(cls, path: str | Path, policy: SurfacePolicy | None=None, max_side: int=1920) -> Self:
Freeze local video and open a detached reader with bounded frame pixels.