opencv-contrib-python-headless 4.11.0.86__cp37-abi3-macosx_13_0_x86_64.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.
Files changed (202) hide show
  1. cv2/.dylibs/libSvtAv1Enc.2.3.0.dylib +0 -0
  2. cv2/.dylibs/libX11.6.dylib +0 -0
  3. cv2/.dylibs/libXau.6.dylib +0 -0
  4. cv2/.dylibs/libXdmcp.6.dylib +0 -0
  5. cv2/.dylibs/libaom.3.11.0.dylib +0 -0
  6. cv2/.dylibs/libarchive.13.dylib +0 -0
  7. cv2/.dylibs/libaribb24.0.dylib +0 -0
  8. cv2/.dylibs/libavcodec.61.19.100.dylib +0 -0
  9. cv2/.dylibs/libavformat.61.7.100.dylib +0 -0
  10. cv2/.dylibs/libavif.16.1.1.dylib +0 -0
  11. cv2/.dylibs/libavutil.59.39.100.dylib +0 -0
  12. cv2/.dylibs/libb2.1.dylib +0 -0
  13. cv2/.dylibs/libbluray.2.dylib +0 -0
  14. cv2/.dylibs/libbrotlicommon.1.1.0.dylib +0 -0
  15. cv2/.dylibs/libbrotlidec.1.1.0.dylib +0 -0
  16. cv2/.dylibs/libbrotlienc.1.1.0.dylib +0 -0
  17. cv2/.dylibs/libcjson.1.7.18.dylib +0 -0
  18. cv2/.dylibs/libcrypto.3.dylib +0 -0
  19. cv2/.dylibs/libdav1d.7.dylib +0 -0
  20. cv2/.dylibs/libfontconfig.1.dylib +0 -0
  21. cv2/.dylibs/libfreetype.6.dylib +0 -0
  22. cv2/.dylibs/libgif.7.2.0.dylib +0 -0
  23. cv2/.dylibs/libgmp.10.dylib +0 -0
  24. cv2/.dylibs/libgnutls.30.dylib +0 -0
  25. cv2/.dylibs/libhogweed.6.10.dylib +0 -0
  26. cv2/.dylibs/libhwy.1.2.0.dylib +0 -0
  27. cv2/.dylibs/libidn2.0.dylib +0 -0
  28. cv2/.dylibs/libintl.8.dylib +0 -0
  29. cv2/.dylibs/libjpeg.8.3.2.dylib +0 -0
  30. cv2/.dylibs/libjxl.0.11.1.dylib +0 -0
  31. cv2/.dylibs/libjxl_cms.0.11.1.dylib +0 -0
  32. cv2/.dylibs/libjxl_threads.0.11.1.dylib +0 -0
  33. cv2/.dylibs/liblcms2.2.dylib +0 -0
  34. cv2/.dylibs/libleptonica.6.dylib +0 -0
  35. cv2/.dylibs/liblz4.1.10.0.dylib +0 -0
  36. cv2/.dylibs/liblzma.5.dylib +0 -0
  37. cv2/.dylibs/libmbedcrypto.3.6.2.dylib +0 -0
  38. cv2/.dylibs/libmp3lame.0.dylib +0 -0
  39. cv2/.dylibs/libnettle.8.10.dylib +0 -0
  40. cv2/.dylibs/libogg.0.8.5.dylib +0 -0
  41. cv2/.dylibs/libopencore-amrnb.0.dylib +0 -0
  42. cv2/.dylibs/libopencore-amrwb.0.dylib +0 -0
  43. cv2/.dylibs/libopenjp2.2.5.3.dylib +0 -0
  44. cv2/.dylibs/libopus.0.dylib +0 -0
  45. cv2/.dylibs/libp11-kit.0.dylib +0 -0
  46. cv2/.dylibs/libpng16.16.dylib +0 -0
  47. cv2/.dylibs/librav1e.0.7.1.dylib +0 -0
  48. cv2/.dylibs/librist.4.dylib +0 -0
  49. cv2/.dylibs/libsharpyuv.0.1.1.dylib +0 -0
  50. cv2/.dylibs/libsnappy.1.2.1.dylib +0 -0
  51. cv2/.dylibs/libsodium.26.dylib +0 -0
  52. cv2/.dylibs/libsoxr.0.1.2.dylib +0 -0
  53. cv2/.dylibs/libspeex.1.dylib +0 -0
  54. cv2/.dylibs/libsrt.1.5.4.dylib +0 -0
  55. cv2/.dylibs/libssh.4.10.1.dylib +0 -0
  56. cv2/.dylibs/libssl.3.dylib +0 -0
  57. cv2/.dylibs/libswresample.5.3.100.dylib +0 -0
  58. cv2/.dylibs/libswscale.8.3.100.dylib +0 -0
  59. cv2/.dylibs/libtasn1.6.dylib +0 -0
  60. cv2/.dylibs/libtesseract.5.dylib +0 -0
  61. cv2/.dylibs/libtheoradec.1.dylib +0 -0
  62. cv2/.dylibs/libtheoraenc.1.dylib +0 -0
  63. cv2/.dylibs/libtiff.6.dylib +0 -0
  64. cv2/.dylibs/libunistring.5.dylib +0 -0
  65. cv2/.dylibs/libvmaf.3.dylib +0 -0
  66. cv2/.dylibs/libvorbis.0.dylib +0 -0
  67. cv2/.dylibs/libvorbisenc.2.dylib +0 -0
  68. cv2/.dylibs/libvpx.9.dylib +0 -0
  69. cv2/.dylibs/libwebp.7.1.10.dylib +0 -0
  70. cv2/.dylibs/libwebpmux.3.1.1.dylib +0 -0
  71. cv2/.dylibs/libx264.164.dylib +0 -0
  72. cv2/.dylibs/libx265.215.dylib +0 -0
  73. cv2/.dylibs/libxcb.1.1.0.dylib +0 -0
  74. cv2/.dylibs/libzmq.5.dylib +0 -0
  75. cv2/.dylibs/libzstd.1.5.6.dylib +0 -0
  76. cv2/Error/__init__.pyi +118 -0
  77. cv2/LICENSE-3RD-PARTY.txt +3090 -0
  78. cv2/LICENSE.txt +21 -0
  79. cv2/__init__.py +181 -0
  80. cv2/__init__.pyi +6681 -0
  81. cv2/aruco/__init__.pyi +392 -0
  82. cv2/barcode/__init__.pyi +39 -0
  83. cv2/bgsegm/__init__.pyi +177 -0
  84. cv2/bioinspired/__init__.pyi +121 -0
  85. cv2/ccm/__init__.pyi +167 -0
  86. cv2/colored_kinfu/__init__.pyi +96 -0
  87. cv2/config-3.py +24 -0
  88. cv2/config.py +5 -0
  89. cv2/cuda/__init__.pyi +551 -0
  90. cv2/cv2.abi3.so +0 -0
  91. cv2/data/__init__.py +3 -0
  92. cv2/data/haarcascade_eye.xml +12213 -0
  93. cv2/data/haarcascade_eye_tree_eyeglasses.xml +22619 -0
  94. cv2/data/haarcascade_frontalcatface.xml +14382 -0
  95. cv2/data/haarcascade_frontalcatface_extended.xml +13394 -0
  96. cv2/data/haarcascade_frontalface_alt.xml +24350 -0
  97. cv2/data/haarcascade_frontalface_alt2.xml +20719 -0
  98. cv2/data/haarcascade_frontalface_alt_tree.xml +96484 -0
  99. cv2/data/haarcascade_frontalface_default.xml +33314 -0
  100. cv2/data/haarcascade_fullbody.xml +17030 -0
  101. cv2/data/haarcascade_lefteye_2splits.xml +7390 -0
  102. cv2/data/haarcascade_license_plate_rus_16stages.xml +1404 -0
  103. cv2/data/haarcascade_lowerbody.xml +14056 -0
  104. cv2/data/haarcascade_profileface.xml +29690 -0
  105. cv2/data/haarcascade_righteye_2splits.xml +7407 -0
  106. cv2/data/haarcascade_russian_plate_number.xml +2656 -0
  107. cv2/data/haarcascade_smile.xml +6729 -0
  108. cv2/data/haarcascade_upperbody.xml +28134 -0
  109. cv2/datasets/__init__.pyi +80 -0
  110. cv2/detail/__init__.pyi +627 -0
  111. cv2/dnn/__init__.pyi +534 -0
  112. cv2/dnn_superres/__init__.pyi +37 -0
  113. cv2/dpm/__init__.pyi +10 -0
  114. cv2/dynafu/__init__.pyi +43 -0
  115. cv2/face/__init__.pyi +219 -0
  116. cv2/fisheye/__init__.pyi +83 -0
  117. cv2/flann/__init__.pyi +64 -0
  118. cv2/ft/__init__.pyi +98 -0
  119. cv2/gapi/__init__.py +323 -0
  120. cv2/gapi/__init__.pyi +349 -0
  121. cv2/gapi/core/__init__.pyi +7 -0
  122. cv2/gapi/core/cpu/__init__.pyi +9 -0
  123. cv2/gapi/core/fluid/__init__.pyi +9 -0
  124. cv2/gapi/core/ocl/__init__.pyi +9 -0
  125. cv2/gapi/ie/__init__.pyi +51 -0
  126. cv2/gapi/ie/detail/__init__.pyi +12 -0
  127. cv2/gapi/imgproc/__init__.pyi +5 -0
  128. cv2/gapi/imgproc/fluid/__init__.pyi +9 -0
  129. cv2/gapi/oak/__init__.pyi +37 -0
  130. cv2/gapi/onnx/__init__.pyi +55 -0
  131. cv2/gapi/onnx/ep/__init__.pyi +63 -0
  132. cv2/gapi/ot/__init__.pyi +32 -0
  133. cv2/gapi/ot/cpu/__init__.pyi +9 -0
  134. cv2/gapi/ov/__init__.pyi +74 -0
  135. cv2/gapi/own/__init__.pyi +5 -0
  136. cv2/gapi/own/detail/__init__.pyi +10 -0
  137. cv2/gapi/render/__init__.pyi +5 -0
  138. cv2/gapi/render/ocv/__init__.pyi +9 -0
  139. cv2/gapi/streaming/__init__.pyi +42 -0
  140. cv2/gapi/video/__init__.pyi +10 -0
  141. cv2/gapi/wip/__init__.pyi +41 -0
  142. cv2/gapi/wip/draw/__init__.pyi +119 -0
  143. cv2/gapi/wip/gst/__init__.pyi +17 -0
  144. cv2/gapi/wip/onevpl/__init__.pyi +16 -0
  145. cv2/hfs/__init__.pyi +53 -0
  146. cv2/img_hash/__init__.pyi +116 -0
  147. cv2/intensity_transform/__init__.pyi +27 -0
  148. cv2/ipp/__init__.pyi +14 -0
  149. cv2/kinfu/__init__.pyi +133 -0
  150. cv2/kinfu/detail/__init__.pyi +7 -0
  151. cv2/large_kinfu/__init__.pyi +73 -0
  152. cv2/legacy/__init__.pyi +93 -0
  153. cv2/line_descriptor/__init__.pyi +112 -0
  154. cv2/linemod/__init__.pyi +151 -0
  155. cv2/load_config_py2.py +6 -0
  156. cv2/load_config_py3.py +9 -0
  157. cv2/mat_wrapper/__init__.py +40 -0
  158. cv2/mcc/__init__.pyi +109 -0
  159. cv2/misc/__init__.py +1 -0
  160. cv2/misc/version.py +5 -0
  161. cv2/ml/__init__.pyi +695 -0
  162. cv2/motempl/__init__.pyi +29 -0
  163. cv2/multicalib/__init__.pyi +10 -0
  164. cv2/ocl/__init__.pyi +252 -0
  165. cv2/ogl/__init__.pyi +51 -0
  166. cv2/omnidir/__init__.pyi +68 -0
  167. cv2/optflow/__init__.pyi +286 -0
  168. cv2/parallel/__init__.pyi +6 -0
  169. cv2/phase_unwrapping/__init__.pyi +41 -0
  170. cv2/plot/__init__.pyi +64 -0
  171. cv2/ppf_match_3d/__init__.pyi +90 -0
  172. cv2/py.typed +0 -0
  173. cv2/quality/__init__.pyi +149 -0
  174. cv2/rapid/__init__.pyi +91 -0
  175. cv2/reg/__init__.pyi +210 -0
  176. cv2/rgbd/__init__.pyi +449 -0
  177. cv2/saliency/__init__.pyi +119 -0
  178. cv2/samples/__init__.pyi +12 -0
  179. cv2/segmentation/__init__.pyi +39 -0
  180. cv2/signal/__init__.pyi +14 -0
  181. cv2/stereo/__init__.pyi +87 -0
  182. cv2/structured_light/__init__.pyi +94 -0
  183. cv2/text/__init__.pyi +203 -0
  184. cv2/typing/__init__.py +180 -0
  185. cv2/utils/__init__.py +14 -0
  186. cv2/utils/__init__.pyi +109 -0
  187. cv2/utils/fs/__init__.pyi +6 -0
  188. cv2/utils/nested/__init__.pyi +31 -0
  189. cv2/version.py +5 -0
  190. cv2/videoio_registry/__init__.pyi +31 -0
  191. cv2/videostab/__init__.pyi +16 -0
  192. cv2/wechat_qrcode/__init__.pyi +23 -0
  193. cv2/xfeatures2d/__init__.pyi +537 -0
  194. cv2/ximgproc/__init__.pyi +742 -0
  195. cv2/ximgproc/segmentation/__init__.pyi +116 -0
  196. cv2/xphoto/__init__.pyi +142 -0
  197. opencv_contrib_python_headless-4.11.0.86.dist-info/LICENSE-3RD-PARTY.txt +3090 -0
  198. opencv_contrib_python_headless-4.11.0.86.dist-info/LICENSE.txt +21 -0
  199. opencv_contrib_python_headless-4.11.0.86.dist-info/METADATA +306 -0
  200. opencv_contrib_python_headless-4.11.0.86.dist-info/RECORD +202 -0
  201. opencv_contrib_python_headless-4.11.0.86.dist-info/WHEEL +5 -0
  202. opencv_contrib_python_headless-4.11.0.86.dist-info/top_level.txt +1 -0
