UNPKG

face-api.js

Version:

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

7 lines (6 loc) 278 B
import * as tf from '@tensorflow/tfjs-core'; import { OutputLayerParams } from './types'; export declare function outputLayer(boxPredictions: tf.Tensor4D, classPredictions: tf.Tensor4D, params: OutputLayerParams): { boxes: tf.Tensor2D[]; scores: tf.Tensor1D[]; };