@ningh-o/opencv-js 4.9.0-default.1 → 4.9.0-rev.2

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 (4) hide show
  1. package/README.md +1 -2
  2. package/index.d.ts +1825 -704
  3. package/opencv.js +0 -0
  4. package/package.json +2 -2
package/index.d.ts CHANGED
@@ -1,409 +1,1251 @@
1
- // TypeScript declarations template for @ningh-o/opencv-js.
2
- //
3
- // dist/index.d.ts is GENERATED from a built artifact by scripts/gen-types.mjs:
4
- // it enumerates the artifact's actual runtime surface (so the declarations can
5
- // never drift from what was published) and merges it with the curated stable
6
- // interfaces below.
7
- //
8
- // Scope rules:
9
- // - The curated interfaces cover the frozen core types (Mat, Point, Rect, ...)
10
- // that are identical across OpenCV 4.x and 5.x. gen-types.mjs FAILS if any
11
- // curated class is missing from the artifact, so a renamed upstream type
12
- // surfaces as a build failure, not as silently stale declarations.
13
- // - Everything else is typed loosely: functions as (...args: any[]) => any,
14
- // classes as new-able with an index signature, constants as number.
15
- // - Variant-specific APIs (objdetect, dnn, features2d, ...) are generated only
16
- // when the artifact actually binds them.
1
+ /**
2
+ * OpenCV.js TypeScript declarations — generated by scripts/gen-types.mjs from
3
+ * the shipped opencv.js artifact, so the declarations below match the
4
+ * published package exactly. Do not edit by hand.
5
+ *
6
+ * Generated for: @ningh-o/opencv-js@4.9.0-rev.2
7
+ * Surface: 998 constants, 70 classes, 208 free functions, 66 instance interfaces.
8
+ * API reference: https://docs.opencv.org/4.9.0/
9
+ *
10
+ * ## Loading
11
+ *
12
+ * The package default export is a Promise that resolves to the initialized
13
+ * module — await it once, then use the module surface:
14
+ *
15
+ * ```ts
16
+ * import cvModule from "@ningh-o/opencv-js";
17
+ * const cv = await cvModule;
18
+ * const mat = new cv.Mat(480, 640, cv.CV_8UC4);
19
+ * ```
20
+ *
21
+ * CommonJS works the same way: `require("@ningh-o/opencv-js")` returns the
22
+ * same Promise.
23
+ *
24
+ * ## Memory model
25
+ *
26
+ * Every class instance below wraps a native C++ object allocated on the
27
+ * WebAssembly heap, which is NOT garbage-collected. Call `instance.delete()`
28
+ * when you are done with it, and never touch an instance afterwards. Pixel
29
+ * views (`Mat.data`, ...) are live views into that heap and are only valid
30
+ * while their Mat is alive.
31
+ *
32
+ * ## Typing strategy
33
+ *
34
+ * - The interfaces below for the frozen core types (Mat, Point, Rect, ...) are
35
+ * curated with precise signatures; they are stable across OpenCV 4.x and
36
+ * 5.x, and generation FAILS if one of them is missing from the artifact, so
37
+ * an upstream rename surfaces as a build failure instead of silently stale
38
+ * declarations.
39
+ * - Every other class is emitted as a generated `XInstance` interface with the
40
+ * exact method names but untyped (`any`) arguments and results — WebAssembly
41
+ * bindings carry no type information.
42
+ * - Free functions are typed `(...args: any[]) => any` for the same reason.
43
+ * - Constants (cv.CV_8UC1, ...) are typed as `number`.
44
+ */
17
45
 
46
+ /**
47
+ * 2-D dense array (cv::Mat) — the central image class. Instances wrap a
48
+ * native handle: allocate with `new Mat(...)`, read and write pixels through
49
+ * the `data*` views or the `*At` accessors, and call `delete()` when finished.
50
+ */
18
51
  export interface Mat {
52
+ /** Number of rows. */
19
53
  readonly rows: number;
54
+ /** Number of columns. */
20
55
  readonly cols: number;
56
+ /** Frees the native cv::Mat; the instance must not be used afterwards. */
21
57
  delete(): void;
58
+ /** Element type id (one of the cv.CV_* constants, e.g. cv.CV_8UC3). */
22
59
  type(): number;
60
+ /** Number of channels (1-4). */
23
61
  channels(): number;
62
+ /** Bytes per element across all channels. */
24
63
  elemSize(): number;
64
+ /** Bytes per element per channel. */
25
65
  elemSize1(): number;
66
+ /** Pixel depth id (cv.CV_8U, cv.CV_32F, ...). */
26
67
  depth(): number;
68
+ /** True for a Mat with no elements. */
27
69
  empty(): boolean;
70
+ /** True when the rows are stored without padding in between. */
28
71
  isContinuous(): boolean;
72
+ /** Deep copy with its own pixel buffer. */
29
73
  clone(): Mat;
74
+ /** Sub-matrix view sharing the same pixel buffer (no copy). */
30
75
  roi(rect: Rect): Mat;
76
+ /** Converts pixels into `m` with target depth `rtype`, scaled by alpha/beta. */
31
77
  convertTo(m: Mat, rtype: number, alpha?: number, beta?: number): void;
78
+ /** Conversion without alpha/beta scaling (cv::Mat::assignTo). */
32
79
  assignTo(m: Mat, type?: number): void;
80
+ /** Total number of array elements (rows * cols). */
33
81
  total(): number;
82
+ /** Matrix size as a Size (width = cols, height = rows). */
34
83
  size(): Size;
84
+ /** Moves the ROI window inside the parent buffer by the given margins. */
35
85
  adjustROI(dtop: number, dbottom: number, dl: number, dr: number): Mat;
86
+ /** Element value at (row, col). */
36
87
  at(row: number, col: number): number;
88
+ /** Unsigned 8-bit element (CV_8U Mats). */
37
89
  ucharAt(row: number, col?: number): number;
90
+ /** Signed 8-bit element (CV_8S Mats). */
38
91
  charAt(row: number, col?: number): number;
92
+ /** Signed 16-bit element (CV_16S Mats). */
39
93
  shortAt(row: number, col?: number): number;
94
+ /** Unsigned 16-bit element (CV_16U Mats). */
40
95
  ushortAt(row: number, col?: number): number;
96
+ /** Signed 32-bit element (CV_32S Mats). */
41
97
  intAt(row: number, col?: number): number;
98
+ /** 32-bit float element (CV_32F Mats). */
42
99
  floatAt(row: number, col?: number): number;
100
+ /** 64-bit float element (CV_64F Mats). */
43
101
  doubleAt(row: number, col?: number): number;
102
+ /** Live view of the raw pixel bytes (CV_8U); valid while the Mat is alive. */
44
103
  readonly data: Uint8Array;
104
+ /** Same buffer as `data`, viewed as signed 8-bit. */
45
105
  readonly data8S: Int8Array;
106
+ /** Same buffer as `data`, viewed as signed 16-bit. */
46
107
  readonly data16S: Int16Array;
108
+ /** Same buffer as `data`, viewed as unsigned 16-bit. */
47
109
  readonly data16U: Uint16Array;
110
+ /** Same buffer as `data`, viewed as signed 32-bit. */
48
111
  readonly data32S: Int32Array;
112
+ /** Same buffer as `data`, viewed as 32-bit float. */
49
113
  readonly data32F: Float32Array;
114
+ /** Same buffer as `data`, viewed as 64-bit float. */
50
115
  readonly data64F: Float64Array;
51
116
  }
52
117
 
118
+ /** Growable list of Mat handles (std::vector<cv::Mat>). */
53
119
  export interface MatVector {
120
+ /** Number of Mats held. */
54
121
  size(): number;
122
+ /** Mat at index i. */
55
123
  get(i: number): Mat;
124
+ /** Replaces the Mat at index i. */
56
125
  set(i: number, mat: Mat): void;
126
+ /** Appends a Mat. */
57
127
  push_back(mat: Mat): void;
128
+ /** Frees the vector; the contained Mats are owned by it. */
58
129
  delete(): void;
59
130
  }
60
131
 
132
+ /** 2-D size (cv::Size). */
61
133
  export interface Size {
134
+ /** Horizontal extent. */
62
135
  width: number;
136
+ /** Vertical extent. */
63
137
  height: number;
64
138
  }
65
139
 
140
+ /** 2-D point (cv::Point). */
66
141
  export interface Point {
142
+ /** Horizontal coordinate. */
67
143
  x: number;
144
+ /** Vertical coordinate. */
68
145
  y: number;
69
146
  }
70
147
 
148
+ /** Integer rectangle (cv::Rect); x/y is the top-left corner. */
71
149
  export interface Rect {
150
+ /** Left edge. */
72
151
  x: number;
152
+ /** Top edge. */
73
153
  y: number;
154
+ /** Horizontal extent. */
74
155
  width: number;
156
+ /** Vertical extent. */
75
157
  height: number;
76
158
  }
77
159
 
160
+ /** Rotated rectangle (cv::RotatedRect). */
78
161
  export interface RotatedRect {
162
+ /** Rotation angle in degrees. */
79
163
  angle: number;
164
+ /** Extent before rotation. */
80
165
  size: Size;
166
+ /** Center point. */
81
167
  center: Point;
168
+ /** The four corner vertices. */
82
169
  points(): Point[];
170
+ /** Up-right bounding rectangle around the rotated rect. */
83
171
  boundingRect(): Rect;
84
172
  }
85
173
 
174
+ /** 4-element value (cv::Scalar); unused trailing channels are 0. */
86
175
  export interface Scalar {
87
- /** [v0, v1, v2, v3] channel values */
176
+ /** [v0, v1, v2, v3] channel values. */
88
177
  readonly value: number[];
89
178
  }
90
179
 
180
+ /** Termination criteria for iterative algorithms (cv::TermCriteria). */
91
181
  export interface TermCriteria {
182
+ /** cv.TERM_CRITERIA_* flag combination (count and/or epsilon). */
92
183
  type: number;
184
+ /** Maximum number of iterations. */
93
185
  maxCount: number;
186
+ /** Required accuracy. */
94
187
  epsilon: number;
95
188
  }
96
189
 
190
+ /** Base class of the high-level algorithm hierarchy (cv::Algorithm). */
97
191
  export interface Algorithm {
192
+ /** Clears the algorithm state. */
98
193
  clear(): void;
194
+ /** Serializes the algorithm to a file. */
99
195
  save(filename: string): void;
196
+ /** Registered algorithm name. */
100
197
  getDefaultName(): string;
198
+ /** Frees the native object. */
101
199
  delete(): void;
102
200
  }
103
201
 
