opencv-contrib-python-headless 4.13.0.90__cp37-abi3-manylinux_2_28_aarch64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- cv2/Error/__init__.pyi +118 -0
- cv2/LICENSE-3RD-PARTY.txt +3513 -0
- cv2/LICENSE.txt +21 -0
- cv2/__init__.py +181 -0
- cv2/__init__.pyi +6858 -0
- cv2/aruco/__init__.pyi +410 -0
- cv2/barcode/__init__.pyi +40 -0
- cv2/bgsegm/__init__.pyi +202 -0
- cv2/bioinspired/__init__.pyi +121 -0
- cv2/ccm/__init__.pyi +167 -0
- cv2/colored_kinfu/__init__.pyi +96 -0
- cv2/config-3.py +24 -0
- cv2/config.py +5 -0
- cv2/cuda/__init__.pyi +553 -0
- cv2/cv2.abi3.so +0 -0
- cv2/data/__init__.py +3 -0
- cv2/data/haarcascade_eye.xml +12213 -0
- cv2/data/haarcascade_eye_tree_eyeglasses.xml +22619 -0
- cv2/data/haarcascade_frontalcatface.xml +14382 -0
- cv2/data/haarcascade_frontalcatface_extended.xml +13394 -0
- cv2/data/haarcascade_frontalface_alt.xml +24350 -0
- cv2/data/haarcascade_frontalface_alt2.xml +20719 -0
- cv2/data/haarcascade_frontalface_alt_tree.xml +96484 -0
- cv2/data/haarcascade_frontalface_default.xml +33314 -0
- cv2/data/haarcascade_fullbody.xml +17030 -0
- cv2/data/haarcascade_lefteye_2splits.xml +7390 -0
- cv2/data/haarcascade_license_plate_rus_16stages.xml +1404 -0
- cv2/data/haarcascade_lowerbody.xml +14056 -0
- cv2/data/haarcascade_profileface.xml +29690 -0
- cv2/data/haarcascade_righteye_2splits.xml +7407 -0
- cv2/data/haarcascade_russian_plate_number.xml +2656 -0
- cv2/data/haarcascade_smile.xml +6729 -0
- cv2/data/haarcascade_upperbody.xml +28134 -0
- cv2/datasets/__init__.pyi +80 -0
- cv2/detail/__init__.pyi +627 -0
- cv2/dnn/__init__.pyi +549 -0
- cv2/dnn_superres/__init__.pyi +37 -0
- cv2/dpm/__init__.pyi +10 -0
- cv2/dynafu/__init__.pyi +43 -0
- cv2/face/__init__.pyi +220 -0
- cv2/fisheye/__init__.pyi +88 -0
- cv2/flann/__init__.pyi +65 -0
- cv2/ft/__init__.pyi +98 -0
- cv2/gapi/__init__.py +323 -0
- cv2/gapi/__init__.pyi +349 -0
- cv2/gapi/core/__init__.pyi +7 -0
- cv2/gapi/core/cpu/__init__.pyi +9 -0
- cv2/gapi/core/fluid/__init__.pyi +9 -0
- cv2/gapi/core/ocl/__init__.pyi +9 -0
- cv2/gapi/ie/__init__.pyi +51 -0
- cv2/gapi/ie/detail/__init__.pyi +12 -0
- cv2/gapi/imgproc/__init__.pyi +5 -0
- cv2/gapi/imgproc/fluid/__init__.pyi +9 -0
- cv2/gapi/oak/__init__.pyi +37 -0
- cv2/gapi/onnx/__init__.pyi +55 -0
- cv2/gapi/onnx/ep/__init__.pyi +63 -0
- cv2/gapi/ot/__init__.pyi +32 -0
- cv2/gapi/ot/cpu/__init__.pyi +9 -0
- cv2/gapi/ov/__init__.pyi +74 -0
- cv2/gapi/own/__init__.pyi +5 -0
- cv2/gapi/own/detail/__init__.pyi +10 -0
- cv2/gapi/render/__init__.pyi +5 -0
- cv2/gapi/render/ocv/__init__.pyi +9 -0
- cv2/gapi/streaming/__init__.pyi +42 -0
- cv2/gapi/video/__init__.pyi +10 -0
- cv2/gapi/wip/__init__.pyi +43 -0
- cv2/gapi/wip/draw/__init__.pyi +119 -0
- cv2/gapi/wip/gst/__init__.pyi +17 -0
- cv2/gapi/wip/onevpl/__init__.pyi +16 -0
- cv2/hfs/__init__.pyi +53 -0
- cv2/img_hash/__init__.pyi +116 -0
- cv2/instr/__init__.pyi +24 -0
- cv2/intensity_transform/__init__.pyi +27 -0
- cv2/ipp/__init__.pyi +14 -0
- cv2/kinfu/__init__.pyi +133 -0
- cv2/kinfu/detail/__init__.pyi +7 -0
- cv2/large_kinfu/__init__.pyi +73 -0
- cv2/legacy/__init__.pyi +93 -0
- cv2/line_descriptor/__init__.pyi +112 -0
- cv2/linemod/__init__.pyi +151 -0
- cv2/load_config_py2.py +6 -0
- cv2/load_config_py3.py +9 -0
- cv2/mat_wrapper/__init__.py +40 -0
- cv2/mcc/__init__.pyi +109 -0
- cv2/misc/__init__.py +1 -0
- cv2/misc/version.py +5 -0
- cv2/ml/__init__.pyi +696 -0
- cv2/motempl/__init__.pyi +29 -0
- cv2/multicalib/__init__.pyi +10 -0
- cv2/ocl/__init__.pyi +252 -0
- cv2/ogl/__init__.pyi +51 -0
- cv2/omnidir/__init__.pyi +68 -0
- cv2/optflow/__init__.pyi +286 -0
- cv2/parallel/__init__.pyi +6 -0
- cv2/phase_unwrapping/__init__.pyi +41 -0
- cv2/plot/__init__.pyi +64 -0
- cv2/ppf_match_3d/__init__.pyi +91 -0
- cv2/py.typed +0 -0
- cv2/quality/__init__.pyi +149 -0
- cv2/rapid/__init__.pyi +91 -0
- cv2/reg/__init__.pyi +210 -0
- cv2/rgbd/__init__.pyi +449 -0
- cv2/saliency/__init__.pyi +117 -0
- cv2/samples/__init__.pyi +12 -0
- cv2/segmentation/__init__.pyi +39 -0
- cv2/signal/__init__.pyi +14 -0
- cv2/stereo/__init__.pyi +88 -0
- cv2/structured_light/__init__.pyi +94 -0
- cv2/text/__init__.pyi +204 -0
- cv2/typing/__init__.py +180 -0
- cv2/utils/__init__.py +14 -0
- cv2/utils/__init__.pyi +110 -0
- cv2/utils/fs/__init__.pyi +6 -0
- cv2/utils/logging/__init__.pyi +22 -0
- cv2/utils/nested/__init__.pyi +31 -0
- cv2/version.py +5 -0
- cv2/videoio_registry/__init__.pyi +31 -0
- cv2/videostab/__init__.pyi +16 -0
- cv2/wechat_qrcode/__init__.pyi +23 -0
- cv2/xfeatures2d/__init__.pyi +537 -0
- cv2/ximgproc/__init__.pyi +746 -0
- cv2/ximgproc/segmentation/__init__.pyi +116 -0
- cv2/xphoto/__init__.pyi +142 -0
- opencv_contrib_python_headless-4.13.0.90.dist-info/LICENSE-3RD-PARTY.txt +3513 -0
- opencv_contrib_python_headless-4.13.0.90.dist-info/LICENSE.txt +21 -0
- opencv_contrib_python_headless-4.13.0.90.dist-info/METADATA +300 -0
- opencv_contrib_python_headless-4.13.0.90.dist-info/RECORD +149 -0
- opencv_contrib_python_headless-4.13.0.90.dist-info/WHEEL +5 -0
- opencv_contrib_python_headless-4.13.0.90.dist-info/sboms/auditwheel.cdx.json +1 -0
- opencv_contrib_python_headless-4.13.0.90.dist-info/top_level.txt +1 -0
- opencv_contrib_python_headless.libs/libXau-7926f62a.so.6.0.0 +0 -0
- opencv_contrib_python_headless.libs/libaom-0b2390d3.so.3.12.1 +0 -0
- opencv_contrib_python_headless.libs/libavcodec-5696b3bf.so.59.37.100 +0 -0
- opencv_contrib_python_headless.libs/libavdevice-827b98cd.so.59.7.100 +0 -0
- opencv_contrib_python_headless.libs/libavfilter-75ac0576.so.8.44.100 +0 -0
- opencv_contrib_python_headless.libs/libavformat-bf63de55.so.59.27.100 +0 -0
- opencv_contrib_python_headless.libs/libavif-acfd7f95.so.16.3.0 +0 -0
- opencv_contrib_python_headless.libs/libavutil-cac768a8.so.57.28.100 +0 -0
- opencv_contrib_python_headless.libs/libcrypto-3dc39733.so.1.1.1k +0 -0
- opencv_contrib_python_headless.libs/libgfortran-e1b7dfc8.so.5.0.0 +0 -0
- opencv_contrib_python_headless.libs/libopenblasp-r0-e3ea6fd1.3.15.so +0 -0
- opencv_contrib_python_headless.libs/libpng16-e3f0ef52.so.16.48.0 +0 -0
- opencv_contrib_python_headless.libs/libssl-b6e07dfa.so.1.1.1k +0 -0
- opencv_contrib_python_headless.libs/libswresample-a12ab15e.so.4.7.100 +0 -0
- opencv_contrib_python_headless.libs/libswscale-27999517.so.6.7.100 +0 -0
- opencv_contrib_python_headless.libs/libvpx-c84f69c8.so.11.0.0 +0 -0
- opencv_contrib_python_headless.libs/libxcb-shape-c3b64477.so.0.0.0 +0 -0
- opencv_contrib_python_headless.libs/libxcb-shm-1266c612.so.0.0.0 +0 -0
- opencv_contrib_python_headless.libs/libxcb-xfixes-a124fd6b.so.0.0.0 +0 -0
cv2/cuda/__init__.pyi
ADDED
|
@@ -0,0 +1,553 @@
|
|
|
1
|
+
__all__: list[str] = []
|
|
2
|
+
|
|
3
|
+
import cv2
|
|
4
|
+
import cv2.typing
|
|
5
|
+
import typing as _typing
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
# Enumerations
|
|
9
|
+
FEATURE_SET_COMPUTE_10: int
|
|
10
|
+
FEATURE_SET_COMPUTE_11: int
|
|
11
|
+
FEATURE_SET_COMPUTE_12: int
|
|
12
|
+
FEATURE_SET_COMPUTE_13: int
|
|
13
|
+
FEATURE_SET_COMPUTE_20: int
|
|
14
|
+
FEATURE_SET_COMPUTE_21: int
|
|
15
|
+
FEATURE_SET_COMPUTE_30: int
|
|
16
|
+
FEATURE_SET_COMPUTE_32: int
|
|
17
|
+
FEATURE_SET_COMPUTE_35: int
|
|
18
|
+
FEATURE_SET_COMPUTE_50: int
|
|
19
|
+
GLOBAL_ATOMICS: int
|
|
20
|
+
SHARED_ATOMICS: int
|
|
21
|
+
NATIVE_DOUBLE: int
|
|
22
|
+
WARP_SHUFFLE_FUNCTIONS: int
|
|
23
|
+
DYNAMIC_PARALLELISM: int
|
|
24
|
+
FeatureSet = int
|
|
25
|
+
"""One of [FEATURE_SET_COMPUTE_10, FEATURE_SET_COMPUTE_11, FEATURE_SET_COMPUTE_12, FEATURE_SET_COMPUTE_13, FEATURE_SET_COMPUTE_20, FEATURE_SET_COMPUTE_21, FEATURE_SET_COMPUTE_30, FEATURE_SET_COMPUTE_32, FEATURE_SET_COMPUTE_35, FEATURE_SET_COMPUTE_50, GLOBAL_ATOMICS, SHARED_ATOMICS, NATIVE_DOUBLE, WARP_SHUFFLE_FUNCTIONS, DYNAMIC_PARALLELISM]"""
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
HostMem_PAGE_LOCKED: int
|
|
29
|
+
HOST_MEM_PAGE_LOCKED: int
|
|
30
|
+
HostMem_SHARED: int
|
|
31
|
+
HOST_MEM_SHARED: int
|
|
32
|
+
HostMem_WRITE_COMBINED: int
|
|
33
|
+
HOST_MEM_WRITE_COMBINED: int
|
|
34
|
+
HostMem_AllocType = int
|
|
35
|
+
"""One of [HostMem_PAGE_LOCKED, HOST_MEM_PAGE_LOCKED, HostMem_SHARED, HOST_MEM_SHARED, HostMem_WRITE_COMBINED, HOST_MEM_WRITE_COMBINED]"""
|
|
36
|
+
|
|
37
|
+
Event_DEFAULT: int
|
|
38
|
+
EVENT_DEFAULT: int
|
|
39
|
+
Event_BLOCKING_SYNC: int
|
|
40
|
+
EVENT_BLOCKING_SYNC: int
|
|
41
|
+
Event_DISABLE_TIMING: int
|
|
42
|
+
EVENT_DISABLE_TIMING: int
|
|
43
|
+
Event_INTERPROCESS: int
|
|
44
|
+
EVENT_INTERPROCESS: int
|
|
45
|
+
Event_CreateFlags = int
|
|
46
|
+
"""One of [Event_DEFAULT, EVENT_DEFAULT, Event_BLOCKING_SYNC, EVENT_BLOCKING_SYNC, Event_DISABLE_TIMING, EVENT_DISABLE_TIMING, Event_INTERPROCESS, EVENT_INTERPROCESS]"""
|
|
47
|
+
|
|
48
|
+
DeviceInfo_ComputeModeDefault: int
|
|
49
|
+
DEVICE_INFO_COMPUTE_MODE_DEFAULT: int
|
|
50
|
+
DeviceInfo_ComputeModeExclusive: int
|
|
51
|
+
DEVICE_INFO_COMPUTE_MODE_EXCLUSIVE: int
|
|
52
|
+
DeviceInfo_ComputeModeProhibited: int
|
|
53
|
+
DEVICE_INFO_COMPUTE_MODE_PROHIBITED: int
|
|
54
|
+
DeviceInfo_ComputeModeExclusiveProcess: int
|
|
55
|
+
DEVICE_INFO_COMPUTE_MODE_EXCLUSIVE_PROCESS: int
|
|
56
|
+
DeviceInfo_ComputeMode = int
|
|
57
|
+
"""One of [DeviceInfo_ComputeModeDefault, DEVICE_INFO_COMPUTE_MODE_DEFAULT, DeviceInfo_ComputeModeExclusive, DEVICE_INFO_COMPUTE_MODE_EXCLUSIVE, DeviceInfo_ComputeModeProhibited, DEVICE_INFO_COMPUTE_MODE_PROHIBITED, DeviceInfo_ComputeModeExclusiveProcess, DEVICE_INFO_COMPUTE_MODE_EXCLUSIVE_PROCESS]"""
|
|
58
|
+
|
|
59
|
+
SURF_CUDA_X_ROW: int
|
|
60
|
+
SURF_CUDA_Y_ROW: int
|
|
61
|
+
SURF_CUDA_LAPLACIAN_ROW: int
|
|
62
|
+
SURF_CUDA_OCTAVE_ROW: int
|
|
63
|
+
SURF_CUDA_SIZE_ROW: int
|
|
64
|
+
SURF_CUDA_ANGLE_ROW: int
|
|
65
|
+
SURF_CUDA_HESSIAN_ROW: int
|
|
66
|
+
SURF_CUDA_ROWS_COUNT: int
|
|
67
|
+
SURF_CUDA_KeypointLayout = int
|
|
68
|
+
"""One of [SURF_CUDA_X_ROW, SURF_CUDA_Y_ROW, SURF_CUDA_LAPLACIAN_ROW, SURF_CUDA_OCTAVE_ROW, SURF_CUDA_SIZE_ROW, SURF_CUDA_ANGLE_ROW, SURF_CUDA_HESSIAN_ROW, SURF_CUDA_ROWS_COUNT]"""
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
# Classes
|
|
72
|
+
class GpuMat:
|
|
73
|
+
@property
|
|
74
|
+
def step(self) -> int: ...
|
|
75
|
+
|
|
76
|
+
# Classes
|
|
77
|
+
class Allocator:
|
|
78
|
+
...
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
# Functions
|
|
82
|
+
@_typing.overload
|
|
83
|
+
def __init__(self, allocator: GpuMat.Allocator = ...) -> None: ...
|
|
84
|
+
@_typing.overload
|
|
85
|
+
def __init__(self, rows: int, cols: int, type: int, allocator: GpuMat.Allocator = ...) -> None: ...
|
|
86
|
+
@_typing.overload
|
|
87
|
+
def __init__(self, size: cv2.typing.Size, type: int, allocator: GpuMat.Allocator = ...) -> None: ...
|
|
88
|
+
@_typing.overload
|
|
89
|
+
def __init__(self, rows: int, cols: int, type: int, s: cv2.typing.Scalar, allocator: GpuMat.Allocator = ...) -> None: ...
|
|
90
|
+
@_typing.overload
|
|
91
|
+
def __init__(self, size: cv2.typing.Size, type: int, s: cv2.typing.Scalar, allocator: GpuMat.Allocator = ...) -> None: ...
|
|
92
|
+
@_typing.overload
|
|
93
|
+
def __init__(self, m: GpuMat) -> None: ...
|
|
94
|
+
@_typing.overload
|
|
95
|
+
def __init__(self, m: GpuMat, rowRange: cv2.typing.Range, colRange: cv2.typing.Range) -> None: ...
|
|
96
|
+
@_typing.overload
|
|
97
|
+
def __init__(self, m: GpuMat, roi: cv2.typing.Rect) -> None: ...
|
|
98
|
+
@_typing.overload
|
|
99
|
+
def __init__(self, arr: cv2.typing.MatLike, allocator: GpuMat.Allocator = ...) -> None: ...
|
|
100
|
+
@_typing.overload
|
|
101
|
+
def __init__(self, arr: GpuMat, allocator: GpuMat.Allocator = ...) -> None: ...
|
|
102
|
+
@_typing.overload
|
|
103
|
+
def __init__(self, arr: cv2.UMat, allocator: GpuMat.Allocator = ...) -> None: ...
|
|
104
|
+
|
|
105
|
+
@staticmethod
|
|
106
|
+
def defaultAllocator() -> GpuMat.Allocator: ...
|
|
107
|
+
|
|
108
|
+
@staticmethod
|
|
109
|
+
def setDefaultAllocator(allocator: GpuMat.Allocator) -> None: ...
|
|
110
|
+
|
|
111
|
+
@staticmethod
|
|
112
|
+
def getStdAllocator() -> GpuMat.Allocator: ...
|
|
113
|
+
|
|
114
|
+
@_typing.overload
|
|
115
|
+
def create(self, rows: int, cols: int, type: int) -> None: ...
|
|
116
|
+
@_typing.overload
|
|
117
|
+
def create(self, size: cv2.typing.Size, type: int) -> None: ...
|
|
118
|
+
|
|
119
|
+
def release(self) -> None: ...
|
|
120
|
+
|
|
121
|
+
def swap(self, mat: GpuMat) -> None: ...
|
|
122
|
+
|
|
123
|
+
@_typing.overload
|
|
124
|
+
def upload(self, arr: cv2.typing.MatLike) -> None: ...
|
|
125
|
+
@_typing.overload
|
|
126
|
+
def upload(self, arr: GpuMat) -> None: ...
|
|
127
|
+
@_typing.overload
|
|
128
|
+
def upload(self, arr: cv2.UMat) -> None: ...
|
|
129
|
+
@_typing.overload
|
|
130
|
+
def upload(self, arr: cv2.typing.MatLike, stream: Stream) -> None: ...
|
|
131
|
+
@_typing.overload
|
|
132
|
+
def upload(self, arr: GpuMat, stream: Stream) -> None: ...
|
|
133
|
+
@_typing.overload
|
|
134
|
+
def upload(self, arr: cv2.UMat, stream: Stream) -> None: ...
|
|
135
|
+
|
|
136
|
+
@_typing.overload
|
|
137
|
+
def download(self, dst: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
|
|
138
|
+
@_typing.overload
|
|
139
|
+
def download(self, dst: GpuMat | None = ...) -> GpuMat: ...
|
|
140
|
+
@_typing.overload
|
|
141
|
+
def download(self, dst: cv2.UMat | None = ...) -> cv2.UMat: ...
|
|
142
|
+
@_typing.overload
|
|
143
|
+
def download(self, stream: Stream, dst: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
|
|
144
|
+
@_typing.overload
|
|
145
|
+
def download(self, stream: Stream, dst: GpuMat | None = ...) -> GpuMat: ...
|
|
146
|
+
@_typing.overload
|
|
147
|
+
def download(self, stream: Stream, dst: cv2.UMat | None = ...) -> cv2.UMat: ...
|
|
148
|
+
|
|
149
|
+
def clone(self) -> GpuMat: ...
|
|
150
|
+
|
|
151
|
+
@_typing.overload
|
|
152
|
+
def copyTo(self, dst: GpuMat | None = ...) -> GpuMat: ...
|
|
153
|
+
@_typing.overload
|
|
154
|
+
def copyTo(self, stream: Stream, dst: GpuMat | None = ...) -> GpuMat: ...
|
|
155
|
+
@_typing.overload
|
|
156
|
+
def copyTo(self, mask: GpuMat, dst: GpuMat | None = ...) -> GpuMat: ...
|
|
157
|
+
@_typing.overload
|
|
158
|
+
def copyTo(self, mask: GpuMat, stream: Stream, dst: GpuMat | None = ...) -> GpuMat: ...
|
|
159
|
+
|
|
160
|
+
@_typing.overload
|
|
161
|
+
def setTo(self, s: cv2.typing.Scalar) -> GpuMat: ...
|
|
162
|
+
@_typing.overload
|
|
163
|
+
def setTo(self, s: cv2.typing.Scalar, stream: Stream) -> GpuMat: ...
|
|
164
|
+
@_typing.overload
|
|
165
|
+
def setTo(self, s: cv2.typing.Scalar, mask: cv2.typing.MatLike) -> GpuMat: ...
|
|
166
|
+
@_typing.overload
|
|
167
|
+
def setTo(self, s: cv2.typing.Scalar, mask: GpuMat) -> GpuMat: ...
|
|
168
|
+
@_typing.overload
|
|
169
|
+
def setTo(self, s: cv2.typing.Scalar, mask: cv2.UMat) -> GpuMat: ...
|
|
170
|
+
@_typing.overload
|
|
171
|
+
def setTo(self, s: cv2.typing.Scalar, mask: cv2.typing.MatLike, stream: Stream) -> GpuMat: ...
|
|
172
|
+
@_typing.overload
|
|
173
|
+
def setTo(self, s: cv2.typing.Scalar, mask: GpuMat, stream: Stream) -> GpuMat: ...
|
|
174
|
+
@_typing.overload
|
|
175
|
+
def setTo(self, s: cv2.typing.Scalar, mask: cv2.UMat, stream: Stream) -> GpuMat: ...
|
|
176
|
+
|
|
177
|
+
@_typing.overload
|
|
178
|
+
def convertTo(self, rtype: int, dst: GpuMat | None = ...) -> GpuMat: ...
|
|
179
|
+
@_typing.overload
|
|
180
|
+
def convertTo(self, rtype: int, stream: Stream, dst: GpuMat | None = ...) -> GpuMat: ...
|
|
181
|
+
@_typing.overload
|
|
182
|
+
def convertTo(self, rtype: int, dst: GpuMat | None = ..., alpha: float = ..., beta: float = ...) -> GpuMat: ...
|
|
183
|
+
@_typing.overload
|
|
184
|
+
def convertTo(self, rtype: int, alpha: float, beta: float, stream: Stream, dst: GpuMat | None = ...) -> GpuMat: ...
|
|
185
|
+
|
|
186
|
+
def assignTo(self, m: GpuMat, type: int = ...) -> None: ...
|
|
187
|
+
|
|
188
|
+
def row(self, y: int) -> GpuMat: ...
|
|
189
|
+
|
|
190
|
+
def col(self, x: int) -> GpuMat: ...
|
|
191
|
+
|
|
192
|
+
@_typing.overload
|
|
193
|
+
def rowRange(self, startrow: int, endrow: int) -> GpuMat: ...
|
|
194
|
+
@_typing.overload
|
|
195
|
+
def rowRange(self, r: cv2.typing.Range) -> GpuMat: ...
|
|
196
|
+
|
|
197
|
+
@_typing.overload
|
|
198
|
+
def colRange(self, startcol: int, endcol: int) -> GpuMat: ...
|
|
199
|
+
@_typing.overload
|
|
200
|
+
def colRange(self, r: cv2.typing.Range) -> GpuMat: ...
|
|
201
|
+
|
|
202
|
+
def reshape(self, cn: int, rows: int = ...) -> GpuMat: ...
|
|
203
|
+
|
|
204
|
+
def locateROI(self, wholeSize: cv2.typing.Size, ofs: cv2.typing.Point) -> None: ...
|
|
205
|
+
|
|
206
|
+
def adjustROI(self, dtop: int, dbottom: int, dleft: int, dright: int) -> GpuMat: ...
|
|
207
|
+
|
|
208
|
+
def isContinuous(self) -> bool: ...
|
|
209
|
+
|
|
210
|
+
def elemSize(self) -> int: ...
|
|
211
|
+
|
|
212
|
+
def elemSize1(self) -> int: ...
|
|
213
|
+
|
|
214
|
+
def type(self) -> int: ...
|
|
215
|
+
|
|
216
|
+
def depth(self) -> int: ...
|
|
217
|
+
|
|
218
|
+
def channels(self) -> int: ...
|
|
219
|
+
|
|
220
|
+
def step1(self) -> int: ...
|
|
221
|
+
|
|
222
|
+
def size(self) -> cv2.typing.Size: ...
|
|
223
|
+
|
|
224
|
+
def empty(self) -> bool: ...
|
|
225
|
+
|
|
226
|
+
def cudaPtr(self) -> cv2.typing.IntPointer: ...
|
|
227
|
+
|
|
228
|
+
def updateContinuityFlag(self) -> None: ...
|
|
229
|
+
|
|
230
|
+
|
|
231
|
+
class GpuData:
|
|
232
|
+
...
|
|
233
|
+
|
|
234
|
+
class GpuMatND:
|
|
235
|
+
...
|
|
236
|
+
|
|
237
|
+
class BufferPool:
|
|
238
|
+
# Functions
|
|
239
|
+
def __init__(self, stream: Stream) -> None: ...
|
|
240
|
+
|
|
241
|
+
@_typing.overload
|
|
242
|
+
def getBuffer(self, rows: int, cols: int, type: int) -> GpuMat: ...
|
|
243
|
+
@_typing.overload
|
|
244
|
+
def getBuffer(self, size: cv2.typing.Size, type: int) -> GpuMat: ...
|
|
245
|
+
|
|
246
|
+
def getAllocator(self) -> GpuMat.Allocator: ...
|
|
247
|
+
|
|
248
|
+
|
|
249
|
+
class HostMem:
|
|
250
|
+
@property
|
|
251
|
+
def step(self) -> int: ...
|
|
252
|
+
|
|
253
|
+
# Functions
|
|
254
|
+
@_typing.overload
|
|
255
|
+
def __init__(self, alloc_type: HostMem_AllocType = ...) -> None: ...
|
|
256
|
+
@_typing.overload
|
|
257
|
+
def __init__(self, rows: int, cols: int, type: int, alloc_type: HostMem_AllocType = ...) -> None: ...
|
|
258
|
+
@_typing.overload
|
|
259
|
+
def __init__(self, size: cv2.typing.Size, type: int, alloc_type: HostMem_AllocType = ...) -> None: ...
|
|
260
|
+
@_typing.overload
|
|
261
|
+
def __init__(self, arr: cv2.typing.MatLike, alloc_type: HostMem_AllocType = ...) -> None: ...
|
|
262
|
+
@_typing.overload
|
|
263
|
+
def __init__(self, arr: GpuMat, alloc_type: HostMem_AllocType = ...) -> None: ...
|
|
264
|
+
@_typing.overload
|
|
265
|
+
def __init__(self, arr: cv2.UMat, alloc_type: HostMem_AllocType = ...) -> None: ...
|
|
266
|
+
|
|
267
|
+
def swap(self, b: HostMem) -> None: ...
|
|
268
|
+
|
|
269
|
+
def clone(self) -> HostMem: ...
|
|
270
|
+
|
|
271
|
+
def create(self, rows: int, cols: int, type: int) -> None: ...
|
|
272
|
+
|
|
273
|
+
def reshape(self, cn: int, rows: int = ...) -> HostMem: ...
|
|
274
|
+
|
|
275
|
+
def createMatHeader(self) -> cv2.typing.MatLike: ...
|
|
276
|
+
|
|
277
|
+
def isContinuous(self) -> bool: ...
|
|
278
|
+
|
|
279
|
+
def elemSize(self) -> int: ...
|
|
280
|
+
|
|
281
|
+
def elemSize1(self) -> int: ...
|
|
282
|
+
|
|
283
|
+
def type(self) -> int: ...
|
|
284
|
+
|
|
285
|
+
def depth(self) -> int: ...
|
|
286
|
+
|
|
287
|
+
def channels(self) -> int: ...
|
|
288
|
+
|
|
289
|
+
def step1(self) -> int: ...
|
|
290
|
+
|
|
291
|
+
def size(self) -> cv2.typing.Size: ...
|
|
292
|
+
|
|
293
|
+
def empty(self) -> bool: ...
|
|
294
|
+
|
|
295
|
+
|
|
296
|
+
class Stream:
|
|
297
|
+
# Functions
|
|
298
|
+
@_typing.overload
|
|
299
|
+
def __init__(self) -> None: ...
|
|
300
|
+
@_typing.overload
|
|
301
|
+
def __init__(self, allocator: GpuMat.Allocator) -> None: ...
|
|
302
|
+
@_typing.overload
|
|
303
|
+
def __init__(self, cudaFlags: int) -> None: ...
|
|
304
|
+
|
|
305
|
+
def queryIfComplete(self) -> bool: ...
|
|
306
|
+
|
|
307
|
+
def waitForCompletion(self) -> None: ...
|
|
308
|
+
|
|
309
|
+
def waitEvent(self, event: Event) -> None: ...
|
|
310
|
+
|
|
311
|
+
@classmethod
|
|
312
|
+
def Null(cls) -> Stream: ...
|
|
313
|
+
|
|
314
|
+
def cudaPtr(self) -> cv2.typing.IntPointer: ...
|
|
315
|
+
|
|
316
|
+
|
|
317
|
+
class Event:
|
|
318
|
+
# Functions
|
|
319
|
+
def __init__(self, flags: Event_CreateFlags = ...) -> None: ...
|
|
320
|
+
|
|
321
|
+
def record(self, stream: Stream = ...) -> None: ...
|
|
322
|
+
|
|
323
|
+
def queryIfComplete(self) -> bool: ...
|
|
324
|
+
|
|
325
|
+
def waitForCompletion(self) -> None: ...
|
|
326
|
+
|
|
327
|
+
@staticmethod
|
|
328
|
+
def elapsedTime(start: Event, end: Event) -> float: ...
|
|
329
|
+
|
|
330
|
+
|
|
331
|
+
class TargetArchs:
|
|
332
|
+
# Functions
|
|
333
|
+
@staticmethod
|
|
334
|
+
def has(major: int, minor: int) -> bool: ...
|
|
335
|
+
|
|
336
|
+
@staticmethod
|
|
337
|
+
def hasPtx(major: int, minor: int) -> bool: ...
|
|
338
|
+
|
|
339
|
+
@staticmethod
|
|
340
|
+
def hasBin(major: int, minor: int) -> bool: ...
|
|
341
|
+
|
|
342
|
+
@staticmethod
|
|
343
|
+
def hasEqualOrLessPtx(major: int, minor: int) -> bool: ...
|
|
344
|
+
|
|
345
|
+
@staticmethod
|
|
346
|
+
def hasEqualOrGreater(major: int, minor: int) -> bool: ...
|
|
347
|
+
|
|
348
|
+
@staticmethod
|
|
349
|
+
def hasEqualOrGreaterPtx(major: int, minor: int) -> bool: ...
|
|
350
|
+
|
|
351
|
+
@staticmethod
|
|
352
|
+
def hasEqualOrGreaterBin(major: int, minor: int) -> bool: ...
|
|
353
|
+
|
|
354
|
+
|
|
355
|
+
class DeviceInfo:
|
|
356
|
+
# Functions
|
|
357
|
+
@_typing.overload
|
|
358
|
+
def __init__(self) -> None: ...
|
|
359
|
+
@_typing.overload
|
|
360
|
+
def __init__(self, device_id: int) -> None: ...
|
|
361
|
+
|
|
362
|
+
def deviceID(self) -> int: ...
|
|
363
|
+
|
|
364
|
+
def totalGlobalMem(self) -> int: ...
|
|
365
|
+
|
|
366
|
+
def sharedMemPerBlock(self) -> int: ...
|
|
367
|
+
|
|
368
|
+
def regsPerBlock(self) -> int: ...
|
|
369
|
+
|
|
370
|
+
def warpSize(self) -> int: ...
|
|
371
|
+
|
|
372
|
+
def memPitch(self) -> int: ...
|
|
373
|
+
|
|
374
|
+
def maxThreadsPerBlock(self) -> int: ...
|
|
375
|
+
|
|
376
|
+
def maxThreadsDim(self) -> cv2.typing.Vec3i: ...
|
|
377
|
+
|
|
378
|
+
def maxGridSize(self) -> cv2.typing.Vec3i: ...
|
|
379
|
+
|
|
380
|
+
def clockRate(self) -> int: ...
|
|
381
|
+
|
|
382
|
+
def totalConstMem(self) -> int: ...
|
|
383
|
+
|
|
384
|
+
def majorVersion(self) -> int: ...
|
|
385
|
+
|
|
386
|
+
def minorVersion(self) -> int: ...
|
|
387
|
+
|
|
388
|
+
def textureAlignment(self) -> int: ...
|
|
389
|
+
|
|
390
|
+
def texturePitchAlignment(self) -> int: ...
|
|
391
|
+
|
|
392
|
+
def multiProcessorCount(self) -> int: ...
|
|
393
|
+
|
|
394
|
+
def kernelExecTimeoutEnabled(self) -> bool: ...
|
|
395
|
+
|
|
396
|
+
def integrated(self) -> bool: ...
|
|
397
|
+
|
|
398
|
+
def canMapHostMemory(self) -> bool: ...
|
|
399
|
+
|
|
400
|
+
def computeMode(self) -> DeviceInfo_ComputeMode: ...
|
|
401
|
+
|
|
402
|
+
def maxTexture1D(self) -> int: ...
|
|
403
|
+
|
|
404
|
+
def maxTexture1DMipmap(self) -> int: ...
|
|
405
|
+
|
|
406
|
+
def maxTexture1DLinear(self) -> int: ...
|
|
407
|
+
|
|
408
|
+
def maxTexture2D(self) -> cv2.typing.Vec2i: ...
|
|
409
|
+
|
|
410
|
+
def maxTexture2DMipmap(self) -> cv2.typing.Vec2i: ...
|
|
411
|
+
|
|
412
|
+
def maxTexture2DLinear(self) -> cv2.typing.Vec3i: ...
|
|
413
|
+
|
|
414
|
+
def maxTexture2DGather(self) -> cv2.typing.Vec2i: ...
|
|
415
|
+
|
|
416
|
+
def maxTexture3D(self) -> cv2.typing.Vec3i: ...
|
|
417
|
+
|
|
418
|
+
def maxTextureCubemap(self) -> int: ...
|
|
419
|
+
|
|
420
|
+
def maxTexture1DLayered(self) -> cv2.typing.Vec2i: ...
|
|
421
|
+
|
|
422
|
+
def maxTexture2DLayered(self) -> cv2.typing.Vec3i: ...
|
|
423
|
+
|
|
424
|
+
def maxTextureCubemapLayered(self) -> cv2.typing.Vec2i: ...
|
|
425
|
+
|
|
426
|
+
def maxSurface1D(self) -> int: ...
|
|
427
|
+
|
|
428
|
+
def maxSurface2D(self) -> cv2.typing.Vec2i: ...
|
|
429
|
+
|
|
430
|
+
def maxSurface3D(self) -> cv2.typing.Vec3i: ...
|
|
431
|
+
|
|
432
|
+
def maxSurface1DLayered(self) -> cv2.typing.Vec2i: ...
|
|
433
|
+
|
|
434
|
+
def maxSurface2DLayered(self) -> cv2.typing.Vec3i: ...
|
|
435
|
+
|
|
436
|
+
def maxSurfaceCubemap(self) -> int: ...
|
|
437
|
+
|
|
438
|
+
def maxSurfaceCubemapLayered(self) -> cv2.typing.Vec2i: ...
|
|
439
|
+
|
|
440
|
+
def surfaceAlignment(self) -> int: ...
|
|
441
|
+
|
|
442
|
+
def concurrentKernels(self) -> bool: ...
|
|
443
|
+
|
|
444
|
+
def ECCEnabled(self) -> bool: ...
|
|
445
|
+
|
|
446
|
+
def pciBusID(self) -> int: ...
|
|
447
|
+
|
|
448
|
+
def pciDeviceID(self) -> int: ...
|
|
449
|
+
|
|
450
|
+
def pciDomainID(self) -> int: ...
|
|
451
|
+
|
|
452
|
+
def tccDriver(self) -> bool: ...
|
|
453
|
+
|
|
454
|
+
def asyncEngineCount(self) -> int: ...
|
|
455
|
+
|
|
456
|
+
def unifiedAddressing(self) -> bool: ...
|
|
457
|
+
|
|
458
|
+
def memoryClockRate(self) -> int: ...
|
|
459
|
+
|
|
460
|
+
def memoryBusWidth(self) -> int: ...
|
|
461
|
+
|
|
462
|
+
def l2CacheSize(self) -> int: ...
|
|
463
|
+
|
|
464
|
+
def maxThreadsPerMultiProcessor(self) -> int: ...
|
|
465
|
+
|
|
466
|
+
def queryMemory(self, totalMemory: int, freeMemory: int) -> None: ...
|
|
467
|
+
|
|
468
|
+
def freeMemory(self) -> int: ...
|
|
469
|
+
|
|
470
|
+
def totalMemory(self) -> int: ...
|
|
471
|
+
|
|
472
|
+
def isCompatible(self) -> bool: ...
|
|
473
|
+
|
|
474
|
+
|
|
475
|
+
class SURF_CUDA:
|
|
476
|
+
@property
|
|
477
|
+
def hessianThreshold(self) -> float: ...
|
|
478
|
+
@property
|
|
479
|
+
def nOctaves(self) -> int: ...
|
|
480
|
+
@property
|
|
481
|
+
def nOctaveLayers(self) -> int: ...
|
|
482
|
+
@property
|
|
483
|
+
def extended(self) -> bool: ...
|
|
484
|
+
@property
|
|
485
|
+
def upright(self) -> bool: ...
|
|
486
|
+
@property
|
|
487
|
+
def keypointsRatio(self) -> float: ...
|
|
488
|
+
|
|
489
|
+
# Functions
|
|
490
|
+
@classmethod
|
|
491
|
+
def create(cls, _hessianThreshold: float, _nOctaves: int = ..., _nOctaveLayers: int = ..., _extended: bool = ..., _keypointsRatio: float = ..., _upright: bool = ...) -> SURF_CUDA: ...
|
|
492
|
+
|
|
493
|
+
def descriptorSize(self) -> int: ...
|
|
494
|
+
|
|
495
|
+
def defaultNorm(self) -> int: ...
|
|
496
|
+
|
|
497
|
+
def downloadKeypoints(self, keypointsGPU: GpuMat) -> _typing.Sequence[cv2.KeyPoint]: ...
|
|
498
|
+
|
|
499
|
+
def detect(self, img: GpuMat, mask: GpuMat, keypoints: GpuMat | None = ...) -> GpuMat: ...
|
|
500
|
+
|
|
501
|
+
def detectWithDescriptors(self, img: GpuMat, mask: GpuMat, keypoints: GpuMat | None = ..., descriptors: GpuMat | None = ..., useProvidedKeypoints: bool = ...) -> tuple[GpuMat, GpuMat]: ...
|
|
502
|
+
|
|
503
|
+
|
|
504
|
+
|
|
505
|
+
# Functions
|
|
506
|
+
@_typing.overload
|
|
507
|
+
def createContinuous(rows: int, cols: int, type: int, arr: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
|
|
508
|
+
@_typing.overload
|
|
509
|
+
def createContinuous(rows: int, cols: int, type: int, arr: GpuMat | None = ...) -> GpuMat: ...
|
|
510
|
+
@_typing.overload
|
|
511
|
+
def createContinuous(rows: int, cols: int, type: int, arr: cv2.UMat | None = ...) -> cv2.UMat: ...
|
|
512
|
+
|
|
513
|
+
@_typing.overload
|
|
514
|
+
def createGpuMatFromCudaMemory(rows: int, cols: int, type: int, cudaMemoryAddress: int, step: int = ...) -> GpuMat: ...
|
|
515
|
+
@_typing.overload
|
|
516
|
+
def createGpuMatFromCudaMemory(size: cv2.typing.Size, type: int, cudaMemoryAddress: int, step: int = ...) -> GpuMat: ...
|
|
517
|
+
|
|
518
|
+
@_typing.overload
|
|
519
|
+
def ensureSizeIsEnough(rows: int, cols: int, type: int, arr: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
|
|
520
|
+
@_typing.overload
|
|
521
|
+
def ensureSizeIsEnough(rows: int, cols: int, type: int, arr: GpuMat | None = ...) -> GpuMat: ...
|
|
522
|
+
@_typing.overload
|
|
523
|
+
def ensureSizeIsEnough(rows: int, cols: int, type: int, arr: cv2.UMat | None = ...) -> cv2.UMat: ...
|
|
524
|
+
|
|
525
|
+
def fastNlMeansDenoising(src: GpuMat, h: float, dst: GpuMat | None = ..., search_window: int = ..., block_size: int = ..., stream: Stream = ...) -> GpuMat: ...
|
|
526
|
+
|
|
527
|
+
def fastNlMeansDenoisingColored(src: GpuMat, h_luminance: float, photo_render: float, dst: GpuMat | None = ..., search_window: int = ..., block_size: int = ..., stream: Stream = ...) -> GpuMat: ...
|
|
528
|
+
|
|
529
|
+
def getCudaEnabledDeviceCount() -> int: ...
|
|
530
|
+
|
|
531
|
+
def getDevice() -> int: ...
|
|
532
|
+
|
|
533
|
+
def nonLocalMeans(src: GpuMat, h: float, dst: GpuMat | None = ..., search_window: int = ..., block_size: int = ..., borderMode: int = ..., stream: Stream = ...) -> GpuMat: ...
|
|
534
|
+
|
|
535
|
+
def printCudaDeviceInfo(device: int) -> None: ...
|
|
536
|
+
|
|
537
|
+
def printShortCudaDeviceInfo(device: int) -> None: ...
|
|
538
|
+
|
|
539
|
+
def registerPageLocked(m: cv2.typing.MatLike) -> None: ...
|
|
540
|
+
|
|
541
|
+
def resetDevice() -> None: ...
|
|
542
|
+
|
|
543
|
+
def setBufferPoolConfig(deviceId: int, stackSize: int, stackCount: int) -> None: ...
|
|
544
|
+
|
|
545
|
+
def setBufferPoolUsage(on: bool) -> None: ...
|
|
546
|
+
|
|
547
|
+
def setDevice(device: int) -> None: ...
|
|
548
|
+
|
|
549
|
+
def unregisterPageLocked(m: cv2.typing.MatLike) -> None: ...
|
|
550
|
+
|
|
551
|
+
def wrapStream(cudaStreamMemoryAddress: int) -> Stream: ...
|
|
552
|
+
|
|
553
|
+
|
cv2/cv2.abi3.so
ADDED
|
Binary file
|
cv2/data/__init__.py
ADDED