opencv-python 5.1.0.95__cp37-abi3-win_arm64.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 (47) hide show
  1. cv2/Error/__init__.pyi +118 -0
  2. cv2/LICENSE-3RD-PARTY.txt +3645 -0
  3. cv2/LICENSE.txt +21 -0
  4. cv2/__init__.py +189 -0
  5. cv2/__init__.pyi +7168 -0
  6. cv2/aruco/__init__.pyi +331 -0
  7. cv2/barcode/__init__.pyi +40 -0
  8. cv2/ccm/__init__.pyi +165 -0
  9. cv2/config-3.py +24 -0
  10. cv2/config.py +5 -0
  11. cv2/cuda/__init__.pyi +513 -0
  12. cv2/cv2.pyd +4 -0
  13. cv2/data/__init__.py +3 -0
  14. cv2/detail/__init__.pyi +543 -0
  15. cv2/dnn/__init__.pyi +690 -0
  16. cv2/fisheye/__init__.pyi +88 -0
  17. cv2/flann/__init__.pyi +65 -0
  18. cv2/instr/__init__.pyi +24 -0
  19. cv2/ipp/__init__.pyi +14 -0
  20. cv2/load_config_py2.py +6 -0
  21. cv2/load_config_py3.py +9 -0
  22. cv2/mat_wrapper/__init__.py +40 -0
  23. cv2/mcc/__init__.pyi +118 -0
  24. cv2/misc/__init__.py +1 -0
  25. cv2/misc/version.py +5 -0
  26. cv2/ocl/__init__.pyi +252 -0
  27. cv2/ogl/__init__.pyi +119 -0
  28. cv2/parallel/__init__.pyi +6 -0
  29. cv2/py.typed +0 -0
  30. cv2/samples/__init__.pyi +12 -0
  31. cv2/segmentation/__init__.pyi +39 -0
  32. cv2/slam/__init__.pyi +80 -0
  33. cv2/typing/__init__.py +159 -0
  34. cv2/utils/__init__.py +14 -0
  35. cv2/utils/__init__.pyi +110 -0
  36. cv2/utils/fs/__init__.pyi +6 -0
  37. cv2/utils/logging/__init__.pyi +22 -0
  38. cv2/utils/nested/__init__.pyi +31 -0
  39. cv2/version.py +5 -0
  40. cv2/videoio_registry/__init__.pyi +34 -0
  41. cv2/viz3d/__init__.pyi +63 -0
  42. opencv_python-5.1.0.95.dist-info/LICENSE-3RD-PARTY.txt +3645 -0
  43. opencv_python-5.1.0.95.dist-info/LICENSE.txt +21 -0
  44. opencv_python-5.1.0.95.dist-info/METADATA +333 -0
  45. opencv_python-5.1.0.95.dist-info/RECORD +47 -0
  46. opencv_python-5.1.0.95.dist-info/WHEEL +5 -0
  47. opencv_python-5.1.0.95.dist-info/top_level.txt +1 -0
