This commit is contained in:
rattatwinko
2025-05-25 20:42:58 +02:00
commit 8e9b2568b2
4902 changed files with 1152638 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
__all__: list[str] = []
import cv2
import cv2.typing
import typing as _typing
# Classes
class WeChatQRCode:
# Functions
def __init__(self, detector_prototxt_path: str = ..., detector_caffe_model_path: str = ..., super_resolution_prototxt_path: str = ..., super_resolution_caffe_model_path: str = ...) -> None: ...
@_typing.overload
def detectAndDecode(self, img: cv2.typing.MatLike, points: _typing.Sequence[cv2.typing.MatLike] | None = ...) -> tuple[_typing.Sequence[str], _typing.Sequence[cv2.typing.MatLike]]: ...
@_typing.overload
def detectAndDecode(self, img: cv2.UMat, points: _typing.Sequence[cv2.UMat] | None = ...) -> tuple[_typing.Sequence[str], _typing.Sequence[cv2.UMat]]: ...
def setScaleFactor(self, _scalingFactor: float) -> None: ...
def getScaleFactor(self) -> float: ...