2020-08-20 02:05:34 +02:00
|
|
|
"use strict";
|
|
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
|
exports.FaceLandmarks5 = void 0;
|
|
|
|
const utils_1 = require("../utils");
|
|
|
|
const FaceLandmarks_1 = require("./FaceLandmarks");
|
|
|
|
class FaceLandmarks5 extends FaceLandmarks_1.FaceLandmarks {
|
2020-08-18 14:04:33 +02:00
|
|
|
getRefPointsForAlignment() {
|
|
|
|
const pts = this.positions;
|
|
|
|
return [
|
|
|
|
pts[0],
|
|
|
|
pts[1],
|
2020-08-20 02:05:34 +02:00
|
|
|
utils_1.getCenterPoint([pts[3], pts[4]])
|
2020-08-18 14:04:33 +02:00
|
|
|
];
|
|
|
|
}
|
|
|
|
}
|
2020-08-20 02:05:34 +02:00
|
|
|
exports.FaceLandmarks5 = FaceLandmarks5;
|
2020-08-18 14:04:33 +02:00
|
|
|
//# sourceMappingURL=FaceLandmarks5.js.map
|