@@ -0,0 +1,543 @@
1
+ __all__: list[str] = []
2
+
3
+ import cv2
4
+ import cv2.typing
5
+ import numpy
6
+ import typing as _typing
7
+
8
+
9
+ # Enumerations
10
+ TEST_CUSTOM: int
11
+ TEST_EQ: int
12
+ TEST_NE: int
13
+ TEST_LE: int
14
+ TEST_LT: int
15
+ TEST_GE: int
16
+ TEST_GT: int
17
+ TestOp = int
18
+ """One of [TEST_CUSTOM, TEST_EQ, TEST_NE, TEST_LE, TEST_LT, TEST_GE, TEST_GT]"""
19
+
20
+ WAVE_CORRECT_HORIZ: int
21
+ WAVE_CORRECT_VERT: int
22
+ WAVE_CORRECT_AUTO: int
23
+ WaveCorrectKind = int
24
+ """One of [WAVE_CORRECT_HORIZ, WAVE_CORRECT_VERT, WAVE_CORRECT_AUTO]"""
25
+
26
+
27
+ Blender_NO: int
28
+ BLENDER_NO: int
29
+ Blender_FEATHER: int
30
+ BLENDER_FEATHER: int
31
+ Blender_MULTI_BAND: int
32
+ BLENDER_MULTI_BAND: int
33
+
34
+ ExposureCompensator_NO: int
35
+ EXPOSURE_COMPENSATOR_NO: int
36
+ ExposureCompensator_GAIN: int
37
+ EXPOSURE_COMPENSATOR_GAIN: int
38
+ ExposureCompensator_GAIN_BLOCKS: int
39
+ EXPOSURE_COMPENSATOR_GAIN_BLOCKS: int
40
+ ExposureCompensator_CHANNELS: int
41
+ EXPOSURE_COMPENSATOR_CHANNELS: int
42
+ ExposureCompensator_CHANNELS_BLOCKS: int
43
+ EXPOSURE_COMPENSATOR_CHANNELS_BLOCKS: int
44
+
45
+ SeamFinder_NO: int
46
+ SEAM_FINDER_NO: int
47
+ SeamFinder_VORONOI_SEAM: int
48
+ SEAM_FINDER_VORONOI_SEAM: int
49
+ SeamFinder_DP_SEAM: int
50
+ SEAM_FINDER_DP_SEAM: int
51
+
52
+ DpSeamFinder_COLOR: int
53
+ DP_SEAM_FINDER_COLOR: int
54
+ DpSeamFinder_COLOR_GRAD: int
55
+ DP_SEAM_FINDER_COLOR_GRAD: int
56
+ DpSeamFinder_CostFunction = int
57
+ """One of [DpSeamFinder_COLOR, DP_SEAM_FINDER_COLOR, DpSeamFinder_COLOR_GRAD, DP_SEAM_FINDER_COLOR_GRAD]"""
58
+
59
+ Timelapser_AS_IS: int
60
+ TIMELAPSER_AS_IS: int
61
+ Timelapser_CROP: int
62
+ TIMELAPSER_CROP: int
63
+
64
+ GraphCutSeamFinderBase_COST_COLOR: int
65
+ GRAPH_CUT_SEAM_FINDER_BASE_COST_COLOR: int
66
+ GraphCutSeamFinderBase_COST_COLOR_GRAD: int
67
+ GRAPH_CUT_SEAM_FINDER_BASE_COST_COLOR_GRAD: int
68
+ GraphCutSeamFinderBase_CostType = int
69
+ """One of [GraphCutSeamFinderBase_COST_COLOR, GRAPH_CUT_SEAM_FINDER_BASE_COST_COLOR, GraphCutSeamFinderBase_COST_COLOR_GRAD, GRAPH_CUT_SEAM_FINDER_BASE_COST_COLOR_GRAD]"""
70
+
71
+ TrackerSamplerCSC_MODE_INIT_POS: int
72
+ TRACKER_SAMPLER_CSC_MODE_INIT_POS: int
73
+ TrackerSamplerCSC_MODE_INIT_NEG: int
74
+ TRACKER_SAMPLER_CSC_MODE_INIT_NEG: int
75
+ TrackerSamplerCSC_MODE_TRACK_POS: int
76
+ TRACKER_SAMPLER_CSC_MODE_TRACK_POS: int
77
+ TrackerSamplerCSC_MODE_TRACK_NEG: int
78
+ TRACKER_SAMPLER_CSC_MODE_TRACK_NEG: int
79
+ TrackerSamplerCSC_MODE_DETECT: int
80
+ TRACKER_SAMPLER_CSC_MODE_DETECT: int
81
+ TrackerSamplerCSC_MODE = int
82
+ """One of [TrackerSamplerCSC_MODE_INIT_POS, TRACKER_SAMPLER_CSC_MODE_INIT_POS, TrackerSamplerCSC_MODE_INIT_NEG, TRACKER_SAMPLER_CSC_MODE_INIT_NEG, TrackerSamplerCSC_MODE_TRACK_POS, TRACKER_SAMPLER_CSC_MODE_TRACK_POS, TrackerSamplerCSC_MODE_TRACK_NEG, TRACKER_SAMPLER_CSC_MODE_TRACK_NEG, TrackerSamplerCSC_MODE_DETECT, TRACKER_SAMPLER_CSC_MODE_DETECT]"""
83
+
84
+
85
+ # Classes
86
+ class Blender:
87
+ # Functions
88
+ @classmethod
89
+ def createDefault(cls, type: int, try_gpu: bool = ...) -> Blender: ...
90
+
91
+ @_typing.overload
92
+ def prepare(self, corners: _typing.Sequence[cv2.typing.Point], sizes: _typing.Sequence[cv2.typing.Size]) -> None: ...
93
+ @_typing.overload
94
+ def prepare(self, dst_roi: cv2.typing.Rect) -> None: ...
95
+
96
+ @_typing.overload
97
+ def feed(self, img: cv2.typing.MatLike, mask: cv2.typing.MatLike, tl: cv2.typing.Point) -> None: ...
98
+ @_typing.overload
99
+ def feed(self, img: cv2.UMat, mask: cv2.UMat, tl: cv2.typing.Point) -> None: ...
100
+
101
+ @_typing.overload
102
+ def blend(self, dst: cv2.typing.MatLike, dst_mask: cv2.typing.MatLike) -> tuple[cv2.typing.MatLike, cv2.typing.MatLike]: ...
103
+ @_typing.overload
104
+ def blend(self, dst: cv2.UMat, dst_mask: cv2.UMat) -> tuple[cv2.UMat, cv2.UMat]: ...
105
+
106
+
107
+ class FeatherBlender(Blender):
108
+ # Functions
109
+ def __init__(self, sharpness: float = ...) -> None: ...
110
+
111
+ def sharpness(self) -> float: ...
112
+
113
+ def setSharpness(self, val: float) -> None: ...
114
+
115
+ def prepare(self, dst_roi: cv2.typing.Rect) -> None: ...
116
+
117
+ @_typing.overload
118
+ def feed(self, img: cv2.typing.MatLike, mask: cv2.typing.MatLike, tl: cv2.typing.Point) -> None: ...
119
+ @_typing.overload
120
+ def feed(self, img: cv2.UMat, mask: cv2.UMat, tl: cv2.typing.Point) -> None: ...
121
+
122
+ @_typing.overload
123
+ def blend(self, dst: cv2.typing.MatLike, dst_mask: cv2.typing.MatLike) -> tuple[cv2.typing.MatLike, cv2.typing.MatLike]: ...
124
+ @_typing.overload
125
+ def blend(self, dst: cv2.UMat, dst_mask: cv2.UMat) -> tuple[cv2.UMat, cv2.UMat]: ...
126
+
127
+ def createWeightMaps(self, masks: _typing.Sequence[cv2.UMat], corners: _typing.Sequence[cv2.typing.Point], weight_maps: _typing.Sequence[cv2.UMat]) -> tuple[cv2.typing.Rect, _typing.Sequence[cv2.UMat]]: ...
128
+
129
+
130
+ class MultiBandBlender(Blender):
131
+ # Functions
132
+ def __init__(self, try_gpu: int = ..., num_bands: int = ..., weight_type: int = ...) -> None: ...
133
+
134
+ def numBands(self) -> int: ...
135
+
136
+ def setNumBands(self, val: int) -> None: ...
137
+
138
+ def prepare(self, dst_roi: cv2.typing.Rect) -> None: ...
139
+
140
+ @_typing.overload
141
+ def feed(self, img: cv2.typing.MatLike, mask: cv2.typing.MatLike, tl: cv2.typing.Point) -> None: ...
142
+ @_typing.overload
143
+ def feed(self, img: cv2.UMat, mask: cv2.UMat, tl: cv2.typing.Point) -> None: ...
144
+
145
+ @_typing.overload
146
+ def blend(self, dst: cv2.typing.MatLike, dst_mask: cv2.typing.MatLike) -> tuple[cv2.typing.MatLike, cv2.typing.MatLike]: ...
147
+ @_typing.overload
148
+ def blend(self, dst: cv2.UMat, dst_mask: cv2.UMat) -> tuple[cv2.UMat, cv2.UMat]: ...
149
+
150
+
151
+ class CameraParams:
152
+ focal: float
153
+ aspect: float
154
+ ppx: float
155
+ ppy: float
156
+ R: cv2.typing.MatLike
157
+ t: cv2.typing.MatLike
158
+
159
+ # Functions
160
+ def K(self) -> cv2.typing.MatLike: ...
161
+
162
+
163
+ class ExposureCompensator:
164
+ # Functions
165
+ @classmethod
166
+ def createDefault(cls, type: int) -> ExposureCompensator: ...
167
+
168
+ def feed(self, corners: _typing.Sequence[cv2.typing.Point], images: _typing.Sequence[cv2.UMat], masks: _typing.Sequence[cv2.UMat]) -> None: ...
169
+
170
+ @_typing.overload
171
+ def apply(self, index: int, corner: cv2.typing.Point, image: cv2.typing.MatLike, mask: cv2.typing.MatLike) -> cv2.typing.MatLike: ...
172
+ @_typing.overload
173
+ def apply(self, index: int, corner: cv2.typing.Point, image: cv2.UMat, mask: cv2.UMat) -> cv2.UMat: ...
174
+
175
+ def getMatGains(self, arg1: _typing.Sequence[cv2.typing.MatLike] | None = ...) -> _typing.Sequence[cv2.typing.MatLike]: ...
176
+
177
+ def setMatGains(self, arg1: _typing.Sequence[cv2.typing.MatLike]) -> None: ...
178
+
179
+ def setUpdateGain(self, b: bool) -> None: ...
180
+
181
+ def getUpdateGain(self) -> bool: ...
182
+
183
+
184
+ class NoExposureCompensator(ExposureCompensator):
185
+ # Functions
186
+ @_typing.overload
187
+ def apply(self, arg1: int, arg2: cv2.typing.Point, arg3: cv2.typing.MatLike, arg4: cv2.typing.MatLike) -> cv2.typing.MatLike: ...
188
+ @_typing.overload
189
+ def apply(self, arg1: int, arg2: cv2.typing.Point, arg3: cv2.UMat, arg4: cv2.UMat) -> cv2.UMat: ...
190
+
191
+ def getMatGains(self, umv: _typing.Sequence[cv2.typing.MatLike] | None = ...) -> _typing.Sequence[cv2.typing.MatLike]: ...
192
+
193
+ def setMatGains(self, umv: _typing.Sequence[cv2.typing.MatLike]) -> None: ...
194
+
195
+
196
+ class GainCompensator(ExposureCompensator):
197
+ # Functions
198
+ @_typing.overload
199
+ def __init__(self) -> None: ...
200
+ @_typing.overload
201
+ def __init__(self, nr_feeds: int) -> None: ...
202
+
203
+ @_typing.overload
204
+ def apply(self, index: int, corner: cv2.typing.Point, image: cv2.typing.MatLike, mask: cv2.typing.MatLike) -> cv2.typing.MatLike: ...
205
+ @_typing.overload
206
+ def apply(self, index: int, corner: cv2.typing.Point, image: cv2.UMat, mask: cv2.UMat) -> cv2.UMat: ...
207
+
208
+ def getMatGains(self, umv: _typing.Sequence[cv2.typing.MatLike] | None = ...) -> _typing.Sequence[cv2.typing.MatLike]: ...
209
+
210
+ def setMatGains(self, umv: _typing.Sequence[cv2.typing.MatLike]) -> None: ...
211
+
212
+ def setNrFeeds(self, nr_feeds: int) -> None: ...
213
+
214
+ def getNrFeeds(self) -> int: ...
215
+
216
+ def setSimilarityThreshold(self, similarity_threshold: float) -> None: ...
217
+
218
+ def getSimilarityThreshold(self) -> float: ...
219
+
220
+
221
+ class ChannelsCompensator(ExposureCompensator):
222
+ # Functions
223
+ def __init__(self, nr_feeds: int = ...) -> None: ...
224
+
225
+ @_typing.overload
226
+ def apply(self, index: int, corner: cv2.typing.Point, image: cv2.typing.MatLike, mask: cv2.typing.MatLike) -> cv2.typing.MatLike: ...
227
+ @_typing.overload
228
+ def apply(self, index: int, corner: cv2.typing.Point, image: cv2.UMat, mask: cv2.UMat) -> cv2.UMat: ...
229
+
230
+ def getMatGains(self, umv: _typing.Sequence[cv2.typing.MatLike] | None = ...) -> _typing.Sequence[cv2.typing.MatLike]: ...
231
+
232
+ def setMatGains(self, umv: _typing.Sequence[cv2.typing.MatLike]) -> None: ...
233
+
234
+ def setNrFeeds(self, nr_feeds: int) -> None: ...
235
+
236
+ def getNrFeeds(self) -> int: ...
237
+
238
+ def setSimilarityThreshold(self, similarity_threshold: float) -> None: ...
239
+
240
+ def getSimilarityThreshold(self) -> float: ...
241
+
242
+
243
+ class BlocksCompensator(ExposureCompensator):
244
+ # Functions
245
+ @_typing.overload
246
+ def apply(self, index: int, corner: cv2.typing.Point, image: cv2.typing.MatLike, mask: cv2.typing.MatLike) -> cv2.typing.MatLike: ...
247
+ @_typing.overload
248
+ def apply(self, index: int, corner: cv2.typing.Point, image: cv2.UMat, mask: cv2.UMat) -> cv2.UMat: ...
249
+
250
+ def getMatGains(self, umv: _typing.Sequence[cv2.typing.MatLike] | None = ...) -> _typing.Sequence[cv2.typing.MatLike]: ...
251
+
252
+ def setMatGains(self, umv: _typing.Sequence[cv2.typing.MatLike]) -> None: ...
253
+
254
+ def setNrFeeds(self, nr_feeds: int) -> None: ...
255
+
256
+ def getNrFeeds(self) -> int: ...
257
+
258
+ def setSimilarityThreshold(self, similarity_threshold: float) -> None: ...
259
+
260
+ def getSimilarityThreshold(self) -> float: ...
261
+
262
+ @_typing.overload
263
+ def setBlockSize(self, width: int, height: int) -> None: ...
264
+ @_typing.overload
265
+ def setBlockSize(self, size: cv2.typing.Size) -> None: ...
266
+
267
+ def getBlockSize(self) -> cv2.typing.Size: ...
268
+
269
+ def setNrGainsFilteringIterations(self, nr_iterations: int) -> None: ...
270
+
271
+ def getNrGainsFilteringIterations(self) -> int: ...
272
+
273
+
274
+ class BlocksGainCompensator(BlocksCompensator):
275
+ # Functions
276
+ @_typing.overload
277
+ def __init__(self, bl_width: int = ..., bl_height: int = ...) -> None: ...
278
+ @_typing.overload
279
+ def __init__(self, bl_width: int, bl_height: int, nr_feeds: int) -> None: ...
280
+
281
+ @_typing.overload
282
+ def apply(self, index: int, corner: cv2.typing.Point, image: cv2.typing.MatLike, mask: cv2.typing.MatLike) -> cv2.typing.MatLike: ...
283
+ @_typing.overload
284
+ def apply(self, index: int, corner: cv2.typing.Point, image: cv2.UMat, mask: cv2.UMat) -> cv2.UMat: ...
285
+
286
+ def getMatGains(self, umv: _typing.Sequence[cv2.typing.MatLike] | None = ...) -> _typing.Sequence[cv2.typing.MatLike]: ...
287
+
288
+ def setMatGains(self, umv: _typing.Sequence[cv2.typing.MatLike]) -> None: ...
289
+
290
+
291
+ class BlocksChannelsCompensator(BlocksCompensator):
292
+ # Functions
293
+ def __init__(self, bl_width: int = ..., bl_height: int = ..., nr_feeds: int = ...) -> None: ...
294
+
295
+
296
+ class ImageFeatures:
297
+ img_idx: int
298
+ img_size: cv2.typing.Size
299
+ keypoints: _typing.Sequence[cv2.KeyPoint]
300
+ descriptors: cv2.UMat
301
+
302
+ # Functions
303
+ def getKeypoints(self) -> _typing.Sequence[cv2.KeyPoint]: ...
304
+
305
+
306
+ class MatchesInfo:
307
+ src_img_idx: int
308
+ dst_img_idx: int
309
+ matches: _typing.Sequence[cv2.DMatch]
310
+ inliers_mask: numpy.ndarray[_typing.Any, numpy.dtype[numpy.uint8]]
311
+ num_inliers: int
312
+ H: cv2.typing.MatLike
313
+ confidence: float
314
+
315
+ # Functions
316
+ def getMatches(self) -> _typing.Sequence[cv2.DMatch]: ...
317
+
318
+ def getInliers(self) -> numpy.ndarray[_typing.Any, numpy.dtype[numpy.uint8]]: ...
319
+
320
+
321
+ class FeaturesMatcher:
322
+ # Functions
323
+ def apply(self, features1: ImageFeatures, features2: ImageFeatures) -> MatchesInfo: ...
324
+
325
+ def apply2(self, features: _typing.Sequence[ImageFeatures], mask: cv2.UMat | None = ...) -> _typing.Sequence[MatchesInfo]: ...
326
+
327
+ def isThreadSafe(self) -> bool: ...
328
+
329
+ def collectGarbage(self) -> None: ...
330
+
331
+
332
+ class BestOf2NearestMatcher(FeaturesMatcher):
333
+ # Functions
334
+ def __init__(self, try_use_gpu: bool = ..., match_conf: float = ..., num_matches_thresh1: int = ..., num_matches_thresh2: int = ..., matches_confidence_thresh: float = ...) -> None: ...
335
+
336
+ def collectGarbage(self) -> None: ...
337
+
338
+ @classmethod
339
+ def create(cls, try_use_gpu: bool = ..., match_conf: float = ..., num_matches_thresh1: int = ..., num_matches_thresh2: int = ..., matches_confidence_thresh: float = ...) -> BestOf2NearestMatcher: ...
340
+
341
+
342
+ class BestOf2NearestRangeMatcher(BestOf2NearestMatcher):
343
+ # Functions
344
+ def __init__(self, range_width: int = ..., try_use_gpu: bool = ..., match_conf: float = ..., num_matches_thresh1: int = ..., num_matches_thresh2: int = ...) -> None: ...
345
+
346
+
347
+ class AffineBestOf2NearestMatcher(BestOf2NearestMatcher):
348
+ # Functions
349
+ def __init__(self, full_affine: bool = ..., try_use_gpu: bool = ..., match_conf: float = ..., num_matches_thresh1: int = ...) -> None: ...
350
+
351
+
352
+ class LightGlueFeaturesMatcher(FeaturesMatcher):
353
+ # Functions
354
+ def __init__(self, lgMatcher: cv2.LightGlueMatcher, num_matches_thresh1: int = ..., num_matches_thresh2: int = ..., matches_confidence_thresh: float = ...) -> None: ...
355
+
356
+ def setScoreThreshold(self, thresh: float) -> None: ...
357
+
358
+
359
+ class Estimator:
360
+ # Functions
361
+ def apply(self, features: _typing.Sequence[ImageFeatures], pairwise_matches: _typing.Sequence[MatchesInfo], cameras: _typing.Sequence[CameraParams]) -> tuple[bool, _typing.Sequence[CameraParams]]: ...
362
+
363
+
364
+ class HomographyBasedEstimator(Estimator):
365
+ # Functions
366
+ def __init__(self, is_focals_estimated: bool = ...) -> None: ...
367
+
368
+
369
+ class AffineBasedEstimator(Estimator):
370
+ # Functions
371
+ def __init__(self) -> None: ...
372
+
373
+
374
+ class BundleAdjusterBase(Estimator):
375
+ # Functions
376
+ def refinementMask(self) -> cv2.typing.MatLike: ...
377
+
378
+ def setRefinementMask(self, mask: cv2.typing.MatLike) -> None: ...
379
+
380
+ def confThresh(self) -> float: ...
381
+
382
+ def setConfThresh(self, conf_thresh: float) -> None: ...
383
+
384
+ def termCriteria(self) -> cv2.typing.TermCriteria: ...
385
+
386
+ def setTermCriteria(self, term_criteria: cv2.typing.TermCriteria) -> None: ...
387
+
388
+
389
+ class NoBundleAdjuster(BundleAdjusterBase):
390
+ # Functions
391
+ def __init__(self) -> None: ...
392
+
393
+
394
+ class BundleAdjusterReproj(BundleAdjusterBase):
395
+ # Functions
396
+ def __init__(self) -> None: ...
397
+
398
+
399
+ class BundleAdjusterRay(BundleAdjusterBase):
400
+ # Functions
401
+ def __init__(self) -> None: ...
402
+
403
+
404
+ class BundleAdjusterAffine(BundleAdjusterBase):
405
+ # Functions
406
+ def __init__(self) -> None: ...
407
+
408
+
409
+ class BundleAdjusterAffinePartial(BundleAdjusterBase):
410
+ # Functions
411
+ def __init__(self) -> None: ...
412
+
413
+
414
+ class SeamFinder:
415
+ # Functions
416
+ def find(self, src: _typing.Sequence[cv2.UMat], corners: _typing.Sequence[cv2.typing.Point], masks: _typing.Sequence[cv2.UMat]) -> _typing.Sequence[cv2.UMat]: ...
417
+
418
+ @classmethod
419
+ def createDefault(cls, type: int) -> SeamFinder: ...
420
+
421
+
422
+ class NoSeamFinder(SeamFinder):
423
+ # Functions
424
+ def find(self, arg1: _typing.Sequence[cv2.UMat], arg2: _typing.Sequence[cv2.typing.Point], arg3: _typing.Sequence[cv2.UMat]) -> _typing.Sequence[cv2.UMat]: ...
425
+
426
+
427
+ class PairwiseSeamFinder(SeamFinder):
428
+ # Functions
429
+ def find(self, src: _typing.Sequence[cv2.UMat], corners: _typing.Sequence[cv2.typing.Point], masks: _typing.Sequence[cv2.UMat]) -> _typing.Sequence[cv2.UMat]: ...
430
+
431
+
432
+ class VoronoiSeamFinder(PairwiseSeamFinder):
433
+ # Functions
434
+ def find(self, src: _typing.Sequence[cv2.UMat], corners: _typing.Sequence[cv2.typing.Point], masks: _typing.Sequence[cv2.UMat]) -> _typing.Sequence[cv2.UMat]: ...
435
+
436
+
437
+ class DpSeamFinder(SeamFinder):
438
+ # Functions
439
+ def __init__(self, costFunc: str) -> None: ...
440
+
441
+ def setCostFunction(self, val: str) -> None: ...
442
+
443
+
444
+ class GraphCutSeamFinder:
445
+ # Functions
446
+ def __init__(self, cost_type: str, terminal_cost: float = ..., bad_region_penalty: float = ...) -> None: ...
447
+
448
+ def find(self, src: _typing.Sequence[cv2.UMat], corners: _typing.Sequence[cv2.typing.Point], masks: _typing.Sequence[cv2.UMat]) -> _typing.Sequence[cv2.UMat]: ...
449
+
450
+
451
+ class Timelapser:
452
+ # Functions
453
+ @classmethod
454
+ def createDefault(cls, type: int) -> Timelapser: ...
455
+
456
+ def initialize(self, corners: _typing.Sequence[cv2.typing.Point], sizes: _typing.Sequence[cv2.typing.Size]) -> None: ...
457
+
458
+ @_typing.overload
459
+ def process(self, img: cv2.typing.MatLike, mask: cv2.typing.MatLike, tl: cv2.typing.Point) -> None: ...
460
+ @_typing.overload
461
+ def process(self, img: cv2.UMat, mask: cv2.UMat, tl: cv2.typing.Point) -> None: ...
462
+
463
+ def getDst(self) -> cv2.UMat: ...
464
+
465
+
466
+ class TimelapserCrop(Timelapser):
467
+ ...
468
+
469
+ class ProjectorBase:
470
+ ...
471
+
472
+ class SphericalProjector(ProjectorBase):
473
+ # Functions
474
+ def mapForward(self, x: float, y: float, u: float, v: float) -> None: ...
475
+
476
+ def mapBackward(self, u: float, v: float, x: float, y: float) -> None: ...
477
+
478
+
479
+ class PoseGraph:
480
+ ...
481
+
482
+
483
+ # Functions
484
+ def calibrateRotatingCamera(Hs: _typing.Sequence[cv2.typing.MatLike], K: cv2.typing.MatLike | None = ...) -> tuple[bool, cv2.typing.MatLike]: ...
485
+
486
+ @_typing.overload
487
+ def computeImageFeatures(featuresFinder: cv2.Feature2D, images: _typing.Sequence[cv2.typing.MatLike], masks: _typing.Sequence[cv2.typing.MatLike] | None = ...) -> _typing.Sequence[ImageFeatures]: ...
488
+ @_typing.overload
489
+ def computeImageFeatures(featuresFinder: cv2.Feature2D, images: _typing.Sequence[cv2.UMat], masks: _typing.Sequence[cv2.UMat] | None = ...) -> _typing.Sequence[ImageFeatures]: ...
490
+
491
+ @_typing.overload
492
+ def computeImageFeatures2(featuresFinder: cv2.Feature2D, image: cv2.typing.MatLike, mask: cv2.typing.MatLike | None = ...) -> ImageFeatures: ...
493
+ @_typing.overload
494
+ def computeImageFeatures2(featuresFinder: cv2.Feature2D, image: cv2.UMat, mask: cv2.UMat | None = ...) -> ImageFeatures: ...
495
+
496
+ @_typing.overload
497
+ def createLaplacePyr(img: cv2.typing.MatLike, num_levels: int, pyr: _typing.Sequence[cv2.UMat]) -> _typing.Sequence[cv2.UMat]: ...
498
+ @_typing.overload
499
+ def createLaplacePyr(img: cv2.UMat, num_levels: int, pyr: _typing.Sequence[cv2.UMat]) -> _typing.Sequence[cv2.UMat]: ...
500
+
501
+ @_typing.overload
502
+ def createLaplacePyrGpu(img: cv2.typing.MatLike, num_levels: int, pyr: _typing.Sequence[cv2.UMat]) -> _typing.Sequence[cv2.UMat]: ...
503
+ @_typing.overload
504
+ def createLaplacePyrGpu(img: cv2.UMat, num_levels: int, pyr: _typing.Sequence[cv2.UMat]) -> _typing.Sequence[cv2.UMat]: ...
505
+
506
+ @_typing.overload
507
+ def createWeightMap(mask: cv2.typing.MatLike, sharpness: float, weight: cv2.typing.MatLike) -> cv2.typing.MatLike: ...
508
+ @_typing.overload
509
+ def createWeightMap(mask: cv2.UMat, sharpness: float, weight: cv2.UMat) -> cv2.UMat: ...
510
+
511
+ def focalsFromHomography(H: cv2.typing.MatLike, f0: float, f1: float, f0_ok: bool, f1_ok: bool) -> None: ...
512
+
513
+ def leaveBiggestComponent(features: _typing.Sequence[ImageFeatures], pairwise_matches: _typing.Sequence[MatchesInfo], conf_threshold: float) -> _typing.Sequence[int]: ...
514
+
515
+ def matchesGraphAsString(paths: _typing.Sequence[str], pairwise_matches: _typing.Sequence[MatchesInfo], conf_threshold: float) -> str: ...
516
+
517
+ @_typing.overload
518
+ def normalizeUsingWeightMap(weight: cv2.typing.MatLike, src: cv2.typing.MatLike) -> cv2.typing.MatLike: ...
519
+ @_typing.overload
520
+ def normalizeUsingWeightMap(weight: cv2.UMat, src: cv2.UMat) -> cv2.UMat: ...
521
+
522
+ def overlapRoi(tl1: cv2.typing.Point, tl2: cv2.typing.Point, sz1: cv2.typing.Size, sz2: cv2.typing.Size, roi: cv2.typing.Rect) -> bool: ...
523
+
524
+ def restoreImageFromLaplacePyr(pyr: _typing.Sequence[cv2.UMat]) -> _typing.Sequence[cv2.UMat]: ...
525
+
526
+ def restoreImageFromLaplacePyrGpu(pyr: _typing.Sequence[cv2.UMat]) -> _typing.Sequence[cv2.UMat]: ...
527
+
528
+ @_typing.overload
529
+ def resultRoi(corners: _typing.Sequence[cv2.typing.Point], images: _typing.Sequence[cv2.UMat]) -> cv2.typing.Rect: ...
530
+ @_typing.overload
531
+ def resultRoi(corners: _typing.Sequence[cv2.typing.Point], sizes: _typing.Sequence[cv2.typing.Size]) -> cv2.typing.Rect: ...
532
+
533
+ def resultRoiIntersection(corners: _typing.Sequence[cv2.typing.Point], sizes: _typing.Sequence[cv2.typing.Size]) -> cv2.typing.Rect: ...
534
+
535
+ def resultTl(corners: _typing.Sequence[cv2.typing.Point]) -> cv2.typing.Point: ...
536
+
537
+ def selectRandomSubset(count: int, size: int, subset: _typing.Sequence[int]) -> None: ...
538
+
539
+ def stitchingLogLevel() -> int: ...
540
+
541
+ def waveCorrect(rmats: _typing.Sequence[cv2.typing.MatLike], kind: WaveCorrectKind) -> _typing.Sequence[cv2.typing.MatLike]: ...
542
+
543
+