TypeScript SDK Reference / FaceMeshOptions
Interface: FaceMeshOptions
Properties
animate?
optionalanimate:boolean
animationDelay?
optionalanimationDelay:number
Animation delay in seconds (controls the CSS animation-delay)
animationDirection?
optionalanimationDirection:FaceMeshAnimationDirection
Animation direction: 'horizontal' (default) or 'vertical'
animationSpeed?
optionalanimationSpeed:number
Animation speed in seconds (controls the CSS animation duration)
color?
optionalcolor:string
enabled?
optionalenabled:boolean
lineWidth?
optionallineWidth:number|`${number}%`