opencv-contrib-python 4.12.0.88__cp37-abi3-manylinux2014_aarch64.manylinux_2_17_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.
Files changed (172) hide show
  1. cv2/Error/__init__.pyi +118 -0
  2. cv2/LICENSE-3RD-PARTY.txt +3513 -0
  3. cv2/LICENSE.txt +21 -0
  4. cv2/__init__.py +181 -0
  5. cv2/__init__.pyi +6789 -0
  6. cv2/aruco/__init__.pyi +405 -0
  7. cv2/barcode/__init__.pyi +39 -0
  8. cv2/bgsegm/__init__.pyi +177 -0
  9. cv2/bioinspired/__init__.pyi +121 -0
  10. cv2/ccm/__init__.pyi +167 -0
  11. cv2/colored_kinfu/__init__.pyi +96 -0
  12. cv2/config-3.py +24 -0
  13. cv2/config.py +5 -0
  14. cv2/cuda/__init__.pyi +553 -0
  15. cv2/cv2.abi3.so +0 -0
  16. cv2/data/__init__.py +3 -0
  17. cv2/data/haarcascade_eye.xml +12213 -0
  18. cv2/data/haarcascade_eye_tree_eyeglasses.xml +22619 -0
  19. cv2/data/haarcascade_frontalcatface.xml +14382 -0
  20. cv2/data/haarcascade_frontalcatface_extended.xml +13394 -0
  21. cv2/data/haarcascade_frontalface_alt.xml +24350 -0
  22. cv2/data/haarcascade_frontalface_alt2.xml +20719 -0
  23. cv2/data/haarcascade_frontalface_alt_tree.xml +96484 -0
  24. cv2/data/haarcascade_frontalface_default.xml +33314 -0
  25. cv2/data/haarcascade_fullbody.xml +17030 -0
  26. cv2/data/haarcascade_lefteye_2splits.xml +7390 -0
  27. cv2/data/haarcascade_license_plate_rus_16stages.xml +1404 -0
  28. cv2/data/haarcascade_lowerbody.xml +14056 -0
  29. cv2/data/haarcascade_profileface.xml +29690 -0
  30. cv2/data/haarcascade_righteye_2splits.xml +7407 -0
  31. cv2/data/haarcascade_russian_plate_number.xml +2656 -0
  32. cv2/data/haarcascade_smile.xml +6729 -0
  33. cv2/data/haarcascade_upperbody.xml +28134 -0
  34. cv2/datasets/__init__.pyi +80 -0
  35. cv2/detail/__init__.pyi +627 -0
  36. cv2/dnn/__init__.pyi +536 -0
  37. cv2/dnn_superres/__init__.pyi +37 -0
  38. cv2/dpm/__init__.pyi +10 -0
  39. cv2/dynafu/__init__.pyi +43 -0
  40. cv2/face/__init__.pyi +219 -0
  41. cv2/fisheye/__init__.pyi +88 -0
  42. cv2/flann/__init__.pyi +64 -0
  43. cv2/ft/__init__.pyi +98 -0
  44. cv2/gapi/__init__.py +323 -0
  45. cv2/gapi/__init__.pyi +349 -0
  46. cv2/gapi/core/__init__.pyi +7 -0
  47. cv2/gapi/core/cpu/__init__.pyi +9 -0
  48. cv2/gapi/core/fluid/__init__.pyi +9 -0
  49. cv2/gapi/core/ocl/__init__.pyi +9 -0
  50. cv2/gapi/ie/__init__.pyi +51 -0
  51. cv2/gapi/ie/detail/__init__.pyi +12 -0
  52. cv2/gapi/imgproc/__init__.pyi +5 -0
  53. cv2/gapi/imgproc/fluid/__init__.pyi +9 -0
  54. cv2/gapi/oak/__init__.pyi +37 -0
  55. cv2/gapi/onnx/__init__.pyi +55 -0
  56. cv2/gapi/onnx/ep/__init__.pyi +63 -0
  57. cv2/gapi/ot/__init__.pyi +32 -0
  58. cv2/gapi/ot/cpu/__init__.pyi +9 -0
  59. cv2/gapi/ov/__init__.pyi +74 -0
  60. cv2/gapi/own/__init__.pyi +5 -0
  61. cv2/gapi/own/detail/__init__.pyi +10 -0
  62. cv2/gapi/render/__init__.pyi +5 -0
  63. cv2/gapi/render/ocv/__init__.pyi +9 -0
  64. cv2/gapi/streaming/__init__.pyi +42 -0
  65. cv2/gapi/video/__init__.pyi +10 -0
  66. cv2/gapi/wip/__init__.pyi +41 -0
  67. cv2/gapi/wip/draw/__init__.pyi +119 -0
  68. cv2/gapi/wip/gst/__init__.pyi +17 -0
  69. cv2/gapi/wip/onevpl/__init__.pyi +16 -0
  70. cv2/hfs/__init__.pyi +53 -0
  71. cv2/img_hash/__init__.pyi +116 -0
  72. cv2/intensity_transform/__init__.pyi +27 -0
  73. cv2/ipp/__init__.pyi +14 -0
  74. cv2/kinfu/__init__.pyi +133 -0
  75. cv2/kinfu/detail/__init__.pyi +7 -0
  76. cv2/large_kinfu/__init__.pyi +73 -0
  77. cv2/legacy/__init__.pyi +93 -0
  78. cv2/line_descriptor/__init__.pyi +112 -0
  79. cv2/linemod/__init__.pyi +151 -0
  80. cv2/load_config_py2.py +6 -0
  81. cv2/load_config_py3.py +9 -0
  82. cv2/mat_wrapper/__init__.py +40 -0
  83. cv2/mcc/__init__.pyi +109 -0
  84. cv2/misc/__init__.py +1 -0
  85. cv2/misc/version.py +5 -0
  86. cv2/ml/__init__.pyi +695 -0
  87. cv2/motempl/__init__.pyi +29 -0
  88. cv2/multicalib/__init__.pyi +10 -0
  89. cv2/ocl/__init__.pyi +252 -0
  90. cv2/ogl/__init__.pyi +51 -0
  91. cv2/omnidir/__init__.pyi +68 -0
  92. cv2/optflow/__init__.pyi +286 -0
  93. cv2/parallel/__init__.pyi +6 -0
  94. cv2/phase_unwrapping/__init__.pyi +41 -0
  95. cv2/plot/__init__.pyi +64 -0
  96. cv2/ppf_match_3d/__init__.pyi +90 -0
  97. cv2/py.typed +0 -0
  98. cv2/qt/fonts/DejaVuSans-Bold.ttf +0 -0
  99. cv2/qt/fonts/DejaVuSans-BoldOblique.ttf +0 -0
  100. cv2/qt/fonts/DejaVuSans-ExtraLight.ttf +0 -0
  101. cv2/qt/fonts/DejaVuSans-Oblique.ttf +0 -0
  102. cv2/qt/fonts/DejaVuSans.ttf +0 -0
  103. cv2/qt/fonts/DejaVuSansCondensed-Bold.ttf +0 -0
  104. cv2/qt/fonts/DejaVuSansCondensed-BoldOblique.ttf +0 -0
  105. cv2/qt/fonts/DejaVuSansCondensed-Oblique.ttf +0 -0
  106. cv2/qt/fonts/DejaVuSansCondensed.ttf +0 -0
  107. cv2/qt/plugins/platforms/libqxcb.so +0 -0
  108. cv2/quality/__init__.pyi +149 -0
  109. cv2/rapid/__init__.pyi +91 -0
  110. cv2/reg/__init__.pyi +210 -0
  111. cv2/rgbd/__init__.pyi +449 -0
  112. cv2/saliency/__init__.pyi +119 -0
  113. cv2/samples/__init__.pyi +12 -0
  114. cv2/segmentation/__init__.pyi +39 -0
  115. cv2/signal/__init__.pyi +14 -0
  116. cv2/stereo/__init__.pyi +87 -0
  117. cv2/structured_light/__init__.pyi +94 -0
  118. cv2/text/__init__.pyi +203 -0
  119. cv2/typing/__init__.py +180 -0
  120. cv2/utils/__init__.py +14 -0
  121. cv2/utils/__init__.pyi +109 -0
  122. cv2/utils/fs/__init__.pyi +6 -0
  123. cv2/utils/nested/__init__.pyi +31 -0
  124. cv2/version.py +5 -0
  125. cv2/videoio_registry/__init__.pyi +31 -0
  126. cv2/videostab/__init__.pyi +16 -0
  127. cv2/wechat_qrcode/__init__.pyi +23 -0
  128. cv2/xfeatures2d/__init__.pyi +537 -0
  129. cv2/ximgproc/__init__.pyi +746 -0
  130. cv2/ximgproc/segmentation/__init__.pyi +116 -0
  131. cv2/xphoto/__init__.pyi +142 -0
  132. opencv_contrib_python-4.12.0.88.dist-info/LICENSE-3RD-PARTY.txt +3513 -0
  133. opencv_contrib_python-4.12.0.88.dist-info/LICENSE.txt +21 -0
  134. opencv_contrib_python-4.12.0.88.dist-info/METADATA +299 -0
  135. opencv_contrib_python-4.12.0.88.dist-info/RECORD +172 -0
  136. opencv_contrib_python-4.12.0.88.dist-info/WHEEL +6 -0
  137. opencv_contrib_python-4.12.0.88.dist-info/top_level.txt +1 -0
  138. opencv_contrib_python.libs/libQt5Core-104e39d9.so.5.15.16 +0 -0
  139. opencv_contrib_python.libs/libQt5Gui-b4c09495.so.5.15.16 +0 -0
  140. opencv_contrib_python.libs/libQt5Test-9a114c6a.so.5.15.16 +0 -0
  141. opencv_contrib_python.libs/libQt5Widgets-42fd29df.so.5.15.16 +0 -0
  142. opencv_contrib_python.libs/libQt5XcbQpa-3d8da064.so.5.15.16 +0 -0
  143. opencv_contrib_python.libs/libX11-xcb-a0297738.so.1.0.0 +0 -0
  144. opencv_contrib_python.libs/libXau-21870672.so.6.0.0 +0 -0
  145. opencv_contrib_python.libs/libaom-e47476b8.so.3.12.1 +0 -0
  146. opencv_contrib_python.libs/libavcodec-df1d7c1e.so.59.37.100 +0 -0
  147. opencv_contrib_python.libs/libavformat-ef9e8359.so.59.27.100 +0 -0
  148. opencv_contrib_python.libs/libavif-f4efd5aa.so.16.3.0 +0 -0
  149. opencv_contrib_python.libs/libavutil-2dc4740f.so.57.28.100 +0 -0
  150. opencv_contrib_python.libs/libcrypto-43e37667.so.1.1 +0 -0
  151. opencv_contrib_python.libs/libgfortran-8634ef04.so.3.0.0 +0 -0
  152. opencv_contrib_python.libs/libopenblas-r0-8966572e.3.3.so +0 -0
  153. opencv_contrib_python.libs/libpng16-035647ca.so.16.48.0 +0 -0
  154. opencv_contrib_python.libs/libssl-b9692d76.so.1.1 +0 -0
  155. opencv_contrib_python.libs/libswresample-da2ce214.so.4.7.100 +0 -0
  156. opencv_contrib_python.libs/libswscale-e52af062.so.6.7.100 +0 -0
  157. opencv_contrib_python.libs/libvpx-06ef2ab1.so.11.0.0 +0 -0
  158. opencv_contrib_python.libs/libxcb-icccm-05fb8c7f.so.4.0.0 +0 -0
  159. opencv_contrib_python.libs/libxcb-image-75825d2e.so.0.0.0 +0 -0
  160. opencv_contrib_python.libs/libxcb-keysyms-73cd270d.so.1.0.0 +0 -0
  161. opencv_contrib_python.libs/libxcb-randr-e1606dfc.so.0.1.0 +0 -0
  162. opencv_contrib_python.libs/libxcb-render-76b15fe5.so.0.0.0 +0 -0
  163. opencv_contrib_python.libs/libxcb-render-util-486ef3ee.so.0.0.0 +0 -0
  164. opencv_contrib_python.libs/libxcb-shape-e8fe4bc4.so.0.0.0 +0 -0
  165. opencv_contrib_python.libs/libxcb-shm-cad72500.so.0.0.0 +0 -0
  166. opencv_contrib_python.libs/libxcb-sync-dc271c48.so.1.0.0 +0 -0
  167. opencv_contrib_python.libs/libxcb-util-c74d156a.so.1.0.0 +0 -0
  168. opencv_contrib_python.libs/libxcb-xfixes-f4cf71d4.so.0.0.0 +0 -0
  169. opencv_contrib_python.libs/libxcb-xinerama-6372573d.so.0.0.0 +0 -0
  170. opencv_contrib_python.libs/libxcb-xkb-e2f6f9de.so.1.0.0 +0 -0
  171. opencv_contrib_python.libs/libxkbcommon-e272a37d.so.0.0.0 +0 -0
  172. opencv_contrib_python.libs/libxkbcommon-x11-b76c7d31.so.0.0.0 +0 -0
