@techstark/opencv-js 4.8.0-release.6 → 4.8.0-release.8

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 (198) hide show
  1. package/README.md +127 -0
  2. package/dist/src/index.d.ts +1 -0
  3. package/dist/src/index.js +18 -0
  4. package/dist/src/index.js.map +1 -0
  5. package/dist/src/types/_cv.d.ts +7 -0
  6. package/dist/src/types/_cv.js +3 -0
  7. package/dist/src/types/_cv.js.map +1 -0
  8. package/dist/src/types/emscripten.d.ts +166 -0
  9. package/dist/src/types/emscripten.js +4 -0
  10. package/dist/src/types/emscripten.js.map +1 -0
  11. package/dist/src/types/opencv/Affine3.d.ts +183 -0
  12. package/dist/src/types/opencv/Affine3.js +3 -0
  13. package/dist/src/types/opencv/Affine3.js.map +1 -0
  14. package/dist/src/types/opencv/Algorithm.d.ts +105 -0
  15. package/dist/src/types/opencv/Algorithm.js +4 -0
  16. package/dist/src/types/opencv/Algorithm.js.map +1 -0
  17. package/dist/src/types/opencv/AutoBuffer.d.ts +41 -0
  18. package/dist/src/types/opencv/AutoBuffer.js +3 -0
  19. package/dist/src/types/opencv/AutoBuffer.js.map +1 -0
  20. package/dist/src/types/opencv/BFMatcher.d.ts +33 -0
  21. package/dist/src/types/opencv/BFMatcher.js +3 -0
  22. package/dist/src/types/opencv/BFMatcher.js.map +1 -0
  23. package/dist/src/types/opencv/BOWTrainer.d.ts +36 -0
  24. package/dist/src/types/opencv/BOWTrainer.js +3 -0
  25. package/dist/src/types/opencv/BOWTrainer.js.map +1 -0
  26. package/dist/src/types/opencv/CascadeClassifier.d.ts +100 -0
  27. package/dist/src/types/opencv/CascadeClassifier.js +4 -0
  28. package/dist/src/types/opencv/CascadeClassifier.js.map +1 -0
  29. package/dist/src/types/opencv/DescriptorMatcher.d.ts +172 -0
  30. package/dist/src/types/opencv/DescriptorMatcher.js +3 -0
  31. package/dist/src/types/opencv/DescriptorMatcher.js.map +1 -0
  32. package/dist/src/types/opencv/DynamicBitset.d.ts +57 -0
  33. package/dist/src/types/opencv/DynamicBitset.js +3 -0
  34. package/dist/src/types/opencv/DynamicBitset.js.map +1 -0
  35. package/dist/src/types/opencv/Exception.d.ts +38 -0
  36. package/dist/src/types/opencv/Exception.js +3 -0
  37. package/dist/src/types/opencv/Exception.js.map +1 -0
  38. package/dist/src/types/opencv/Feature2D.d.ts +14 -0
  39. package/dist/src/types/opencv/Feature2D.js +4 -0
  40. package/dist/src/types/opencv/Feature2D.js.map +1 -0
  41. package/dist/src/types/opencv/FlannBasedMatcher.d.ts +41 -0
  42. package/dist/src/types/opencv/FlannBasedMatcher.js +3 -0
  43. package/dist/src/types/opencv/FlannBasedMatcher.js.map +1 -0
  44. package/dist/src/types/opencv/HOGDescriptor.d.ts +265 -0
  45. package/dist/src/types/opencv/HOGDescriptor.js +3 -0
  46. package/dist/src/types/opencv/HOGDescriptor.js.map +1 -0
  47. package/dist/src/types/opencv/Logger.d.ts +27 -0
  48. package/dist/src/types/opencv/Logger.js +3 -0
  49. package/dist/src/types/opencv/Logger.js.map +1 -0
  50. package/dist/src/types/opencv/LshTable.d.ts +67 -0
  51. package/dist/src/types/opencv/LshTable.js +3 -0
  52. package/dist/src/types/opencv/LshTable.js.map +1 -0
  53. package/dist/src/types/opencv/Mat.d.ts +1589 -0
  54. package/dist/src/types/opencv/Mat.js +3 -0
  55. package/dist/src/types/opencv/Mat.js.map +1 -0
  56. package/dist/src/types/opencv/MatExpr.d.ts +78 -0
  57. package/dist/src/types/opencv/MatExpr.js +4 -0
  58. package/dist/src/types/opencv/MatExpr.js.map +1 -0
  59. package/dist/src/types/opencv/MatOp.d.ts +29 -0
  60. package/dist/src/types/opencv/MatOp.js +3 -0
  61. package/dist/src/types/opencv/MatOp.js.map +1 -0
  62. package/dist/src/types/opencv/Matx.d.ts +84 -0
  63. package/dist/src/types/opencv/Matx.js +3 -0
  64. package/dist/src/types/opencv/Matx.js.map +1 -0
  65. package/dist/src/types/opencv/Node.d.ts +25 -0
  66. package/dist/src/types/opencv/Node.js +3 -0
  67. package/dist/src/types/opencv/Node.js.map +1 -0
  68. package/dist/src/types/opencv/ORB.d.ts +11 -0
  69. package/dist/src/types/opencv/ORB.js +4 -0
  70. package/dist/src/types/opencv/ORB.js.map +1 -0
  71. package/dist/src/types/opencv/PCA.d.ts +170 -0
  72. package/dist/src/types/opencv/PCA.js +3 -0
  73. package/dist/src/types/opencv/PCA.js.map +1 -0
  74. package/dist/src/types/opencv/RotatedRect.d.ts +63 -0
  75. package/dist/src/types/opencv/RotatedRect.js +3 -0
  76. package/dist/src/types/opencv/RotatedRect.js.map +1 -0
  77. package/dist/src/types/opencv/_hacks.d.ts +267 -0
  78. package/dist/src/types/opencv/_hacks.js +15 -0
  79. package/dist/src/types/opencv/_hacks.js.map +1 -0
  80. package/dist/src/types/opencv/_types.d.ts +44 -0
  81. package/dist/src/types/opencv/_types.js +61 -0
  82. package/dist/src/types/opencv/_types.js.map +1 -0
  83. package/dist/src/types/opencv/calib3d.d.ts +2180 -0
  84. package/dist/src/types/opencv/calib3d.js +3 -0
  85. package/dist/src/types/opencv/calib3d.js.map +1 -0
  86. package/dist/src/types/opencv/core_array.d.ts +2513 -0
  87. package/dist/src/types/opencv/core_array.js +3 -0
  88. package/dist/src/types/opencv/core_array.js.map +1 -0
  89. package/dist/src/types/opencv/core_cluster.d.ts +54 -0
  90. package/dist/src/types/opencv/core_cluster.js +3 -0
  91. package/dist/src/types/opencv/core_cluster.js.map +1 -0
  92. package/dist/src/types/opencv/core_hal_interface.d.ts +92 -0
  93. package/dist/src/types/opencv/core_hal_interface.js +3 -0
  94. package/dist/src/types/opencv/core_hal_interface.js.map +1 -0
  95. package/dist/src/types/opencv/core_utils.d.ts +510 -0
  96. package/dist/src/types/opencv/core_utils.js +3 -0
  97. package/dist/src/types/opencv/core_utils.js.map +1 -0
  98. package/dist/src/types/opencv/dnn.d.ts +336 -0
  99. package/dist/src/types/opencv/dnn.js +3 -0
  100. package/dist/src/types/opencv/dnn.js.map +1 -0
  101. package/dist/src/types/opencv/features2d_draw.d.ts +75 -0
  102. package/dist/src/types/opencv/features2d_draw.js +3 -0
  103. package/dist/src/types/opencv/features2d_draw.js.map +1 -0
  104. package/dist/src/types/opencv/imgproc_color_conversions.d.ts +299 -0
  105. package/dist/src/types/opencv/imgproc_color_conversions.js +3 -0
  106. package/dist/src/types/opencv/imgproc_color_conversions.js.map +1 -0
  107. package/dist/src/types/opencv/imgproc_draw.d.ts +502 -0
  108. package/dist/src/types/opencv/imgproc_draw.js +3 -0
  109. package/dist/src/types/opencv/imgproc_draw.js.map +1 -0
  110. package/dist/src/types/opencv/imgproc_feature.d.ts +533 -0
  111. package/dist/src/types/opencv/imgproc_feature.js +3 -0
  112. package/dist/src/types/opencv/imgproc_feature.js.map +1 -0
  113. package/dist/src/types/opencv/imgproc_filter.d.ts +689 -0
  114. package/dist/src/types/opencv/imgproc_filter.js +3 -0
  115. package/dist/src/types/opencv/imgproc_filter.js.map +1 -0
  116. package/dist/src/types/opencv/imgproc_hist.d.ts +291 -0
  117. package/dist/src/types/opencv/imgproc_hist.js +3 -0
  118. package/dist/src/types/opencv/imgproc_hist.js.map +1 -0
  119. package/dist/src/types/opencv/imgproc_misc.d.ts +473 -0
  120. package/dist/src/types/opencv/imgproc_misc.js +3 -0
  121. package/dist/src/types/opencv/imgproc_misc.js.map +1 -0
  122. package/dist/src/types/opencv/imgproc_object.d.ts +41 -0
  123. package/dist/src/types/opencv/imgproc_object.js +3 -0
  124. package/dist/src/types/opencv/imgproc_object.js.map +1 -0
  125. package/dist/src/types/opencv/imgproc_shape.d.ts +570 -0
  126. package/dist/src/types/opencv/imgproc_shape.js +3 -0
  127. package/dist/src/types/opencv/imgproc_shape.js.map +1 -0
  128. package/dist/src/types/opencv/imgproc_transform.d.ts +430 -0
  129. package/dist/src/types/opencv/imgproc_transform.js +3 -0
  130. package/dist/src/types/opencv/imgproc_transform.js.map +1 -0
  131. package/dist/src/types/opencv/index.d.ts +4 -0
  132. package/dist/src/types/opencv/index.js +19 -0
  133. package/dist/src/types/opencv/index.js.map +1 -0
  134. package/dist/src/types/opencv/objdetect.d.ts +43 -0
  135. package/dist/src/types/opencv/objdetect.js +3 -0
  136. package/dist/src/types/opencv/objdetect.js.map +1 -0
  137. package/dist/src/types/opencv/photo_inpaint.d.ts +25 -0
  138. package/dist/src/types/opencv/photo_inpaint.js +3 -0
  139. package/dist/src/types/opencv/photo_inpaint.js.map +1 -0
  140. package/dist/src/types/opencv/softdouble.d.ts +38 -0
  141. package/dist/src/types/opencv/softdouble.js +3 -0
  142. package/dist/src/types/opencv/softdouble.js.map +1 -0
  143. package/dist/src/types/opencv/softfloat.d.ts +38 -0
  144. package/dist/src/types/opencv/softfloat.js +3 -0
  145. package/dist/src/types/opencv/softfloat.js.map +1 -0
  146. package/dist/src/types/opencv/video_track.d.ts +276 -0
  147. package/dist/src/types/opencv/video_track.js +3 -0
  148. package/dist/src/types/opencv/video_track.js.map +1 -0
  149. package/package.json +5 -3
  150. package/src/index.ts +1 -0
  151. package/src/types/_cv.ts +6 -0
  152. package/src/types/emscripten.ts +286 -0
  153. package/src/types/opencv/Affine3.ts +206 -0
  154. package/src/types/opencv/Algorithm.ts +126 -0
  155. package/src/types/opencv/AutoBuffer.ts +50 -0
  156. package/src/types/opencv/BFMatcher.ts +37 -0
  157. package/src/types/opencv/BOWTrainer.ts +43 -0
  158. package/src/types/opencv/CascadeClassifier.ts +153 -0
  159. package/src/types/opencv/DescriptorMatcher.ts +244 -0
  160. package/src/types/opencv/DynamicBitset.ts +68 -0
  161. package/src/types/opencv/Exception.ts +54 -0
  162. package/src/types/opencv/Feature2D.ts +20 -0
  163. package/src/types/opencv/FlannBasedMatcher.ts +50 -0
  164. package/src/types/opencv/HOGDescriptor.ts +401 -0
  165. package/src/types/opencv/Logger.ts +34 -0
  166. package/src/types/opencv/LshTable.ts +81 -0
  167. package/src/types/opencv/Mat.ts +1764 -0
  168. package/src/types/opencv/MatExpr.ts +107 -0
  169. package/src/types/opencv/MatOp.ts +70 -0
  170. package/src/types/opencv/Matx.ts +228 -0
  171. package/src/types/opencv/Node.ts +33 -0
  172. package/src/types/opencv/ORB.ts +22 -0
  173. package/src/types/opencv/PCA.ts +204 -0
  174. package/src/types/opencv/RotatedRect.ts +72 -0
  175. package/src/types/opencv/_hacks.ts +322 -0
  176. package/src/types/opencv/_types.ts +44 -0
  177. package/src/types/opencv/calib3d.ts +2937 -0
  178. package/src/types/opencv/core_array.ts +3102 -0
  179. package/src/types/opencv/core_cluster.ts +81 -0
  180. package/src/types/opencv/core_hal_interface.ts +159 -0
  181. package/src/types/opencv/core_utils.ts +748 -0
  182. package/src/types/opencv/dnn.ts +505 -0
  183. package/src/types/opencv/features2d_draw.ts +114 -0
  184. package/src/types/opencv/imgproc_color_conversions.ts +527 -0
  185. package/src/types/opencv/imgproc_draw.ts +733 -0
  186. package/src/types/opencv/imgproc_feature.ts +681 -0
  187. package/src/types/opencv/imgproc_filter.ts +918 -0
  188. package/src/types/opencv/imgproc_hist.ts +399 -0
  189. package/src/types/opencv/imgproc_misc.ts +616 -0
  190. package/src/types/opencv/imgproc_object.ts +58 -0
  191. package/src/types/opencv/imgproc_shape.ts +734 -0
  192. package/src/types/opencv/imgproc_transform.ts +574 -0
  193. package/src/types/opencv/index.ts +4 -0
  194. package/src/types/opencv/objdetect.ts +103 -0
  195. package/src/types/opencv/photo_inpaint.ts +37 -0
  196. package/src/types/opencv/softdouble.ts +64 -0
  197. package/src/types/opencv/softfloat.ts +64 -0
  198. package/src/types/opencv/video_track.ts +372 -0
