Skip to content

TypeScript SDK Reference / FaceMeshOptions

Interface: FaceMeshOptions

Properties

animate?

optional animate: boolean


animationDelay?

optional animationDelay: number

Animation delay in seconds (controls the CSS animation-delay)


animationDirection?

optional animationDirection: FaceMeshAnimationDirection

Animation direction: 'horizontal' (default) or 'vertical'


animationSpeed?

optional animationSpeed: number

Animation speed in seconds (controls the CSS animation duration)


color?

optional color: string


enabled?

optional enabled: boolean


lineWidth?

optional lineWidth: number | `${number}%`