face-api.js
Version:
JavaScript API for face detection and face recognition in the browser with tensorflow.js
11 lines • 361 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
function getSizesForScale(scale, _a) {
var height = _a[0], width = _a[1];
return {
height: Math.floor(height * scale),
width: Math.floor(width * scale)
};
}
exports.getSizesForScale = getSizesForScale;
//# sourceMappingURL=getSizesForScale.js.map
;