2020-08-20 02:10:42 +02:00
|
|
|
import { getCenterPoint } from '../utils';
|
|
|
|
import { FaceLandmarks } from './FaceLandmarks';
|
|
|
|
export class FaceLandmarks5 extends FaceLandmarks {
|
2020-08-18 14:04:33 +02:00
|
|
|
getRefPointsForAlignment() {
|
|
|
|
const pts = this.positions;
|
|
|
|
return [
|
|
|
|
pts[0],
|
|
|
|
pts[1],
|
2020-08-20 02:10:42 +02:00
|
|
|
getCenterPoint([pts[3], pts[4]])
|
2020-08-18 14:04:33 +02:00
|
|
|
];
|
|
|
|
}
|
|
|
|
}
|
|
|
|
//# sourceMappingURL=FaceLandmarks5.js.map
|