UNPKG

@vladmandic/face-api

Version:

JavaScript module for Face Detection and Face Recognition Using Tensorflow/JS

14 lines (10 loc) 342 B
import { TinyYolov2 } from './TinyYolov2'; export * from './TinyYolov2Options'; export * from './config' export * from './types' export { TinyYolov2 } export function createTinyYolov2(weights: Float32Array, withSeparableConvs: boolean = true) { const net = new TinyYolov2(withSeparableConvs) net.extractWeights(weights) return net }