cv2/cuda/__init__.pyi ADDED
@@ -0,0 +1,551 @@
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, stream: Stream, dst: GpuMat | None = ...) -> GpuMat: ...
179
+ @_typing.overload
180
+ def convertTo(self, rtype: int, dst: GpuMat | None = ..., alpha: float = ..., beta: float = ...) -> GpuMat: ...
181
+ @_typing.overload
182
+ def convertTo(self, rtype: int, alpha: float, beta: float, stream: Stream, dst: GpuMat | None = ...) -> GpuMat: ...
183
+
184
+ def assignTo(self, m: GpuMat, type: int = ...) -> None: ...
185
+
186
+ def row(self, y: int) -> GpuMat: ...
187
+
188
+ def col(self, x: int) -> GpuMat: ...
189
+
190
+ @_typing.overload
191
+ def rowRange(self, startrow: int, endrow: int) -> GpuMat: ...
192
+ @_typing.overload
193
+ def rowRange(self, r: cv2.typing.Range) -> GpuMat: ...
194
+
195
+ @_typing.overload
196
+ def colRange(self, startcol: int, endcol: int) -> GpuMat: ...
197
+ @_typing.overload
198
+ def colRange(self, r: cv2.typing.Range) -> GpuMat: ...
199
+
200
+ def reshape(self, cn: int, rows: int = ...) -> GpuMat: ...
201
+
202
+ def locateROI(self, wholeSize: cv2.typing.Size, ofs: cv2.typing.Point) -> None: ...
203
+
204
+ def adjustROI(self, dtop: int, dbottom: int, dleft: int, dright: int) -> GpuMat: ...
205
+
206
+ def isContinuous(self) -> bool: ...
207
+
208
+ def elemSize(self) -> int: ...
209
+
210
+ def elemSize1(self) -> int: ...
211
+
212
+ def type(self) -> int: ...
213
+
214
+ def depth(self) -> int: ...
215
+
216
+ def channels(self) -> int: ...
217
+
218
+ def step1(self) -> int: ...
219
+
220
+ def size(self) -> cv2.typing.Size: ...
221
+
222
+ def empty(self) -> bool: ...
223
+
224
+ def cudaPtr(self) -> cv2.typing.IntPointer: ...
225
+
226
+ def updateContinuityFlag(self) -> None: ...
227
+
228
+
229
+ class GpuData:
230
+ ...
231
+
232
+ class GpuMatND:
233
+ ...
234
+
235
+ class BufferPool:
236
+ # Functions
237
+ def __init__(self, stream: Stream) -> None: ...
238
+
239
+ @_typing.overload
240
+ def getBuffer(self, rows: int, cols: int, type: int) -> GpuMat: ...
241
+ @_typing.overload
242
+ def getBuffer(self, size: cv2.typing.Size, type: int) -> GpuMat: ...
243
+
244
+ def getAllocator(self) -> GpuMat.Allocator: ...
245
+
246
+
247
+ class HostMem:
248
+ @property
249
+ def step(self) -> int: ...
250
+
251
+ # Functions
252
+ @_typing.overload
253
+ def __init__(self, alloc_type: HostMem_AllocType = ...) -> None: ...
254
+ @_typing.overload
255
+ def __init__(self, rows: int, cols: int, type: int, alloc_type: HostMem_AllocType = ...) -> None: ...
256
+ @_typing.overload
257
+ def __init__(self, size: cv2.typing.Size, type: int, alloc_type: HostMem_AllocType = ...) -> None: ...
258
+ @_typing.overload
259
+ def __init__(self, arr: cv2.typing.MatLike, alloc_type: HostMem_AllocType = ...) -> None: ...
260
+ @_typing.overload
261
+ def __init__(self, arr: GpuMat, alloc_type: HostMem_AllocType = ...) -> None: ...
262
+ @_typing.overload
263
+ def __init__(self, arr: cv2.UMat, alloc_type: HostMem_AllocType = ...) -> None: ...
264
+
265
+ def swap(self, b: HostMem) -> None: ...
266
+
267
+ def clone(self) -> HostMem: ...
268
+
269
+ def create(self, rows: int, cols: int, type: int) -> None: ...
270
+
271
+ def reshape(self, cn: int, rows: int = ...) -> HostMem: ...
272
+
273
+ def createMatHeader(self) -> cv2.typing.MatLike: ...
274
+
275
+ def isContinuous(self) -> bool: ...
276
+
277
+ def elemSize(self) -> int: ...
278
+
279
+ def elemSize1(self) -> int: ...
280
+
281
+ def type(self) -> int: ...
282
+
283
+ def depth(self) -> int: ...
284
+
285
+ def channels(self) -> int: ...
286
+
287
+ def step1(self) -> int: ...
288
+
289
+ def size(self) -> cv2.typing.Size: ...
290
+
291
+ def empty(self) -> bool: ...
292
+
293
+
294
+ class Stream:
295
+ # Functions
296
+ @_typing.overload
297
+ def __init__(self) -> None: ...
298
+ @_typing.overload
299
+ def __init__(self, allocator: GpuMat.Allocator) -> None: ...
300
+ @_typing.overload
301
+ def __init__(self, cudaFlags: int) -> None: ...
302
+
303
+ def queryIfComplete(self) -> bool: ...
304
+
305
+ def waitForCompletion(self) -> None: ...
306
+
307
+ def waitEvent(self, event: Event) -> None: ...
308
+
309
+ @classmethod
310
+ def Null(cls) -> Stream: ...
311
+
312
+ def cudaPtr(self) -> cv2.typing.IntPointer: ...
313
+
314
+
315
+ class Event:
316
+ # Functions
317
+ def __init__(self, flags: Event_CreateFlags = ...) -> None: ...
318
+
319
+ def record(self, stream: Stream = ...) -> None: ...
320
+
321
+ def queryIfComplete(self) -> bool: ...
322
+
323
+ def waitForCompletion(self) -> None: ...
324
+
325
+ @staticmethod
326
+ def elapsedTime(start: Event, end: Event) -> float: ...
327
+
328
+
329
+ class TargetArchs:
330
+ # Functions
331
+ @staticmethod
332
+ def has(major: int, minor: int) -> bool: ...
333
+
334
+ @staticmethod
335
+ def hasPtx(major: int, minor: int) -> bool: ...
336
+
337
+ @staticmethod
338
+ def hasBin(major: int, minor: int) -> bool: ...
339
+
340
+ @staticmethod
341
+ def hasEqualOrLessPtx(major: int, minor: int) -> bool: ...
342
+
343
+ @staticmethod
344
+ def hasEqualOrGreater(major: int, minor: int) -> bool: ...
345
+
346
+ @staticmethod
347
+ def hasEqualOrGreaterPtx(major: int, minor: int) -> bool: ...
348
+
349
+ @staticmethod
350
+ def hasEqualOrGreaterBin(major: int, minor: int) -> bool: ...
351
+
352
+
353
+ class DeviceInfo:
354
+ # Functions
355
+ @_typing.overload
356
+ def __init__(self) -> None: ...
357
+ @_typing.overload
358
+ def __init__(self, device_id: int) -> None: ...
359
+
360
+ def deviceID(self) -> int: ...
361
+
362
+ def totalGlobalMem(self) -> int: ...
363
+
364
+ def sharedMemPerBlock(self) -> int: ...
365
+
366
+ def regsPerBlock(self) -> int: ...
367
+
368
+ def warpSize(self) -> int: ...
369
+
370
+ def memPitch(self) -> int: ...
371
+
372
+ def maxThreadsPerBlock(self) -> int: ...
373
+
374
+ def maxThreadsDim(self) -> cv2.typing.Vec3i: ...
375
+
376
+ def maxGridSize(self) -> cv2.typing.Vec3i: ...
377
+
378
+ def clockRate(self) -> int: ...
379
+
380
+ def totalConstMem(self) -> int: ...
381
+
382
+ def majorVersion(self) -> int: ...
383
+
384
+ def minorVersion(self) -> int: ...
385
+
386
+ def textureAlignment(self) -> int: ...
387
+
388
+ def texturePitchAlignment(self) -> int: ...
389
+
390
+ def multiProcessorCount(self) -> int: ...
391
+
392
+ def kernelExecTimeoutEnabled(self) -> bool: ...
393
+
394
+ def integrated(self) -> bool: ...
395
+
396
+ def canMapHostMemory(self) -> bool: ...
397
+
398
+ def computeMode(self) -> DeviceInfo_ComputeMode: ...
399
+
400
+ def maxTexture1D(self) -> int: ...
401
+
402
+ def maxTexture1DMipmap(self) -> int: ...
403
+
404
+ def maxTexture1DLinear(self) -> int: ...
405
+
406
+ def maxTexture2D(self) -> cv2.typing.Vec2i: ...
407
+
408
+ def maxTexture2DMipmap(self) -> cv2.typing.Vec2i: ...
409
+
410
+ def maxTexture2DLinear(self) -> cv2.typing.Vec3i: ...
411
+
412
+ def maxTexture2DGather(self) -> cv2.typing.Vec2i: ...
413
+
414
+ def maxTexture3D(self) -> cv2.typing.Vec3i: ...
415
+
416
+ def maxTextureCubemap(self) -> int: ...
417
+
418
+ def maxTexture1DLayered(self) -> cv2.typing.Vec2i: ...
419
+
420
+ def maxTexture2DLayered(self) -> cv2.typing.Vec3i: ...
421
+
422
+ def maxTextureCubemapLayered(self) -> cv2.typing.Vec2i: ...
423
+
424
+ def maxSurface1D(self) -> int: ...
425
+
426
+ def maxSurface2D(self) -> cv2.typing.Vec2i: ...
427
+
428
+ def maxSurface3D(self) -> cv2.typing.Vec3i: ...
429
+
430
+ def maxSurface1DLayered(self) -> cv2.typing.Vec2i: ...
431
+
432
+ def maxSurface2DLayered(self) -> cv2.typing.Vec3i: ...
433
+
434
+ def maxSurfaceCubemap(self) -> int: ...
435
+
436
+ def maxSurfaceCubemapLayered(self) -> cv2.typing.Vec2i: ...
437
+
438
+ def surfaceAlignment(self) -> int: ...
439
+
440
+ def concurrentKernels(self) -> bool: ...
441
+
442
+ def ECCEnabled(self) -> bool: ...
443
+
444
+ def pciBusID(self) -> int: ...
445
+
446
+ def pciDeviceID(self) -> int: ...
447
+
448
+ def pciDomainID(self) -> int: ...
449
+
450
+ def tccDriver(self) -> bool: ...
451
+
452
+ def asyncEngineCount(self) -> int: ...
453
+
454
+ def unifiedAddressing(self) -> bool: ...
455
+
456
+ def memoryClockRate(self) -> int: ...
457
+
458
+ def memoryBusWidth(self) -> int: ...
459
+
460
+ def l2CacheSize(self) -> int: ...
461
+
462
+ def maxThreadsPerMultiProcessor(self) -> int: ...
463
+
464
+ def queryMemory(self, totalMemory: int, freeMemory: int) -> None: ...
465
+
466
+ def freeMemory(self) -> int: ...
467
+
468
+ def totalMemory(self) -> int: ...
469
+
470
+ def isCompatible(self) -> bool: ...
471
+
472
+
473
+ class SURF_CUDA:
474
+ @property
475
+ def hessianThreshold(self) -> float: ...
476
+ @property
477
+ def nOctaves(self) -> int: ...
478
+ @property
479
+ def nOctaveLayers(self) -> int: ...
480
+ @property
481
+ def extended(self) -> bool: ...
482
+ @property
483
+ def upright(self) -> bool: ...
484
+ @property
485
+ def keypointsRatio(self) -> float: ...
486
+
487
+ # Functions
488
+ @classmethod
489
+ def create(cls, _hessianThreshold: float, _nOctaves: int = ..., _nOctaveLayers: int = ..., _extended: bool = ..., _keypointsRatio: float = ..., _upright: bool = ...) -> SURF_CUDA: ...
490
+
491
+ def descriptorSize(self) -> int: ...
492
+
493
+ def defaultNorm(self) -> int: ...
494
+
495
+ def downloadKeypoints(self, keypointsGPU: GpuMat) -> _typing.Sequence[cv2.KeyPoint]: ...
496
+
497
+ def detect(self, img: GpuMat, mask: GpuMat, keypoints: GpuMat | None = ...) -> GpuMat: ...
498
+
499
+ def detectWithDescriptors(self, img: GpuMat, mask: GpuMat, keypoints: GpuMat | None = ..., descriptors: GpuMat | None = ..., useProvidedKeypoints: bool = ...) -> tuple[GpuMat, GpuMat]: ...
500
+
501
+
502
+
503
+ # Functions
504
+ @_typing.overload
505
+ def createContinuous(rows: int, cols: int, type: int, arr: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
506
+ @_typing.overload
507
+ def createContinuous(rows: int, cols: int, type: int, arr: GpuMat | None = ...) -> GpuMat: ...
508
+ @_typing.overload
509
+ def createContinuous(rows: int, cols: int, type: int, arr: cv2.UMat | None = ...) -> cv2.UMat: ...
510
+
511
+ @_typing.overload
512
+ def createGpuMatFromCudaMemory(rows: int, cols: int, type: int, cudaMemoryAddress: int, step: int = ...) -> GpuMat: ...
513
+ @_typing.overload
514
+ def createGpuMatFromCudaMemory(size: cv2.typing.Size, type: int, cudaMemoryAddress: int, step: int = ...) -> GpuMat: ...
515
+
516
+ @_typing.overload
517
+ def ensureSizeIsEnough(rows: int, cols: int, type: int, arr: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
518
+ @_typing.overload
519
+ def ensureSizeIsEnough(rows: int, cols: int, type: int, arr: GpuMat | None = ...) -> GpuMat: ...
520
+ @_typing.overload
521
+ def ensureSizeIsEnough(rows: int, cols: int, type: int, arr: cv2.UMat | None = ...) -> cv2.UMat: ...
522
+
523
+ def fastNlMeansDenoising(src: GpuMat, h: float, dst: GpuMat | None = ..., search_window: int = ..., block_size: int = ..., stream: Stream = ...) -> GpuMat: ...
524
+
525
+ def fastNlMeansDenoisingColored(src: GpuMat, h_luminance: float, photo_render: float, dst: GpuMat | None = ..., search_window: int = ..., block_size: int = ..., stream: Stream = ...) -> GpuMat: ...
526
+
527
+ def getCudaEnabledDeviceCount() -> int: ...
528
+
529
+ def getDevice() -> int: ...
530
+
531
+ def nonLocalMeans(src: GpuMat, h: float, dst: GpuMat | None = ..., search_window: int = ..., block_size: int = ..., borderMode: int = ..., stream: Stream = ...) -> GpuMat: ...
532
+
533
+ def printCudaDeviceInfo(device: int) -> None: ...
534
+
535
+ def printShortCudaDeviceInfo(device: int) -> None: ...
536
+
537
+ def registerPageLocked(m: cv2.typing.MatLike) -> None: ...
538
+
539
+ def resetDevice() -> None: ...
540
+
541
+ def setBufferPoolConfig(deviceId: int, stackSize: int, stackCount: int) -> None: ...
542
+
543
+ def setBufferPoolUsage(on: bool) -> None: ...
544
+
545
+ def setDevice(device: int) -> None: ...
546
+
547
+ def unregisterPageLocked(m: cv2.typing.MatLike) -> None: ...
548
+
549
+ def wrapStream(cudaStreamMemoryAddress: int) -> Stream: ...
550
+
551
+
cv2/cv2.abi3.so ADDED
Binary file
cv2/data/__init__.py ADDED
@@ -0,0 +1,3 @@
1
+ import os
2
+
3
+ haarcascades = os.path.join(os.path.dirname(__file__), "")