FaceLandmarks5.js 672 B

1234567891011121314151617181920
  1. import { __extends } from "tslib";
  2. import { getCenterPoint } from '../utils';
  3. import { FaceLandmarks } from './FaceLandmarks';
  4. var FaceLandmarks5 = /** @class */ (function (_super) {
  5. __extends(FaceLandmarks5, _super);
  6. function FaceLandmarks5() {
  7. return _super !== null && _super.apply(this, arguments) || this;
  8. }
  9. FaceLandmarks5.prototype.getRefPointsForAlignment = function () {
  10. var pts = this.positions;
  11. return [
  12. pts[0],
  13. pts[1],
  14. getCenterPoint([pts[3], pts[4]])
  15. ];
  16. };
  17. return FaceLandmarks5;
  18. }(FaceLandmarks));
  19. export { FaceLandmarks5 };
  20. //# sourceMappingURL=FaceLandmarks5.js.map