UNPKG

@autojs/opencv

Version:

Asynchronous OpenCV 3.x nodejs bindings with JavaScript and TypeScript API for Auto.js Pro.

10 lines (8 loc) 316 B
import { Mat } from './Mat.d'; export class TrainData { readonly samples: Mat; readonly layout: number; readonly responses: Mat; readonly varType: number[]; constructor(samples: Mat, layout: number, responses: Mat, varIdx?: number[], sampleIdx?: number[], sampleWeights?: number[], varType?: number[]); }