13 lines
376 B
JavaScript
13 lines
376 B
JavaScript
import { getCenterPoint } from '../utils';
|
|
import { FaceLandmarks } from './FaceLandmarks';
|
|
export class FaceLandmarks5 extends FaceLandmarks {
|
|
getRefPointsForAlignment() {
|
|
const pts = this.positions;
|
|
return [
|
|
pts[0],
|
|
pts[1],
|
|
getCenterPoint([pts[3], pts[4]])
|
|
];
|
|
}
|
|
}
|
|
//# sourceMappingURL=FaceLandmarks5.js.map
|