@@ -0,0 +1,570 @@
1
+ import { bool, double, float, InputArray, int, Moments, OutputArray, OutputArrayOfArrays, Point, Point2f, Rect, RotatedRect } from "./_types";
2
+ /**
3
+ * The function [cv::approxPolyDP] approximates a curve or a polygon with another curve/polygon with
4
+ * less vertices so that the distance between them is less or equal to the specified precision. It uses
5
+ * the Douglas-Peucker algorithm
6
+ *
7
+ * @param curve Input vector of a 2D point stored in std::vector or Mat
8
+ *
9
+ * @param approxCurve Result of the approximation. The type should match the type of the input curve.
10
+ *
11
+ * @param epsilon Parameter specifying the approximation accuracy. This is the maximum distance between
12
+ * the original curve and its approximation.
13
+ *
14
+ * @param closed If true, the approximated curve is closed (its first and last vertices are connected).
15
+ * Otherwise, it is not closed.
16
+ */
17
+ export declare function approxPolyDP(curve: InputArray, approxCurve: OutputArray, epsilon: double, closed: bool): void;
18
+ /**
19
+ * The function computes a curve length or a closed contour perimeter.
20
+ *
21
+ * @param curve Input vector of 2D points, stored in std::vector or Mat.
22
+ *
23
+ * @param closed Flag indicating whether the curve is closed or not.
24
+ */
25
+ export declare function arcLength(curve: InputArray, closed: bool): double;
26
+ /**
27
+ * The function calculates and returns the minimal up-right bounding rectangle for the specified point
28
+ * set or non-zero pixels of gray-scale image.
29
+ *
30
+ * @param array Input gray-scale image or 2D point set, stored in std::vector or Mat.
31
+ */
32
+ export declare function boundingRect(array: InputArray): Rect;
33
+ /**
34
+ * The function finds the four vertices of a rotated rectangle. This function is useful to draw the
35
+ * rectangle. In C++, instead of using this function, you can directly use [RotatedRect::points]
36
+ * method. Please visit the [tutorial on Creating Bounding rotated boxes and ellipses for contours] for
37
+ * more information.
38
+ *
39
+ * @param box The input rotated rectangle. It may be the output of
40
+ *
41
+ * @param points The output array of four vertices of rectangles.
42
+ */
43
+ export declare function boxPoints(box: RotatedRect, points: OutputArray): void;
44
+ /**
45
+ * image with 4 or 8 way connectivity - returns N, the total number of labels [0, N-1] where 0
46
+ * represents the background label. ltype specifies the output label image type, an important
47
+ * consideration based on the total number of labels or alternatively the total number of pixels in the
48
+ * source image. ccltype specifies the connected components labeling algorithm to use, currently Grana
49
+ * (BBDT) and Wu's (SAUF) algorithms are supported, see the [ConnectedComponentsAlgorithmsTypes] for
50
+ * details. Note that SAUF algorithm forces a row major ordering of labels while BBDT does not. This
51
+ * function uses parallel version of both Grana and Wu's algorithms if at least one allowed parallel
52
+ * framework is enabled and if the rows of the image are at least twice the number returned by
53
+ * [getNumberOfCPUs].
54
+ *
55
+ * @param image the 8-bit single-channel image to be labeled
56
+ *
57
+ * @param labels destination labeled image
58
+ *
59
+ * @param connectivity 8 or 4 for 8-way or 4-way connectivity respectively
60
+ *
61
+ * @param ltype output image label type. Currently CV_32S and CV_16U are supported.
62
+ *
63
+ * @param ccltype connected components algorithm type (see the ConnectedComponentsAlgorithmsTypes).
64
+ */
65
+ export declare function connectedComponents(image: InputArray, labels: OutputArray, connectivity: int, ltype: int, ccltype: int): int;
66
+ /**
67
+ * This is an overloaded member function, provided for convenience. It differs from the above function
68
+ * only in what argument(s) it accepts.
69
+ *
70
+ * @param image the 8-bit single-channel image to be labeled
71
+ *
72
+ * @param labels destination labeled image
73
+ *
74
+ * @param connectivity 8 or 4 for 8-way or 4-way connectivity respectively
75
+ *
76
+ * @param ltype output image label type. Currently CV_32S and CV_16U are supported.
77
+ */
78
+ export declare function connectedComponents(image: InputArray, labels: OutputArray, connectivity?: int, ltype?: int): int;
79
+ /**
80
+ * image with 4 or 8 way connectivity - returns N, the total number of labels [0, N-1] where 0
81
+ * represents the background label. ltype specifies the output label image type, an important
82
+ * consideration based on the total number of labels or alternatively the total number of pixels in the
83
+ * source image. ccltype specifies the connected components labeling algorithm to use, currently
84
+ * Grana's (BBDT) and Wu's (SAUF) algorithms are supported, see the
85
+ * [ConnectedComponentsAlgorithmsTypes] for details. Note that SAUF algorithm forces a row major
86
+ * ordering of labels while BBDT does not. This function uses parallel version of both Grana and Wu's
87
+ * algorithms (statistics included) if at least one allowed parallel framework is enabled and if the
88
+ * rows of the image are at least twice the number returned by [getNumberOfCPUs].
89
+ *
90
+ * @param image the 8-bit single-channel image to be labeled
91
+ *
92
+ * @param labels destination labeled image
93
+ *
94
+ * @param stats statistics output for each label, including the background label, see below for
95
+ * available statistics. Statistics are accessed via stats(label, COLUMN) where COLUMN is one of
96
+ * ConnectedComponentsTypes. The data type is CV_32S.
97
+ *
98
+ * @param centroids centroid output for each label, including the background label. Centroids are
99
+ * accessed via centroids(label, 0) for x and centroids(label, 1) for y. The data type CV_64F.
100
+ *
101
+ * @param connectivity 8 or 4 for 8-way or 4-way connectivity respectively
102
+ *
103
+ * @param ltype output image label type. Currently CV_32S and CV_16U are supported.
104
+ *
105
+ * @param ccltype connected components algorithm type (see ConnectedComponentsAlgorithmsTypes).
106
+ */
107
+ export declare function connectedComponentsWithStats(image: InputArray, labels: OutputArray, stats: OutputArray, centroids: OutputArray, connectivity: int, ltype: int, ccltype: int): int;
108
+ /**
109
+ * This is an overloaded member function, provided for convenience. It differs from the above function
110
+ * only in what argument(s) it accepts.
111
+ *
112
+ * @param image the 8-bit single-channel image to be labeled
113
+ *
114
+ * @param labels destination labeled image
115
+ *
116
+ * @param stats statistics output for each label, including the background label, see below for
117
+ * available statistics. Statistics are accessed via stats(label, COLUMN) where COLUMN is one of
118
+ * ConnectedComponentsTypes. The data type is CV_32S.
119
+ *
120
+ * @param centroids centroid output for each label, including the background label. Centroids are
121
+ * accessed via centroids(label, 0) for x and centroids(label, 1) for y. The data type CV_64F.
122
+ *
123
+ * @param connectivity 8 or 4 for 8-way or 4-way connectivity respectively
124
+ *
125
+ * @param ltype output image label type. Currently CV_32S and CV_16U are supported.
126
+ */
127
+ export declare function connectedComponentsWithStats(image: InputArray, labels: OutputArray, stats: OutputArray, centroids: OutputArray, connectivity?: int, ltype?: int): int;
128
+ /**
129
+ * The function computes a contour area. Similarly to moments , the area is computed using the Green
130
+ * formula. Thus, the returned area and the number of non-zero pixels, if you draw the contour using
131
+ * [drawContours] or [fillPoly] , can be different. Also, the function will most certainly give a wrong
132
+ * results for contours with self-intersections.
133
+ *
134
+ * Example:
135
+ *
136
+ * ```cpp
137
+ * vector<Point> contour;
138
+ * contour.push_back(Point2f(0, 0));
139
+ * contour.push_back(Point2f(10, 0));
140
+ * contour.push_back(Point2f(10, 10));
141
+ * contour.push_back(Point2f(5, 4));
142
+ *
143
+ * double area0 = contourArea(contour);
144
+ * vector<Point> approx;
145
+ * approxPolyDP(contour, approx, 5, true);
146
+ * double area1 = contourArea(approx);
147
+ *
148
+ * cout << "area0 =" << area0 << endl <<
149
+ * "area1 =" << area1 << endl <<
150
+ * "approx poly vertices" << approx.size() << endl;
151
+ * ```
152
+ *
153
+ * @param contour Input vector of 2D points (contour vertices), stored in std::vector or Mat.
154
+ *
155
+ * @param oriented Oriented area flag. If it is true, the function returns a signed area value,
156
+ * depending on the contour orientation (clockwise or counter-clockwise). Using this feature you can
157
+ * determine orientation of a contour by taking the sign of an area. By default, the parameter is
158
+ * false, which means that the absolute value is returned.
159
+ */
160
+ export declare function contourArea(contour: InputArray, oriented?: bool): double;
161
+ /**
162
+ * The function [cv::convexHull] finds the convex hull of a 2D point set using the Sklansky's algorithm
163
+ * Sklansky82 that has *O(N logN)* complexity in the current implementation.
164
+ *
165
+ * `points` and `hull` should be different arrays, inplace processing isn't supported.
166
+ * Check [the corresponding tutorial] for more details.
167
+ *
168
+ * useful links:
169
+ *
170
+ * @param points Input 2D point set, stored in std::vector or Mat.
171
+ *
172
+ * @param hull Output convex hull. It is either an integer vector of indices or vector of points. In
173
+ * the first case, the hull elements are 0-based indices of the convex hull points in the original
174
+ * array (since the set of convex hull points is a subset of the original point set). In the second
175
+ * case, hull elements are the convex hull points themselves.
176
+ *
177
+ * @param clockwise Orientation flag. If it is true, the output convex hull is oriented clockwise.
178
+ * Otherwise, it is oriented counter-clockwise. The assumed coordinate system has its X axis pointing
179
+ * to the right, and its Y axis pointing upwards.
180
+ *
181
+ * @param returnPoints Operation flag. In case of a matrix, when the flag is true, the function returns
182
+ * convex hull points. Otherwise, it returns indices of the convex hull points. When the output array
183
+ * is std::vector, the flag is ignored, and the output depends on the type of the vector:
184
+ * std::vector<int> implies returnPoints=false, std::vector<Point> implies returnPoints=true.
185
+ */
186
+ export declare function convexHull(points: InputArray, hull: OutputArray, clockwise?: bool, returnPoints?: bool): void;
187
+ /**
188
+ * The figure below displays convexity defects of a hand contour:
189
+ *
190
+ * @param contour Input contour.
191
+ *
192
+ * @param convexhull Convex hull obtained using convexHull that should contain indices of the contour
193
+ * points that make the hull.
194
+ *
195
+ * @param convexityDefects The output vector of convexity defects. In C++ and the new Python/Java
196
+ * interface each convexity defect is represented as 4-element integer vector (a.k.a. Vec4i):
197
+ * (start_index, end_index, farthest_pt_index, fixpt_depth), where indices are 0-based indices in the
198
+ * original contour of the convexity defect beginning, end and the farthest point, and fixpt_depth is
199
+ * fixed-point approximation (with 8 fractional bits) of the distance between the farthest contour
200
+ * point and the hull. That is, to get the floating-point value of the depth will be fixpt_depth/256.0.
201
+ */
202
+ export declare function convexityDefects(contour: InputArray, convexhull: InputArray, convexityDefects: OutputArray): void;
203
+ export declare function createGeneralizedHoughBallard(): any;
204
+ export declare function createGeneralizedHoughGuil(): any;
205
+ /**
206
+ * The function retrieves contours from the binary image using the algorithm Suzuki85 . The contours
207
+ * are a useful tool for shape analysis and object detection and recognition. See squares.cpp in the
208
+ * OpenCV sample directory.
209
+ *
210
+ * Since opencv 3.2 source image is not modified by this function.
211
+ *
212
+ * @param image Source, an 8-bit single-channel image. Non-zero pixels are treated as 1's. Zero pixels
213
+ * remain 0's, so the image is treated as binary . You can use compare, inRange, threshold ,
214
+ * adaptiveThreshold, Canny, and others to create a binary image out of a grayscale or color one. If
215
+ * mode equals to RETR_CCOMP or RETR_FLOODFILL, the input can also be a 32-bit integer image of labels
216
+ * (CV_32SC1).
217
+ *
218
+ * @param contours Detected contours. Each contour is stored as a vector of points (e.g.
219
+ * std::vector<std::vector<cv::Point> >).
220
+ *
221
+ * @param hierarchy Optional output vector (e.g. std::vector<cv::Vec4i>), containing information about
222
+ * the image topology. It has as many elements as the number of contours. For each i-th contour
223
+ * contours[i], the elements hierarchy[i][0] , hierarchy[i][1] , hierarchy[i][2] , and hierarchy[i][3]
224
+ * are set to 0-based indices in contours of the next and previous contours at the same hierarchical
225
+ * level, the first child contour and the parent contour, respectively. If for the contour i there are
226
+ * no next, previous, parent, or nested contours, the corresponding elements of hierarchy[i] will be
227
+ * negative.
228
+ *
229
+ * @param mode Contour retrieval mode, see RetrievalModes
230
+ *
231
+ * @param method Contour approximation method, see ContourApproximationModes
232
+ *
233
+ * @param offset Optional offset by which every contour point is shifted. This is useful if the
234
+ * contours are extracted from the image ROI and then they should be analyzed in the whole image
235
+ * context.
236
+ */
237
+ export declare function findContours(image: InputArray, contours: OutputArrayOfArrays, hierarchy: OutputArray, mode: int, method: int, offset?: Point): void;
238
+ /**
239
+ * This is an overloaded member function, provided for convenience. It differs from the above function
240
+ * only in what argument(s) it accepts.
241
+ */
242
+ export declare function findContours(image: InputArray, contours: OutputArrayOfArrays, mode: int, method: int, offset?: Point): void;
243
+ /**
244
+ * The function calculates the ellipse that fits (in a least-squares sense) a set of 2D points best of
245
+ * all. It returns the rotated rectangle in which the ellipse is inscribed. The first algorithm
246
+ * described by Fitzgibbon95 is used. Developer should keep in mind that it is possible that the
247
+ * returned ellipse/rotatedRect data contains negative indices, due to the data points being close to
248
+ * the border of the containing [Mat] element.
249
+ *
250
+ * @param points Input 2D point set, stored in std::vector<> or Mat
251
+ */
252
+ export declare function fitEllipse(points: InputArray): RotatedRect;
253
+ /**
254
+ * The function calculates the ellipse that fits a set of 2D points. It returns the rotated rectangle
255
+ * in which the ellipse is inscribed. The Approximate Mean Square (AMS) proposed by Taubin1991 is used.
256
+ *
257
+ * For an ellipse, this basis set is `$ \\chi= \\left(x^2, x y, y^2, x, y, 1\\right) $`, which is a set
258
+ * of six free coefficients `$
259
+ * A^T=\\left\\{A_{\\text{xx}},A_{\\text{xy}},A_{\\text{yy}},A_x,A_y,A_0\\right\\} $`. However, to
260
+ * specify an ellipse, all that is needed is five numbers; the major and minor axes lengths `$ (a,b)
261
+ * $`, the position `$ (x_0,y_0) $`, and the orientation `$ \\theta $`. This is because the basis set
262
+ * includes lines, quadratics, parabolic and hyperbolic functions as well as elliptical functions as
263
+ * possible fits. If the fit is found to be a parabolic or hyperbolic function then the standard
264
+ * [fitEllipse] method is used. The AMS method restricts the fit to parabolic, hyperbolic and
265
+ * elliptical curves by imposing the condition that `$ A^T ( D_x^T D_x + D_y^T D_y) A = 1 $` where the
266
+ * matrices `$ Dx $` and `$ Dy $` are the partial derivatives of the design matrix `$ D $` with respect
267
+ * to x and y. The matrices are formed row by row applying the following to each of the points in the
268
+ * set: `\\begin{align*} D(i,:)&=\\left\\{x_i^2, x_i y_i, y_i^2, x_i, y_i, 1\\right\\} &
269
+ * D_x(i,:)&=\\left\\{2 x_i,y_i,0,1,0,0\\right\\} & D_y(i,:)&=\\left\\{0,x_i,2 y_i,0,1,0\\right\\}
270
+ * \\end{align*}` The AMS method minimizes the cost function `\\begin{equation*} \\epsilon ^2=\\frac{
271
+ * A^T D^T D A }{ A^T (D_x^T D_x + D_y^T D_y) A^T } \\end{equation*}`
272
+ *
273
+ * The minimum cost is found by solving the generalized eigenvalue problem.
274
+ *
275
+ * `\\begin{equation*} D^T D A = \\lambda \\left( D_x^T D_x + D_y^T D_y\\right) A \\end{equation*}`
276
+ *
277
+ * @param points Input 2D point set, stored in std::vector<> or Mat
278
+ */
279
+ export declare function fitEllipseAMS(points: InputArray): RotatedRect;
280
+ /**
281
+ * The function calculates the ellipse that fits a set of 2D points. It returns the rotated rectangle
282
+ * in which the ellipse is inscribed. The Direct least square (Direct) method by Fitzgibbon1999 is
283
+ * used.
284
+ *
285
+ * For an ellipse, this basis set is `$ \\chi= \\left(x^2, x y, y^2, x, y, 1\\right) $`, which is a set
286
+ * of six free coefficients `$
287
+ * A^T=\\left\\{A_{\\text{xx}},A_{\\text{xy}},A_{\\text{yy}},A_x,A_y,A_0\\right\\} $`. However, to
288
+ * specify an ellipse, all that is needed is five numbers; the major and minor axes lengths `$ (a,b)
289
+ * $`, the position `$ (x_0,y_0) $`, and the orientation `$ \\theta $`. This is because the basis set
290
+ * includes lines, quadratics, parabolic and hyperbolic functions as well as elliptical functions as
291
+ * possible fits. The Direct method confines the fit to ellipses by ensuring that `$ 4 A_{xx} A_{yy}-
292
+ * A_{xy}^2 > 0 $`. The condition imposed is that `$ 4 A_{xx} A_{yy}- A_{xy}^2=1 $` which satisfies the
293
+ * inequality and as the coefficients can be arbitrarily scaled is not overly restrictive.
294
+ *
295
+ * `\\begin{equation*} \\epsilon ^2= A^T D^T D A \\quad \\text{with} \\quad A^T C A =1 \\quad
296
+ * \\text{and} \\quad C=\\left(\\begin{matrix} 0 & 0 & 2 & 0 & 0 & 0 \\\\ 0 & -1 & 0 & 0 & 0 & 0 \\\\ 2
297
+ * & 0 & 0 & 0 & 0 & 0 \\\\ 0 & 0 & 0 & 0 & 0 & 0 \\\\ 0 & 0 & 0 & 0 & 0 & 0 \\\\ 0 & 0 & 0 & 0 & 0 & 0
298
+ * \\end{matrix} \\right) \\end{equation*}`
299
+ *
300
+ * The minimum cost is found by solving the generalized eigenvalue problem.
301
+ *
302
+ * `\\begin{equation*} D^T D A = \\lambda \\left( C\\right) A \\end{equation*}`
303
+ *
304
+ * The system produces only one positive eigenvalue `$ \\lambda$` which is chosen as the solution with
305
+ * its eigenvector `$\\mathbf{u}$`. These are used to find the coefficients
306
+ *
307
+ * `\\begin{equation*} A = \\sqrt{\\frac{1}{\\mathbf{u}^T C \\mathbf{u}}} \\mathbf{u} \\end{equation*}`
308
+ * The scaling factor guarantees that `$A^T C A =1$`.
309
+ *
310
+ * @param points Input 2D point set, stored in std::vector<> or Mat
311
+ */
312
+ export declare function fitEllipseDirect(points: InputArray): RotatedRect;
313
+ /**
314
+ * The function fitLine fits a line to a 2D or 3D point set by minimizing `$\\sum_i \\rho(r_i)$` where
315
+ * `$r_i$` is a distance between the `$i^{th}$` point, the line and `$\\rho(r)$` is a distance
316
+ * function, one of the following:
317
+ *
318
+ * DIST_L2 `\\[\\rho (r) = r^2/2 \\quad \\text{(the simplest and the fastest least-squares method)}\\]`
319
+ * DIST_L1 `\\[\\rho (r) = r\\]`
320
+ * DIST_L12 `\\[\\rho (r) = 2 \\cdot ( \\sqrt{1 + \\frac{r^2}{2}} - 1)\\]`
321
+ * DIST_FAIR `\\[\\rho \\left (r \\right ) = C^2 \\cdot \\left ( \\frac{r}{C} - \\log{\\left(1 +
322
+ * \\frac{r}{C}\\right)} \\right ) \\quad \\text{where} \\quad C=1.3998\\]`
323
+ * DIST_WELSCH `\\[\\rho \\left (r \\right ) = \\frac{C^2}{2} \\cdot \\left ( 1 -
324
+ * \\exp{\\left(-\\left(\\frac{r}{C}\\right)^2\\right)} \\right ) \\quad \\text{where} \\quad
325
+ * C=2.9846\\]`
326
+ * DIST_HUBER `\\[\\rho (r) = \\fork{r^2/2}{if \\(r < C\\)}{C \\cdot (r-C/2)}{otherwise} \\quad
327
+ * \\text{where} \\quad C=1.345\\]`
328
+ *
329
+ * The algorithm is based on the M-estimator ( ) technique that iteratively fits the line using the
330
+ * weighted least-squares algorithm. After each iteration the weights `$w_i$` are adjusted to be
331
+ * inversely proportional to `$\\rho(r_i)$` .
332
+ *
333
+ * @param points Input vector of 2D or 3D points, stored in std::vector<> or Mat.
334
+ *
335
+ * @param line Output line parameters. In case of 2D fitting, it should be a vector of 4 elements (like
336
+ * Vec4f) - (vx, vy, x0, y0), where (vx, vy) is a normalized vector collinear to the line and (x0, y0)
337
+ * is a point on the line. In case of 3D fitting, it should be a vector of 6 elements (like Vec6f) -
338
+ * (vx, vy, vz, x0, y0, z0), where (vx, vy, vz) is a normalized vector collinear to the line and (x0,
339
+ * y0, z0) is a point on the line.
340
+ *
341
+ * @param distType Distance used by the M-estimator, see DistanceTypes
342
+ *
343
+ * @param param Numerical parameter ( C ) for some types of distances. If it is 0, an optimal value is
344
+ * chosen.
345
+ *
346
+ * @param reps Sufficient accuracy for the radius (distance between the coordinate origin and the
347
+ * line).
348
+ *
349
+ * @param aeps Sufficient accuracy for the angle. 0.01 would be a good default value for reps and aeps.
350
+ */
351
+ export declare function fitLine(points: InputArray, line: OutputArray, distType: int, param: double, reps: double, aeps: double): void;
352
+ /**
353
+ * The function calculates seven Hu invariants (introduced in Hu62; see also ) defined as:
354
+ *
355
+ * `\\[\\begin{array}{l} hu[0]= \\eta _{20}+ \\eta _{02} \\\\ hu[1]=( \\eta _{20}- \\eta _{02})^{2}+4
356
+ * \\eta _{11}^{2} \\\\ hu[2]=( \\eta _{30}-3 \\eta _{12})^{2}+ (3 \\eta _{21}- \\eta _{03})^{2} \\\\
357
+ * hu[3]=( \\eta _{30}+ \\eta _{12})^{2}+ ( \\eta _{21}+ \\eta _{03})^{2} \\\\ hu[4]=( \\eta _{30}-3
358
+ * \\eta _{12})( \\eta _{30}+ \\eta _{12})[( \\eta _{30}+ \\eta _{12})^{2}-3( \\eta _{21}+ \\eta
359
+ * _{03})^{2}]+(3 \\eta _{21}- \\eta _{03})( \\eta _{21}+ \\eta _{03})[3( \\eta _{30}+ \\eta
360
+ * _{12})^{2}-( \\eta _{21}+ \\eta _{03})^{2}] \\\\ hu[5]=( \\eta _{20}- \\eta _{02})[( \\eta _{30}+
361
+ * \\eta _{12})^{2}- ( \\eta _{21}+ \\eta _{03})^{2}]+4 \\eta _{11}( \\eta _{30}+ \\eta _{12})( \\eta
362
+ * _{21}+ \\eta _{03}) \\\\ hu[6]=(3 \\eta _{21}- \\eta _{03})( \\eta _{21}+ \\eta _{03})[3( \\eta
363
+ * _{30}+ \\eta _{12})^{2}-( \\eta _{21}+ \\eta _{03})^{2}]-( \\eta _{30}-3 \\eta _{12})( \\eta _{21}+
364
+ * \\eta _{03})[3( \\eta _{30}+ \\eta _{12})^{2}-( \\eta _{21}+ \\eta _{03})^{2}] \\\\ \\end{array}\\]`
365
+ *
366
+ * where `$\\eta_{ji}$` stands for `$\\texttt{Moments::nu}_{ji}$` .
367
+ *
368
+ * These values are proved to be invariants to the image scale, rotation, and reflection except the
369
+ * seventh one, whose sign is changed by reflection. This invariance is proved with the assumption of
370
+ * infinite image resolution. In case of raster images, the computed Hu invariants for the original and
371
+ * transformed images are a bit different.
372
+ *
373
+ * [matchShapes]
374
+ *
375
+ * @param moments Input moments computed with moments .
376
+ *
377
+ * @param hu Output Hu invariants.
378
+ */
379
+ export declare function HuMoments(moments: any, hu: double): void;
380
+ /**
381
+ * This is an overloaded member function, provided for convenience. It differs from the above function
382
+ * only in what argument(s) it accepts.
383
+ */
384
+ export declare function HuMoments(m: any, hu: OutputArray): void;
385
+ export declare function intersectConvexConvex(_p1: InputArray, _p2: InputArray, _p12: OutputArray, handleNested?: bool): float;
386
+ /**
387
+ * The function tests whether the input contour is convex or not. The contour must be simple, that is,
388
+ * without self-intersections. Otherwise, the function output is undefined.
389
+ *
390
+ * @param contour Input vector of 2D points, stored in std::vector<> or Mat
391
+ */
392
+ export declare function isContourConvex(contour: InputArray): bool;
393
+ /**
394
+ * The function compares two shapes. All three implemented methods use the Hu invariants (see
395
+ * [HuMoments])
396
+ *
397
+ * @param contour1 First contour or grayscale image.
398
+ *
399
+ * @param contour2 Second contour or grayscale image.
400
+ *
401
+ * @param method Comparison method, see ShapeMatchModes
402
+ *
403
+ * @param parameter Method-specific parameter (not supported now).
404
+ */
405
+ export declare function matchShapes(contour1: InputArray, contour2: InputArray, method: int, parameter: double): double;
406
+ /**
407
+ * The function calculates and returns the minimum-area bounding rectangle (possibly rotated) for a
408
+ * specified point set. Developer should keep in mind that the returned [RotatedRect] can contain
409
+ * negative indices when data is close to the containing [Mat] element boundary.
410
+ *
411
+ * @param points Input vector of 2D points, stored in std::vector<> or Mat
412
+ */
413
+ export declare function minAreaRect(points: InputArray): RotatedRect;
414
+ /**
415
+ * The function finds the minimal enclosing circle of a 2D point set using an iterative algorithm.
416
+ *
417
+ * @param points Input vector of 2D points, stored in std::vector<> or Mat
418
+ *
419
+ * @param center Output center of the circle.
420
+ *
421
+ * @param radius Output radius of the circle.
422
+ */
423
+ export declare function minEnclosingCircle(points: InputArray, center: any, radius: any): void;
424
+ /**
425
+ * The function finds a triangle of minimum area enclosing the given set of 2D points and returns its
426
+ * area. The output for a given 2D point set is shown in the image below. 2D points are depicted in
427
+ * red* and the enclosing triangle in *yellow*.
428
+ *
429
+ * The implementation of the algorithm is based on O'Rourke's ORourke86 and Klee and Laskowski's
430
+ * KleeLaskowski85 papers. O'Rourke provides a `$\\theta(n)$` algorithm for finding the minimal
431
+ * enclosing triangle of a 2D convex polygon with n vertices. Since the [minEnclosingTriangle] function
432
+ * takes a 2D point set as input an additional preprocessing step of computing the convex hull of the
433
+ * 2D point set is required. The complexity of the [convexHull] function is `$O(n log(n))$` which is
434
+ * higher than `$\\theta(n)$`. Thus the overall complexity of the function is `$O(n log(n))$`.
435
+ *
436
+ * @param points Input vector of 2D points with depth CV_32S or CV_32F, stored in std::vector<> or Mat
437
+ *
438
+ * @param triangle Output vector of three 2D points defining the vertices of the triangle. The depth of
439
+ * the OutputArray must be CV_32F.
440
+ */
441
+ export declare function minEnclosingTriangle(points: InputArray, triangle: OutputArray): double;
442
+ /**
443
+ * The function computes moments, up to the 3rd order, of a vector shape or a rasterized shape. The
444
+ * results are returned in the structure [cv::Moments].
445
+ *
446
+ * moments.
447
+ *
448
+ * Only applicable to contour moments calculations from Python bindings: Note that the numpy type for
449
+ * the input array should be either np.int32 or np.float32.
450
+ *
451
+ * [contourArea], [arcLength]
452
+ *
453
+ * @param array Raster image (single-channel, 8-bit or floating-point 2D array) or an array ( $1 \times
454
+ * N$ or $N \times 1$ ) of 2D points (Point or Point2f ).
455
+ *
456
+ * @param binaryImage If it is true, all non-zero image pixels are treated as 1's. The parameter is
457
+ * used for images only.
458
+ */
459
+ export declare function moments(array: InputArray, binaryImage?: bool): Moments;
460
+ /**
461
+ * The function determines whether the point is inside a contour, outside, or lies on an edge (or
462
+ * coincides with a vertex). It returns positive (inside), negative (outside), or zero (on an edge)
463
+ * value, correspondingly. When measureDist=false , the return value is +1, -1, and 0, respectively.
464
+ * Otherwise, the return value is a signed distance between the point and the nearest contour edge.
465
+ *
466
+ * See below a sample output of the function where each image pixel is tested against the contour:
467
+ *
468
+ * @param contour Input contour.
469
+ *
470
+ * @param pt Point tested against the contour.
471
+ *
472
+ * @param measureDist If true, the function estimates the signed distance from the point to the nearest
473
+ * contour edge. Otherwise, the function only checks if the point is inside a contour or not.
474
+ */
475
+ export declare function pointPolygonTest(contour: InputArray, pt: Point2f, measureDist: bool): double;
476
+ /**
477
+ * If there is then the vertices of the intersecting region are returned as well.
478
+ *
479
+ * Below are some examples of intersection configurations. The hatched pattern indicates the
480
+ * intersecting region and the red vertices are returned by the function.
481
+ *
482
+ * One of [RectanglesIntersectTypes]
483
+ *
484
+ * @param rect1 First rectangle
485
+ *
486
+ * @param rect2 Second rectangle
487
+ *
488
+ * @param intersectingRegion The output array of the vertices of the intersecting region. It returns at
489
+ * most 8 vertices. Stored as std::vector<cv::Point2f> or cv::Mat as Mx1 of type CV_32FC2.
490
+ */
491
+ export declare function rotatedRectangleIntersection(rect1: any, rect2: any, intersectingRegion: OutputArray): int;
492
+ export declare const CCL_WU: ConnectedComponentsAlgorithmsTypes;
493
+ export declare const CCL_DEFAULT: ConnectedComponentsAlgorithmsTypes;
494
+ export declare const CCL_GRANA: ConnectedComponentsAlgorithmsTypes;
495
+ /**
496
+ * The leftmost (x) coordinate which is the inclusive start of the bounding box in the horizontal
497
+ * direction.
498
+ *
499
+ */
500
+ export declare const CC_STAT_LEFT: ConnectedComponentsTypes;
501
+ /**
502
+ * The topmost (y) coordinate which is the inclusive start of the bounding box in the vertical
503
+ * direction.
504
+ *
505
+ */
506
+ export declare const CC_STAT_TOP: ConnectedComponentsTypes;
507
+ export declare const CC_STAT_WIDTH: ConnectedComponentsTypes;
508
+ export declare const CC_STAT_HEIGHT: ConnectedComponentsTypes;
509
+ export declare const CC_STAT_AREA: ConnectedComponentsTypes;
510
+ export declare const CC_STAT_MAX: ConnectedComponentsTypes;
511
+ /**
512
+ * stores absolutely all the contour points. That is, any 2 subsequent points (x1,y1) and (x2,y2) of
513
+ * the contour will be either horizontal, vertical or diagonal neighbors, that is,
514
+ * max(abs(x1-x2),abs(y2-y1))==1.
515
+ *
516
+ */
517
+ export declare const CHAIN_APPROX_NONE: ContourApproximationModes;
518
+ /**
519
+ * compresses horizontal, vertical, and diagonal segments and leaves only their end points. For
520
+ * example, an up-right rectangular contour is encoded with 4 points.
521
+ *
522
+ */
523
+ export declare const CHAIN_APPROX_SIMPLE: ContourApproximationModes;
524
+ /**
525
+ * applies one of the flavors of the Teh-Chin chain approximation algorithm TehChin89
526
+ *
527
+ */
528
+ export declare const CHAIN_APPROX_TC89_L1: ContourApproximationModes;
529
+ /**
530
+ * applies one of the flavors of the Teh-Chin chain approximation algorithm TehChin89
531
+ *
532
+ */
533
+ export declare const CHAIN_APPROX_TC89_KCOS: ContourApproximationModes;
534
+ export declare const INTERSECT_NONE: RectanglesIntersectTypes;
535
+ export declare const INTERSECT_PARTIAL: RectanglesIntersectTypes;
536
+ export declare const INTERSECT_FULL: RectanglesIntersectTypes;
537
+ /**
538
+ * retrieves only the extreme outer contours. It sets `hierarchy[i][2]=hierarchy[i][3]=-1` for all the
539
+ * contours.
540
+ *
541
+ */
542
+ export declare const RETR_EXTERNAL: RetrievalModes;
543
+ /**
544
+ * retrieves all of the contours without establishing any hierarchical relationships.
545
+ *
546
+ */
547
+ export declare const RETR_LIST: RetrievalModes;
548
+ /**
549
+ * retrieves all of the contours and organizes them into a two-level hierarchy. At the top level, there
550
+ * are external boundaries of the components. At the second level, there are boundaries of the holes.
551
+ * If there is another contour inside a hole of a connected component, it is still put at the top
552
+ * level.
553
+ *
554
+ */
555
+ export declare const RETR_CCOMP: RetrievalModes;
556
+ /**
557
+ * retrieves all of the contours and reconstructs a full hierarchy of nested contours.
558
+ *
559
+ */
560
+ export declare const RETR_TREE: RetrievalModes;
561
+ export declare const RETR_FLOODFILL: RetrievalModes;
562
+ export declare const CONTOURS_MATCH_I1: ShapeMatchModes;
563
+ export declare const CONTOURS_MATCH_I2: ShapeMatchModes;
564
+ export declare const CONTOURS_MATCH_I3: ShapeMatchModes;
565
+ export type ConnectedComponentsAlgorithmsTypes = any;
566
+ export type ConnectedComponentsTypes = any;
567
+ export type ContourApproximationModes = any;
568
+ export type RectanglesIntersectTypes = any;
569
+ export type RetrievalModes = any;
570
+ export type ShapeMatchModes = any;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=imgproc_shape.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"imgproc_shape.js","sourceRoot":"","sources":["../../../../src/types/opencv/imgproc_shape.ts"],"names":[],"mappings":""}