Spaces:
NSOUP
/
No application file

File size: 930 Bytes
ba8d952
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
import cv2
import cv2.gapi
import cv2.gapi.wip.gst
import cv2.typing
import typing


# Classes
class GOutputs:
    # Functions
    def getGMat(self) -> cv2.GMat: ...

    def getGScalar(self) -> cv2.GScalar: ...

    def getGArray(self, type: cv2.gapi.ArgType) -> cv2.GArrayT: ...

    def getGOpaque(self, type: cv2.gapi.ArgType) -> cv2.GOpaqueT: ...


class IStreamSource:
    ...


# Functions
def get_streaming_source(pipeline: cv2.gapi.wip.gst.GStreamerPipeline, appsinkName: str, outputType: cv2.gapi.wip.gst.GStreamerSource_OutputType = ...) -> IStreamSource: ...

@typing.overload
def make_capture_src(path: str, properties: cv2.typing.map_int_and_double = ...) -> IStreamSource: ...
@typing.overload
def make_capture_src(id: int, properties: cv2.typing.map_int_and_double = ...) -> IStreamSource: ...

def make_gst_src(pipeline: str, outputType: cv2.gapi.wip.gst.GStreamerSource_OutputType = ...) -> IStreamSource: ...