face-api.js
Version:
JavaScript API for face detection and face recognition in the browser with tensorflow.js
13 lines • 362 B
JavaScript
export * from './iou';
export * from './minBbox';
export * from './nonMaxSuppression';
export * from './normalize';
export * from './padToSquare';
export * from './shuffleArray';
export function sigmoid(x) {
return 1 / (1 + Math.exp(-x));
}
export function inverseSigmoid(x) {
return Math.log(x / (1 - x));
}
//# sourceMappingURL=index.js.map