UNPKG

face-api.js

Version:

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

7 lines (6 loc) 280 B
import * as tf from '@tensorflow/tfjs-core'; import { BoxPredictionParams } from './types'; export declare function boxPredictionLayer(x: tf.Tensor4D, params: BoxPredictionParams): { boxPredictionEncoding: tf.Tensor<tf.Rank>; classPrediction: tf.Tensor<tf.Rank>; };