initial
This commit is contained in:
53
venv/lib/python3.12/site-packages/cv2/hfs/__init__.pyi
Normal file
53
venv/lib/python3.12/site-packages/cv2/hfs/__init__.pyi
Normal file
@@ -0,0 +1,53 @@
|
||||
__all__: list[str] = []
|
||||
|
||||
import cv2
|
||||
import cv2.typing
|
||||
import typing as _typing
|
||||
|
||||
|
||||
# Classes
|
||||
class HfsSegment(cv2.Algorithm):
|
||||
# Functions
|
||||
def setSegEgbThresholdI(self, c: float) -> None: ...
|
||||
|
||||
def getSegEgbThresholdI(self) -> float: ...
|
||||
|
||||
def setMinRegionSizeI(self, n: int) -> None: ...
|
||||
|
||||
def getMinRegionSizeI(self) -> int: ...
|
||||
|
||||
def setSegEgbThresholdII(self, c: float) -> None: ...
|
||||
|
||||
def getSegEgbThresholdII(self) -> float: ...
|
||||
|
||||
def setMinRegionSizeII(self, n: int) -> None: ...
|
||||
|
||||
def getMinRegionSizeII(self) -> int: ...
|
||||
|
||||
def setSpatialWeight(self, w: float) -> None: ...
|
||||
|
||||
def getSpatialWeight(self) -> float: ...
|
||||
|
||||
def setSlicSpixelSize(self, n: int) -> None: ...
|
||||
|
||||
def getSlicSpixelSize(self) -> int: ...
|
||||
|
||||
def setNumSlicIter(self, n: int) -> None: ...
|
||||
|
||||
def getNumSlicIter(self) -> int: ...
|
||||
|
||||
@_typing.overload
|
||||
def performSegmentGpu(self, src: cv2.typing.MatLike, ifDraw: bool = ...) -> cv2.typing.MatLike: ...
|
||||
@_typing.overload
|
||||
def performSegmentGpu(self, src: cv2.UMat, ifDraw: bool = ...) -> cv2.typing.MatLike: ...
|
||||
|
||||
@_typing.overload
|
||||
def performSegmentCpu(self, src: cv2.typing.MatLike, ifDraw: bool = ...) -> cv2.typing.MatLike: ...
|
||||
@_typing.overload
|
||||
def performSegmentCpu(self, src: cv2.UMat, ifDraw: bool = ...) -> cv2.typing.MatLike: ...
|
||||
|
||||
@classmethod
|
||||
def create(cls, height: int, width: int, segEgbThresholdI: float = ..., minRegionSizeI: int = ..., segEgbThresholdII: float = ..., minRegionSizeII: int = ..., spatialWeight: float = ..., slicSpixelSize: int = ..., numSlicIter: int = ...) -> HfsSegment: ...
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user