in source/client/src/liveness/nose/States.ts [44:51]
protected isNoseInsideNoseArea(nose: faceapi.IPoint) {
return (
nose.x >= this.noseChallengeParams.noseLeft &&
nose.y >= this.noseChallengeParams.noseTop &&
nose.x <= this.noseChallengeParams.noseLeft + this.noseChallengeParams.noseWidth &&
nose.y <= this.noseChallengeParams.noseTop + this.noseChallengeParams.noseHeight
);
}