| 2 | import Euler from "./utils/euler"; |
| 3 | import { RIGHT, LEFT } from "./constants"; |
| 4 | export interface ISolveOptions { |
| 5 | /** |
| 6 | * Runtime for the solver. |
| 7 | * @default "mediapipe" |
| 8 | * @type {"tfjs" | "mediapipe"} |
| 9 | */ |
| 10 | runtime: "tfjs" | "mediapipe"; |
| 11 | /** |
| 12 | * HTML Video element or selector for the video element. |
| 13 | * @type {HTMLElement | string} |
| 14 | */ |
| 15 | video: null | HTMLVideoElement | string; |
| 16 | /** |
| 17 | * Set Manual Size |
| 18 | * @type {{ width: number, height: number }} |
| 19 | * @default null |
| 20 | */ |
| 21 | imageSize: null | { width: number; height: number }; |
| 22 | } |
| 23 | |
| 24 | export interface IFaceSolveOptions extends ISolveOptions { |
| 25 | /** |
nothing calls this directly
no outgoing calls
no test coverage detected