123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117 |
- import cv2
- import cv2.typing
- import typing
- # Classes
- class Text:
- text: str
- org: cv2.typing.Point
- ff: int
- fs: float
- color: cv2.typing.Scalar
- thick: int
- lt: int
- bottom_left_origin: bool
- # Functions
- @typing.overload
- def __init__(self, text_: str, org_: cv2.typing.Point, ff_: int, fs_: float, color_: cv2.typing.Scalar, thick_: int = ..., lt_: int = ..., bottom_left_origin_: bool = ...) -> None: ...
- @typing.overload
- def __init__(self) -> None: ...
- class Rect:
- rect: cv2.typing.Rect
- color: cv2.typing.Scalar
- thick: int
- lt: int
- shift: int
- # Functions
- @typing.overload
- def __init__(self) -> None: ...
- @typing.overload
- def __init__(self, rect_: cv2.typing.Rect2i, color_: cv2.typing.Scalar, thick_: int = ..., lt_: int = ..., shift_: int = ...) -> None: ...
- class Circle:
- center: cv2.typing.Point
- radius: int
- color: cv2.typing.Scalar
- thick: int
- lt: int
- shift: int
- # Functions
- @typing.overload
- def __init__(self, center_: cv2.typing.Point, radius_: int, color_: cv2.typing.Scalar, thick_: int = ..., lt_: int = ..., shift_: int = ...) -> None: ...
- @typing.overload
- def __init__(self) -> None: ...
- class Line:
- pt1: cv2.typing.Point
- pt2: cv2.typing.Point
- color: cv2.typing.Scalar
- thick: int
- lt: int
- shift: int
- # Functions
- @typing.overload
- def __init__(self, pt1_: cv2.typing.Point, pt2_: cv2.typing.Point, color_: cv2.typing.Scalar, thick_: int = ..., lt_: int = ..., shift_: int = ...) -> None: ...
- @typing.overload
- def __init__(self) -> None: ...
- class Mosaic:
- mos: cv2.typing.Rect
- cellSz: int
- decim: int
- # Functions
- @typing.overload
- def __init__(self) -> None: ...
- @typing.overload
- def __init__(self, mos_: cv2.typing.Rect2i, cellSz_: int, decim_: int) -> None: ...
- class Image:
- org: cv2.typing.Point
- img: cv2.typing.MatLike
- alpha: cv2.typing.MatLike
- # Functions
- @typing.overload
- def __init__(self, org_: cv2.typing.Point, img_: cv2.typing.MatLike, alpha_: cv2.typing.MatLike) -> None: ...
- @typing.overload
- def __init__(self) -> None: ...
- class Poly:
- points: typing.Sequence[cv2.typing.Point]
- color: cv2.typing.Scalar
- thick: int
- lt: int
- shift: int
- # Functions
- @typing.overload
- def __init__(self, points_: typing.Sequence[cv2.typing.Point], color_: cv2.typing.Scalar, thick_: int = ..., lt_: int = ..., shift_: int = ...) -> None: ...
- @typing.overload
- def __init__(self) -> None: ...
- # Functions
- @typing.overload
- def render(bgr: cv2.typing.MatLike, prims: typing.Sequence[cv2.typing.Prim], args: typing.Sequence[cv2.GCompileArg] = ...) -> None: ...
- @typing.overload
- def render(y_plane: cv2.typing.MatLike, uv_plane: cv2.typing.MatLike, prims: typing.Sequence[cv2.typing.Prim], args: typing.Sequence[cv2.GCompileArg] = ...) -> None: ...
- def render3ch(src: cv2.GMat, prims: cv2.GArrayT) -> cv2.GMat: ...
- def renderNV12(y: cv2.GMat, uv: cv2.GMat, prims: cv2.GArrayT) -> tuple[cv2.GMat, cv2.GMat]: ...
|