UNPKG

face-api.js

Version:

JavaScript API for face detection and face recognition in the browser with tensorflow.js

7 lines (6 loc) 268 B
import { Box } from '../classes'; import { RNetParams } from './types'; export declare function stage2(img: HTMLCanvasElement, inputBoxes: Box[], scoreThreshold: number, params: RNetParams, stats: any): Promise<{ boxes: Box<any>[]; scores: number[]; }>;