Spaces:
Runtime error
Runtime error
| from __future__ import annotations | |
| from abc import ABC, abstractmethod | |
| import numpy as np | |
| class CameraSource(ABC): | |
| async def connect(self) -> bool: ... | |
| async def read_frame(self) -> np.ndarray | None: ... | |
| async def release(self) -> None: ... | |
| def is_open(self) -> bool: ... | |