| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293 |
- __all__: list[str] = []
- import cv2
- import cv2.typing
- import typing as _typing
- # Classes
- class Tracker(cv2.Algorithm):
- # Functions
- @_typing.overload
- def init(self, image: cv2.typing.MatLike, boundingBox: cv2.typing.Rect2d) -> bool: ...
- @_typing.overload
- def init(self, image: cv2.UMat, boundingBox: cv2.typing.Rect2d) -> bool: ...
- @_typing.overload
- def update(self, image: cv2.typing.MatLike) -> tuple[bool, cv2.typing.Rect2d]: ...
- @_typing.overload
- def update(self, image: cv2.UMat) -> tuple[bool, cv2.typing.Rect2d]: ...
- class TrackerMIL(Tracker):
- # Functions
- @classmethod
- def create(cls) -> TrackerMIL: ...
- class TrackerBoosting(Tracker):
- # Functions
- @classmethod
- def create(cls) -> TrackerBoosting: ...
- class TrackerMedianFlow(Tracker):
- # Functions
- @classmethod
- def create(cls) -> TrackerMedianFlow: ...
- class TrackerTLD(Tracker):
- # Functions
- @classmethod
- def create(cls) -> TrackerTLD: ...
- class TrackerKCF(Tracker):
- # Functions
- @classmethod
- def create(cls) -> TrackerKCF: ...
- class TrackerMOSSE(Tracker):
- # Functions
- @classmethod
- def create(cls) -> TrackerMOSSE: ...
- class MultiTracker(cv2.Algorithm):
- # Functions
- def __init__(self) -> None: ...
- @_typing.overload
- def add(self, newTracker: Tracker, image: cv2.typing.MatLike, boundingBox: cv2.typing.Rect2d) -> bool: ...
- @_typing.overload
- def add(self, newTracker: Tracker, image: cv2.UMat, boundingBox: cv2.typing.Rect2d) -> bool: ...
- @_typing.overload
- def update(self, image: cv2.typing.MatLike) -> tuple[bool, _typing.Sequence[cv2.typing.Rect2d]]: ...
- @_typing.overload
- def update(self, image: cv2.UMat) -> tuple[bool, _typing.Sequence[cv2.typing.Rect2d]]: ...
- def getObjects(self) -> _typing.Sequence[cv2.typing.Rect2d]: ...
- @classmethod
- def create(cls) -> MultiTracker: ...
- class TrackerCSRT(Tracker):
- # Functions
- @classmethod
- def create(cls) -> TrackerCSRT: ...
- @_typing.overload
- def setInitialMask(self, mask: cv2.typing.MatLike) -> None: ...
- @_typing.overload
- def setInitialMask(self, mask: cv2.UMat) -> None: ...
- # Functions
- def upgradeTrackingAPI(legacy_tracker: Tracker) -> Tracker: ...
|