62 lines
1.5 KiB
TypeScript
62 lines
1.5 KiB
TypeScript
// Types
|
|
export type {
|
|
FaceBoundingBox,
|
|
CheckResult,
|
|
HeadPose,
|
|
LandmarkPoint,
|
|
EyeLandmarks,
|
|
FaceDetectionData,
|
|
HandDetectionData,
|
|
} from './types';
|
|
|
|
// Landmark index constants
|
|
export {
|
|
FACE_LANDMARKS,
|
|
LEFT_EYE_EAR,
|
|
RIGHT_EYE_EAR,
|
|
HAND_LANDMARKS,
|
|
} from './landmarks';
|
|
|
|
// Calibration
|
|
export type { CalibrationData } from './calibration';
|
|
export { calculateDistance, computeCalibration } from './calibration';
|
|
|
|
// Eye / blink detection
|
|
export { EYE_LANDMARKS, detectBlink } from './eye-detection';
|
|
|
|
// Mouth / smile / tongue detection
|
|
export { MOUTH_LANDMARKS, detectSmile, detectTongue, detectFrown } from './mouth-detection';
|
|
|
|
// Head pose
|
|
export type { CameraMotionResult } from './head-pose';
|
|
export { calculateHeadPoseFromLandmarks, detectCameraMotion } from './head-pose';
|
|
|
|
// Face stability and depth
|
|
export type { StabilityResult } from './stability';
|
|
export { detectFaceStability, detectDepth } from './stability';
|
|
|
|
// Hand utilities
|
|
export type { FingerName, AnyFingerName } from './hand-utils';
|
|
export {
|
|
HAND_LANDMARK_MAP,
|
|
dist2d,
|
|
fingerClarity,
|
|
clarityConfidence,
|
|
isFingerExtended,
|
|
isFingerCurled,
|
|
isFingerDeeplyCurled,
|
|
isThumbExtended,
|
|
thumbIndexDistance,
|
|
isHandNearFace,
|
|
detectFingerOverlap,
|
|
} from './hand-utils';
|
|
|
|
// Anti-spoofing
|
|
export type { AntiSpoofResult, FlashAnalysisResult, ProximityResult } from './anti-spoof';
|
|
export {
|
|
sampleFaceLuminance,
|
|
analyzeMoirePatterns,
|
|
checkCameraFocus,
|
|
analyzeFlashResponse,
|
|
detectProximityChange,
|
|
} from './anti-spoof';
|