face-api.js
Version:
JavaScript API for face detection and face recognition in the browser with tensorflow.js
12 lines • 495 B
JavaScript
import { __extends } from "tslib";
import { Box } from './Box';
var Rect = /** @class */ (function (_super) {
__extends(Rect, _super);
function Rect(x, y, width, height, allowNegativeDimensions) {
if (allowNegativeDimensions === void 0) { allowNegativeDimensions = false; }
return _super.call(this, { x: x, y: y, width: width, height: height }, allowNegativeDimensions) || this;
}
return Rect;
}(Box));
export { Rect };
//# sourceMappingURL=Rect.js.map