UNPKG

face-api.js

Version:

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

8 lines (7 loc) 315 B
import * as tf from '@tensorflow/tfjs-core'; import { BoundingBox } from '../classes'; import { PNetParams } from './types'; export declare function stage1(imgTensor: tf.Tensor4D, scales: number[], scoreThreshold: number, params: PNetParams, stats: any): { boxes: BoundingBox[]; scores: number[]; };