__init__.pyi 768 B

1234567891011121314151617181920212223242526
  1. import cv2
  2. import typing
  3. # Functions
  4. def getBackendName(api: cv2.VideoCaptureAPIs) -> str: ...
  5. def getBackends() -> typing.Sequence[cv2.VideoCaptureAPIs]: ...
  6. def getCameraBackendPluginVersion(api: cv2.VideoCaptureAPIs) -> tuple[str, int, int]: ...
  7. def getCameraBackends() -> typing.Sequence[cv2.VideoCaptureAPIs]: ...
  8. def getStreamBackendPluginVersion(api: cv2.VideoCaptureAPIs) -> tuple[str, int, int]: ...
  9. def getStreamBackends() -> typing.Sequence[cv2.VideoCaptureAPIs]: ...
  10. def getWriterBackendPluginVersion(api: cv2.VideoCaptureAPIs) -> tuple[str, int, int]: ...
  11. def getWriterBackends() -> typing.Sequence[cv2.VideoCaptureAPIs]: ...
  12. def hasBackend(api: cv2.VideoCaptureAPIs) -> bool: ...
  13. def isBackendBuiltIn(api: cv2.VideoCaptureAPIs) -> bool: ...