104
- export interface CvModule {
105
- addRunDependency: { new (...args: any[]): any; [key: string]: any };
106
- removeRunDependency: { new (...args: any[]): any; [key: string]: any };
107
- FS_preloadFile: { new (...args: any[]): any; [key: string]: any };
108
- FS_unlink: { new (...args: any[]): any; [key: string]: any };
109
- FS_createPath: { new (...args: any[]): any; [key: string]: any };
110
- FS_createDevice: { new (...args: any[]): any; [key: string]: any };
111
- FS_createDataFile: { new (...args: any[]): any; [key: string]: any };
112
- FS_createLazyFile: { new (...args: any[]): any; [key: string]: any };
113
- calledRun: any;
114
- IntVector: { new (...args: any[]): any; [key: string]: any };
115
- CharVector: { new (...args: any[]): any; [key: string]: any };
116
- FloatVector: { new (...args: any[]): any; [key: string]: any };
117
- DoubleVector: { new (...args: any[]): any; [key: string]: any };
118
- StringVector: { new (...args: any[]): any; [key: string]: any };
119
- PointVector: { new (...args: any[]): any; [key: string]: any };
120
- MatVector: { new (...args: any[]): MatVector };
121
- RectVector: { new (...args: any[]): any; [key: string]: any };
122
- KeyPointVector: { new (...args: any[]): any; [key: string]: any };
123
- DMatchVector: { new (...args: any[]): any; [key: string]: any };
124
- DMatchVectorVector: { new (...args: any[]): any; [key: string]: any };
125
- Mat: { new (...args: any[]): Mat };
126
- rotatedRectPoints: (...args: any[]) => any;
127
- rotatedRectBoundingRect: (...args: any[]) => any;
128
- rotatedRectBoundingRect2f: (...args: any[]) => any;
129
- exceptionFromPtr: (...args: any[]) => any;
130
- minEnclosingCircle: (...args: any[]) => any;
131
- floodFill: (...args: any[]) => any;
132
- minMaxLoc: (...args: any[]) => any;
133
- morphologyDefaultBorderValue: (...args: any[]) => any;
134
- CV_MAT_DEPTH: (...args: any[]) => any;
135
- CamShift: (...args: any[]) => any;
136
- meanShift: (...args: any[]) => any;
137
- Tracker: { new (...args: any[]): any; [key: string]: any };
138
- getBuildInformation: (...args: any[]) => any;
139
- readonly CV_8UC1: number;
140
- readonly CV_8UC2: number;
141
- readonly CV_8UC3: number;
142
- readonly CV_8UC4: number;
143
- readonly CV_8SC1: number;
144
- readonly CV_8SC2: number;
145
- readonly CV_8SC3: number;
146
- readonly CV_8SC4: number;
147
- readonly CV_16UC1: number;
148
- readonly CV_16UC2: number;
149
- readonly CV_16UC3: number;
150
- readonly CV_16UC4: number;
151
- readonly CV_16SC1: number;
152
- readonly CV_16SC2: number;
153
- readonly CV_16SC3: number;
154
- readonly CV_16SC4: number;
155
- readonly CV_32SC1: number;
156
- readonly CV_32SC2: number;
157
- readonly CV_32SC3: number;
158
- readonly CV_32SC4: number;
159
- readonly CV_32FC1: number;
160
- readonly CV_32FC2: number;
161
- readonly CV_32FC3: number;
162
- readonly CV_32FC4: number;
163
- readonly CV_64FC1: number;
164
- readonly CV_64FC2: number;
165
- readonly CV_64FC3: number;
166
- readonly CV_64FC4: number;
167
- readonly CV_8U: number;
168
- readonly CV_8S: number;
169
- readonly CV_16U: number;
170
- readonly CV_16S: number;
171
- readonly CV_32S: number;
172
- readonly CV_32F: number;
173
- readonly CV_64F: number;
174
- readonly INT_MIN: number;
175
- readonly INT_MAX: number;
176
- Canny: (...args: any[]) => any;
177
- Canny1: (...args: any[]) => any;
178
- GaussianBlur: (...args: any[]) => any;
179
- HoughCircles: (...args: any[]) => any;
180
- HoughLines: (...args: any[]) => any;
181
- HoughLinesP: (...args: any[]) => any;
182
- LUT: (...args: any[]) => any;
183
- Laplacian: (...args: any[]) => any;
184
- Rodrigues: (...args: any[]) => any;
185
- Scharr: (...args: any[]) => any;
186
- Sobel: (...args: any[]) => any;
187
- absdiff: (...args: any[]) => any;
188
- adaptiveThreshold: (...args: any[]) => any;
189
- add: (...args: any[]) => any;
190
- addWeighted: (...args: any[]) => any;
191
- approxPolyDP: (...args: any[]) => any;
192
- arcLength: (...args: any[]) => any;
193
- bilateralFilter: (...args: any[]) => any;
194
- bitwise_and: (...args: any[]) => any;
195
- bitwise_not: (...args: any[]) => any;
196
- bitwise_or: (...args: any[]) => any;
197
- bitwise_xor: (...args: any[]) => any;
198
- blur: (...args: any[]) => any;
199
- boundingRect: (...args: any[]) => any;
200
- boxFilter: (...args: any[]) => any;
201
- calcBackProject: (...args: any[]) => any;
202
- calcHist: (...args: any[]) => any;
203
- calcOpticalFlowFarneback: (...args: any[]) => any;
204
- calcOpticalFlowPyrLK: (...args: any[]) => any;
205
- calibrateCameraExtended: (...args: any[]) => any;
206
- cartToPolar: (...args: any[]) => any;
207
- circle: (...args: any[]) => any;
208
- compare: (...args: any[]) => any;
209
- compareHist: (...args: any[]) => any;
210
- connectedComponents: (...args: any[]) => any;
211
- connectedComponentsWithStats: (...args: any[]) => any;
212
- contourArea: (...args: any[]) => any;
213
- convertScaleAbs: (...args: any[]) => any;
214
- convexHull: (...args: any[]) => any;
215
- convexityDefects: (...args: any[]) => any;
216
- copyMakeBorder: (...args: any[]) => any;
217
- cornerHarris: (...args: any[]) => any;
218
- cornerMinEigenVal: (...args: any[]) => any;
219
- countNonZero: (...args: any[]) => any;
220
- cvtColor: (...args: any[]) => any;
221
- demosaicing: (...args: any[]) => any;
222
- determinant: (...args: any[]) => any;
223
- dft: (...args: any[]) => any;
224
- dilate: (...args: any[]) => any;
225
- distanceTransform: (...args: any[]) => any;
226
- distanceTransformWithLabels: (...args: any[]) => any;
227
- divide: (...args: any[]) => any;
228
- divide1: (...args: any[]) => any;
229
- drawContours: (...args: any[]) => any;
230
- drawFrameAxes: (...args: any[]) => any;
231
- drawKeypoints: (...args: any[]) => any;
232
- drawMatches: (...args: any[]) => any;
233
- drawMatches1: (...args: any[]) => any;
234
- drawMatchesKnn: (...args: any[]) => any;
235
- eigen: (...args: any[]) => any;
236
- ellipse: (...args: any[]) => any;
237
- ellipse1: (...args: any[]) => any;
238
- ellipse2Poly: (...args: any[]) => any;
239
- equalizeHist: (...args: any[]) => any;
240
- erode: (...args: any[]) => any;
241
- estimateAffine2D: (...args: any[]) => any;
242
- estimateAffine2D1: (...args: any[]) => any;
243
- exp: (...args: any[]) => any;
244
- fillConvexPoly: (...args: any[]) => any;
245
- fillPoly: (...args: any[]) => any;
246
- filter2D: (...args: any[]) => any;
247
- findContours: (...args: any[]) => any;
248
- findHomography: (...args: any[]) => any;
249
- findHomography1: (...args: any[]) => any;
250
- findTransformECC: (...args: any[]) => any;
251
- findTransformECC1: (...args: any[]) => any;
252
- fitEllipse: (...args: any[]) => any;
253
- fitLine: (...args: any[]) => any;
254
- flip: (...args: any[]) => any;
255
- gemm: (...args: any[]) => any;
256
- getAffineTransform: (...args: any[]) => any;
257
- getDefaultNewCameraMatrix: (...args: any[]) => any;
258
- getLogLevel: (...args: any[]) => any;
259
- getOptimalDFTSize: (...args: any[]) => any;
260
- getPerspectiveTransform: (...args: any[]) => any;
261
- getRotationMatrix2D: (...args: any[]) => any;
262
- getStructuringElement: (...args: any[]) => any;
263
- goodFeaturesToTrack: (...args: any[]) => any;
264
- goodFeaturesToTrack1: (...args: any[]) => any;
265
- grabCut: (...args: any[]) => any;
266
- groupRectangles: (...args: any[]) => any;
267
- hconcat: (...args: any[]) => any;
268
- inRange: (...args: any[]) => any;
269
- initUndistortRectifyMap: (...args: any[]) => any;
270
- inpaint: (...args: any[]) => any;
271
- integral: (...args: any[]) => any;
272
- integral2: (...args: any[]) => any;
273
- invert: (...args: any[]) => any;
274
- isContourConvex: (...args: any[]) => any;
275
- kmeans: (...args: any[]) => any;
276
- line: (...args: any[]) => any;
277
- log: (...args: any[]) => any;
278
- magnitude: (...args: any[]) => any;
279
- matchShapes: (...args: any[]) => any;
280
- matchTemplate: (...args: any[]) => any;
281
- max: (...args: any[]) => any;
282
- mean: (...args: any[]) => any;
283
- meanStdDev: (...args: any[]) => any;
284
- medianBlur: (...args: any[]) => any;
285
- merge: (...args: any[]) => any;
286
- min: (...args: any[]) => any;
287
- minAreaRect: (...args: any[]) => any;
288
- mixChannels: (...args: any[]) => any;
289
- moments: (...args: any[]) => any;
290
- morphologyEx: (...args: any[]) => any;
291
- multiply: (...args: any[]) => any;
292
- norm: (...args: any[]) => any;
293
- norm1: (...args: any[]) => any;
294
- normalize: (...args: any[]) => any;
295
- perspectiveTransform: (...args: any[]) => any;
296
- pointPolygonTest: (...args: any[]) => any;
297
- polarToCart: (...args: any[]) => any;
298
- polylines: (...args: any[]) => any;
299
- pow: (...args: any[]) => any;
300
- projectPoints: (...args: any[]) => any;
301
- putText: (...args: any[]) => any;
302
- pyrDown: (...args: any[]) => any;
303
- pyrUp: (...args: any[]) => any;
304
- randn: (...args: any[]) => any;
305
- randu: (...args: any[]) => any;
306
- rectangle: (...args: any[]) => any;
307
- rectangle1: (...args: any[]) => any;
308
- reduce: (...args: any[]) => any;
309
- remap: (...args: any[]) => any;
310
- repeat: (...args: any[]) => any;
311
- resize: (...args: any[]) => any;
312
- rotate: (...args: any[]) => any;
313
- sepFilter2D: (...args: any[]) => any;
314
- setIdentity: (...args: any[]) => any;
315
- setLogLevel: (...args: any[]) => any;
316
- setRNGSeed: (...args: any[]) => any;
317
- solve: (...args: any[]) => any;
318
- solvePnP: (...args: any[]) => any;
319
- solvePnPRansac: (...args: any[]) => any;
320
- solvePnPRansac1: (...args: any[]) => any;
321
- solvePnPRefineLM: (...args: any[]) => any;
322
- solvePoly: (...args: any[]) => any;
323
- split: (...args: any[]) => any;
324
- sqrt: (...args: any[]) => any;
325
- subtract: (...args: any[]) => any;
326
- threshold: (...args: any[]) => any;
327
- trace: (...args: any[]) => any;
328
- transform: (...args: any[]) => any;
329
- transpose: (...args: any[]) => any;
330
- undistort: (...args: any[]) => any;
331
- vconcat: (...args: any[]) => any;
332
- warpAffine: (...args: any[]) => any;
333
- warpPerspective: (...args: any[]) => any;
334
- warpPolar: (...args: any[]) => any;
335
- watershed: (...args: any[]) => any;
336
- drawDetectedCornersCharuco: (...args: any[]) => any;
337
- drawDetectedDiamonds: (...args: any[]) => any;
338
- drawDetectedMarkers: (...args: any[]) => any;
339
- extendDictionary: (...args: any[]) => any;
340
- generateImageMarker: (...args: any[]) => any;
341
- getPredefinedDictionary: (...args: any[]) => any;
342
- blobFromImage: (...args: any[]) => any;
343
- readNet: (...args: any[]) => any;
344
- readNet1: (...args: any[]) => any;
345
- readNetFromCaffe: (...args: any[]) => any;
346
- readNetFromCaffe1: (...args: any[]) => any;
347
- readNetFromDarknet: (...args: any[]) => any;
348
- readNetFromDarknet1: (...args: any[]) => any;
349
- readNetFromONNX: (...args: any[]) => any;
350
- readNetFromONNX1: (...args: any[]) => any;
351
- readNetFromTFLite: (...args: any[]) => any;
352
- readNetFromTFLite1: (...args: any[]) => any;
353
- readNetFromTensorflow: (...args: any[]) => any;
354
- readNetFromTensorflow1: (...args: any[]) => any;
355
- readNetFromTorch: (...args: any[]) => any;
356
- fisheye_initUndistortRectifyMap: (...args: any[]) => any;
357
- fisheye_projectPoints: (...args: any[]) => any;
358
- AKAZE: { new (...args: any[]): any; [key: string]: any };
359
- AgastFeatureDetector: { new (...args: any[]): any; [key: string]: any };
360
- Algorithm: { new (...args: any[]): Algorithm };
361
- AlignMTB: (...args: any[]) => any;
362
- BFMatcher: { new (...args: any[]): any; [key: string]: any };
363
- BRISK: { new (...args: any[]): any; [key: string]: any };
364
- BackgroundSubtractor: { new (...args: any[]): any; [key: string]: any };
365
- BackgroundSubtractorMOG2: { new (...args: any[]): any; [key: string]: any };
366
- CLAHE: { new (...args: any[]): any; [key: string]: any };
367
- CalibrateCRF: { new (...args: any[]): any; [key: string]: any };
368
- CalibrateDebevec: { new (...args: any[]): any; [key: string]: any };
369
- CalibrateRobertson: { new (...args: any[]): any; [key: string]: any };
370
- CascadeClassifier: { new (...args: any[]): any; [key: string]: any };
371
- DescriptorMatcher: { new (...args: any[]): any; [key: string]: any };
372
- FastFeatureDetector: { new (...args: any[]): any; [key: string]: any };
373
- Feature2D: { new (...args: any[]): any; [key: string]: any };
374
- GFTTDetector: { new (...args: any[]): any; [key: string]: any };
375
- GraphicalCodeDetector: { new (...args: any[]): any; [key: string]: any };
376
- HOGDescriptor: { new (...args: any[]): any; [key: string]: any };
377
- KAZE: { new (...args: any[]): any; [key: string]: any };
378
- MSER: { new (...args: any[]): any; [key: string]: any };
379
- MergeDebevec: { new (...args: any[]): any; [key: string]: any };
380
- MergeExposures: { new (...args: any[]): any; [key: string]: any };
381
- MergeMertens: { new (...args: any[]): any; [key: string]: any };
382
- MergeRobertson: { new (...args: any[]): any; [key: string]: any };
383
- ORB: { new (...args: any[]): any; [key: string]: any };
384
- QRCodeDetector: { new (...args: any[]): any; [key: string]: any };
385
- QRCodeDetectorAruco: { new (...args: any[]): any; [key: string]: any };
386
- QRCodeDetectorAruco_Params: { new (...args: any[]): any; [key: string]: any };
387
- SimpleBlobDetector: { new (...args: any[]): any; [key: string]: any };
388
- SimpleBlobDetector_Params: { new (...args: any[]): any; [key: string]: any };
389
- Tonemap: { new (...args: any[]): any; [key: string]: any };
390
- TonemapDrago: { new (...args: any[]): any; [key: string]: any };
391
- TonemapMantiuk: { new (...args: any[]): any; [key: string]: any };
392
- TonemapReinhard: { new (...args: any[]): any; [key: string]: any };
393
- TrackerMIL: { new (...args: any[]): any; [key: string]: any };
394
- TrackerMIL_Params: { new (...args: any[]): any; [key: string]: any };
395
- aruco_ArucoDetector: { new (...args: any[]): any; [key: string]: any };
396
- aruco_Board: { new (...args: any[]): any; [key: string]: any };
397
- aruco_CharucoBoard: { new (...args: any[]): any; [key: string]: any };
398
- aruco_CharucoDetector: { new (...args: any[]): any; [key: string]: any };
399
- aruco_CharucoParameters: { new (...args: any[]): any; [key: string]: any };
400
- aruco_DetectorParameters: { new (...args: any[]): any; [key: string]: any };
401
- aruco_Dictionary: { new (...args: any[]): any; [key: string]: any };
402
- aruco_GridBoard: { new (...args: any[]): any; [key: string]: any };
403
- aruco_RefineParameters: { new (...args: any[]): any; [key: string]: any };
404
- barcode_BarcodeDetector: { new (...args: any[]): any; [key: string]: any };
405
- dnn_Net: { new (...args: any[]): any; [key: string]: any };
406
- segmentation_IntelligentScissorsMB: { new (...args: any[]): any; [key: string]: any };
202
+ /** Methods available on a cv.addRunDependency instance (generated; arguments and results are typed any). */
203
+ export interface addRunDependencyInstance {
204
+ /** Frees the backing native object; the instance must not be used afterwards. */
205
+ delete(...args: any[]): any;
206
+ /** Schedules deletion of the native object for when the emscripten runtime next processes deferred work (deferred alternative to delete()). */
207
+ deleteLater(...args: any[]): any;
208
+ /** True once delete() has been called. */
209
+ isDeleted(...args: any[]): any;
210
+ }
211
+
212
+ /** Methods available on a cv.removeRunDependency instance (generated; arguments and results are typed any). */
213
+ export interface removeRunDependencyInstance {
214
+ /** Frees the backing native object; the instance must not be used afterwards. */
215
+ delete(...args: any[]): any;
216
+ /** Schedules deletion of the native object for when the emscripten runtime next processes deferred work (deferred alternative to delete()). */
217
+ deleteLater(...args: any[]): any;
218
+ /** True once delete() has been called. */
219
+ isDeleted(...args: any[]): any;
220
+ }
221
+
222
+ /** Methods available on a cv.FS_preloadFile instance (generated; arguments and results are typed any). */
223
+ export interface FS_preloadFileInstance {
224
+ /** Frees the backing native object; the instance must not be used afterwards. */
225
+ delete(...args: any[]): any;
226
+ /** Schedules deletion of the native object for when the emscripten runtime next processes deferred work (deferred alternative to delete()). */
227
+ deleteLater(...args: any[]): any;
228
+ /** True once delete() has been called. */
229
+ isDeleted(...args: any[]): any;
230
+ }
231
+
232
+ /** Methods available on a cv.FS_unlink instance (generated; arguments and results are typed any). */
233
+ export interface FS_unlinkInstance {
234
+ /** Frees the backing native object; the instance must not be used afterwards. */
235
+ delete(...args: any[]): any;
236
+ /** Schedules deletion of the native object for when the emscripten runtime next processes deferred work (deferred alternative to delete()). */
237
+ deleteLater(...args: any[]): any;
238
+ /** True once delete() has been called. */
239
+ isDeleted(...args: any[]): any;
240
+ }
241
+
242
+ /** Methods available on a cv.FS_createPath instance (generated; arguments and results are typed any). */
243
+ export interface FS_createPathInstance {
244
+ /** Frees the backing native object; the instance must not be used afterwards. */
245
+ delete(...args: any[]): any;
246
+ /** Schedules deletion of the native object for when the emscripten runtime next processes deferred work (deferred alternative to delete()). */
247
+ deleteLater(...args: any[]): any;
248
+ /** True once delete() has been called. */
249
+ isDeleted(...args: any[]): any;
250
+ }
251
+
252
+ /** Methods available on a cv.FS_createDevice instance (generated; arguments and results are typed any). */
253
+ export interface FS_createDeviceInstance {
254
+ /** Frees the backing native object; the instance must not be used afterwards. */
255
+ delete(...args: any[]): any;
256
+ /** Schedules deletion of the native object for when the emscripten runtime next processes deferred work (deferred alternative to delete()). */
257
+ deleteLater(...args: any[]): any;
258
+ /** True once delete() has been called. */
259
+ isDeleted(...args: any[]): any;
260
+ }
261
+
262
+ /** Methods available on a cv.FS_createDataFile instance (generated; arguments and results are typed any). */
263
+ export interface FS_createDataFileInstance {
264
+ /** Frees the backing native object; the instance must not be used afterwards. */
265
+ delete(...args: any[]): any;
266
+ /** Schedules deletion of the native object for when the emscripten runtime next processes deferred work (deferred alternative to delete()). */
267
+ deleteLater(...args: any[]): any;
268
+ /** True once delete() has been called. */
269
+ isDeleted(...args: any[]): any;
270
+ }
271
+
272
+ /** Methods available on a cv.FS_createLazyFile instance (generated; arguments and results are typed any). */
273
+ export interface FS_createLazyFileInstance {
274
+ /** Frees the backing native object; the instance must not be used afterwards. */
275
+ delete(...args: any[]): any;
276
+ /** Schedules deletion of the native object for when the emscripten runtime next processes deferred work (deferred alternative to delete()). */
277
+ deleteLater(...args: any[]): any;
278
+ /** True once delete() has been called. */
279
+ isDeleted(...args: any[]): any;
280
+ }
281
+
282
+ /** Methods available on a cv.IntVector instance (generated; arguments and results are typed any). */
283
+ export interface IntVectorInstance {
284
+ /** Frees the backing native object; the instance must not be used afterwards. */
285
+ delete(...args: any[]): any;
286
+ /** Schedules deletion of the native object for when the emscripten runtime next processes deferred work (deferred alternative to delete()). */
287
+ deleteLater(...args: any[]): any;
288
+ get(...args: any[]): any;
289
+ /** True once delete() has been called. */
290
+ isDeleted(...args: any[]): any;
291
+ push_back(...args: any[]): any;
292
+ resize(...args: any[]): any;
293
+ set(...args: any[]): any;
294
+ size(...args: any[]): any;
295
+ }
296
+
297
+ /** Methods available on a cv.CharVector instance (generated; arguments and results are typed any). */
298
+ export interface CharVectorInstance {
299
+ /** Frees the backing native object; the instance must not be used afterwards. */
300
+ delete(...args: any[]): any;
301
+ /** Schedules deletion of the native object for when the emscripten runtime next processes deferred work (deferred alternative to delete()). */
302
+ deleteLater(...args: any[]): any;
303
+ get(...args: any[]): any;
304
+ /** True once delete() has been called. */
305
+ isDeleted(...args: any[]): any;
306
+ push_back(...args: any[]): any;
307
+ resize(...args: any[]): any;
308
+ set(...args: any[]): any;
309
+ size(...args: any[]): any;
310
+ }
311
+
312
+ /** Methods available on a cv.FloatVector instance (generated; arguments and results are typed any). */
313
+ export interface FloatVectorInstance {
314
+ /** Frees the backing native object; the instance must not be used afterwards. */
315
+ delete(...args: any[]): any;
316
+ /** Schedules deletion of the native object for when the emscripten runtime next processes deferred work (deferred alternative to delete()). */
317
+ deleteLater(...args: any[]): any;
318
+ get(...args: any[]): any;
319
+ /** True once delete() has been called. */
320
+ isDeleted(...args: any[]): any;
321
+ push_back(...args: any[]): any;
322
+ resize(...args: any[]): any;
323
+ set(...args: any[]): any;
324
+ size(...args: any[]): any;
325
+ }
326
+
327
+ /** Methods available on a cv.DoubleVector instance (generated; arguments and results are typed any). */
328
+ export interface DoubleVectorInstance {
329
+ /** Frees the backing native object; the instance must not be used afterwards. */
330
+ delete(...args: any[]): any;
331
+ /** Schedules deletion of the native object for when the emscripten runtime next processes deferred work (deferred alternative to delete()). */
332
+ deleteLater(...args: any[]): any;
333
+ get(...args: any[]): any;
334
+ /** True once delete() has been called. */
335
+ isDeleted(...args: any[]): any;
336
+ push_back(...args: any[]): any;
337
+ resize(...args: any[]): any;
338
+ set(...args: any[]): any;
339
+ size(...args: any[]): any;
340
+ }
341
+
342
+ /** Methods available on a cv.StringVector instance (generated; arguments and results are typed any). */
343
+ export interface StringVectorInstance {
344
+ /** Frees the backing native object; the instance must not be used afterwards. */
345
+ delete(...args: any[]): any;
346
+ /** Schedules deletion of the native object for when the emscripten runtime next processes deferred work (deferred alternative to delete()). */
347
+ deleteLater(...args: any[]): any;
348
+ get(...args: any[]): any;
349
+ /** True once delete() has been called. */
350
+ isDeleted(...args: any[]): any;
351
+ push_back(...args: any[]): any;
352
+ resize(...args: any[]): any;
353
+ set(...args: any[]): any;
354
+ size(...args: any[]): any;
355
+ }
356
+
357
+ /** Methods available on a cv.PointVector instance (generated; arguments and results are typed any). */
358
+ export interface PointVectorInstance {
359
+ /** Frees the backing native object; the instance must not be used afterwards. */
360
+ delete(...args: any[]): any;
361
+ /** Schedules deletion of the native object for when the emscripten runtime next processes deferred work (deferred alternative to delete()). */
362
+ deleteLater(...args: any[]): any;
363
+ get(...args: any[]): any;
364
+ /** True once delete() has been called. */
365
+ isDeleted(...args: any[]): any;
366
+ push_back(...args: any[]): any;
367
+ resize(...args: any[]): any;
368
+ set(...args: any[]): any;
369
+ size(...args: any[]): any;
370
+ }
371
+
372
+ /** Methods available on a cv.RectVector instance (generated; arguments and results are typed any). */
373
+ export interface RectVectorInstance {
374
+ /** Frees the backing native object; the instance must not be used afterwards. */
375
+ delete(...args: any[]): any;
376
+ /** Schedules deletion of the native object for when the emscripten runtime next processes deferred work (deferred alternative to delete()). */
377
+ deleteLater(...args: any[]): any;
378
+ get(...args: any[]): any;
379
+ /** True once delete() has been called. */
380
+ isDeleted(...args: any[]): any;
381
+ push_back(...args: any[]): any;
382
+ resize(...args: any[]): any;
383
+ set(...args: any[]): any;
384
+ size(...args: any[]): any;
385
+ }
386
+
387
+ /** Methods available on a cv.KeyPointVector instance (generated; arguments and results are typed any). */
388
+ export interface KeyPointVectorInstance {
389
+ /** Frees the backing native object; the instance must not be used afterwards. */
390
+ delete(...args: any[]): any;
391
+ /** Schedules deletion of the native object for when the emscripten runtime next processes deferred work (deferred alternative to delete()). */
392
+ deleteLater(...args: any[]): any;
393
+ get(...args: any[]): any;
394
+ /** True once delete() has been called. */
395
+ isDeleted(...args: any[]): any;
396
+ push_back(...args: any[]): any;
397
+ resize(...args: any[]): any;
398
+ set(...args: any[]): any;
399
+ size(...args: any[]): any;
400
+ }
401
+
402
+ /** Methods available on a cv.DMatchVector instance (generated; arguments and results are typed any). */
403
+ export interface DMatchVectorInstance {
404
+ /** Frees the backing native object; the instance must not be used afterwards. */
405
+ delete(...args: any[]): any;
406
+ /** Schedules deletion of the native object for when the emscripten runtime next processes deferred work (deferred alternative to delete()). */
407
+ deleteLater(...args: any[]): any;
408
+ get(...args: any[]): any;
409
+ /** True once delete() has been called. */
410
+ isDeleted(...args: any[]): any;
411
+ push_back(...args: any[]): any;
412
+ resize(...args: any[]): any;
413
+ set(...args: any[]): any;
414
+ size(...args: any[]): any;
415
+ }
416
+
417
+ /** Methods available on a cv.DMatchVectorVector instance (generated; arguments and results are typed any). */
418
+ export interface DMatchVectorVectorInstance {
419
+ /** Frees the backing native object; the instance must not be used afterwards. */
420
+ delete(...args: any[]): any;
421
+ /** Schedules deletion of the native object for when the emscripten runtime next processes deferred work (deferred alternative to delete()). */
422
+ deleteLater(...args: any[]): any;
423
+ get(...args: any[]): any;
424
+ /** True once delete() has been called. */
425
+ isDeleted(...args: any[]): any;
426
+ push_back(...args: any[]): any;
427
+ resize(...args: any[]): any;
428
+ set(...args: any[]): any;
429
+ size(...args: any[]): any;
430
+ }
431
+
432
+ /** Methods available on a cv.Tracker instance (generated; arguments and results are typed any). */
433
+ export interface TrackerInstance {
434
+ /** Frees the backing native object; the instance must not be used afterwards. */
435
+ delete(...args: any[]): any;
436
+ /** Schedules deletion of the native object for when the emscripten runtime next processes deferred work (deferred alternative to delete()). */
437
+ deleteLater(...args: any[]): any;
438
+ init(...args: any[]): any;
439
+ /** True once delete() has been called. */
440
+ isDeleted(...args: any[]): any;
441
+ update(...args: any[]): any;
442
+ }
443
+
444
+ /** Methods available on a cv.AKAZE instance (generated; arguments and results are typed any). */
445
+ export interface AKAZEInstance {
446
+ /** Frees the backing native object; the instance must not be used afterwards. */
447
+ delete(...args: any[]): any;
448
+ /** Schedules deletion of the native object for when the emscripten runtime next processes deferred work (deferred alternative to delete()). */
449
+ deleteLater(...args: any[]): any;
450
+ getDefaultName(...args: any[]): any;
451
+ getDescriptorChannels(...args: any[]): any;
452
+ getDescriptorSize(...args: any[]): any;
453
+ getDescriptorType(...args: any[]): any;
454
+ getDiffusivity(...args: any[]): any;
455
+ getNOctaveLayers(...args: any[]): any;
456
+ getNOctaves(...args: any[]): any;
457
+ getThreshold(...args: any[]): any;
458
+ /** True once delete() has been called. */
459
+ isDeleted(...args: any[]): any;
460
+ setDescriptorChannels(...args: any[]): any;
461
+ setDescriptorSize(...args: any[]): any;
462
+ setDescriptorType(...args: any[]): any;
463
+ setDiffusivity(...args: any[]): any;
464
+ setNOctaveLayers(...args: any[]): any;
465
+ setNOctaves(...args: any[]): any;
466
+ setThreshold(...args: any[]): any;
467
+ }
468
+
469
+ /** Methods available on a cv.AgastFeatureDetector instance (generated; arguments and results are typed any). */
470
+ export interface AgastFeatureDetectorInstance {
471
+ /** Frees the backing native object; the instance must not be used afterwards. */
472
+ delete(...args: any[]): any;
473
+ /** Schedules deletion of the native object for when the emscripten runtime next processes deferred work (deferred alternative to delete()). */
474
+ deleteLater(...args: any[]): any;
475
+ getDefaultName(...args: any[]): any;
476
+ getNonmaxSuppression(...args: any[]): any;
477
+ getThreshold(...args: any[]): any;
478
+ getType(...args: any[]): any;
479
+ /** True once delete() has been called. */
480
+ isDeleted(...args: any[]): any;
481
+ setNonmaxSuppression(...args: any[]): any;
482
+ setThreshold(...args: any[]): any;
483
+ setType(...args: any[]): any;
484
+ }
485
+
486
+ /** Methods available on a cv.BFMatcher instance (generated; arguments and results are typed any). */
487
+ export interface BFMatcherInstance {
488
+ /** Frees the backing native object; the instance must not be used afterwards. */
489
+ delete(...args: any[]): any;
490
+ /** Schedules deletion of the native object for when the emscripten runtime next processes deferred work (deferred alternative to delete()). */
491
+ deleteLater(...args: any[]): any;
492
+ /** True once delete() has been called. */
493
+ isDeleted(...args: any[]): any;
494
+ }
495
+
496
+ /** Methods available on a cv.BRISK instance (generated; arguments and results are typed any). */
497
+ export interface BRISKInstance {
498
+ /** Frees the backing native object; the instance must not be used afterwards. */
499
+ delete(...args: any[]): any;
500
+ /** Schedules deletion of the native object for when the emscripten runtime next processes deferred work (deferred alternative to delete()). */
501
+ deleteLater(...args: any[]): any;
502
+ getDefaultName(...args: any[]): any;
503
+ /** True once delete() has been called. */
504
+ isDeleted(...args: any[]): any;
505
+ }
506
+
507
+ /** Methods available on a cv.BackgroundSubtractor instance (generated; arguments and results are typed any). */
508
+ export interface BackgroundSubtractorInstance {
509
+ apply(...args: any[]): any;
510
+ /** Frees the backing native object; the instance must not be used afterwards. */
511
+ delete(...args: any[]): any;
512
+ /** Schedules deletion of the native object for when the emscripten runtime next processes deferred work (deferred alternative to delete()). */
513
+ deleteLater(...args: any[]): any;
514
+ getBackgroundImage(...args: any[]): any;
515
+ /** True once delete() has been called. */
516
+ isDeleted(...args: any[]): any;
517
+ }
518
+
519
+ /** Methods available on a cv.BackgroundSubtractorMOG2 instance (generated; arguments and results are typed any). */
520
+ export interface BackgroundSubtractorMOG2Instance {
521
+ /** Frees the backing native object; the instance must not be used afterwards. */
522
+ delete(...args: any[]): any;
523
+ /** Schedules deletion of the native object for when the emscripten runtime next processes deferred work (deferred alternative to delete()). */
524
+ deleteLater(...args: any[]): any;
525
+ /** True once delete() has been called. */
526
+ isDeleted(...args: any[]): any;
527
+ }
528
+
529
+ /** Methods available on a cv.CLAHE instance (generated; arguments and results are typed any). */
530
+ export interface CLAHEInstance {
531
+ apply(...args: any[]): any;
532
+ collectGarbage(...args: any[]): any;
533
+ /** Frees the backing native object; the instance must not be used afterwards. */
534
+ delete(...args: any[]): any;
535
+ /** Schedules deletion of the native object for when the emscripten runtime next processes deferred work (deferred alternative to delete()). */
536
+ deleteLater(...args: any[]): any;
537
+ getClipLimit(...args: any[]): any;
538
+ getTilesGridSize(...args: any[]): any;
539
+ /** True once delete() has been called. */
540
+ isDeleted(...args: any[]): any;
541
+ setClipLimit(...args: any[]): any;
542
+ setTilesGridSize(...args: any[]): any;
543
+ }
544
+
545
+ /** Methods available on a cv.CalibrateCRF instance (generated; arguments and results are typed any). */
546
+ export interface CalibrateCRFInstance {
547
+ /** Frees the backing native object; the instance must not be used afterwards. */
548
+ delete(...args: any[]): any;
549
+ /** Schedules deletion of the native object for when the emscripten runtime next processes deferred work (deferred alternative to delete()). */
550
+ deleteLater(...args: any[]): any;
551
+ /** True once delete() has been called. */
552
+ isDeleted(...args: any[]): any;
553
+ process(...args: any[]): any;
554
+ }
555
+
556
+ /** Methods available on a cv.CalibrateDebevec instance (generated; arguments and results are typed any). */
557
+ export interface CalibrateDebevecInstance {
558
+ /** Frees the backing native object; the instance must not be used afterwards. */
559
+ delete(...args: any[]): any;
560
+ /** Schedules deletion of the native object for when the emscripten runtime next processes deferred work (deferred alternative to delete()). */
561
+ deleteLater(...args: any[]): any;
562
+ getLambda(...args: any[]): any;
563
+ getRandom(...args: any[]): any;
564
+ getSamples(...args: any[]): any;
565
+ /** True once delete() has been called. */
566
+ isDeleted(...args: any[]): any;
567
+ setLambda(...args: any[]): any;
568
+ setRandom(...args: any[]): any;
569
+ setSamples(...args: any[]): any;
570
+ }
571
+
572
+ /** Methods available on a cv.CalibrateRobertson instance (generated; arguments and results are typed any). */
573
+ export interface CalibrateRobertsonInstance {
574
+ /** Frees the backing native object; the instance must not be used afterwards. */
575
+ delete(...args: any[]): any;
576
+ /** Schedules deletion of the native object for when the emscripten runtime next processes deferred work (deferred alternative to delete()). */
577
+ deleteLater(...args: any[]): any;
578
+ getMaxIter(...args: any[]): any;
579
+ getRadiance(...args: any[]): any;
580
+ getThreshold(...args: any[]): any;
581
+ /** True once delete() has been called. */
582
+ isDeleted(...args: any[]): any;
583
+ setMaxIter(...args: any[]): any;
584
+ setThreshold(...args: any[]): any;
585
+ }
586
+
587
+ /** Methods available on a cv.CascadeClassifier instance (generated; arguments and results are typed any). */
588
+ export interface CascadeClassifierInstance {
589
+ /** Frees the backing native object; the instance must not be used afterwards. */
590
+ delete(...args: any[]): any;
591
+ /** Schedules deletion of the native object for when the emscripten runtime next processes deferred work (deferred alternative to delete()). */
592
+ deleteLater(...args: any[]): any;
593
+ detectMultiScale(...args: any[]): any;
594
+ detectMultiScale2(...args: any[]): any;
595
+ detectMultiScale3(...args: any[]): any;
596
+ empty(...args: any[]): any;
597
+ /** True once delete() has been called. */
598
+ isDeleted(...args: any[]): any;
599
+ load(...args: any[]): any;
600
+ }
601
+
602
+ /** Methods available on a cv.DescriptorMatcher instance (generated; arguments and results are typed any). */
603
+ export interface DescriptorMatcherInstance {
604
+ add(...args: any[]): any;
605
+ clear(...args: any[]): any;
606
+ /** Frees the backing native object; the instance must not be used afterwards. */
607
+ delete(...args: any[]): any;
608
+ /** Schedules deletion of the native object for when the emscripten runtime next processes deferred work (deferred alternative to delete()). */
609
+ deleteLater(...args: any[]): any;
610
+ empty(...args: any[]): any;
611
+ /** True once delete() has been called. */
612
+ isDeleted(...args: any[]): any;
613
+ isMaskSupported(...args: any[]): any;
614
+ knnMatch(...args: any[]): any;
615
+ knnMatch1(...args: any[]): any;
616
+ match(...args: any[]): any;
617
+ match1(...args: any[]): any;
618
+ radiusMatch(...args: any[]): any;
619
+ radiusMatch1(...args: any[]): any;
620
+ train(...args: any[]): any;
621
+ }
622
+
623
+ /** Methods available on a cv.FastFeatureDetector instance (generated; arguments and results are typed any). */
624
+ export interface FastFeatureDetectorInstance {
625
+ /** Frees the backing native object; the instance must not be used afterwards. */
626
+ delete(...args: any[]): any;
627
+ /** Schedules deletion of the native object for when the emscripten runtime next processes deferred work (deferred alternative to delete()). */
628
+ deleteLater(...args: any[]): any;
629
+ getDefaultName(...args: any[]): any;
630
+ getNonmaxSuppression(...args: any[]): any;
631
+ getThreshold(...args: any[]): any;
632
+ getType(...args: any[]): any;
633
+ /** True once delete() has been called. */
634
+ isDeleted(...args: any[]): any;
635
+ setNonmaxSuppression(...args: any[]): any;
636
+ setThreshold(...args: any[]): any;
637
+ setType(...args: any[]): any;
638
+ }
639
+
640
+ /** Methods available on a cv.Feature2D instance (generated; arguments and results are typed any). */
641
+ export interface Feature2DInstance {
642
+ compute(...args: any[]): any;
643
+ compute1(...args: any[]): any;
644
+ defaultNorm(...args: any[]): any;
645
+ /** Frees the backing native object; the instance must not be used afterwards. */
646
+ delete(...args: any[]): any;
647
+ /** Schedules deletion of the native object for when the emscripten runtime next processes deferred work (deferred alternative to delete()). */
648
+ deleteLater(...args: any[]): any;
649
+ descriptorSize(...args: any[]): any;
650
+ descriptorType(...args: any[]): any;
651
+ detect(...args: any[]): any;
652
+ detect1(...args: any[]): any;
653
+ detectAndCompute(...args: any[]): any;
654
+ empty(...args: any[]): any;
655
+ getDefaultName(...args: any[]): any;
656
+ /** True once delete() has been called. */
657
+ isDeleted(...args: any[]): any;
658
+ }
659
+
660
+ /** Methods available on a cv.GFTTDetector instance (generated; arguments and results are typed any). */
661
+ export interface GFTTDetectorInstance {
662
+ /** Frees the backing native object; the instance must not be used afterwards. */
663
+ delete(...args: any[]): any;
664
+ /** Schedules deletion of the native object for when the emscripten runtime next processes deferred work (deferred alternative to delete()). */
665
+ deleteLater(...args: any[]): any;
666
+ getBlockSize(...args: any[]): any;
667
+ getDefaultName(...args: any[]): any;
668
+ getHarrisDetector(...args: any[]): any;
669
+ getK(...args: any[]): any;
670
+ getMaxFeatures(...args: any[]): any;
671
+ getMinDistance(...args: any[]): any;
672
+ getQualityLevel(...args: any[]): any;
673
+ /** True once delete() has been called. */
674
+ isDeleted(...args: any[]): any;
675
+ setBlockSize(...args: any[]): any;
676
+ setHarrisDetector(...args: any[]): any;
677
+ setK(...args: any[]): any;
678
+ setMaxFeatures(...args: any[]): any;
679
+ setMinDistance(...args: any[]): any;
680
+ setQualityLevel(...args: any[]): any;
681
+ }
682
+
683
+ /** Methods available on a cv.GraphicalCodeDetector instance (generated; arguments and results are typed any). */
684
+ export interface GraphicalCodeDetectorInstance {
685
+ decode(...args: any[]): any;
686
+ decodeMulti(...args: any[]): any;
687
+ /** Frees the backing native object; the instance must not be used afterwards. */
688
+ delete(...args: any[]): any;
689
+ /** Schedules deletion of the native object for when the emscripten runtime next processes deferred work (deferred alternative to delete()). */
690
+ deleteLater(...args: any[]): any;
691
+ detect(...args: any[]): any;
692
+ detectAndDecode(...args: any[]): any;
693
+ detectAndDecodeMulti(...args: any[]): any;
694
+ detectMulti(...args: any[]): any;
695
+ /** True once delete() has been called. */
696
+ isDeleted(...args: any[]): any;
697
+ }
698
+
699
+ /** Methods available on a cv.HOGDescriptor instance (generated; arguments and results are typed any). */
700
+ export interface HOGDescriptorInstance {
701
+ L2HysThreshold(...args: any[]): any;
702
+ blockSize(...args: any[]): any;
703
+ blockStride(...args: any[]): any;
704
+ cellSize(...args: any[]): any;
705
+ /** Frees the backing native object; the instance must not be used afterwards. */
706
+ delete(...args: any[]): any;
707
+ /** Schedules deletion of the native object for when the emscripten runtime next processes deferred work (deferred alternative to delete()). */
708
+ deleteLater(...args: any[]): any;
709
+ derivAperture(...args: any[]): any;
710
+ detectMultiScale(...args: any[]): any;
711
+ gammaCorrection(...args: any[]): any;
712
+ histogramNormType(...args: any[]): any;
713
+ /** True once delete() has been called. */
714
+ isDeleted(...args: any[]): any;
715
+ load(...args: any[]): any;
716
+ nbins(...args: any[]): any;
717
+ nlevels(...args: any[]): any;
718
+ setSVMDetector(...args: any[]): any;
719
+ signedGradient(...args: any[]): any;
720
+ svmDetector(...args: any[]): any;
721
+ winSigma(...args: any[]): any;
722
+ winSize(...args: any[]): any;
723
+ }
724
+
725
+ /** Methods available on a cv.KAZE instance (generated; arguments and results are typed any). */
726
+ export interface KAZEInstance {
727
+ /** Frees the backing native object; the instance must not be used afterwards. */
728
+ delete(...args: any[]): any;
729
+ /** Schedules deletion of the native object for when the emscripten runtime next processes deferred work (deferred alternative to delete()). */
730
+ deleteLater(...args: any[]): any;
731
+ getDefaultName(...args: any[]): any;
732
+ getDiffusivity(...args: any[]): any;
733
+ getExtended(...args: any[]): any;
734
+ getNOctaveLayers(...args: any[]): any;
735
+ getNOctaves(...args: any[]): any;
736
+ getThreshold(...args: any[]): any;
737
+ getUpright(...args: any[]): any;
738
+ /** True once delete() has been called. */
739
+ isDeleted(...args: any[]): any;
740
+ setDiffusivity(...args: any[]): any;
741
+ setExtended(...args: any[]): any;
742
+ setNOctaveLayers(...args: any[]): any;
743
+ setNOctaves(...args: any[]): any;
744
+ setThreshold(...args: any[]): any;
745
+ setUpright(...args: any[]): any;
746
+ }
747
+
748
+ /** Methods available on a cv.MSER instance (generated; arguments and results are typed any). */
749
+ export interface MSERInstance {
750
+ /** Frees the backing native object; the instance must not be used afterwards. */
751
+ delete(...args: any[]): any;
752
+ /** Schedules deletion of the native object for when the emscripten runtime next processes deferred work (deferred alternative to delete()). */
753
+ deleteLater(...args: any[]): any;
754
+ detectRegions(...args: any[]): any;
755
+ getDefaultName(...args: any[]): any;
756
+ getDelta(...args: any[]): any;
757
+ getMaxArea(...args: any[]): any;
758
+ getMinArea(...args: any[]): any;
759
+ getPass2Only(...args: any[]): any;
760
+ /** True once delete() has been called. */
761
+ isDeleted(...args: any[]): any;
762
+ setDelta(...args: any[]): any;
763
+ setMaxArea(...args: any[]): any;
764
+ setMinArea(...args: any[]): any;
765
+ setPass2Only(...args: any[]): any;
766
+ }
767
+
768
+ /** Methods available on a cv.MergeDebevec instance (generated; arguments and results are typed any). */
769
+ export interface MergeDebevecInstance {
770
+ /** Frees the backing native object; the instance must not be used afterwards. */
771
+ delete(...args: any[]): any;
772
+ /** Schedules deletion of the native object for when the emscripten runtime next processes deferred work (deferred alternative to delete()). */
773
+ deleteLater(...args: any[]): any;
774
+ /** True once delete() has been called. */
775
+ isDeleted(...args: any[]): any;
776
+ process(...args: any[]): any;
777
+ process1(...args: any[]): any;
778
+ }
779
+
780
+ /** Methods available on a cv.MergeExposures instance (generated; arguments and results are typed any). */
781
+ export interface MergeExposuresInstance {
782
+ /** Frees the backing native object; the instance must not be used afterwards. */
783
+ delete(...args: any[]): any;
784
+ /** Schedules deletion of the native object for when the emscripten runtime next processes deferred work (deferred alternative to delete()). */
785
+ deleteLater(...args: any[]): any;
786
+ /** True once delete() has been called. */
787
+ isDeleted(...args: any[]): any;
788
+ process(...args: any[]): any;
789
+ }
790
+
791
+ /** Methods available on a cv.MergeMertens instance (generated; arguments and results are typed any). */
792
+ export interface MergeMertensInstance {
793
+ /** Frees the backing native object; the instance must not be used afterwards. */
794
+ delete(...args: any[]): any;
795
+ /** Schedules deletion of the native object for when the emscripten runtime next processes deferred work (deferred alternative to delete()). */
796
+ deleteLater(...args: any[]): any;
797
+ getContrastWeight(...args: any[]): any;
798
+ getExposureWeight(...args: any[]): any;
799
+ getSaturationWeight(...args: any[]): any;
800
+ /** True once delete() has been called. */
801
+ isDeleted(...args: any[]): any;
802
+ process(...args: any[]): any;
803
+ process1(...args: any[]): any;
804
+ setContrastWeight(...args: any[]): any;
805
+ setExposureWeight(...args: any[]): any;
806
+ setSaturationWeight(...args: any[]): any;
807
+ }
808
+
809
+ /** Methods available on a cv.MergeRobertson instance (generated; arguments and results are typed any). */
810
+ export interface MergeRobertsonInstance {
811
+ /** Frees the backing native object; the instance must not be used afterwards. */
812
+ delete(...args: any[]): any;
813
+ /** Schedules deletion of the native object for when the emscripten runtime next processes deferred work (deferred alternative to delete()). */
814
+ deleteLater(...args: any[]): any;
815
+ /** True once delete() has been called. */
816
+ isDeleted(...args: any[]): any;
817
+ process(...args: any[]): any;
818
+ process1(...args: any[]): any;
819
+ }
820
+
821
+ /** Methods available on a cv.ORB instance (generated; arguments and results are typed any). */
822
+ export interface ORBInstance {
823
+ /** Frees the backing native object; the instance must not be used afterwards. */
824
+ delete(...args: any[]): any;
825
+ /** Schedules deletion of the native object for when the emscripten runtime next processes deferred work (deferred alternative to delete()). */
826
+ deleteLater(...args: any[]): any;
827
+ getDefaultName(...args: any[]): any;
828
+ getFastThreshold(...args: any[]): any;
829
+ /** True once delete() has been called. */
830
+ isDeleted(...args: any[]): any;
831
+ setEdgeThreshold(...args: any[]): any;
832
+ setFastThreshold(...args: any[]): any;
833
+ setFirstLevel(...args: any[]): any;
834
+ setMaxFeatures(...args: any[]): any;
835
+ setNLevels(...args: any[]): any;
836
+ setPatchSize(...args: any[]): any;
837
+ setScaleFactor(...args: any[]): any;
838
+ setScoreType(...args: any[]): any;
839
+ setWTA_K(...args: any[]): any;
840
+ }
841
+
842
+ /** Methods available on a cv.QRCodeDetector instance (generated; arguments and results are typed any). */
843
+ export interface QRCodeDetectorInstance {
844
+ decodeCurved(...args: any[]): any;
845
+ /** Frees the backing native object; the instance must not be used afterwards. */
846
+ delete(...args: any[]): any;
847
+ /** Schedules deletion of the native object for when the emscripten runtime next processes deferred work (deferred alternative to delete()). */
848
+ deleteLater(...args: any[]): any;
849
+ detectAndDecodeCurved(...args: any[]): any;
850
+ /** True once delete() has been called. */
851
+ isDeleted(...args: any[]): any;
852
+ setEpsX(...args: any[]): any;
853
+ setEpsY(...args: any[]): any;
854
+ }
855
+
856
+ /** Methods available on a cv.QRCodeDetectorAruco instance (generated; arguments and results are typed any). */
857
+ export interface QRCodeDetectorArucoInstance {
858
+ /** Frees the backing native object; the instance must not be used afterwards. */
859
+ delete(...args: any[]): any;
860
+ /** Schedules deletion of the native object for when the emscripten runtime next processes deferred work (deferred alternative to delete()). */
861
+ deleteLater(...args: any[]): any;
862
+ /** True once delete() has been called. */
863
+ isDeleted(...args: any[]): any;
864
+ setArucoParameters(...args: any[]): any;
865
+ setDetectorParameters(...args: any[]): any;
866
+ }
867
+
868
+ /** Methods available on a cv.QRCodeDetectorAruco_Params instance (generated; arguments and results are typed any). */
869
+ export interface QRCodeDetectorAruco_ParamsInstance {
870
+ /** Frees the backing native object; the instance must not be used afterwards. */
871
+ delete(...args: any[]): any;
872
+ /** Schedules deletion of the native object for when the emscripten runtime next processes deferred work (deferred alternative to delete()). */
873
+ deleteLater(...args: any[]): any;
874
+ /** True once delete() has been called. */
875
+ isDeleted(...args: any[]): any;
876
+ maxColorsMismatch(...args: any[]): any;
877
+ maxModuleSizeMismatch(...args: any[]): any;
878
+ maxPenalties(...args: any[]): any;
879
+ maxRotation(...args: any[]): any;
880
+ maxTimingPatternMismatch(...args: any[]): any;
881
+ minModuleSizeInPyramid(...args: any[]): any;
882
+ scaleTimingPatternScore(...args: any[]): any;
883
+ }
884
+
885
+ /** Methods available on a cv.SimpleBlobDetector instance (generated; arguments and results are typed any). */
886
+ export interface SimpleBlobDetectorInstance {
887
+ /** Frees the backing native object; the instance must not be used afterwards. */
888
+ delete(...args: any[]): any;
889
+ /** Schedules deletion of the native object for when the emscripten runtime next processes deferred work (deferred alternative to delete()). */
890
+ deleteLater(...args: any[]): any;
891
+ getDefaultName(...args: any[]): any;
892
+ getParams(...args: any[]): any;
893
+ /** True once delete() has been called. */
894
+ isDeleted(...args: any[]): any;
895
+ setParams(...args: any[]): any;
896
+ }
897
+
898
+ /** Methods available on a cv.SimpleBlobDetector_Params instance (generated; arguments and results are typed any). */
899
+ export interface SimpleBlobDetector_ParamsInstance {
900
+ blobColor(...args: any[]): any;
901
+ collectContours(...args: any[]): any;
902
+ /** Frees the backing native object; the instance must not be used afterwards. */
903
+ delete(...args: any[]): any;
904
+ /** Schedules deletion of the native object for when the emscripten runtime next processes deferred work (deferred alternative to delete()). */
905
+ deleteLater(...args: any[]): any;
906
+ filterByArea(...args: any[]): any;
907
+ filterByCircularity(...args: any[]): any;
908
+ filterByColor(...args: any[]): any;
909
+ filterByConvexity(...args: any[]): any;
910
+ filterByInertia(...args: any[]): any;
911
+ /** True once delete() has been called. */
912
+ isDeleted(...args: any[]): any;
913
+ maxArea(...args: any[]): any;
914
+ maxCircularity(...args: any[]): any;
915
+ maxConvexity(...args: any[]): any;
916
+ maxInertiaRatio(...args: any[]): any;
917
+ maxThreshold(...args: any[]): any;
918
+ minArea(...args: any[]): any;
919
+ minCircularity(...args: any[]): any;
920
+ minConvexity(...args: any[]): any;
921
+ minDistBetweenBlobs(...args: any[]): any;
922
+ minInertiaRatio(...args: any[]): any;
923
+ minRepeatability(...args: any[]): any;
924
+ minThreshold(...args: any[]): any;
925
+ thresholdStep(...args: any[]): any;
926
+ }
927
+
928
+ /** Methods available on a cv.Tonemap instance (generated; arguments and results are typed any). */
929
+ export interface TonemapInstance {
930
+ /** Frees the backing native object; the instance must not be used afterwards. */
931
+ delete(...args: any[]): any;
932
+ /** Schedules deletion of the native object for when the emscripten runtime next processes deferred work (deferred alternative to delete()). */
933
+ deleteLater(...args: any[]): any;
934
+ getGamma(...args: any[]): any;
935
+ /** True once delete() has been called. */
936
+ isDeleted(...args: any[]): any;
937
+ process(...args: any[]): any;
938
+ setGamma(...args: any[]): any;
939
+ }
940
+
941
+ /** Methods available on a cv.TonemapDrago instance (generated; arguments and results are typed any). */
942
+ export interface TonemapDragoInstance {
943
+ /** Frees the backing native object; the instance must not be used afterwards. */
944
+ delete(...args: any[]): any;
945
+ /** Schedules deletion of the native object for when the emscripten runtime next processes deferred work (deferred alternative to delete()). */
946
+ deleteLater(...args: any[]): any;
947
+ getBias(...args: any[]): any;
948
+ getSaturation(...args: any[]): any;
949
+ /** True once delete() has been called. */
950
+ isDeleted(...args: any[]): any;
951
+ setBias(...args: any[]): any;
952
+ setSaturation(...args: any[]): any;
953
+ }
954
+
955
+ /** Methods available on a cv.TonemapMantiuk instance (generated; arguments and results are typed any). */
956
+ export interface TonemapMantiukInstance {
957
+ /** Frees the backing native object; the instance must not be used afterwards. */
958
+ delete(...args: any[]): any;
959
+ /** Schedules deletion of the native object for when the emscripten runtime next processes deferred work (deferred alternative to delete()). */
960
+ deleteLater(...args: any[]): any;
961
+ getSaturation(...args: any[]): any;
962
+ getScale(...args: any[]): any;
963
+ /** True once delete() has been called. */
964
+ isDeleted(...args: any[]): any;
965
+ setSaturation(...args: any[]): any;
966
+ setScale(...args: any[]): any;
967
+ }
968
+
969
+ /** Methods available on a cv.TonemapReinhard instance (generated; arguments and results are typed any). */
970
+ export interface TonemapReinhardInstance {
971
+ /** Frees the backing native object; the instance must not be used afterwards. */
972
+ delete(...args: any[]): any;
973
+ /** Schedules deletion of the native object for when the emscripten runtime next processes deferred work (deferred alternative to delete()). */
974
+ deleteLater(...args: any[]): any;
975
+ getColorAdaptation(...args: any[]): any;
976
+ getIntensity(...args: any[]): any;
977
+ getLightAdaptation(...args: any[]): any;
978
+ /** True once delete() has been called. */
979
+ isDeleted(...args: any[]): any;
980
+ setColorAdaptation(...args: any[]): any;
981
+ setIntensity(...args: any[]): any;
982
+ setLightAdaptation(...args: any[]): any;
983
+ }
984
+
985
+ /** Methods available on a cv.TrackerMIL instance (generated; arguments and results are typed any). */
986
+ export interface TrackerMILInstance {
987
+ /** Frees the backing native object; the instance must not be used afterwards. */
988
+ delete(...args: any[]): any;
989
+ /** Schedules deletion of the native object for when the emscripten runtime next processes deferred work (deferred alternative to delete()). */
990
+ deleteLater(...args: any[]): any;
991
+ /** True once delete() has been called. */
992
+ isDeleted(...args: any[]): any;
993
+ }
994
+
995
+ /** Methods available on a cv.TrackerMIL_Params instance (generated; arguments and results are typed any). */
996
+ export interface TrackerMIL_ParamsInstance {
997
+ /** Frees the backing native object; the instance must not be used afterwards. */
998
+ delete(...args: any[]): any;
999
+ /** Schedules deletion of the native object for when the emscripten runtime next processes deferred work (deferred alternative to delete()). */
1000
+ deleteLater(...args: any[]): any;
1001
+ featureSetNumFeatures(...args: any[]): any;
1002
+ /** True once delete() has been called. */
1003
+ isDeleted(...args: any[]): any;
1004
+ samplerInitInRadius(...args: any[]): any;
1005
+ samplerInitMaxNegNum(...args: any[]): any;
1006
+ samplerSearchWinSize(...args: any[]): any;
1007
+ samplerTrackInRadius(...args: any[]): any;
1008
+ samplerTrackMaxNegNum(...args: any[]): any;
1009
+ samplerTrackMaxPosNum(...args: any[]): any;
1010
+ }
1011
+
1012
+ /** Methods available on a cv.aruco_ArucoDetector instance (generated; arguments and results are typed any). */
1013
+ export interface aruco_ArucoDetectorInstance {
1014
+ /** Frees the backing native object; the instance must not be used afterwards. */
1015
+ delete(...args: any[]): any;
1016
+ /** Schedules deletion of the native object for when the emscripten runtime next processes deferred work (deferred alternative to delete()). */
1017
+ deleteLater(...args: any[]): any;
1018
+ detectMarkers(...args: any[]): any;
1019
+ /** True once delete() has been called. */
1020
+ isDeleted(...args: any[]): any;
1021
+ refineDetectedMarkers(...args: any[]): any;
1022
+ setDetectorParameters(...args: any[]): any;
1023
+ setDictionary(...args: any[]): any;
1024
+ setRefineParameters(...args: any[]): any;
1025
+ }
1026
+
1027
+ /** Methods available on a cv.aruco_Board instance (generated; arguments and results are typed any). */
1028
+ export interface aruco_BoardInstance {
1029
+ /** Frees the backing native object; the instance must not be used afterwards. */
1030
+ delete(...args: any[]): any;
1031
+ /** Schedules deletion of the native object for when the emscripten runtime next processes deferred work (deferred alternative to delete()). */
1032
+ deleteLater(...args: any[]): any;
1033
+ generateImage(...args: any[]): any;
1034
+ /** True once delete() has been called. */
1035
+ isDeleted(...args: any[]): any;
1036
+ matchImagePoints(...args: any[]): any;
1037
+ }
1038
+
1039
+ /** Methods available on a cv.aruco_CharucoBoard instance (generated; arguments and results are typed any). */
1040
+ export interface aruco_CharucoBoardInstance {
1041
+ checkCharucoCornersCollinear(...args: any[]): any;
1042
+ /** Frees the backing native object; the instance must not be used afterwards. */
1043
+ delete(...args: any[]): any;
1044
+ /** Schedules deletion of the native object for when the emscripten runtime next processes deferred work (deferred alternative to delete()). */
1045
+ deleteLater(...args: any[]): any;
1046
+ getChessboardCorners(...args: any[]): any;
1047
+ getLegacyPattern(...args: any[]): any;
1048
+ /** True once delete() has been called. */
1049
+ isDeleted(...args: any[]): any;
1050
+ setLegacyPattern(...args: any[]): any;
1051
+ }
1052
+
1053
+ /** Methods available on a cv.aruco_CharucoDetector instance (generated; arguments and results are typed any). */
1054
+ export interface aruco_CharucoDetectorInstance {
1055
+ /** Frees the backing native object; the instance must not be used afterwards. */
1056
+ delete(...args: any[]): any;
1057
+ /** Schedules deletion of the native object for when the emscripten runtime next processes deferred work (deferred alternative to delete()). */
1058
+ deleteLater(...args: any[]): any;
1059
+ detectBoard(...args: any[]): any;
1060
+ detectDiamonds(...args: any[]): any;
1061
+ /** True once delete() has been called. */
1062
+ isDeleted(...args: any[]): any;
1063
+ setBoard(...args: any[]): any;
1064
+ setCharucoParameters(...args: any[]): any;
1065
+ setDetectorParameters(...args: any[]): any;
1066
+ setRefineParameters(...args: any[]): any;
1067
+ }
1068
+
1069
+ /** Methods available on a cv.aruco_CharucoParameters instance (generated; arguments and results are typed any). */
1070
+ export interface aruco_CharucoParametersInstance {
1071
+ cameraMatrix(...args: any[]): any;
1072
+ /** Frees the backing native object; the instance must not be used afterwards. */
1073
+ delete(...args: any[]): any;
1074
+ /** Schedules deletion of the native object for when the emscripten runtime next processes deferred work (deferred alternative to delete()). */
1075
+ deleteLater(...args: any[]): any;
1076
+ distCoeffs(...args: any[]): any;
1077
+ /** True once delete() has been called. */
1078
+ isDeleted(...args: any[]): any;
1079
+ minMarkers(...args: any[]): any;
1080
+ tryRefineMarkers(...args: any[]): any;
1081
+ }
1082
+
1083
+ /** Methods available on a cv.aruco_DetectorParameters instance (generated; arguments and results are typed any). */
1084
+ export interface aruco_DetectorParametersInstance {
1085
+ adaptiveThreshConstant(...args: any[]): any;
1086
+ adaptiveThreshWinSizeMax(...args: any[]): any;
1087
+ adaptiveThreshWinSizeMin(...args: any[]): any;
1088
+ adaptiveThreshWinSizeStep(...args: any[]): any;
1089
+ aprilTagCriticalRad(...args: any[]): any;
1090
+ aprilTagDeglitch(...args: any[]): any;
1091
+ aprilTagMaxLineFitMse(...args: any[]): any;
1092
+ aprilTagMaxNmaxima(...args: any[]): any;
1093
+ aprilTagMinClusterPixels(...args: any[]): any;
1094
+ aprilTagMinWhiteBlackDiff(...args: any[]): any;
1095
+ aprilTagQuadDecimate(...args: any[]): any;
1096
+ aprilTagQuadSigma(...args: any[]): any;
1097
+ cornerRefinementMaxIterations(...args: any[]): any;
1098
+ cornerRefinementMethod(...args: any[]): any;
1099
+ cornerRefinementMinAccuracy(...args: any[]): any;
1100
+ cornerRefinementWinSize(...args: any[]): any;
1101
+ /** Frees the backing native object; the instance must not be used afterwards. */
1102
+ delete(...args: any[]): any;
1103
+ /** Schedules deletion of the native object for when the emscripten runtime next processes deferred work (deferred alternative to delete()). */
1104
+ deleteLater(...args: any[]): any;
1105
+ detectInvertedMarker(...args: any[]): any;
1106
+ errorCorrectionRate(...args: any[]): any;
1107
+ /** True once delete() has been called. */
1108
+ isDeleted(...args: any[]): any;
1109
+ markerBorderBits(...args: any[]): any;
1110
+ maxErroneousBitsInBorderRate(...args: any[]): any;
1111
+ maxMarkerPerimeterRate(...args: any[]): any;
1112
+ minCornerDistanceRate(...args: any[]): any;
1113
+ minDistanceToBorder(...args: any[]): any;
1114
+ minGroupDistance(...args: any[]): any;
1115
+ minMarkerDistanceRate(...args: any[]): any;
1116
+ minMarkerLengthRatioOriginalImg(...args: any[]): any;
1117
+ minMarkerPerimeterRate(...args: any[]): any;
1118
+ minOtsuStdDev(...args: any[]): any;
1119
+ minSideLengthCanonicalImg(...args: any[]): any;
1120
+ perspectiveRemoveIgnoredMarginPerCell(...args: any[]): any;
1121
+ perspectiveRemovePixelPerCell(...args: any[]): any;
1122
+ polygonalApproxAccuracyRate(...args: any[]): any;
1123
+ relativeCornerRefinmentWinSize(...args: any[]): any;
1124
+ useAruco3Detection(...args: any[]): any;
1125
+ }
1126
+
1127
+ /** Methods available on a cv.aruco_Dictionary instance (generated; arguments and results are typed any). */
1128
+ export interface aruco_DictionaryInstance {
1129
+ bytesList(...args: any[]): any;
1130
+ /** Frees the backing native object; the instance must not be used afterwards. */
1131
+ delete(...args: any[]): any;
1132
+ /** Schedules deletion of the native object for when the emscripten runtime next processes deferred work (deferred alternative to delete()). */
1133
+ deleteLater(...args: any[]): any;
1134
+ generateImageMarker(...args: any[]): any;
1135
+ getDistanceToId(...args: any[]): any;
1136
+ /** True once delete() has been called. */
1137
+ isDeleted(...args: any[]): any;
1138
+ markerSize(...args: any[]): any;
1139
+ maxCorrectionBits(...args: any[]): any;
1140
+ }
1141
+
1142
+ /** Methods available on a cv.aruco_GridBoard instance (generated; arguments and results are typed any). */
1143
+ export interface aruco_GridBoardInstance {
1144
+ /** Frees the backing native object; the instance must not be used afterwards. */
1145
+ delete(...args: any[]): any;
1146
+ /** Schedules deletion of the native object for when the emscripten runtime next processes deferred work (deferred alternative to delete()). */
1147
+ deleteLater(...args: any[]): any;
1148
+ getGridSize(...args: any[]): any;
1149
+ getMarkerLength(...args: any[]): any;
1150
+ getMarkerSeparation(...args: any[]): any;
1151
+ /** True once delete() has been called. */
1152
+ isDeleted(...args: any[]): any;
1153
+ }
1154
+
1155
+ /** Methods available on a cv.aruco_RefineParameters instance (generated; arguments and results are typed any). */
1156
+ export interface aruco_RefineParametersInstance {
1157
+ checkAllOrders(...args: any[]): any;
1158
+ /** Frees the backing native object; the instance must not be used afterwards. */
1159
+ delete(...args: any[]): any;
1160
+ /** Schedules deletion of the native object for when the emscripten runtime next processes deferred work (deferred alternative to delete()). */
1161
+ deleteLater(...args: any[]): any;
1162
+ errorCorrectionRate(...args: any[]): any;
1163
+ /** True once delete() has been called. */
1164
+ isDeleted(...args: any[]): any;
1165
+ minRepDistance(...args: any[]): any;
1166
+ }
1167
+
1168
+ /** Methods available on a cv.barcode_BarcodeDetector instance (generated; arguments and results are typed any). */
1169
+ export interface barcode_BarcodeDetectorInstance {
1170
+ decodeWithType(...args: any[]): any;
1171
+ /** Frees the backing native object; the instance must not be used afterwards. */
1172
+ delete(...args: any[]): any;
1173
+ /** Schedules deletion of the native object for when the emscripten runtime next processes deferred work (deferred alternative to delete()). */
1174
+ deleteLater(...args: any[]): any;
1175
+ detectAndDecodeWithType(...args: any[]): any;
1176
+ /** True once delete() has been called. */
1177
+ isDeleted(...args: any[]): any;
1178
+ }
1179
+
1180
+ /** Methods available on a cv.dnn_Net instance (generated; arguments and results are typed any). */
1181
+ export interface dnn_NetInstance {
1182
+ /** Frees the backing native object; the instance must not be used afterwards. */
1183
+ delete(...args: any[]): any;
1184
+ /** Schedules deletion of the native object for when the emscripten runtime next processes deferred work (deferred alternative to delete()). */
1185
+ deleteLater(...args: any[]): any;
1186
+ forward(...args: any[]): any;
1187
+ forward1(...args: any[]): any;
1188
+ forward2(...args: any[]): any;
1189
+ getUnconnectedOutLayersNames(...args: any[]): any;
1190
+ /** True once delete() has been called. */
1191
+ isDeleted(...args: any[]): any;
1192
+ setInput(...args: any[]): any;
1193
+ setPreferableBackend(...args: any[]): any;
1194
+ }
1195
+
1196
+ /** Methods available on a cv.segmentation_IntelligentScissorsMB instance (generated; arguments and results are typed any). */
1197
+ export interface segmentation_IntelligentScissorsMBInstance {
1198
+ applyImage(...args: any[]): any;
1199
+ applyImageFeatures(...args: any[]): any;
1200
+ buildMap(...args: any[]): any;
1201
+ /** Frees the backing native object; the instance must not be used afterwards. */
1202
+ delete(...args: any[]): any;
1203
+ /** Schedules deletion of the native object for when the emscripten runtime next processes deferred work (deferred alternative to delete()). */
1204
+ deleteLater(...args: any[]): any;
1205
+ getContour(...args: any[]): any;
1206
+ /** True once delete() has been called. */
1207
+ isDeleted(...args: any[]): any;
1208
+ setEdgeFeatureCannyParameters(...args: any[]): any;
1209
+ setEdgeFeatureZeroCrossingParameters(...args: any[]): any;
1210
+ setGradientMagnitudeMaxLimit(...args: any[]): any;
1211
+ setWeights(...args: any[]): any;
1212
+ }
1213
+
1214
+ export interface CvModule {
1215
+ // ---- Constants ----
1216
+ readonly __UMAT_USAGE_FLAGS_32BIT: number;
1217
+ readonly _InputArray_CUDA_GPU_MAT: number;
1218
+ readonly _InputArray_CUDA_HOST_MEM: number;
1219
+ readonly _InputArray_EXPR: number;
1220
+ readonly _InputArray_FIXED_SIZE: number;
1221
+ readonly _InputArray_FIXED_TYPE: number;
1222
+ readonly _InputArray_KIND_MASK: number;
1223
+ readonly _InputArray_KIND_SHIFT: number;
1224
+ readonly _InputArray_MAT: number;
1225
+ readonly _InputArray_MATX: number;
1226
+ readonly _InputArray_NONE: number;
1227
+ readonly _InputArray_OPENGL_BUFFER: number;
1228
+ readonly _InputArray_STD_ARRAY: number;
1229
+ readonly _InputArray_STD_ARRAY_MAT: number;
1230
+ readonly _InputArray_STD_BOOL_VECTOR: number;
1231
+ readonly _InputArray_STD_VECTOR: number;
1232
+ readonly _InputArray_STD_VECTOR_CUDA_GPU_MAT: number;
1233
+ readonly _InputArray_STD_VECTOR_MAT: number;
1234
+ readonly _InputArray_STD_VECTOR_UMAT: number;
1235
+ readonly _InputArray_STD_VECTOR_VECTOR: number;
1236
+ readonly _InputArray_UMAT: number;
1237
+ readonly _OutputArray_DEPTH_MASK_16F: number;
1238
+ readonly _OutputArray_DEPTH_MASK_16S: number;
1239
+ readonly _OutputArray_DEPTH_MASK_16U: number;
1240
+ readonly _OutputArray_DEPTH_MASK_32F: number;
1241
+ readonly _OutputArray_DEPTH_MASK_32S: number;
1242
+ readonly _OutputArray_DEPTH_MASK_64F: number;
1243
+ readonly _OutputArray_DEPTH_MASK_8S: number;
1244
+ readonly _OutputArray_DEPTH_MASK_8U: number;
1245
+ readonly _OutputArray_DEPTH_MASK_ALL: number;
1246
+ readonly _OutputArray_DEPTH_MASK_ALL_16F: number;
1247
+ readonly _OutputArray_DEPTH_MASK_ALL_BUT_8S: number;
1248
+ readonly _OutputArray_DEPTH_MASK_FLT: number;
407
1249
  readonly ACCESS_FAST: number;
408
1250
  readonly ACCESS_MASK: number;
409
1251
  readonly ACCESS_READ: number;
@@ -411,22 +1253,38 @@ export interface CvModule {
411
1253
  readonly ACCESS_WRITE: number;
412
1254
  readonly ADAPTIVE_THRESH_GAUSSIAN_C: number;
413
1255
  readonly ADAPTIVE_THRESH_MEAN_C: number;
414
- readonly AKAZE_DESCRIPTOR_KAZE: number;
415
- readonly AKAZE_DESCRIPTOR_KAZE_UPRIGHT: number;
416
- readonly AKAZE_DESCRIPTOR_MLDB: number;
417
- readonly AKAZE_DESCRIPTOR_MLDB_UPRIGHT: number;
418
1256
  readonly AgastFeatureDetector_AGAST_5_8: number;
419
1257
  readonly AgastFeatureDetector_AGAST_7_12d: number;
420
1258
  readonly AgastFeatureDetector_AGAST_7_12s: number;
421
1259
  readonly AgastFeatureDetector_NONMAX_SUPPRESSION: number;
422
1260
  readonly AgastFeatureDetector_OAST_9_16: number;
423
1261
  readonly AgastFeatureDetector_THRESHOLD: number;
1262
+ readonly AKAZE_DESCRIPTOR_KAZE: number;
1263
+ readonly AKAZE_DESCRIPTOR_KAZE_UPRIGHT: number;
1264
+ readonly AKAZE_DESCRIPTOR_MLDB: number;
1265
+ readonly AKAZE_DESCRIPTOR_MLDB_UPRIGHT: number;
1266
+ readonly BadAlign: number;
1267
+ readonly BadAlphaChannel: number;
1268
+ readonly BadCallBack: number;
1269
+ readonly BadCOI: number;
1270
+ readonly BadDataPtr: number;
1271
+ readonly BadDepth: number;
1272
+ readonly BadImageSize: number;
1273
+ readonly BadModelOrChSeq: number;
1274
+ readonly BadNumChannel1U: number;
1275
+ readonly BadNumChannels: number;
1276
+ readonly BadOffset: number;
1277
+ readonly BadOrder: number;
1278
+ readonly BadOrigin: number;
1279
+ readonly BadROISize: number;
1280
+ readonly BadStep: number;
1281
+ readonly BadTileSize: number;
424
1282
  readonly BORDER_CONSTANT: number;
425
1283
  readonly BORDER_DEFAULT: number;
426
1284
  readonly BORDER_ISOLATED: number;
427
1285
  readonly BORDER_REFLECT: number;
428
- readonly BORDER_REFLECT101: number;
429
1286
  readonly BORDER_REFLECT_101: number;
1287
+ readonly BORDER_REFLECT101: number;
430
1288
  readonly BORDER_REPLICATE: number;
431
1289
  readonly BORDER_TRANSPARENT: number;
432
1290
  readonly BORDER_WRAP: number;
@@ -442,6 +1300,7 @@ export interface CvModule {
442
1300
  readonly CALIB_CB_NORMALIZE_IMAGE: number;
443
1301
  readonly CALIB_CB_PLAIN: number;
444
1302
  readonly CALIB_CB_SYMMETRIC_GRID: number;
1303
+ readonly CALIB_CHECK_COND: number;
445
1304
  readonly CALIB_FIX_ASPECT_RATIO: number;
446
1305
  readonly CALIB_FIX_FOCAL_LENGTH: number;
447
1306
  readonly CALIB_FIX_INTRINSIC: number;
@@ -453,6 +1312,7 @@ export interface CvModule {
453
1312
  readonly CALIB_FIX_K6: number;
454
1313
  readonly CALIB_FIX_PRINCIPAL_POINT: number;
455
1314
  readonly CALIB_FIX_S1_S2_S3_S4: number;
1315
+ readonly CALIB_FIX_SKEW: number;
456
1316
  readonly CALIB_FIX_TANGENT_DIST: number;
457
1317
  readonly CALIB_FIX_TAUX_TAUY: number;
458
1318
  readonly CALIB_HAND_EYE_ANDREFF: number;
@@ -462,6 +1322,7 @@ export interface CvModule {
462
1322
  readonly CALIB_HAND_EYE_TSAI: number;
463
1323
  readonly CALIB_NINTRINSIC: number;
464
1324
  readonly CALIB_RATIONAL_MODEL: number;
1325
+ readonly CALIB_RECOMPUTE_EXTRINSIC: number;
465
1326
  readonly CALIB_ROBOT_WORLD_HAND_EYE_LI: number;
466
1327
  readonly CALIB_ROBOT_WORLD_HAND_EYE_SHAH: number;
467
1328
  readonly CALIB_SAME_FOCAL_LENGTH: number;
@@ -477,6 +1338,12 @@ export interface CvModule {
477
1338
  readonly CASCADE_DO_ROUGH_SEARCH: number;
478
1339
  readonly CASCADE_FIND_BIGGEST_OBJECT: number;
479
1340
  readonly CASCADE_SCALE_IMAGE: number;
1341
+ readonly CC_STAT_AREA: number;
1342
+ readonly CC_STAT_HEIGHT: number;
1343
+ readonly CC_STAT_LEFT: number;
1344
+ readonly CC_STAT_MAX: number;
1345
+ readonly CC_STAT_TOP: number;
1346
+ readonly CC_STAT_WIDTH: number;
480
1347
  readonly CCL_BBDT: number;
481
1348
  readonly CCL_BOLELLI: number;
482
1349
  readonly CCL_DEFAULT: number;
@@ -484,167 +1351,141 @@ export interface CvModule {
484
1351
  readonly CCL_SAUF: number;
485
1352
  readonly CCL_SPAGHETTI: number;
486
1353
  readonly CCL_WU: number;
487
- readonly CC_STAT_AREA: number;
488
- readonly CC_STAT_HEIGHT: number;
489
- readonly CC_STAT_LEFT: number;
490
- readonly CC_STAT_MAX: number;
491
- readonly CC_STAT_TOP: number;
492
- readonly CC_STAT_WIDTH: number;
493
1354
  readonly CHAIN_APPROX_NONE: number;
494
1355
  readonly CHAIN_APPROX_SIMPLE: number;
495
1356
  readonly CHAIN_APPROX_TC89_KCOS: number;
496
1357
  readonly CHAIN_APPROX_TC89_L1: number;
1358
+ readonly CirclesGridFinderParameters_ASYMMETRIC_GRID: number;
1359
+ readonly CirclesGridFinderParameters_SYMMETRIC_GRID: number;
497
1360
  readonly CMP_EQ: number;
498
1361
  readonly CMP_GE: number;
499
1362
  readonly CMP_GT: number;
500
1363
  readonly CMP_LE: number;
501
1364
  readonly CMP_LT: number;
502
1365
  readonly CMP_NE: number;
503
- readonly COLORMAP_AUTUMN: number;
504
- readonly COLORMAP_BONE: number;
505
- readonly COLORMAP_CIVIDIS: number;
506
- readonly COLORMAP_COOL: number;
507
- readonly COLORMAP_DEEPGREEN: number;
508
- readonly COLORMAP_HOT: number;
509
- readonly COLORMAP_HSV: number;
510
- readonly COLORMAP_INFERNO: number;
511
- readonly COLORMAP_JET: number;
512
- readonly COLORMAP_MAGMA: number;
513
- readonly COLORMAP_OCEAN: number;
514
- readonly COLORMAP_PARULA: number;
515
- readonly COLORMAP_PINK: number;
516
- readonly COLORMAP_PLASMA: number;
517
- readonly COLORMAP_RAINBOW: number;
518
- readonly COLORMAP_SPRING: number;
519
- readonly COLORMAP_SUMMER: number;
520
- readonly COLORMAP_TURBO: number;
521
- readonly COLORMAP_TWILIGHT: number;
522
- readonly COLORMAP_TWILIGHT_SHIFTED: number;
523
- readonly COLORMAP_VIRIDIS: number;
524
- readonly COLORMAP_WINTER: number;
525
- readonly COLOR_BGR2BGR555: number;
526
- readonly COLOR_BGR2BGR565: number;
527
- readonly COLOR_BGR2BGRA: number;
528
- readonly COLOR_BGR2GRAY: number;
529
- readonly COLOR_BGR2HLS: number;
530
- readonly COLOR_BGR2HLS_FULL: number;
531
- readonly COLOR_BGR2HSV: number;
532
- readonly COLOR_BGR2HSV_FULL: number;
533
- readonly COLOR_BGR2Lab: number;
534
- readonly COLOR_BGR2Luv: number;
535
- readonly COLOR_BGR2RGB: number;
536
- readonly COLOR_BGR2RGBA: number;
537
- readonly COLOR_BGR2XYZ: number;
538
- readonly COLOR_BGR2YCrCb: number;
539
- readonly COLOR_BGR2YUV: number;
540
- readonly COLOR_BGR2YUV_I420: number;
541
- readonly COLOR_BGR2YUV_IYUV: number;
542
- readonly COLOR_BGR2YUV_UYNV: number;
543
- readonly COLOR_BGR2YUV_UYVY: number;
544
- readonly COLOR_BGR2YUV_Y422: number;
545
- readonly COLOR_BGR2YUV_YUNV: number;
546
- readonly COLOR_BGR2YUV_YUY2: number;
547
- readonly COLOR_BGR2YUV_YUYV: number;
548
- readonly COLOR_BGR2YUV_YV12: number;
549
- readonly COLOR_BGR2YUV_YVYU: number;
550
- readonly COLOR_BGR5552BGR: number;
551
- readonly COLOR_BGR5552BGRA: number;
552
- readonly COLOR_BGR5552GRAY: number;
553
- readonly COLOR_BGR5552RGB: number;
554
- readonly COLOR_BGR5552RGBA: number;
555
- readonly COLOR_BGR5652BGR: number;
556
- readonly COLOR_BGR5652BGRA: number;
557
- readonly COLOR_BGR5652GRAY: number;
558
- readonly COLOR_BGR5652RGB: number;
559
- readonly COLOR_BGR5652RGBA: number;
560
- readonly COLOR_BGRA2BGR: number;
561
- readonly COLOR_BGRA2BGR555: number;
562
- readonly COLOR_BGRA2BGR565: number;
563
- readonly COLOR_BGRA2GRAY: number;
564
- readonly COLOR_BGRA2RGB: number;
565
- readonly COLOR_BGRA2RGBA: number;
566
- readonly COLOR_BGRA2YUV_I420: number;
567
- readonly COLOR_BGRA2YUV_IYUV: number;
568
- readonly COLOR_BGRA2YUV_UYNV: number;
569
- readonly COLOR_BGRA2YUV_UYVY: number;
570
- readonly COLOR_BGRA2YUV_Y422: number;
571
- readonly COLOR_BGRA2YUV_YUNV: number;
572
- readonly COLOR_BGRA2YUV_YUY2: number;
573
- readonly COLOR_BGRA2YUV_YUYV: number;
574
- readonly COLOR_BGRA2YUV_YV12: number;
575
- readonly COLOR_BGRA2YUV_YVYU: number;
576
1366
  readonly COLOR_BayerBG2BGR: number;
577
- readonly COLOR_BayerBG2BGRA: number;
578
1367
  readonly COLOR_BayerBG2BGR_EA: number;
579
1368
  readonly COLOR_BayerBG2BGR_VNG: number;
1369
+ readonly COLOR_BayerBG2BGRA: number;
580
1370
  readonly COLOR_BayerBG2GRAY: number;
581
1371
  readonly COLOR_BayerBG2RGB: number;
582
- readonly COLOR_BayerBG2RGBA: number;
583
1372
  readonly COLOR_BayerBG2RGB_EA: number;
584
1373
  readonly COLOR_BayerBG2RGB_VNG: number;
1374
+ readonly COLOR_BayerBG2RGBA: number;
585
1375
  readonly COLOR_BayerBGGR2BGR: number;
586
- readonly COLOR_BayerBGGR2BGRA: number;
587
1376
  readonly COLOR_BayerBGGR2BGR_EA: number;
588
1377
  readonly COLOR_BayerBGGR2BGR_VNG: number;
1378
+ readonly COLOR_BayerBGGR2BGRA: number;
589
1379
  readonly COLOR_BayerBGGR2GRAY: number;
590
1380
  readonly COLOR_BayerBGGR2RGB: number;
591
- readonly COLOR_BayerBGGR2RGBA: number;
592
1381
  readonly COLOR_BayerBGGR2RGB_EA: number;
593
1382
  readonly COLOR_BayerBGGR2RGB_VNG: number;
1383
+ readonly COLOR_BayerBGGR2RGBA: number;
594
1384
  readonly COLOR_BayerGB2BGR: number;
595
- readonly COLOR_BayerGB2BGRA: number;
596
1385
  readonly COLOR_BayerGB2BGR_EA: number;
597
1386
  readonly COLOR_BayerGB2BGR_VNG: number;
1387
+ readonly COLOR_BayerGB2BGRA: number;
598
1388
  readonly COLOR_BayerGB2GRAY: number;
599
1389
  readonly COLOR_BayerGB2RGB: number;
600
- readonly COLOR_BayerGB2RGBA: number;
601
1390
  readonly COLOR_BayerGB2RGB_EA: number;
602
1391
  readonly COLOR_BayerGB2RGB_VNG: number;
1392
+ readonly COLOR_BayerGB2RGBA: number;
603
1393
  readonly COLOR_BayerGBRG2BGR: number;
604
- readonly COLOR_BayerGBRG2BGRA: number;
605
1394
  readonly COLOR_BayerGBRG2BGR_EA: number;
606
1395
  readonly COLOR_BayerGBRG2BGR_VNG: number;
1396
+ readonly COLOR_BayerGBRG2BGRA: number;
607
1397
  readonly COLOR_BayerGBRG2GRAY: number;
608
1398
  readonly COLOR_BayerGBRG2RGB: number;
609
- readonly COLOR_BayerGBRG2RGBA: number;
610
1399
  readonly COLOR_BayerGBRG2RGB_EA: number;
611
1400
  readonly COLOR_BayerGBRG2RGB_VNG: number;
1401
+ readonly COLOR_BayerGBRG2RGBA: number;
612
1402
  readonly COLOR_BayerGR2BGR: number;
613
- readonly COLOR_BayerGR2BGRA: number;
614
1403
  readonly COLOR_BayerGR2BGR_EA: number;
615
1404
  readonly COLOR_BayerGR2BGR_VNG: number;
1405
+ readonly COLOR_BayerGR2BGRA: number;
616
1406
  readonly COLOR_BayerGR2GRAY: number;
617
1407
  readonly COLOR_BayerGR2RGB: number;
618
- readonly COLOR_BayerGR2RGBA: number;
619
1408
  readonly COLOR_BayerGR2RGB_EA: number;
620
1409
  readonly COLOR_BayerGR2RGB_VNG: number;
1410
+ readonly COLOR_BayerGR2RGBA: number;
621
1411
  readonly COLOR_BayerGRBG2BGR: number;
622
- readonly COLOR_BayerGRBG2BGRA: number;
623
1412
  readonly COLOR_BayerGRBG2BGR_EA: number;
624
1413
  readonly COLOR_BayerGRBG2BGR_VNG: number;
1414
+ readonly COLOR_BayerGRBG2BGRA: number;
625
1415
  readonly COLOR_BayerGRBG2GRAY: number;
626
1416
  readonly COLOR_BayerGRBG2RGB: number;
627
- readonly COLOR_BayerGRBG2RGBA: number;
628
1417
  readonly COLOR_BayerGRBG2RGB_EA: number;
629
1418
  readonly COLOR_BayerGRBG2RGB_VNG: number;
1419
+ readonly COLOR_BayerGRBG2RGBA: number;
630
1420
  readonly COLOR_BayerRG2BGR: number;
631
- readonly COLOR_BayerRG2BGRA: number;
632
1421
  readonly COLOR_BayerRG2BGR_EA: number;
633
1422
  readonly COLOR_BayerRG2BGR_VNG: number;
1423
+ readonly COLOR_BayerRG2BGRA: number;
634
1424
  readonly COLOR_BayerRG2GRAY: number;
635
1425
  readonly COLOR_BayerRG2RGB: number;
636
- readonly COLOR_BayerRG2RGBA: number;
637
1426
  readonly COLOR_BayerRG2RGB_EA: number;
638
1427
  readonly COLOR_BayerRG2RGB_VNG: number;
1428
+ readonly COLOR_BayerRG2RGBA: number;
639
1429
  readonly COLOR_BayerRGGB2BGR: number;
640
- readonly COLOR_BayerRGGB2BGRA: number;
641
1430
  readonly COLOR_BayerRGGB2BGR_EA: number;
642
1431
  readonly COLOR_BayerRGGB2BGR_VNG: number;
1432
+ readonly COLOR_BayerRGGB2BGRA: number;
643
1433
  readonly COLOR_BayerRGGB2GRAY: number;
644
1434
  readonly COLOR_BayerRGGB2RGB: number;
645
- readonly COLOR_BayerRGGB2RGBA: number;
646
1435
  readonly COLOR_BayerRGGB2RGB_EA: number;
647
1436
  readonly COLOR_BayerRGGB2RGB_VNG: number;
1437
+ readonly COLOR_BayerRGGB2RGBA: number;
1438
+ readonly COLOR_BGR2BGR555: number;
1439
+ readonly COLOR_BGR2BGR565: number;
1440
+ readonly COLOR_BGR2BGRA: number;
1441
+ readonly COLOR_BGR2GRAY: number;
1442
+ readonly COLOR_BGR2HLS: number;
1443
+ readonly COLOR_BGR2HLS_FULL: number;
1444
+ readonly COLOR_BGR2HSV: number;
1445
+ readonly COLOR_BGR2HSV_FULL: number;
1446
+ readonly COLOR_BGR2Lab: number;
1447
+ readonly COLOR_BGR2Luv: number;
1448
+ readonly COLOR_BGR2RGB: number;
1449
+ readonly COLOR_BGR2RGBA: number;
1450
+ readonly COLOR_BGR2XYZ: number;
1451
+ readonly COLOR_BGR2YCrCb: number;
1452
+ readonly COLOR_BGR2YUV: number;
1453
+ readonly COLOR_BGR2YUV_I420: number;
1454
+ readonly COLOR_BGR2YUV_IYUV: number;
1455
+ readonly COLOR_BGR2YUV_UYNV: number;
1456
+ readonly COLOR_BGR2YUV_UYVY: number;
1457
+ readonly COLOR_BGR2YUV_Y422: number;
1458
+ readonly COLOR_BGR2YUV_YUNV: number;
1459
+ readonly COLOR_BGR2YUV_YUY2: number;
1460
+ readonly COLOR_BGR2YUV_YUYV: number;
1461
+ readonly COLOR_BGR2YUV_YV12: number;
1462
+ readonly COLOR_BGR2YUV_YVYU: number;
1463
+ readonly COLOR_BGR5552BGR: number;
1464
+ readonly COLOR_BGR5552BGRA: number;
1465
+ readonly COLOR_BGR5552GRAY: number;
1466
+ readonly COLOR_BGR5552RGB: number;
1467
+ readonly COLOR_BGR5552RGBA: number;
1468
+ readonly COLOR_BGR5652BGR: number;
1469
+ readonly COLOR_BGR5652BGRA: number;
1470
+ readonly COLOR_BGR5652GRAY: number;
1471
+ readonly COLOR_BGR5652RGB: number;
1472
+ readonly COLOR_BGR5652RGBA: number;
1473
+ readonly COLOR_BGRA2BGR: number;
1474
+ readonly COLOR_BGRA2BGR555: number;
1475
+ readonly COLOR_BGRA2BGR565: number;
1476
+ readonly COLOR_BGRA2GRAY: number;
1477
+ readonly COLOR_BGRA2RGB: number;
1478
+ readonly COLOR_BGRA2RGBA: number;
1479
+ readonly COLOR_BGRA2YUV_I420: number;
1480
+ readonly COLOR_BGRA2YUV_IYUV: number;
1481
+ readonly COLOR_BGRA2YUV_UYNV: number;
1482
+ readonly COLOR_BGRA2YUV_UYVY: number;
1483
+ readonly COLOR_BGRA2YUV_Y422: number;
1484
+ readonly COLOR_BGRA2YUV_YUNV: number;
1485
+ readonly COLOR_BGRA2YUV_YUY2: number;
1486
+ readonly COLOR_BGRA2YUV_YUYV: number;
1487
+ readonly COLOR_BGRA2YUV_YV12: number;
1488
+ readonly COLOR_BGRA2YUV_YVYU: number;
648
1489
  readonly COLOR_COLORCVT_MAX: number;
649
1490
  readonly COLOR_GRAY2BGR: number;
650
1491
  readonly COLOR_GRAY2BGR555: number;
@@ -660,18 +1501,19 @@ export interface CvModule {
660
1501
  readonly COLOR_HSV2BGR_FULL: number;
661
1502
  readonly COLOR_HSV2RGB: number;
662
1503
  readonly COLOR_HSV2RGB_FULL: number;
663
- readonly COLOR_LBGR2Lab: number;
664
- readonly COLOR_LBGR2Luv: number;
665
- readonly COLOR_LRGB2Lab: number;
666
- readonly COLOR_LRGB2Luv: number;
667
1504
  readonly COLOR_Lab2BGR: number;
668
1505
  readonly COLOR_Lab2LBGR: number;
669
1506
  readonly COLOR_Lab2LRGB: number;
670
1507
  readonly COLOR_Lab2RGB: number;
1508
+ readonly COLOR_LBGR2Lab: number;
1509
+ readonly COLOR_LBGR2Luv: number;
1510
+ readonly COLOR_LRGB2Lab: number;
1511
+ readonly COLOR_LRGB2Luv: number;
671
1512
  readonly COLOR_Luv2BGR: number;
672
1513
  readonly COLOR_Luv2LBGR: number;
673
1514
  readonly COLOR_Luv2LRGB: number;
674
1515
  readonly COLOR_Luv2RGB: number;
1516
+ readonly COLOR_mRGBA2RGBA: number;
675
1517
  readonly COLOR_RGB2BGR: number;
676
1518
  readonly COLOR_RGB2BGR555: number;
677
1519
  readonly COLOR_RGB2BGR565: number;
@@ -702,6 +1544,7 @@ export interface CvModule {
702
1544
  readonly COLOR_RGBA2BGR565: number;
703
1545
  readonly COLOR_RGBA2BGRA: number;
704
1546
  readonly COLOR_RGBA2GRAY: number;
1547
+ readonly COLOR_RGBA2mRGBA: number;
705
1548
  readonly COLOR_RGBA2RGB: number;
706
1549
  readonly COLOR_RGBA2YUV_I420: number;
707
1550
  readonly COLOR_RGBA2YUV_IYUV: number;
@@ -713,24 +1556,11 @@ export interface CvModule {
713
1556
  readonly COLOR_RGBA2YUV_YUYV: number;
714
1557
  readonly COLOR_RGBA2YUV_YV12: number;
715
1558
  readonly COLOR_RGBA2YUV_YVYU: number;
716
- readonly COLOR_RGBA2mRGBA: number;
717
1559
  readonly COLOR_XYZ2BGR: number;
718
1560
  readonly COLOR_XYZ2RGB: number;
719
1561
  readonly COLOR_YCrCb2BGR: number;
720
1562
  readonly COLOR_YCrCb2RGB: number;
721
1563
  readonly COLOR_YUV2BGR: number;
722
- readonly COLOR_YUV2BGRA_I420: number;
723
- readonly COLOR_YUV2BGRA_IYUV: number;
724
- readonly COLOR_YUV2BGRA_NV12: number;
725
- readonly COLOR_YUV2BGRA_NV21: number;
726
- readonly COLOR_YUV2BGRA_UYNV: number;
727
- readonly COLOR_YUV2BGRA_UYVY: number;
728
- readonly COLOR_YUV2BGRA_Y422: number;
729
- readonly COLOR_YUV2BGRA_YUNV: number;
730
- readonly COLOR_YUV2BGRA_YUY2: number;
731
- readonly COLOR_YUV2BGRA_YUYV: number;
732
- readonly COLOR_YUV2BGRA_YV12: number;
733
- readonly COLOR_YUV2BGRA_YVYU: number;
734
1564
  readonly COLOR_YUV2BGR_I420: number;
735
1565
  readonly COLOR_YUV2BGR_IYUV: number;
736
1566
  readonly COLOR_YUV2BGR_NV12: number;
@@ -743,6 +1573,18 @@ export interface CvModule {
743
1573
  readonly COLOR_YUV2BGR_YUYV: number;
744
1574
  readonly COLOR_YUV2BGR_YV12: number;
745
1575
  readonly COLOR_YUV2BGR_YVYU: number;
1576
+ readonly COLOR_YUV2BGRA_I420: number;
1577
+ readonly COLOR_YUV2BGRA_IYUV: number;
1578
+ readonly COLOR_YUV2BGRA_NV12: number;
1579
+ readonly COLOR_YUV2BGRA_NV21: number;
1580
+ readonly COLOR_YUV2BGRA_UYNV: number;
1581
+ readonly COLOR_YUV2BGRA_UYVY: number;
1582
+ readonly COLOR_YUV2BGRA_Y422: number;
1583
+ readonly COLOR_YUV2BGRA_YUNV: number;
1584
+ readonly COLOR_YUV2BGRA_YUY2: number;
1585
+ readonly COLOR_YUV2BGRA_YUYV: number;
1586
+ readonly COLOR_YUV2BGRA_YV12: number;
1587
+ readonly COLOR_YUV2BGRA_YVYU: number;
746
1588
  readonly COLOR_YUV2GRAY_420: number;
747
1589
  readonly COLOR_YUV2GRAY_I420: number;
748
1590
  readonly COLOR_YUV2GRAY_IYUV: number;
@@ -757,18 +1599,6 @@ export interface CvModule {
757
1599
  readonly COLOR_YUV2GRAY_YV12: number;
758
1600
  readonly COLOR_YUV2GRAY_YVYU: number;
759
1601
  readonly COLOR_YUV2RGB: number;
760
- readonly COLOR_YUV2RGBA_I420: number;
761
- readonly COLOR_YUV2RGBA_IYUV: number;
762
- readonly COLOR_YUV2RGBA_NV12: number;
763
- readonly COLOR_YUV2RGBA_NV21: number;
764
- readonly COLOR_YUV2RGBA_UYNV: number;
765
- readonly COLOR_YUV2RGBA_UYVY: number;
766
- readonly COLOR_YUV2RGBA_Y422: number;
767
- readonly COLOR_YUV2RGBA_YUNV: number;
768
- readonly COLOR_YUV2RGBA_YUY2: number;
769
- readonly COLOR_YUV2RGBA_YUYV: number;
770
- readonly COLOR_YUV2RGBA_YV12: number;
771
- readonly COLOR_YUV2RGBA_YVYU: number;
772
1602
  readonly COLOR_YUV2RGB_I420: number;
773
1603
  readonly COLOR_YUV2RGB_IYUV: number;
774
1604
  readonly COLOR_YUV2RGB_NV12: number;
@@ -781,6 +1611,18 @@ export interface CvModule {
781
1611
  readonly COLOR_YUV2RGB_YUYV: number;
782
1612
  readonly COLOR_YUV2RGB_YV12: number;
783
1613
  readonly COLOR_YUV2RGB_YVYU: number;
1614
+ readonly COLOR_YUV2RGBA_I420: number;
1615
+ readonly COLOR_YUV2RGBA_IYUV: number;
1616
+ readonly COLOR_YUV2RGBA_NV12: number;
1617
+ readonly COLOR_YUV2RGBA_NV21: number;
1618
+ readonly COLOR_YUV2RGBA_UYNV: number;
1619
+ readonly COLOR_YUV2RGBA_UYVY: number;
1620
+ readonly COLOR_YUV2RGBA_Y422: number;
1621
+ readonly COLOR_YUV2RGBA_YUNV: number;
1622
+ readonly COLOR_YUV2RGBA_YUY2: number;
1623
+ readonly COLOR_YUV2RGBA_YUYV: number;
1624
+ readonly COLOR_YUV2RGBA_YV12: number;
1625
+ readonly COLOR_YUV2RGBA_YVYU: number;
784
1626
  readonly COLOR_YUV420p2BGR: number;
785
1627
  readonly COLOR_YUV420p2BGRA: number;
786
1628
  readonly COLOR_YUV420p2GRAY: number;
@@ -791,19 +1633,77 @@ export interface CvModule {
791
1633
  readonly COLOR_YUV420sp2GRAY: number;
792
1634
  readonly COLOR_YUV420sp2RGB: number;
793
1635
  readonly COLOR_YUV420sp2RGBA: number;
794
- readonly COLOR_mRGBA2RGBA: number;
1636
+ readonly COLORMAP_AUTUMN: number;
1637
+ readonly COLORMAP_BONE: number;
1638
+ readonly COLORMAP_CIVIDIS: number;
1639
+ readonly COLORMAP_COOL: number;
1640
+ readonly COLORMAP_DEEPGREEN: number;
1641
+ readonly COLORMAP_HOT: number;
1642
+ readonly COLORMAP_HSV: number;
1643
+ readonly COLORMAP_INFERNO: number;
1644
+ readonly COLORMAP_JET: number;
1645
+ readonly COLORMAP_MAGMA: number;
1646
+ readonly COLORMAP_OCEAN: number;
1647
+ readonly COLORMAP_PARULA: number;
1648
+ readonly COLORMAP_PINK: number;
1649
+ readonly COLORMAP_PLASMA: number;
1650
+ readonly COLORMAP_RAINBOW: number;
1651
+ readonly COLORMAP_SPRING: number;
1652
+ readonly COLORMAP_SUMMER: number;
1653
+ readonly COLORMAP_TURBO: number;
1654
+ readonly COLORMAP_TWILIGHT: number;
1655
+ readonly COLORMAP_TWILIGHT_SHIFTED: number;
1656
+ readonly COLORMAP_VIRIDIS: number;
1657
+ readonly COLORMAP_WINTER: number;
795
1658
  readonly CONTOURS_MATCH_I1: number;
796
1659
  readonly CONTOURS_MATCH_I2: number;
797
1660
  readonly CONTOURS_MATCH_I3: number;
1661
+ readonly CORNER_REFINE_APRILTAG: number;
1662
+ readonly CORNER_REFINE_CONTOUR: number;
1663
+ readonly CORNER_REFINE_NONE: number;
1664
+ readonly CORNER_REFINE_SUBPIX: number;
1665
+ readonly COV_POLISHER: number;
798
1666
  readonly COVAR_COLS: number;
799
1667
  readonly COVAR_NORMAL: number;
800
1668
  readonly COVAR_ROWS: number;
801
1669
  readonly COVAR_SCALE: number;
802
1670
  readonly COVAR_SCRAMBLED: number;
803
1671
  readonly COVAR_USE_AVG: number;
804
- readonly COV_POLISHER: number;
805
- readonly CirclesGridFinderParameters_ASYMMETRIC_GRID: number;
806
- readonly CirclesGridFinderParameters_SYMMETRIC_GRID: number;
1672
+ readonly CV_16S: number;
1673
+ readonly CV_16SC1: number;
1674
+ readonly CV_16SC2: number;
1675
+ readonly CV_16SC3: number;
1676
+ readonly CV_16SC4: number;
1677
+ readonly CV_16U: number;
1678
+ readonly CV_16UC1: number;
1679
+ readonly CV_16UC2: number;
1680
+ readonly CV_16UC3: number;
1681
+ readonly CV_16UC4: number;
1682
+ readonly CV_32F: number;
1683
+ readonly CV_32FC1: number;
1684
+ readonly CV_32FC2: number;
1685
+ readonly CV_32FC3: number;
1686
+ readonly CV_32FC4: number;
1687
+ readonly CV_32S: number;
1688
+ readonly CV_32SC1: number;
1689
+ readonly CV_32SC2: number;
1690
+ readonly CV_32SC3: number;
1691
+ readonly CV_32SC4: number;
1692
+ readonly CV_64F: number;
1693
+ readonly CV_64FC1: number;
1694
+ readonly CV_64FC2: number;
1695
+ readonly CV_64FC3: number;
1696
+ readonly CV_64FC4: number;
1697
+ readonly CV_8S: number;
1698
+ readonly CV_8SC1: number;
1699
+ readonly CV_8SC2: number;
1700
+ readonly CV_8SC3: number;
1701
+ readonly CV_8SC4: number;
1702
+ readonly CV_8U: number;
1703
+ readonly CV_8UC1: number;
1704
+ readonly CV_8UC2: number;
1705
+ readonly CV_8UC3: number;
1706
+ readonly CV_8UC4: number;
807
1707
  readonly DCT_INVERSE: number;
808
1708
  readonly DCT_ROWS: number;
809
1709
  readonly DECOMP_CHOLESKY: number;
@@ -812,12 +1712,40 @@ export interface CvModule {
812
1712
  readonly DECOMP_NORMAL: number;
813
1713
  readonly DECOMP_QR: number;
814
1714
  readonly DECOMP_SVD: number;
1715
+ readonly DescriptorMatcher_BRUTEFORCE: number;
1716
+ readonly DescriptorMatcher_BRUTEFORCE_HAMMING: number;
1717
+ readonly DescriptorMatcher_BRUTEFORCE_HAMMINGLUT: number;
1718
+ readonly DescriptorMatcher_BRUTEFORCE_L1: number;
1719
+ readonly DescriptorMatcher_BRUTEFORCE_SL2: number;
1720
+ readonly DescriptorMatcher_FLANNBASED: number;
815
1721
  readonly DFT_COMPLEX_INPUT: number;
816
1722
  readonly DFT_COMPLEX_OUTPUT: number;
817
1723
  readonly DFT_INVERSE: number;
818
1724
  readonly DFT_REAL_OUTPUT: number;
819
1725
  readonly DFT_ROWS: number;
820
1726
  readonly DFT_SCALE: number;
1727
+ readonly DICT_4X4_100: number;
1728
+ readonly DICT_4X4_1000: number;
1729
+ readonly DICT_4X4_250: number;
1730
+ readonly DICT_4X4_50: number;
1731
+ readonly DICT_5X5_100: number;
1732
+ readonly DICT_5X5_1000: number;
1733
+ readonly DICT_5X5_250: number;
1734
+ readonly DICT_5X5_50: number;
1735
+ readonly DICT_6X6_100: number;
1736
+ readonly DICT_6X6_1000: number;
1737
+ readonly DICT_6X6_250: number;
1738
+ readonly DICT_6X6_50: number;
1739
+ readonly DICT_7X7_100: number;
1740
+ readonly DICT_7X7_1000: number;
1741
+ readonly DICT_7X7_250: number;
1742
+ readonly DICT_7X7_50: number;
1743
+ readonly DICT_APRILTAG_16h5: number;
1744
+ readonly DICT_APRILTAG_25h9: number;
1745
+ readonly DICT_APRILTAG_36h10: number;
1746
+ readonly DICT_APRILTAG_36h11: number;
1747
+ readonly DICT_ARUCO_MIP_36h12: number;
1748
+ readonly DICT_ARUCO_ORIGINAL: number;
821
1749
  readonly DISOpticalFlow_PRESET_FAST: number;
822
1750
  readonly DISOpticalFlow_PRESET_MEDIUM: number;
823
1751
  readonly DISOpticalFlow_PRESET_ULTRAFAST: number;
@@ -834,33 +1762,41 @@ export interface CvModule {
834
1762
  readonly DIST_MASK_PRECISE: number;
835
1763
  readonly DIST_USER: number;
836
1764
  readonly DIST_WELSCH: number;
837
- readonly DescriptorMatcher_BRUTEFORCE: number;
838
- readonly DescriptorMatcher_BRUTEFORCE_HAMMING: number;
839
- readonly DescriptorMatcher_BRUTEFORCE_HAMMINGLUT: number;
840
- readonly DescriptorMatcher_BRUTEFORCE_L1: number;
841
- readonly DescriptorMatcher_BRUTEFORCE_SL2: number;
842
- readonly DescriptorMatcher_FLANNBASED: number;
1765
+ readonly DNN_BACKEND_CANN: number;
1766
+ readonly DNN_BACKEND_CUDA: number;
1767
+ readonly DNN_BACKEND_DEFAULT: number;
1768
+ readonly DNN_BACKEND_HALIDE: number;
1769
+ readonly DNN_BACKEND_INFERENCE_ENGINE: number;
1770
+ readonly DNN_BACKEND_OPENCV: number;
1771
+ readonly DNN_BACKEND_TIMVX: number;
1772
+ readonly DNN_BACKEND_VKCOM: number;
1773
+ readonly DNN_BACKEND_WEBNN: number;
1774
+ readonly DNN_LAYOUT_NCDHW: number;
1775
+ readonly DNN_LAYOUT_NCHW: number;
1776
+ readonly DNN_LAYOUT_ND: number;
1777
+ readonly DNN_LAYOUT_NDHWC: number;
1778
+ readonly DNN_LAYOUT_NHWC: number;
1779
+ readonly DNN_LAYOUT_PLANAR: number;
1780
+ readonly DNN_LAYOUT_UNKNOWN: number;
1781
+ readonly DNN_PMODE_CROP_CENTER: number;
1782
+ readonly DNN_PMODE_LETTERBOX: number;
1783
+ readonly DNN_PMODE_NULL: number;
1784
+ readonly DNN_TARGET_CPU: number;
1785
+ readonly DNN_TARGET_CPU_FP16: number;
1786
+ readonly DNN_TARGET_CUDA: number;
1787
+ readonly DNN_TARGET_CUDA_FP16: number;
1788
+ readonly DNN_TARGET_FPGA: number;
1789
+ readonly DNN_TARGET_HDDL: number;
1790
+ readonly DNN_TARGET_MYRIAD: number;
1791
+ readonly DNN_TARGET_NPU: number;
1792
+ readonly DNN_TARGET_OPENCL: number;
1793
+ readonly DNN_TARGET_OPENCL_FP16: number;
1794
+ readonly DNN_TARGET_VULKAN: number;
843
1795
  readonly DrawMatchesFlags_DEFAULT: number;
844
1796
  readonly DrawMatchesFlags_DRAW_OVER_OUTIMG: number;
845
1797
  readonly DrawMatchesFlags_DRAW_RICH_KEYPOINTS: number;
846
1798
  readonly DrawMatchesFlags_NOT_DRAW_SINGLE_POINTS: number;
847
- readonly FILLED: number;
848
- readonly FILTER_SCHARR: number;
849
- readonly FLOODFILL_FIXED_RANGE: number;
850
- readonly FLOODFILL_MASK_ONLY: number;
851
- readonly FM_7POINT: number;
852
- readonly FM_8POINT: number;
853
- readonly FM_LMEDS: number;
854
- readonly FM_RANSAC: number;
855
- readonly FONT_HERSHEY_COMPLEX: number;
856
- readonly FONT_HERSHEY_COMPLEX_SMALL: number;
857
- readonly FONT_HERSHEY_DUPLEX: number;
858
- readonly FONT_HERSHEY_PLAIN: number;
859
- readonly FONT_HERSHEY_SCRIPT_COMPLEX: number;
860
- readonly FONT_HERSHEY_SCRIPT_SIMPLEX: number;
861
- readonly FONT_HERSHEY_SIMPLEX: number;
862
- readonly FONT_HERSHEY_TRIPLEX: number;
863
- readonly FONT_ITALIC: number;
1799
+ readonly ENUM_LOG_LEVEL_FORCE_INT: number;
864
1800
  readonly FaceRecognizerSF_FR_COSINE: number;
865
1801
  readonly FaceRecognizerSF_FR_NORM_L2: number;
866
1802
  readonly FastFeatureDetector_FAST_N: number;
@@ -897,6 +1833,23 @@ export interface CvModule {
897
1833
  readonly FileStorage_VALUE_EXPECTED: number;
898
1834
  readonly FileStorage_WRITE: number;
899
1835
  readonly FileStorage_WRITE_BASE64: number;
1836
+ readonly FILLED: number;
1837
+ readonly FILTER_SCHARR: number;
1838
+ readonly FLOODFILL_FIXED_RANGE: number;
1839
+ readonly FLOODFILL_MASK_ONLY: number;
1840
+ readonly FM_7POINT: number;
1841
+ readonly FM_8POINT: number;
1842
+ readonly FM_LMEDS: number;
1843
+ readonly FM_RANSAC: number;
1844
+ readonly FONT_HERSHEY_COMPLEX: number;
1845
+ readonly FONT_HERSHEY_COMPLEX_SMALL: number;
1846
+ readonly FONT_HERSHEY_DUPLEX: number;
1847
+ readonly FONT_HERSHEY_PLAIN: number;
1848
+ readonly FONT_HERSHEY_SCRIPT_COMPLEX: number;
1849
+ readonly FONT_HERSHEY_SCRIPT_SIMPLEX: number;
1850
+ readonly FONT_HERSHEY_SIMPLEX: number;
1851
+ readonly FONT_HERSHEY_TRIPLEX: number;
1852
+ readonly FONT_ITALIC: number;
900
1853
  readonly Formatter_FMT_C: number;
901
1854
  readonly Formatter_FMT_CSV: number;
902
1855
  readonly Formatter_FMT_DEFAULT: number;
@@ -914,6 +1867,9 @@ export interface CvModule {
914
1867
  readonly GEMM_1_T: number;
915
1868
  readonly GEMM_2_T: number;
916
1869
  readonly GEMM_3_T: number;
1870
+ readonly GpuApiCallError: number;
1871
+ readonly GpuNotSupported: number;
1872
+ readonly HeaderIsNull: number;
917
1873
  readonly HISTCMP_BHATTACHARYYA: number;
918
1874
  readonly HISTCMP_CHISQR: number;
919
1875
  readonly HISTCMP_CHISQR_ALT: number;
@@ -932,9 +1888,8 @@ export interface CvModule {
932
1888
  readonly HOUGH_STANDARD: number;
933
1889
  readonly INPAINT_NS: number;
934
1890
  readonly INPAINT_TELEA: number;
935
- readonly INTERSECT_FULL: number;
936
- readonly INTERSECT_NONE: number;
937
- readonly INTERSECT_PARTIAL: number;
1891
+ readonly INT_MAX: number;
1892
+ readonly INT_MIN: number;
938
1893
  readonly INTER_AREA: number;
939
1894
  readonly INTER_BITS: number;
940
1895
  readonly INTER_BITS2: number;
@@ -947,6 +1902,9 @@ export interface CvModule {
947
1902
  readonly INTER_NEAREST_EXACT: number;
948
1903
  readonly INTER_TAB_SIZE: number;
949
1904
  readonly INTER_TAB_SIZE2: number;
1905
+ readonly INTERSECT_FULL: number;
1906
+ readonly INTERSECT_NONE: number;
1907
+ readonly INTERSECT_PARTIAL: number;
950
1908
  readonly KAZE_DIFF_CHARBONNIER: number;
951
1909
  readonly KAZE_DIFF_PM_G1: number;
952
1910
  readonly KAZE_DIFF_PM_G2: number;
@@ -964,6 +1922,13 @@ export interface CvModule {
964
1922
  readonly LOCAL_OPTIM_INNER_LO: number;
965
1923
  readonly LOCAL_OPTIM_NULL: number;
966
1924
  readonly LOCAL_OPTIM_SIGMA: number;
1925
+ readonly LOG_LEVEL_DEBUG: number;
1926
+ readonly LOG_LEVEL_ERROR: number;
1927
+ readonly LOG_LEVEL_FATAL: number;
1928
+ readonly LOG_LEVEL_INFO: number;
1929
+ readonly LOG_LEVEL_SILENT: number;
1930
+ readonly LOG_LEVEL_VERBOSE: number;
1931
+ readonly LOG_LEVEL_WARNING: number;
967
1932
  readonly LSD_REFINE_ADV: number;
968
1933
  readonly LSD_REFINE_NONE: number;
969
1934
  readonly LSD_REFINE_STD: number;
@@ -976,6 +1941,14 @@ export interface CvModule {
976
1941
  readonly MARKER_TILTED_CROSS: number;
977
1942
  readonly MARKER_TRIANGLE_DOWN: number;
978
1943
  readonly MARKER_TRIANGLE_UP: number;
1944
+ readonly MaskIsTiled: number;
1945
+ readonly Mat_AUTO_STEP: number;
1946
+ readonly Mat_CONTINUOUS_FLAG: number;
1947
+ readonly Mat_DEPTH_MASK: number;
1948
+ readonly Mat_MAGIC_MASK: number;
1949
+ readonly Mat_MAGIC_VAL: number;
1950
+ readonly Mat_SUBMATRIX_FLAG: number;
1951
+ readonly Mat_TYPE_MASK: number;
979
1952
  readonly MIXED_CLONE: number;
980
1953
  readonly MONOCHROME_TRANSFER: number;
981
1954
  readonly MORPH_BLACKHAT: number;
@@ -993,19 +1966,10 @@ export interface CvModule {
993
1966
  readonly MOTION_EUCLIDEAN: number;
994
1967
  readonly MOTION_HOMOGRAPHY: number;
995
1968
  readonly MOTION_TRANSLATION: number;
996
- readonly Mat_AUTO_STEP: number;
997
- readonly Mat_CONTINUOUS_FLAG: number;
998
- readonly Mat_DEPTH_MASK: number;
999
- readonly Mat_MAGIC_MASK: number;
1000
- readonly Mat_MAGIC_VAL: number;
1001
- readonly Mat_SUBMATRIX_FLAG: number;
1002
- readonly Mat_TYPE_MASK: number;
1003
1969
  readonly NEIGH_FLANN_KNN: number;
1004
1970
  readonly NEIGH_FLANN_RADIUS: number;
1005
1971
  readonly NEIGH_GRID: number;
1006
1972
  readonly NONE_POLISHER: number;
1007
- readonly NORMAL_CLONE: number;
1008
- readonly NORMCONV_FILTER: number;
1009
1973
  readonly NORM_HAMMING: number;
1010
1974
  readonly NORM_HAMMING2: number;
1011
1975
  readonly NORM_INF: number;
@@ -1015,16 +1979,19 @@ export interface CvModule {
1015
1979
  readonly NORM_MINMAX: number;
1016
1980
  readonly NORM_RELATIVE: number;
1017
1981
  readonly NORM_TYPE_MASK: number;
1982
+ readonly NORMAL_CLONE: number;
1983
+ readonly NORMCONV_FILTER: number;
1984
+ readonly OpenCLApiCallError: number;
1985
+ readonly OpenCLDoubleNotSupported: number;
1986
+ readonly OpenCLInitError: number;
1987
+ readonly OpenCLNoAMDBlasFft: number;
1988
+ readonly OpenGlApiCallError: number;
1989
+ readonly OpenGlNotSupported: number;
1018
1990
  readonly OPTFLOW_FARNEBACK_GAUSSIAN: number;
1019
1991
  readonly OPTFLOW_LK_GET_MIN_EIGENVALS: number;
1020
1992
  readonly OPTFLOW_USE_INITIAL_FLOW: number;
1021
1993
  readonly ORB_FAST_SCORE: number;
1022
1994
  readonly ORB_HARRIS_SCORE: number;
1023
- readonly PCA_DATA_AS_COL: number;
1024
- readonly PCA_DATA_AS_ROW: number;
1025
- readonly PCA_USE_AVG: number;
1026
- readonly PROJ_SPHERICAL_EQRECT: number;
1027
- readonly PROJ_SPHERICAL_ORTHO: number;
1028
1995
  readonly Param_ALGORITHM: number;
1029
1996
  readonly Param_BOOLEAN: number;
1030
1997
  readonly Param_FLOAT: number;
@@ -1037,6 +2004,11 @@ export interface CvModule {
1037
2004
  readonly Param_UCHAR: number;
1038
2005
  readonly Param_UINT64: number;
1039
2006
  readonly Param_UNSIGNED_INT: number;
2007
+ readonly PCA_DATA_AS_COL: number;
2008
+ readonly PCA_DATA_AS_ROW: number;
2009
+ readonly PCA_USE_AVG: number;
2010
+ readonly PROJ_SPHERICAL_EQRECT: number;
2011
+ readonly PROJ_SPHERICAL_ORTHO: number;
1040
2012
  readonly QRCodeEncoder_CORRECT_LEVEL_H: number;
1041
2013
  readonly QRCodeEncoder_CORRECT_LEVEL_L: number;
1042
2014
  readonly QRCodeEncoder_CORRECT_LEVEL_M: number;
@@ -1102,6 +2074,8 @@ export interface CvModule {
1102
2074
  readonly SCORE_METHOD_MAGSAC: number;
1103
2075
  readonly SCORE_METHOD_MSAC: number;
1104
2076
  readonly SCORE_METHOD_RANSAC: number;
2077
+ readonly SoftNMSMethod_SOFTNMS_GAUSSIAN: number;
2078
+ readonly SoftNMSMethod_SOFTNMS_LINEAR: number;
1105
2079
  readonly SOLVELP_LOST: number;
1106
2080
  readonly SOLVELP_MULTI: number;
1107
2081
  readonly SOLVELP_SINGLE: number;
@@ -1121,9 +2095,6 @@ export interface CvModule {
1121
2095
  readonly SORT_DESCENDING: number;
1122
2096
  readonly SORT_EVERY_COLUMN: number;
1123
2097
  readonly SORT_EVERY_ROW: number;
1124
- readonly SVD_FULL_UV: number;
1125
- readonly SVD_MODIFY_A: number;
1126
- readonly SVD_NO_UV: number;
1127
2098
  readonly SparseMat_HASH_BIT: number;
1128
2099
  readonly SparseMat_HASH_SCALE: number;
1129
2100
  readonly SparseMat_MAGIC_VAL: number;
@@ -1136,125 +2107,6 @@ export interface CvModule {
1136
2107
  readonly StereoSGBM_MODE_HH4: number;
1137
2108
  readonly StereoSGBM_MODE_SGBM: number;
1138
2109
  readonly StereoSGBM_MODE_SGBM_3WAY: number;
1139
- readonly Subdiv2D_NEXT_AROUND_DST: number;
1140
- readonly Subdiv2D_NEXT_AROUND_LEFT: number;
1141
- readonly Subdiv2D_NEXT_AROUND_ORG: number;
1142
- readonly Subdiv2D_NEXT_AROUND_RIGHT: number;
1143
- readonly Subdiv2D_PREV_AROUND_DST: number;
1144
- readonly Subdiv2D_PREV_AROUND_LEFT: number;
1145
- readonly Subdiv2D_PREV_AROUND_ORG: number;
1146
- readonly Subdiv2D_PREV_AROUND_RIGHT: number;
1147
- readonly Subdiv2D_PTLOC_ERROR: number;
1148
- readonly Subdiv2D_PTLOC_INSIDE: number;
1149
- readonly Subdiv2D_PTLOC_ON_EDGE: number;
1150
- readonly Subdiv2D_PTLOC_OUTSIDE_RECT: number;
1151
- readonly Subdiv2D_PTLOC_VERTEX: number;
1152
- readonly THRESH_BINARY: number;
1153
- readonly THRESH_BINARY_INV: number;
1154
- readonly THRESH_MASK: number;
1155
- readonly THRESH_OTSU: number;
1156
- readonly THRESH_TOZERO: number;
1157
- readonly THRESH_TOZERO_INV: number;
1158
- readonly THRESH_TRIANGLE: number;
1159
- readonly THRESH_TRUNC: number;
1160
- readonly TM_CCOEFF: number;
1161
- readonly TM_CCOEFF_NORMED: number;
1162
- readonly TM_CCORR: number;
1163
- readonly TM_CCORR_NORMED: number;
1164
- readonly TM_SQDIFF: number;
1165
- readonly TM_SQDIFF_NORMED: number;
1166
- readonly TermCriteria_COUNT: number;
1167
- readonly TermCriteria_EPS: number;
1168
- readonly TermCriteria_MAX_ITER: number;
1169
- readonly UMatData_ASYNC_CLEANUP: number;
1170
- readonly UMatData_COPY_ON_MAP: number;
1171
- readonly UMatData_DEVICE_COPY_OBSOLETE: number;
1172
- readonly UMatData_DEVICE_MEM_MAPPED: number;
1173
- readonly UMatData_HOST_COPY_OBSOLETE: number;
1174
- readonly UMatData_TEMP_COPIED_UMAT: number;
1175
- readonly UMatData_TEMP_UMAT: number;
1176
- readonly UMatData_USER_ALLOCATED: number;
1177
- readonly UMat_AUTO_STEP: number;
1178
- readonly UMat_CONTINUOUS_FLAG: number;
1179
- readonly UMat_DEPTH_MASK: number;
1180
- readonly UMat_MAGIC_MASK: number;
1181
- readonly UMat_MAGIC_VAL: number;
1182
- readonly UMat_SUBMATRIX_FLAG: number;
1183
- readonly UMat_TYPE_MASK: number;
1184
- readonly USAC_ACCURATE: number;
1185
- readonly USAC_DEFAULT: number;
1186
- readonly USAC_FAST: number;
1187
- readonly USAC_FM_8PTS: number;
1188
- readonly USAC_MAGSAC: number;
1189
- readonly USAC_PARALLEL: number;
1190
- readonly USAC_PROSAC: number;
1191
- readonly USAGE_ALLOCATE_DEVICE_MEMORY: number;
1192
- readonly USAGE_ALLOCATE_HOST_MEMORY: number;
1193
- readonly USAGE_ALLOCATE_SHARED_MEMORY: number;
1194
- readonly USAGE_DEFAULT: number;
1195
- readonly WARP_FILL_OUTLIERS: number;
1196
- readonly WARP_INVERSE_MAP: number;
1197
- readonly WARP_POLAR_LINEAR: number;
1198
- readonly WARP_POLAR_LOG: number;
1199
- readonly _InputArray_CUDA_GPU_MAT: number;
1200
- readonly _InputArray_CUDA_HOST_MEM: number;
1201
- readonly _InputArray_EXPR: number;
1202
- readonly _InputArray_FIXED_SIZE: number;
1203
- readonly _InputArray_FIXED_TYPE: number;
1204
- readonly _InputArray_KIND_MASK: number;
1205
- readonly _InputArray_KIND_SHIFT: number;
1206
- readonly _InputArray_MAT: number;
1207
- readonly _InputArray_MATX: number;
1208
- readonly _InputArray_NONE: number;
1209
- readonly _InputArray_OPENGL_BUFFER: number;
1210
- readonly _InputArray_STD_ARRAY: number;
1211
- readonly _InputArray_STD_ARRAY_MAT: number;
1212
- readonly _InputArray_STD_BOOL_VECTOR: number;
1213
- readonly _InputArray_STD_VECTOR: number;
1214
- readonly _InputArray_STD_VECTOR_CUDA_GPU_MAT: number;
1215
- readonly _InputArray_STD_VECTOR_MAT: number;
1216
- readonly _InputArray_STD_VECTOR_UMAT: number;
1217
- readonly _InputArray_STD_VECTOR_VECTOR: number;
1218
- readonly _InputArray_UMAT: number;
1219
- readonly _OutputArray_DEPTH_MASK_16F: number;
1220
- readonly _OutputArray_DEPTH_MASK_16S: number;
1221
- readonly _OutputArray_DEPTH_MASK_16U: number;
1222
- readonly _OutputArray_DEPTH_MASK_32F: number;
1223
- readonly _OutputArray_DEPTH_MASK_32S: number;
1224
- readonly _OutputArray_DEPTH_MASK_64F: number;
1225
- readonly _OutputArray_DEPTH_MASK_8S: number;
1226
- readonly _OutputArray_DEPTH_MASK_8U: number;
1227
- readonly _OutputArray_DEPTH_MASK_ALL: number;
1228
- readonly _OutputArray_DEPTH_MASK_ALL_16F: number;
1229
- readonly _OutputArray_DEPTH_MASK_ALL_BUT_8S: number;
1230
- readonly _OutputArray_DEPTH_MASK_FLT: number;
1231
- readonly __UMAT_USAGE_FLAGS_32BIT: number;
1232
- readonly BadAlign: number;
1233
- readonly BadAlphaChannel: number;
1234
- readonly BadCOI: number;
1235
- readonly BadCallBack: number;
1236
- readonly BadDataPtr: number;
1237
- readonly BadDepth: number;
1238
- readonly BadImageSize: number;
1239
- readonly BadModelOrChSeq: number;
1240
- readonly BadNumChannel1U: number;
1241
- readonly BadNumChannels: number;
1242
- readonly BadOffset: number;
1243
- readonly BadOrder: number;
1244
- readonly BadOrigin: number;
1245
- readonly BadROISize: number;
1246
- readonly BadStep: number;
1247
- readonly BadTileSize: number;
1248
- readonly GpuApiCallError: number;
1249
- readonly GpuNotSupported: number;
1250
- readonly HeaderIsNull: number;
1251
- readonly MaskIsTiled: number;
1252
- readonly OpenCLApiCallError: number;
1253
- readonly OpenCLDoubleNotSupported: number;
1254
- readonly OpenCLInitError: number;
1255
- readonly OpenCLNoAMDBlasFft: number;
1256
- readonly OpenGlApiCallError: number;
1257
- readonly OpenGlNotSupported: number;
1258
2110
  readonly StsAssert: number;
1259
2111
  readonly StsAutoTrace: number;
1260
2112
  readonly StsBackTrace: number;
@@ -1284,110 +2136,379 @@ export interface CvModule {
1284
2136
  readonly StsUnmatchedSizes: number;
1285
2137
  readonly StsUnsupportedFormat: number;
1286
2138
  readonly StsVecLengthErr: number;
1287
- readonly CORNER_REFINE_APRILTAG: number;
1288
- readonly CORNER_REFINE_CONTOUR: number;
1289
- readonly CORNER_REFINE_NONE: number;
1290
- readonly CORNER_REFINE_SUBPIX: number;
1291
- readonly DICT_4X4_100: number;
1292
- readonly DICT_4X4_1000: number;
1293
- readonly DICT_4X4_250: number;
1294
- readonly DICT_4X4_50: number;
1295
- readonly DICT_5X5_100: number;
1296
- readonly DICT_5X5_1000: number;
1297
- readonly DICT_5X5_250: number;
1298
- readonly DICT_5X5_50: number;
1299
- readonly DICT_6X6_100: number;
1300
- readonly DICT_6X6_1000: number;
1301
- readonly DICT_6X6_250: number;
1302
- readonly DICT_6X6_50: number;
1303
- readonly DICT_7X7_100: number;
1304
- readonly DICT_7X7_1000: number;
1305
- readonly DICT_7X7_250: number;
1306
- readonly DICT_7X7_50: number;
1307
- readonly DICT_APRILTAG_16h5: number;
1308
- readonly DICT_APRILTAG_25h9: number;
1309
- readonly DICT_APRILTAG_36h10: number;
1310
- readonly DICT_APRILTAG_36h11: number;
1311
- readonly DICT_ARUCO_MIP_36h12: number;
1312
- readonly DICT_ARUCO_ORIGINAL: number;
2139
+ readonly Subdiv2D_NEXT_AROUND_DST: number;
2140
+ readonly Subdiv2D_NEXT_AROUND_LEFT: number;
2141
+ readonly Subdiv2D_NEXT_AROUND_ORG: number;
2142
+ readonly Subdiv2D_NEXT_AROUND_RIGHT: number;
2143
+ readonly Subdiv2D_PREV_AROUND_DST: number;
2144
+ readonly Subdiv2D_PREV_AROUND_LEFT: number;
2145
+ readonly Subdiv2D_PREV_AROUND_ORG: number;
2146
+ readonly Subdiv2D_PREV_AROUND_RIGHT: number;
2147
+ readonly Subdiv2D_PTLOC_ERROR: number;
2148
+ readonly Subdiv2D_PTLOC_INSIDE: number;
2149
+ readonly Subdiv2D_PTLOC_ON_EDGE: number;
2150
+ readonly Subdiv2D_PTLOC_OUTSIDE_RECT: number;
2151
+ readonly Subdiv2D_PTLOC_VERTEX: number;
2152
+ readonly SVD_FULL_UV: number;
2153
+ readonly SVD_MODIFY_A: number;
2154
+ readonly SVD_NO_UV: number;
2155
+ readonly TermCriteria_COUNT: number;
2156
+ readonly TermCriteria_EPS: number;
2157
+ readonly TermCriteria_MAX_ITER: number;
1313
2158
  readonly TEST_CUSTOM: number;
1314
2159
  readonly TEST_EQ: number;
1315
2160
  readonly TEST_GE: number;
1316
2161
  readonly TEST_GT: number;
1317
2162
  readonly TEST_LE: number;
1318
2163
  readonly TEST_LT: number;
1319
- readonly TEST_NE: number;
1320
- readonly TrackerSamplerCSC_MODE_DETECT: number;
1321
- readonly TrackerSamplerCSC_MODE_INIT_NEG: number;
1322
- readonly TrackerSamplerCSC_MODE_INIT_POS: number;
1323
- readonly TrackerSamplerCSC_MODE_TRACK_NEG: number;
1324
- readonly TrackerSamplerCSC_MODE_TRACK_POS: number;
1325
- readonly DNN_BACKEND_CANN: number;
1326
- readonly DNN_BACKEND_CUDA: number;
1327
- readonly DNN_BACKEND_DEFAULT: number;
1328
- readonly DNN_BACKEND_HALIDE: number;
1329
- readonly DNN_BACKEND_INFERENCE_ENGINE: number;
1330
- readonly DNN_BACKEND_OPENCV: number;
1331
- readonly DNN_BACKEND_TIMVX: number;
1332
- readonly DNN_BACKEND_VKCOM: number;
1333
- readonly DNN_BACKEND_WEBNN: number;
1334
- readonly DNN_LAYOUT_NCDHW: number;
1335
- readonly DNN_LAYOUT_NCHW: number;
1336
- readonly DNN_LAYOUT_ND: number;
1337
- readonly DNN_LAYOUT_NDHWC: number;
1338
- readonly DNN_LAYOUT_NHWC: number;
1339
- readonly DNN_LAYOUT_PLANAR: number;
1340
- readonly DNN_LAYOUT_UNKNOWN: number;
1341
- readonly DNN_PMODE_CROP_CENTER: number;
1342
- readonly DNN_PMODE_LETTERBOX: number;
1343
- readonly DNN_PMODE_NULL: number;
1344
- readonly DNN_TARGET_CPU: number;
1345
- readonly DNN_TARGET_CPU_FP16: number;
1346
- readonly DNN_TARGET_CUDA: number;
1347
- readonly DNN_TARGET_CUDA_FP16: number;
1348
- readonly DNN_TARGET_FPGA: number;
1349
- readonly DNN_TARGET_HDDL: number;
1350
- readonly DNN_TARGET_MYRIAD: number;
1351
- readonly DNN_TARGET_NPU: number;
1352
- readonly DNN_TARGET_OPENCL: number;
1353
- readonly DNN_TARGET_OPENCL_FP16: number;
1354
- readonly DNN_TARGET_VULKAN: number;
1355
- readonly SoftNMSMethod_SOFTNMS_GAUSSIAN: number;
1356
- readonly SoftNMSMethod_SOFTNMS_LINEAR: number;
1357
- readonly CALIB_CHECK_COND: number;
1358
- readonly CALIB_FIX_SKEW: number;
1359
- readonly CALIB_RECOMPUTE_EXTRINSIC: number;
1360
- readonly ENUM_LOG_LEVEL_FORCE_INT: number;
1361
- readonly LOG_LEVEL_DEBUG: number;
1362
- readonly LOG_LEVEL_ERROR: number;
1363
- readonly LOG_LEVEL_FATAL: number;
1364
- readonly LOG_LEVEL_INFO: number;
1365
- readonly LOG_LEVEL_SILENT: number;
1366
- readonly LOG_LEVEL_VERBOSE: number;
1367
- readonly LOG_LEVEL_WARNING: number;
1368
- FS: any;
1369
- imread: (...args: any[]) => any;
1370
- imshow: (...args: any[]) => any;
1371
- VideoCapture: (...args: any[]) => any;
1372
- Range: (...args: any[]) => any;
1373
- Point: { new (...args: any[]): Point };
1374
- Size: { new (...args: any[]): Size };
1375
- Rect: { new (...args: any[]): Rect };
1376
- RotatedRect: { new (...args: any[]): RotatedRect };
2164
+ readonly TEST_NE: number;
2165
+ readonly THRESH_BINARY: number;
2166
+ readonly THRESH_BINARY_INV: number;
2167
+ readonly THRESH_MASK: number;
2168
+ readonly THRESH_OTSU: number;
2169
+ readonly THRESH_TOZERO: number;
2170
+ readonly THRESH_TOZERO_INV: number;
2171
+ readonly THRESH_TRIANGLE: number;
2172
+ readonly THRESH_TRUNC: number;
2173
+ readonly TM_CCOEFF: number;
2174
+ readonly TM_CCOEFF_NORMED: number;
2175
+ readonly TM_CCORR: number;
2176
+ readonly TM_CCORR_NORMED: number;
2177
+ readonly TM_SQDIFF: number;
2178
+ readonly TM_SQDIFF_NORMED: number;
2179
+ readonly TrackerSamplerCSC_MODE_DETECT: number;
2180
+ readonly TrackerSamplerCSC_MODE_INIT_NEG: number;
2181
+ readonly TrackerSamplerCSC_MODE_INIT_POS: number;
2182
+ readonly TrackerSamplerCSC_MODE_TRACK_NEG: number;
2183
+ readonly TrackerSamplerCSC_MODE_TRACK_POS: number;
2184
+ readonly UMat_AUTO_STEP: number;
2185
+ readonly UMat_CONTINUOUS_FLAG: number;
2186
+ readonly UMat_DEPTH_MASK: number;
2187
+ readonly UMat_MAGIC_MASK: number;
2188
+ readonly UMat_MAGIC_VAL: number;
2189
+ readonly UMat_SUBMATRIX_FLAG: number;
2190
+ readonly UMat_TYPE_MASK: number;
2191
+ readonly UMatData_ASYNC_CLEANUP: number;
2192
+ readonly UMatData_COPY_ON_MAP: number;
2193
+ readonly UMatData_DEVICE_COPY_OBSOLETE: number;
2194
+ readonly UMatData_DEVICE_MEM_MAPPED: number;
2195
+ readonly UMatData_HOST_COPY_OBSOLETE: number;
2196
+ readonly UMatData_TEMP_COPIED_UMAT: number;
2197
+ readonly UMatData_TEMP_UMAT: number;
2198
+ readonly UMatData_USER_ALLOCATED: number;
2199
+ readonly USAC_ACCURATE: number;
2200
+ readonly USAC_DEFAULT: number;
2201
+ readonly USAC_FAST: number;
2202
+ readonly USAC_FM_8PTS: number;
2203
+ readonly USAC_MAGSAC: number;
2204
+ readonly USAC_PARALLEL: number;
2205
+ readonly USAC_PROSAC: number;
2206
+ readonly USAGE_ALLOCATE_DEVICE_MEMORY: number;
2207
+ readonly USAGE_ALLOCATE_HOST_MEMORY: number;
2208
+ readonly USAGE_ALLOCATE_SHARED_MEMORY: number;
2209
+ readonly USAGE_DEFAULT: number;
2210
+ readonly WARP_FILL_OUTLIERS: number;
2211
+ readonly WARP_INVERSE_MAP: number;
2212
+ readonly WARP_POLAR_LINEAR: number;
2213
+ readonly WARP_POLAR_LOG: number;
2214
+ // ---- Classes (construct with new; release the native handle with delete) ----
2215
+ addRunDependency: { new (...args: any[]): addRunDependencyInstance };
2216
+ AgastFeatureDetector: { new (...args: any[]): AgastFeatureDetectorInstance };
2217
+ AKAZE: { new (...args: any[]): AKAZEInstance };
2218
+ /** See the Algorithm interface below for usage and memory notes. */
2219
+ Algorithm: { new (...args: any[]): Algorithm };
2220
+ aruco_ArucoDetector: { new (...args: any[]): aruco_ArucoDetectorInstance };
2221
+ aruco_Board: { new (...args: any[]): aruco_BoardInstance };
2222
+ aruco_CharucoBoard: { new (...args: any[]): aruco_CharucoBoardInstance };
2223
+ aruco_CharucoDetector: { new (...args: any[]): aruco_CharucoDetectorInstance };
2224
+ aruco_CharucoParameters: { new (...args: any[]): aruco_CharucoParametersInstance };
2225
+ aruco_DetectorParameters: { new (...args: any[]): aruco_DetectorParametersInstance };
2226
+ aruco_Dictionary: { new (...args: any[]): aruco_DictionaryInstance };
2227
+ aruco_GridBoard: { new (...args: any[]): aruco_GridBoardInstance };
2228
+ aruco_RefineParameters: { new (...args: any[]): aruco_RefineParametersInstance };
2229
+ BackgroundSubtractor: { new (...args: any[]): BackgroundSubtractorInstance };
2230
+ BackgroundSubtractorMOG2: { new (...args: any[]): BackgroundSubtractorMOG2Instance };
2231
+ barcode_BarcodeDetector: { new (...args: any[]): barcode_BarcodeDetectorInstance };
2232
+ BFMatcher: { new (...args: any[]): BFMatcherInstance };
2233
+ BRISK: { new (...args: any[]): BRISKInstance };
2234
+ CalibrateCRF: { new (...args: any[]): CalibrateCRFInstance };
2235
+ CalibrateDebevec: { new (...args: any[]): CalibrateDebevecInstance };
2236
+ CalibrateRobertson: { new (...args: any[]): CalibrateRobertsonInstance };
2237
+ CascadeClassifier: { new (...args: any[]): CascadeClassifierInstance };
2238
+ CharVector: { new (...args: any[]): CharVectorInstance };
2239
+ CLAHE: { new (...args: any[]): CLAHEInstance };
2240
+ DescriptorMatcher: { new (...args: any[]): DescriptorMatcherInstance };
2241
+ DMatchVector: { new (...args: any[]): DMatchVectorInstance };
2242
+ DMatchVectorVector: { new (...args: any[]): DMatchVectorVectorInstance };
2243
+ dnn_Net: { new (...args: any[]): dnn_NetInstance };
2244
+ DoubleVector: { new (...args: any[]): DoubleVectorInstance };
2245
+ FastFeatureDetector: { new (...args: any[]): FastFeatureDetectorInstance };
2246
+ Feature2D: { new (...args: any[]): Feature2DInstance };
2247
+ FloatVector: { new (...args: any[]): FloatVectorInstance };
2248
+ FS_createDataFile: { new (...args: any[]): FS_createDataFileInstance };
2249
+ FS_createDevice: { new (...args: any[]): FS_createDeviceInstance };
2250
+ FS_createLazyFile: { new (...args: any[]): FS_createLazyFileInstance };
2251
+ FS_createPath: { new (...args: any[]): FS_createPathInstance };
2252
+ FS_preloadFile: { new (...args: any[]): FS_preloadFileInstance };
2253
+ FS_unlink: { new (...args: any[]): FS_unlinkInstance };
2254
+ GFTTDetector: { new (...args: any[]): GFTTDetectorInstance };
2255
+ GraphicalCodeDetector: { new (...args: any[]): GraphicalCodeDetectorInstance };
2256
+ HOGDescriptor: { new (...args: any[]): HOGDescriptorInstance };
2257
+ IntVector: { new (...args: any[]): IntVectorInstance };
2258
+ KAZE: { new (...args: any[]): KAZEInstance };
2259
+ KeyPointVector: { new (...args: any[]): KeyPointVectorInstance };
2260
+ /** See the Mat interface below for usage and memory notes. */
2261
+ Mat: { new (...args: any[]): Mat };
2262
+ /** See the MatVector interface below for usage and memory notes. */
2263
+ MatVector: { new (...args: any[]): MatVector };
2264
+ MergeDebevec: { new (...args: any[]): MergeDebevecInstance };
2265
+ MergeExposures: { new (...args: any[]): MergeExposuresInstance };
2266
+ MergeMertens: { new (...args: any[]): MergeMertensInstance };
2267
+ MergeRobertson: { new (...args: any[]): MergeRobertsonInstance };
2268
+ MSER: { new (...args: any[]): MSERInstance };
2269
+ ORB: { new (...args: any[]): ORBInstance };
2270
+ PointVector: { new (...args: any[]): PointVectorInstance };
2271
+ QRCodeDetector: { new (...args: any[]): QRCodeDetectorInstance };
2272
+ QRCodeDetectorAruco: { new (...args: any[]): QRCodeDetectorArucoInstance };
2273
+ QRCodeDetectorAruco_Params: { new (...args: any[]): QRCodeDetectorAruco_ParamsInstance };
2274
+ RectVector: { new (...args: any[]): RectVectorInstance };
2275
+ removeRunDependency: { new (...args: any[]): removeRunDependencyInstance };
2276
+ /** See the Scalar interface below for usage and memory notes. */
1377
2277
  Scalar: { new (...args: any[]): Scalar };
1378
- MinMaxLoc: (...args: any[]) => any;
2278
+ segmentation_IntelligentScissorsMB: { new (...args: any[]): segmentation_IntelligentScissorsMBInstance };
2279
+ SimpleBlobDetector: { new (...args: any[]): SimpleBlobDetectorInstance };
2280
+ SimpleBlobDetector_Params: { new (...args: any[]): SimpleBlobDetector_ParamsInstance };
2281
+ StringVector: { new (...args: any[]): StringVectorInstance };
2282
+ Tonemap: { new (...args: any[]): TonemapInstance };
2283
+ TonemapDrago: { new (...args: any[]): TonemapDragoInstance };
2284
+ TonemapMantiuk: { new (...args: any[]): TonemapMantiukInstance };
2285
+ TonemapReinhard: { new (...args: any[]): TonemapReinhardInstance };
2286
+ Tracker: { new (...args: any[]): TrackerInstance };
2287
+ TrackerMIL: { new (...args: any[]): TrackerMILInstance };
2288
+ TrackerMIL_Params: { new (...args: any[]): TrackerMIL_ParamsInstance };
2289
+ // ---- Free functions ----
2290
+ absdiff: (...args: any[]) => any;
2291
+ adaptiveThreshold: (...args: any[]) => any;
2292
+ add: (...args: any[]) => any;
2293
+ addWeighted: (...args: any[]) => any;
2294
+ AlignMTB: (...args: any[]) => any;
2295
+ approxPolyDP: (...args: any[]) => any;
2296
+ arcLength: (...args: any[]) => any;
2297
+ bilateralFilter: (...args: any[]) => any;
2298
+ bitwise_and: (...args: any[]) => any;
2299
+ bitwise_not: (...args: any[]) => any;
2300
+ bitwise_or: (...args: any[]) => any;
2301
+ bitwise_xor: (...args: any[]) => any;
2302
+ blobFromImage: (...args: any[]) => any;
2303
+ blur: (...args: any[]) => any;
2304
+ boundingRect: (...args: any[]) => any;
2305
+ boxFilter: (...args: any[]) => any;
2306
+ calcBackProject: (...args: any[]) => any;
2307
+ calcHist: (...args: any[]) => any;
2308
+ calcOpticalFlowFarneback: (...args: any[]) => any;
2309
+ calcOpticalFlowPyrLK: (...args: any[]) => any;
2310
+ calibrateCameraExtended: (...args: any[]) => any;
2311
+ CamShift: (...args: any[]) => any;
2312
+ Canny: (...args: any[]) => any;
2313
+ Canny1: (...args: any[]) => any;
2314
+ cartToPolar: (...args: any[]) => any;
1379
2315
  Circle: (...args: any[]) => any;
1380
- TermCriteria: { new (...args: any[]): TermCriteria };
2316
+ circle: (...args: any[]) => any;
2317
+ compare: (...args: any[]) => any;
2318
+ compareHist: (...args: any[]) => any;
2319
+ connectedComponents: (...args: any[]) => any;
2320
+ connectedComponentsWithStats: (...args: any[]) => any;
2321
+ contourArea: (...args: any[]) => any;
2322
+ convertScaleAbs: (...args: any[]) => any;
2323
+ convexHull: (...args: any[]) => any;
2324
+ convexityDefects: (...args: any[]) => any;
2325
+ copyMakeBorder: (...args: any[]) => any;
2326
+ cornerHarris: (...args: any[]) => any;
2327
+ cornerMinEigenVal: (...args: any[]) => any;
2328
+ countNonZero: (...args: any[]) => any;
2329
+ CV_MAT_DEPTH: (...args: any[]) => any;
2330
+ cvtColor: (...args: any[]) => any;
2331
+ demosaicing: (...args: any[]) => any;
2332
+ determinant: (...args: any[]) => any;
2333
+ dft: (...args: any[]) => any;
2334
+ dilate: (...args: any[]) => any;
2335
+ distanceTransform: (...args: any[]) => any;
2336
+ distanceTransformWithLabels: (...args: any[]) => any;
2337
+ divide: (...args: any[]) => any;
2338
+ divide1: (...args: any[]) => any;
2339
+ drawContours: (...args: any[]) => any;
2340
+ drawDetectedCornersCharuco: (...args: any[]) => any;
2341
+ drawDetectedDiamonds: (...args: any[]) => any;
2342
+ drawDetectedMarkers: (...args: any[]) => any;
2343
+ drawFrameAxes: (...args: any[]) => any;
2344
+ drawKeypoints: (...args: any[]) => any;
2345
+ drawMatches: (...args: any[]) => any;
2346
+ drawMatches1: (...args: any[]) => any;
2347
+ drawMatchesKnn: (...args: any[]) => any;
2348
+ eigen: (...args: any[]) => any;
2349
+ ellipse: (...args: any[]) => any;
2350
+ ellipse1: (...args: any[]) => any;
2351
+ ellipse2Poly: (...args: any[]) => any;
2352
+ equalizeHist: (...args: any[]) => any;
2353
+ erode: (...args: any[]) => any;
2354
+ estimateAffine2D: (...args: any[]) => any;
2355
+ estimateAffine2D1: (...args: any[]) => any;
2356
+ exceptionFromPtr: (...args: any[]) => any;
2357
+ exp: (...args: any[]) => any;
2358
+ extendDictionary: (...args: any[]) => any;
2359
+ fillConvexPoly: (...args: any[]) => any;
2360
+ fillPoly: (...args: any[]) => any;
2361
+ filter2D: (...args: any[]) => any;
2362
+ findContours: (...args: any[]) => any;
2363
+ findHomography: (...args: any[]) => any;
2364
+ findHomography1: (...args: any[]) => any;
2365
+ findTransformECC: (...args: any[]) => any;
2366
+ findTransformECC1: (...args: any[]) => any;
2367
+ fisheye_initUndistortRectifyMap: (...args: any[]) => any;
2368
+ fisheye_projectPoints: (...args: any[]) => any;
2369
+ fitEllipse: (...args: any[]) => any;
2370
+ fitLine: (...args: any[]) => any;
2371
+ flip: (...args: any[]) => any;
2372
+ floodFill: (...args: any[]) => any;
2373
+ GaussianBlur: (...args: any[]) => any;
2374
+ gemm: (...args: any[]) => any;
2375
+ generateImageMarker: (...args: any[]) => any;
2376
+ getAffineTransform: (...args: any[]) => any;
2377
+ getBuildInformation: (...args: any[]) => any;
2378
+ getDefaultNewCameraMatrix: (...args: any[]) => any;
2379
+ getLogLevel: (...args: any[]) => any;
2380
+ getOptimalDFTSize: (...args: any[]) => any;
2381
+ getPerspectiveTransform: (...args: any[]) => any;
2382
+ getPredefinedDictionary: (...args: any[]) => any;
2383
+ getRotationMatrix2D: (...args: any[]) => any;
2384
+ getStructuringElement: (...args: any[]) => any;
2385
+ goodFeaturesToTrack: (...args: any[]) => any;
2386
+ goodFeaturesToTrack1: (...args: any[]) => any;
2387
+ grabCut: (...args: any[]) => any;
2388
+ groupRectangles: (...args: any[]) => any;
2389
+ hconcat: (...args: any[]) => any;
2390
+ HoughCircles: (...args: any[]) => any;
2391
+ HoughLines: (...args: any[]) => any;
2392
+ HoughLinesP: (...args: any[]) => any;
2393
+ imread: (...args: any[]) => any;
2394
+ imshow: (...args: any[]) => any;
2395
+ initUndistortRectifyMap: (...args: any[]) => any;
2396
+ inpaint: (...args: any[]) => any;
2397
+ inRange: (...args: any[]) => any;
2398
+ integral: (...args: any[]) => any;
2399
+ integral2: (...args: any[]) => any;
2400
+ invert: (...args: any[]) => any;
2401
+ isContourConvex: (...args: any[]) => any;
2402
+ kmeans: (...args: any[]) => any;
2403
+ Laplacian: (...args: any[]) => any;
2404
+ line: (...args: any[]) => any;
2405
+ log: (...args: any[]) => any;
2406
+ LUT: (...args: any[]) => any;
2407
+ magnitude: (...args: any[]) => any;
2408
+ matchShapes: (...args: any[]) => any;
2409
+ matchTemplate: (...args: any[]) => any;
1381
2410
  matFromArray: (...args: any[]) => any;
1382
2411
  matFromImageData: (...args: any[]) => any;
2412
+ max: (...args: any[]) => any;
2413
+ mean: (...args: any[]) => any;
2414
+ meanShift: (...args: any[]) => any;
2415
+ meanStdDev: (...args: any[]) => any;
2416
+ medianBlur: (...args: any[]) => any;
2417
+ merge: (...args: any[]) => any;
2418
+ min: (...args: any[]) => any;
2419
+ minAreaRect: (...args: any[]) => any;
2420
+ minEnclosingCircle: (...args: any[]) => any;
2421
+ MinMaxLoc: (...args: any[]) => any;
2422
+ minMaxLoc: (...args: any[]) => any;
2423
+ mixChannels: (...args: any[]) => any;
2424
+ moments: (...args: any[]) => any;
2425
+ morphologyDefaultBorderValue: (...args: any[]) => any;
2426
+ morphologyEx: (...args: any[]) => any;
2427
+ multiply: (...args: any[]) => any;
2428
+ norm: (...args: any[]) => any;
2429
+ norm1: (...args: any[]) => any;
2430
+ normalize: (...args: any[]) => any;
2431
+ perspectiveTransform: (...args: any[]) => any;
2432
+ Point: (...args: any[]) => any;
2433
+ pointPolygonTest: (...args: any[]) => any;
2434
+ polarToCart: (...args: any[]) => any;
2435
+ polylines: (...args: any[]) => any;
2436
+ pow: (...args: any[]) => any;
2437
+ projectPoints: (...args: any[]) => any;
2438
+ putText: (...args: any[]) => any;
2439
+ pyrDown: (...args: any[]) => any;
2440
+ pyrUp: (...args: any[]) => any;
2441
+ randn: (...args: any[]) => any;
2442
+ randu: (...args: any[]) => any;
2443
+ Range: (...args: any[]) => any;
2444
+ readNet: (...args: any[]) => any;
2445
+ readNet1: (...args: any[]) => any;
2446
+ readNetFromCaffe: (...args: any[]) => any;
2447
+ readNetFromCaffe1: (...args: any[]) => any;
2448
+ readNetFromDarknet: (...args: any[]) => any;
2449
+ readNetFromDarknet1: (...args: any[]) => any;
2450
+ readNetFromONNX: (...args: any[]) => any;
2451
+ readNetFromONNX1: (...args: any[]) => any;
2452
+ readNetFromTensorflow: (...args: any[]) => any;
2453
+ readNetFromTensorflow1: (...args: any[]) => any;
2454
+ readNetFromTFLite: (...args: any[]) => any;
2455
+ readNetFromTFLite1: (...args: any[]) => any;
2456
+ readNetFromTorch: (...args: any[]) => any;
2457
+ Rect: (...args: any[]) => any;
2458
+ rectangle: (...args: any[]) => any;
2459
+ rectangle1: (...args: any[]) => any;
2460
+ reduce: (...args: any[]) => any;
2461
+ remap: (...args: any[]) => any;
2462
+ repeat: (...args: any[]) => any;
2463
+ resize: (...args: any[]) => any;
2464
+ Rodrigues: (...args: any[]) => any;
2465
+ rotate: (...args: any[]) => any;
2466
+ RotatedRect: (...args: any[]) => any;
2467
+ rotatedRectBoundingRect: (...args: any[]) => any;
2468
+ rotatedRectBoundingRect2f: (...args: any[]) => any;
2469
+ rotatedRectPoints: (...args: any[]) => any;
2470
+ Scharr: (...args: any[]) => any;
2471
+ sepFilter2D: (...args: any[]) => any;
2472
+ setIdentity: (...args: any[]) => any;
2473
+ setLogLevel: (...args: any[]) => any;
2474
+ setRNGSeed: (...args: any[]) => any;
2475
+ Size: (...args: any[]) => any;
2476
+ Sobel: (...args: any[]) => any;
2477
+ solve: (...args: any[]) => any;
2478
+ solvePnP: (...args: any[]) => any;
2479
+ solvePnPRansac: (...args: any[]) => any;
2480
+ solvePnPRansac1: (...args: any[]) => any;
2481
+ solvePnPRefineLM: (...args: any[]) => any;
2482
+ solvePoly: (...args: any[]) => any;
2483
+ split: (...args: any[]) => any;
2484
+ sqrt: (...args: any[]) => any;
2485
+ subtract: (...args: any[]) => any;
2486
+ TermCriteria: (...args: any[]) => any;
2487
+ threshold: (...args: any[]) => any;
2488
+ trace: (...args: any[]) => any;
2489
+ transform: (...args: any[]) => any;
2490
+ transpose: (...args: any[]) => any;
2491
+ undistort: (...args: any[]) => any;
2492
+ vconcat: (...args: any[]) => any;
2493
+ VideoCapture: (...args: any[]) => any;
2494
+ warpAffine: (...args: any[]) => any;
2495
+ warpPerspective: (...args: any[]) => any;
2496
+ warpPolar: (...args: any[]) => any;
2497
+ watershed: (...args: any[]) => any;
2498
+ // ---- Other exports ----
2499
+ calledRun: any;
2500
+ FS: any;
1383
2501
 
1384
2502
  /**
1385
- * Every exported OpenCV.js API member is reachable here, including the
1386
- * variant-specific ones (objdetect, dnn, features2d, ...) that these
1387
- * declarations do not type explicitly.
2503
+ * Fallback for API members skipped by generation because their names are
2504
+ * not valid TypeScript identifiers; everything else is typed above.
1388
2505
  */
1389
2506
  [name: string]: any;
1390
2507
  }
1391
2508
 
2509
+ /**
2510
+ * The package export: a Promise that resolves to the initialized OpenCV.js
2511
+ * module — `const cv = await cvModule;`.
2512
+ */
1392
2513
  declare const cvModule: Promise<CvModule>;
1393
2514
  export default cvModule;