__init__.pyi 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. __all__: list[str] = []
  2. import cv2
  3. import cv2.gapi
  4. import cv2.gapi.wip.gst
  5. import cv2.typing
  6. import typing as _typing
  7. from cv2.gapi.wip import draw as draw
  8. from cv2.gapi.wip import gst as gst
  9. from cv2.gapi.wip import onevpl as onevpl
  10. # Classes
  11. class GOutputs:
  12. # Functions
  13. def getGMat(self) -> cv2.GMat: ...
  14. def getGScalar(self) -> cv2.GScalar: ...
  15. def getGArray(self, type: cv2.gapi.ArgType) -> cv2.GArrayT: ...
  16. def getGOpaque(self, type: cv2.gapi.ArgType) -> cv2.GOpaqueT: ...
  17. class IStreamSource:
  18. ...
  19. # Functions
  20. def get_streaming_source(pipeline: cv2.gapi.wip.gst.GStreamerPipeline, appsinkName: str, outputType: cv2.gapi.wip.gst.GStreamerSource_OutputType = ...) -> IStreamSource: ...
  21. @_typing.overload
  22. def make_capture_src(path: str, properties: cv2.typing.map_int_and_double = ...) -> IStreamSource: ...
  23. @_typing.overload
  24. def make_capture_src(id: int, properties: cv2.typing.map_int_and_double = ...) -> IStreamSource: ...
  25. def make_gst_src(pipeline: str, outputType: cv2.gapi.wip.gst.GStreamerSource_OutputType = ...) -> IStreamSource: ...