@@ -0,0 +1,9 @@
1
+ __all__: list[str] = []
2
+
3
+ import cv2
4
+
5
+
6
+ # Functions
7
+ def kernels() -> cv2.GKernelPackage: ...
8
+
9
+
@@ -0,0 +1,51 @@
1
+ __all__: list[str] = []
2
+
3
+ import cv2.typing
4
+ import typing as _typing
5
+
6
+
7
+ from cv2.gapi.ie import detail as detail
8
+
9
+
10
+ # Enumerations
11
+ TraitAs_TENSOR: int
12
+ TRAIT_AS_TENSOR: int
13
+ TraitAs_IMAGE: int
14
+ TRAIT_AS_IMAGE: int
15
+ TraitAs = int
16
+ """One of [TraitAs_TENSOR, TRAIT_AS_TENSOR, TraitAs_IMAGE, TRAIT_AS_IMAGE]"""
17
+
18
+ Sync: int
19
+ SYNC: int
20
+ Async: int
21
+ ASYNC: int
22
+ InferMode = int
23
+ """One of [Sync, SYNC, Async, ASYNC]"""
24
+
25
+
26
+
27
+ # Classes
28
+ class PyParams:
29
+ # Functions
30
+ @_typing.overload
31
+ def __init__(self) -> None: ...
32
+ @_typing.overload
33
+ def __init__(self, tag: str, model: str, weights: str, device: str) -> None: ...
34
+ @_typing.overload
35
+ def __init__(self, tag: str, model: str, device: str) -> None: ...
36
+
37
+ def constInput(self, layer_name: str, data: cv2.typing.MatLike, hint: TraitAs = ...) -> PyParams: ...
38
+
39
+ def cfgNumRequests(self, nireq: int) -> PyParams: ...
40
+
41
+ def cfgBatchSize(self, size: int) -> PyParams: ...
42
+
43
+
44
+
45
+ # Functions
46
+ @_typing.overload
47
+ def params(tag: str, model: str, weights: str, device: str) -> PyParams: ...
48
+ @_typing.overload
49
+ def params(tag: str, model: str, device: str) -> PyParams: ...
50
+
51
+
@@ -0,0 +1,12 @@
1
+ __all__: list[str] = []
2
+
3
+ ParamDesc_Kind_Load: int
4
+ PARAM_DESC_KIND_LOAD: int
5
+ ParamDesc_Kind_Import: int
6
+ PARAM_DESC_KIND_IMPORT: int
7
+ ParamDesc_Kind = int
8
+ """One of [ParamDesc_Kind_Load, PARAM_DESC_KIND_LOAD, ParamDesc_Kind_Import, PARAM_DESC_KIND_IMPORT]"""
9
+
10
+
11
+ # Classes
12
+
@@ -0,0 +1,5 @@
1
+ __all__: list[str] = []
2
+
3
+ from cv2.gapi.imgproc import fluid as fluid
4
+
5
+
@@ -0,0 +1,9 @@
1
+ __all__: list[str] = []
2
+
3
+ import cv2
4
+
5
+
6
+ # Functions
7
+ def kernels() -> cv2.GKernelPackage: ...
8
+
9
+
@@ -0,0 +1,37 @@
1
+ __all__: list[str] = []
2
+
3
+ EncoderConfig_RateControlMode_CBR: int
4
+ ENCODER_CONFIG_RATE_CONTROL_MODE_CBR: int
5
+ EncoderConfig_RateControlMode_VBR: int
6
+ ENCODER_CONFIG_RATE_CONTROL_MODE_VBR: int
7
+ EncoderConfig_RateControlMode = int
8
+ """One of [EncoderConfig_RateControlMode_CBR, ENCODER_CONFIG_RATE_CONTROL_MODE_CBR, EncoderConfig_RateControlMode_VBR, ENCODER_CONFIG_RATE_CONTROL_MODE_VBR]"""
9
+
10
+ EncoderConfig_Profile_H264_BASELINE: int
11
+ ENCODER_CONFIG_PROFILE_H264_BASELINE: int
12
+ EncoderConfig_Profile_H264_HIGH: int
13
+ ENCODER_CONFIG_PROFILE_H264_HIGH: int
14
+ EncoderConfig_Profile_H264_MAIN: int
15
+ ENCODER_CONFIG_PROFILE_H264_MAIN: int
16
+ EncoderConfig_Profile_H265_MAIN: int
17
+ ENCODER_CONFIG_PROFILE_H265_MAIN: int
18
+ EncoderConfig_Profile_MJPEG: int
19
+ ENCODER_CONFIG_PROFILE_MJPEG: int
20
+ EncoderConfig_Profile = int
21
+ """One of [EncoderConfig_Profile_H264_BASELINE, ENCODER_CONFIG_PROFILE_H264_BASELINE, EncoderConfig_Profile_H264_HIGH, ENCODER_CONFIG_PROFILE_H264_HIGH, EncoderConfig_Profile_H264_MAIN, ENCODER_CONFIG_PROFILE_H264_MAIN, EncoderConfig_Profile_H265_MAIN, ENCODER_CONFIG_PROFILE_H265_MAIN, EncoderConfig_Profile_MJPEG, ENCODER_CONFIG_PROFILE_MJPEG]"""
22
+
23
+ ColorCameraParams_BoardSocket_RGB: int
24
+ COLOR_CAMERA_PARAMS_BOARD_SOCKET_RGB: int
25
+ ColorCameraParams_BoardSocket_BGR: int
26
+ COLOR_CAMERA_PARAMS_BOARD_SOCKET_BGR: int
27
+ ColorCameraParams_BoardSocket = int
28
+ """One of [ColorCameraParams_BoardSocket_RGB, COLOR_CAMERA_PARAMS_BOARD_SOCKET_RGB, ColorCameraParams_BoardSocket_BGR, COLOR_CAMERA_PARAMS_BOARD_SOCKET_BGR]"""
29
+
30
+ ColorCameraParams_Resolution_THE_1080_P: int
31
+ COLOR_CAMERA_PARAMS_RESOLUTION_THE_1080_P: int
32
+ ColorCameraParams_Resolution = int
33
+ """One of [ColorCameraParams_Resolution_THE_1080_P, COLOR_CAMERA_PARAMS_RESOLUTION_THE_1080_P]"""
34
+
35
+
36
+ # Classes
37
+
@@ -0,0 +1,55 @@
1
+ __all__: list[str] = []
2
+
3
+ import cv2.gapi.onnx.ep
4
+ import cv2.typing
5
+ import typing as _typing
6
+
7
+
8
+ from cv2.gapi.onnx import ep as ep
9
+
10
+
11
+ # Enumerations
12
+ TraitAs_TENSOR: int
13
+ TRAIT_AS_TENSOR: int
14
+ TraitAs_IMAGE: int
15
+ TRAIT_AS_IMAGE: int
16
+ TraitAs = int
17
+ """One of [TraitAs_TENSOR, TRAIT_AS_TENSOR, TraitAs_IMAGE, TRAIT_AS_IMAGE]"""
18
+
19
+
20
+
21
+ # Classes
22
+ class PyParams:
23
+ # Functions
24
+ @_typing.overload
25
+ def __init__(self) -> None: ...
26
+ @_typing.overload
27
+ def __init__(self, tag: str, model_path: str) -> None: ...
28
+
29
+ def cfgMeanStd(self, layer_name: str, m: cv2.typing.Scalar, s: cv2.typing.Scalar) -> PyParams: ...
30
+
31
+ def cfgNormalize(self, layer_name: str, flag: bool) -> PyParams: ...
32
+
33
+ @_typing.overload
34
+ def cfgAddExecutionProvider(self, ep: cv2.gapi.onnx.ep.OpenVINO) -> PyParams: ...
35
+ @_typing.overload
36
+ def cfgAddExecutionProvider(self, ep: cv2.gapi.onnx.ep.DirectML) -> PyParams: ...
37
+ @_typing.overload
38
+ def cfgAddExecutionProvider(self, ep: cv2.gapi.onnx.ep.CoreML) -> PyParams: ...
39
+ @_typing.overload
40
+ def cfgAddExecutionProvider(self, ep: cv2.gapi.onnx.ep.CUDA) -> PyParams: ...
41
+ @_typing.overload
42
+ def cfgAddExecutionProvider(self, ep: cv2.gapi.onnx.ep.TensorRT) -> PyParams: ...
43
+
44
+ def cfgDisableMemPattern(self) -> PyParams: ...
45
+
46
+ def cfgSessionOptions(self, options: cv2.typing.map_string_and_string) -> PyParams: ...
47
+
48
+ def cfgOptLevel(self, opt_level: int) -> PyParams: ...
49
+
50
+
51
+
52
+ # Functions
53
+ def params(tag: str, model_path: str) -> PyParams: ...
54
+
55
+
@@ -0,0 +1,63 @@
1
+ __all__: list[str] = []
2
+
3
+ import cv2.typing
4
+ import typing as _typing
5
+
6
+
7
+ # Classes
8
+ class CoreML:
9
+ # Functions
10
+ def __init__(self) -> None: ...
11
+
12
+ def cfgUseCPUOnly(self) -> CoreML: ...
13
+
14
+ def cfgEnableOnSubgraph(self) -> CoreML: ...
15
+
16
+ def cfgEnableOnlyNeuralEngine(self) -> CoreML: ...
17
+
18
+
19
+ class CUDA:
20
+ # Functions
21
+ @_typing.overload
22
+ def __init__(self) -> None: ...
23
+ @_typing.overload
24
+ def __init__(self, dev_id: int) -> None: ...
25
+
26
+
27
+ class TensorRT:
28
+ # Functions
29
+ @_typing.overload
30
+ def __init__(self) -> None: ...
31
+ @_typing.overload
32
+ def __init__(self, dev_id: int) -> None: ...
33
+
34
+
35
+ class OpenVINO:
36
+ # Functions
37
+ @_typing.overload
38
+ def __init__(self) -> None: ...
39
+ @_typing.overload
40
+ def __init__(self, dev_type: str) -> None: ...
41
+ @_typing.overload
42
+ def __init__(self, params: cv2.typing.map_string_and_string) -> None: ...
43
+
44
+ def cfgCacheDir(self, dir: str) -> OpenVINO: ...
45
+
46
+ def cfgNumThreads(self, nthreads: int) -> OpenVINO: ...
47
+
48
+ def cfgEnableOpenCLThrottling(self) -> OpenVINO: ...
49
+
50
+ def cfgEnableDynamicShapes(self) -> OpenVINO: ...
51
+
52
+
53
+ class DirectML:
54
+ # Functions
55
+ @_typing.overload
56
+ def __init__(self) -> None: ...
57
+ @_typing.overload
58
+ def __init__(self, device_id: int) -> None: ...
59
+ @_typing.overload
60
+ def __init__(self, adapter_name: str) -> None: ...
61
+
62
+
63
+
@@ -0,0 +1,32 @@
1
+ __all__: list[str] = []
2
+
3
+ import cv2
4
+ import typing as _typing
5
+
6
+
7
+ from cv2.gapi.ot import cpu as cpu
8
+
9
+
10
+ # Enumerations
11
+ NEW: int
12
+ TRACKED: int
13
+ LOST: int
14
+ TrackingStatus = int
15
+ """One of [NEW, TRACKED, LOST]"""
16
+
17
+
18
+
19
+ # Classes
20
+ class ObjectTrackerParams:
21
+ max_num_objects: int
22
+ input_image_format: int
23
+ tracking_per_class: bool
24
+
25
+
26
+ # Functions
27
+ @_typing.overload
28
+ def track(mat: cv2.GMat, detected_rects: cv2.GArrayT, detected_class_labels: cv2.GArrayT, delta: float) -> tuple[cv2.GArrayT, cv2.GArrayT, cv2.GArrayT, cv2.GArrayT]: ...
29
+ @_typing.overload
30
+ def track(frame: cv2.GFrame, detected_rects: cv2.GArrayT, detected_class_labels: cv2.GArrayT, delta: float) -> tuple[cv2.GArrayT, cv2.GArrayT, cv2.GArrayT, cv2.GArrayT]: ...
31
+
32
+
@@ -0,0 +1,9 @@
1
+ __all__: list[str] = []
2
+
3
+ import cv2
4
+
5
+
6
+ # Functions
7
+ def kernels() -> cv2.GKernelPackage: ...
8
+
9
+
@@ -0,0 +1,74 @@
1
+ __all__: list[str] = []
2
+
3
+ import cv2.typing
4
+ import typing as _typing
5
+
6
+
7
+ # Classes
8
+ class PyParams:
9
+ # Functions
10
+ @_typing.overload
11
+ def __init__(self) -> None: ...
12
+ @_typing.overload
13
+ def __init__(self, tag: str, model_path: str, bin_path: str, device: str) -> None: ...
14
+ @_typing.overload
15
+ def __init__(self, tag: str, blob_path: str, device: str) -> None: ...
16
+
17
+ def cfgPluginConfig(self, config: cv2.typing.map_string_and_string) -> PyParams: ...
18
+
19
+ @_typing.overload
20
+ def cfgInputTensorLayout(self, tensor_layout: str) -> PyParams: ...
21
+ @_typing.overload
22
+ def cfgInputTensorLayout(self, layout_map: cv2.typing.map_string_and_string) -> PyParams: ...
23
+
24
+ @_typing.overload
25
+ def cfgInputModelLayout(self, tensor_layout: str) -> PyParams: ...
26
+ @_typing.overload
27
+ def cfgInputModelLayout(self, layout_map: cv2.typing.map_string_and_string) -> PyParams: ...
28
+
29
+ @_typing.overload
30
+ def cfgOutputTensorLayout(self, tensor_layout: str) -> PyParams: ...
31
+ @_typing.overload
32
+ def cfgOutputTensorLayout(self, layout_map: cv2.typing.map_string_and_string) -> PyParams: ...
33
+
34
+ @_typing.overload
35
+ def cfgOutputModelLayout(self, tensor_layout: str) -> PyParams: ...
36
+ @_typing.overload
37
+ def cfgOutputModelLayout(self, layout_map: cv2.typing.map_string_and_string) -> PyParams: ...
38
+
39
+ @_typing.overload
40
+ def cfgOutputTensorPrecision(self, precision: int) -> PyParams: ...
41
+ @_typing.overload
42
+ def cfgOutputTensorPrecision(self, precision_map: cv2.typing.map_string_and_int) -> PyParams: ...
43
+
44
+ @_typing.overload
45
+ def cfgReshape(self, new_shape: _typing.Sequence[int]) -> PyParams: ...
46
+ @_typing.overload
47
+ def cfgReshape(self, new_shape_map: cv2.typing.map_string_and_vector_size_t) -> PyParams: ...
48
+
49
+ def cfgNumRequests(self, nireq: int) -> PyParams: ...
50
+
51
+ @_typing.overload
52
+ def cfgMean(self, mean_values: _typing.Sequence[float]) -> PyParams: ...
53
+ @_typing.overload
54
+ def cfgMean(self, mean_map: cv2.typing.map_string_and_vector_float) -> PyParams: ...
55
+
56
+ @_typing.overload
57
+ def cfgScale(self, scale_values: _typing.Sequence[float]) -> PyParams: ...
58
+ @_typing.overload
59
+ def cfgScale(self, scale_map: cv2.typing.map_string_and_vector_float) -> PyParams: ...
60
+
61
+ @_typing.overload
62
+ def cfgResize(self, interpolation: int) -> PyParams: ...
63
+ @_typing.overload
64
+ def cfgResize(self, interpolation: cv2.typing.map_string_and_int) -> PyParams: ...
65
+
66
+
67
+
68
+ # Functions
69
+ @_typing.overload
70
+ def params(tag: str, model_path: str, weights: str, device: str) -> PyParams: ...
71
+ @_typing.overload
72
+ def params(tag: str, bin_path: str, device: str) -> PyParams: ...
73
+
74
+
@@ -0,0 +1,5 @@
1
+ __all__: list[str] = []
2
+
3
+ from cv2.gapi.own import detail as detail
4
+
5
+
@@ -0,0 +1,10 @@
1
+ __all__: list[str] = []
2
+
3
+ MatHeader_AUTO_STEP: int
4
+ MAT_HEADER_AUTO_STEP: int
5
+ MatHeader_TYPE_MASK: int
6
+ MAT_HEADER_TYPE_MASK: int
7
+
8
+
9
+ # Classes
10
+
@@ -0,0 +1,5 @@
1
+ __all__: list[str] = []
2
+
3
+ from cv2.gapi.render import ocv as ocv
4
+
5
+
@@ -0,0 +1,9 @@
1
+ __all__: list[str] = []
2
+
3
+ import cv2
4
+
5
+
6
+ # Functions
7
+ def kernels() -> cv2.GKernelPackage: ...
8
+
9
+
@@ -0,0 +1,42 @@
1
+ __all__: list[str] = []
2
+
3
+ import cv2
4
+ import typing as _typing
5
+
6
+
7
+ # Enumerations
8
+ sync_policy_dont_sync: int
9
+ SYNC_POLICY_DONT_SYNC: int
10
+ sync_policy_drop: int
11
+ SYNC_POLICY_DROP: int
12
+ sync_policy = int
13
+ """One of [sync_policy_dont_sync, SYNC_POLICY_DONT_SYNC, sync_policy_drop, SYNC_POLICY_DROP]"""
14
+
15
+
16
+
17
+ # Classes
18
+ class queue_capacity:
19
+ capacity: int
20
+
21
+ # Functions
22
+ def __init__(self, cap: int = ...) -> None: ...
23
+
24
+
25
+
26
+ # Functions
27
+ def desync(g: cv2.GMat) -> cv2.GMat: ...
28
+
29
+ def seqNo(arg1: cv2.GMat) -> cv2.GOpaqueT: ...
30
+
31
+ def seq_id(arg1: cv2.GMat) -> cv2.GOpaqueT: ...
32
+
33
+ @_typing.overload
34
+ def size(src: cv2.GMat) -> cv2.GOpaqueT: ...
35
+ @_typing.overload
36
+ def size(r: cv2.GOpaqueT) -> cv2.GOpaqueT: ...
37
+ @_typing.overload
38
+ def size(src: cv2.GFrame) -> cv2.GOpaqueT: ...
39
+
40
+ def timestamp(arg1: cv2.GMat) -> cv2.GOpaqueT: ...
41
+
42
+
@@ -0,0 +1,10 @@
1
+ __all__: list[str] = []
2
+
3
+ # Enumerations
4
+ TYPE_BS_MOG2: int
5
+ TYPE_BS_KNN: int
6
+ BackgroundSubtractorType = int
7
+ """One of [TYPE_BS_MOG2, TYPE_BS_KNN]"""
8
+
9
+
10
+
@@ -0,0 +1,41 @@
1
+ __all__: list[str] = []
2
+
3
+ import cv2
4
+ import cv2.gapi
5
+ import cv2.gapi.wip.gst
6
+ import cv2.typing
7
+ import typing as _typing
8
+
9
+
10
+ from cv2.gapi.wip import draw as draw
11
+ from cv2.gapi.wip import gst as gst
12
+ from cv2.gapi.wip import onevpl as onevpl
13
+
14
+
15
+ # Classes
16
+ class GOutputs:
17
+ # Functions
18
+ def getGMat(self) -> cv2.GMat: ...
19
+
20
+ def getGScalar(self) -> cv2.GScalar: ...
21
+
22
+ def getGArray(self, type: cv2.gapi.ArgType) -> cv2.GArrayT: ...
23
+
24
+ def getGOpaque(self, type: cv2.gapi.ArgType) -> cv2.GOpaqueT: ...
25
+
26
+
27
+ class IStreamSource:
28
+ ...
29
+
30
+
31
+ # Functions
32
+ def get_streaming_source(pipeline: cv2.gapi.wip.gst.GStreamerPipeline, appsinkName: str, outputType: cv2.gapi.wip.gst.GStreamerSource_OutputType = ...) -> IStreamSource: ...
33
+
34
+ @_typing.overload
35
+ def make_capture_src(path: str, properties: cv2.typing.map_int_and_double = ...) -> IStreamSource: ...
36
+ @_typing.overload
37
+ def make_capture_src(id: int, properties: cv2.typing.map_int_and_double = ...) -> IStreamSource: ...
38
+
39
+ def make_gst_src(pipeline: str, outputType: cv2.gapi.wip.gst.GStreamerSource_OutputType = ...) -> IStreamSource: ...
40
+
41
+
@@ -0,0 +1,119 @@
1
+ __all__: list[str] = []
2
+
3
+ import cv2
4
+ import cv2.typing
5
+ import typing as _typing
6
+
7
+
8
+ # Classes
9
+ class Text:
10
+ text: str
11
+ org: cv2.typing.Point
12
+ ff: int
13
+ fs: float
14
+ color: cv2.typing.Scalar
15
+ thick: int
16
+ lt: int
17
+ bottom_left_origin: bool
18
+
19
+ # Functions
20
+ @_typing.overload
21
+ 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: ...
22
+ @_typing.overload
23
+ def __init__(self) -> None: ...
24
+
25
+
26
+ class Rect:
27
+ rect: cv2.typing.Rect
28
+ color: cv2.typing.Scalar
29
+ thick: int
30
+ lt: int
31
+ shift: int
32
+
33
+ # Functions
34
+ @_typing.overload
35
+ def __init__(self) -> None: ...
36
+ @_typing.overload
37
+ def __init__(self, rect_: cv2.typing.Rect2i, color_: cv2.typing.Scalar, thick_: int = ..., lt_: int = ..., shift_: int = ...) -> None: ...
38
+
39
+
40
+ class Circle:
41
+ center: cv2.typing.Point
42
+ radius: int
43
+ color: cv2.typing.Scalar
44
+ thick: int
45
+ lt: int
46
+ shift: int
47
+
48
+ # Functions
49
+ @_typing.overload
50
+ def __init__(self, center_: cv2.typing.Point, radius_: int, color_: cv2.typing.Scalar, thick_: int = ..., lt_: int = ..., shift_: int = ...) -> None: ...
51
+ @_typing.overload
52
+ def __init__(self) -> None: ...
53
+
54
+
55
+ class Line:
56
+ pt1: cv2.typing.Point
57
+ pt2: cv2.typing.Point
58
+ color: cv2.typing.Scalar
59
+ thick: int
60
+ lt: int
61
+ shift: int
62
+
63
+ # Functions
64
+ @_typing.overload
65
+ def __init__(self, pt1_: cv2.typing.Point, pt2_: cv2.typing.Point, color_: cv2.typing.Scalar, thick_: int = ..., lt_: int = ..., shift_: int = ...) -> None: ...
66
+ @_typing.overload
67
+ def __init__(self) -> None: ...
68
+
69
+
70
+ class Mosaic:
71
+ mos: cv2.typing.Rect
72
+ cellSz: int
73
+ decim: int
74
+
75
+ # Functions
76
+ @_typing.overload
77
+ def __init__(self) -> None: ...
78
+ @_typing.overload
79
+ def __init__(self, mos_: cv2.typing.Rect2i, cellSz_: int, decim_: int) -> None: ...
80
+
81
+
82
+ class Image:
83
+ org: cv2.typing.Point
84
+ img: cv2.typing.MatLike
85
+ alpha: cv2.typing.MatLike
86
+
87
+ # Functions
88
+ @_typing.overload
89
+ def __init__(self, org_: cv2.typing.Point, img_: cv2.typing.MatLike, alpha_: cv2.typing.MatLike) -> None: ...
90
+ @_typing.overload
91
+ def __init__(self) -> None: ...
92
+
93
+
94
+ class Poly:
95
+ points: _typing.Sequence[cv2.typing.Point]
96
+ color: cv2.typing.Scalar
97
+ thick: int
98
+ lt: int
99
+ shift: int
100
+
101
+ # Functions
102
+ @_typing.overload
103
+ def __init__(self, points_: _typing.Sequence[cv2.typing.Point], color_: cv2.typing.Scalar, thick_: int = ..., lt_: int = ..., shift_: int = ...) -> None: ...
104
+ @_typing.overload
105
+ def __init__(self) -> None: ...
106
+
107
+
108
+
109
+ # Functions
110
+ @_typing.overload
111
+ def render(bgr: cv2.typing.MatLike, prims: _typing.Sequence[cv2.typing.Prim], args: _typing.Sequence[cv2.GCompileArg] = ...) -> None: ...
112
+ @_typing.overload
113
+ def render(y_plane: cv2.typing.MatLike, uv_plane: cv2.typing.MatLike, prims: _typing.Sequence[cv2.typing.Prim], args: _typing.Sequence[cv2.GCompileArg] = ...) -> None: ...
114
+
115
+ def render3ch(src: cv2.GMat, prims: cv2.GArrayT) -> cv2.GMat: ...
116
+
117
+ def renderNV12(y: cv2.GMat, uv: cv2.GMat, prims: cv2.GArrayT) -> tuple[cv2.GMat, cv2.GMat]: ...
118
+
119
+
@@ -0,0 +1,17 @@
1
+ __all__: list[str] = []
2
+
3
+ GStreamerSource_OutputType_FRAME: int
4
+ GSTREAMER_SOURCE_OUTPUT_TYPE_FRAME: int
5
+ GStreamerSource_OutputType_MAT: int
6
+ GSTREAMER_SOURCE_OUTPUT_TYPE_MAT: int
7
+ GStreamerSource_OutputType = int
8
+ """One of [GStreamerSource_OutputType_FRAME, GSTREAMER_SOURCE_OUTPUT_TYPE_FRAME, GStreamerSource_OutputType_MAT, GSTREAMER_SOURCE_OUTPUT_TYPE_MAT]"""
9
+
10
+
11
+ # Classes
12
+ class GStreamerPipeline:
13
+ # Functions
14
+ def __init__(self, pipeline: str) -> None: ...
15
+
16
+
17
+
@@ -0,0 +1,16 @@
1
+ __all__: list[str] = []
2
+
3
+ # Enumerations
4
+ AccelType_HOST: int
5
+ ACCEL_TYPE_HOST: int
6
+ AccelType_DX11: int
7
+ ACCEL_TYPE_DX11: int
8
+ AccelType_VAAPI: int
9
+ ACCEL_TYPE_VAAPI: int
10
+ AccelType_LAST_VALUE: int
11
+ ACCEL_TYPE_LAST_VALUE: int
12
+ AccelType = int
13
+ """One of [AccelType_HOST, ACCEL_TYPE_HOST, AccelType_DX11, ACCEL_TYPE_DX11, AccelType_VAAPI, ACCEL_TYPE_VAAPI, AccelType_LAST_VALUE, ACCEL_TYPE_LAST_VALUE]"""
14
+
15
+
16
+