UNPKG

@autojs/opencv

Version:

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

10 lines (8 loc) 301 B
import { Mat } from './Mat.d'; export class BackgroundSubtractorKNN { readonly history: number; readonly dist2Threshold: number; readonly detectShadows: boolean; constructor(history?: number, varThreshold?: number, detectShadows?: boolean); apply(frame: Mat, learningRate?: number): Mat; }