__init__.pyi 930 B

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