UNPKG

@the-horizon-dev/fast-face-detection

Version:

Fast face detection package using TensorFlow.js MediaPipe models for browser and Node.js environments

19 lines (18 loc) 505 B
/** * Validation service for inputs and options */ import { MediaElement } from '../types/types'; export declare class ValidationService { /** * Validates if the media input is valid */ static validateInput(input: MediaElement): void; /** * Validates if the API has not been disposed */ static validateDisposed(isDisposed: boolean): void; /** * Validates if the options are valid */ static validateOptions(options: Record<string, unknown>): void; }