initial commit
This commit is contained in:
51
venv/lib/python3.11/site-packages/cv2/gapi/ie/__init__.pyi
Normal file
51
venv/lib/python3.11/site-packages/cv2/gapi/ie/__init__.pyi
Normal file
@@ -0,0 +1,51 @@
|
||||
__all__: list[str] = []
|
||||
|
||||
import cv2.typing
|
||||
import typing as _typing
|
||||
|
||||
|
||||
from cv2.gapi.ie import detail as detail
|
||||
|
||||
|
||||
# Enumerations
|
||||
TraitAs_TENSOR: int
|
||||
TRAIT_AS_TENSOR: int
|
||||
TraitAs_IMAGE: int
|
||||
TRAIT_AS_IMAGE: int
|
||||
TraitAs = int
|
||||
"""One of [TraitAs_TENSOR, TRAIT_AS_TENSOR, TraitAs_IMAGE, TRAIT_AS_IMAGE]"""
|
||||
|
||||
Sync: int
|
||||
SYNC: int
|
||||
Async: int
|
||||
ASYNC: int
|
||||
InferMode = int
|
||||
"""One of [Sync, SYNC, Async, ASYNC]"""
|
||||
|
||||
|
||||
|
||||
# Classes
|
||||
class PyParams:
|
||||
# Functions
|
||||
@_typing.overload
|
||||
def __init__(self) -> None: ...
|
||||
@_typing.overload
|
||||
def __init__(self, tag: str, model: str, weights: str, device: str) -> None: ...
|
||||
@_typing.overload
|
||||
def __init__(self, tag: str, model: str, device: str) -> None: ...
|
||||
|
||||
def constInput(self, layer_name: str, data: cv2.typing.MatLike, hint: TraitAs = ...) -> PyParams: ...
|
||||
|
||||
def cfgNumRequests(self, nireq: int) -> PyParams: ...
|
||||
|
||||
def cfgBatchSize(self, size: int) -> PyParams: ...
|
||||
|
||||
|
||||
|
||||
# Functions
|
||||
@_typing.overload
|
||||
def params(tag: str, model: str, weights: str, device: str) -> PyParams: ...
|
||||
@_typing.overload
|
||||
def params(tag: str, model: str, device: str) -> PyParams: ...
|
||||
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
__all__: list[str] = []
|
||||
|
||||
ParamDesc_Kind_Load: int
|
||||
PARAM_DESC_KIND_LOAD: int
|
||||
ParamDesc_Kind_Import: int
|
||||
PARAM_DESC_KIND_IMPORT: int
|
||||
ParamDesc_Kind = int
|
||||
"""One of [ParamDesc_Kind_Load, PARAM_DESC_KIND_LOAD, ParamDesc_Kind_Import, PARAM_DESC_KIND_IMPORT]"""
|
||||
|
||||
|
||||
# Classes
|
||||
|
||||
Reference in New Issue
Block a user