@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) • 634 B
TypeScript
/**
* Configuration service for detection options
*/
import { DetectionOptions, Environment } from '../types/types';
export declare class ConfigurationService {
/**
* Combines current options with new options
*/
static mergeOptions(current: DetectionOptions, newOptions: DetectionOptions): DetectionOptions;
/**
* Creates default options for the specified environment
*/
static createDefaultOptions(environment: Environment): DetectionOptions;
/**
* Checks if options have changed
*/
static hasOptionsChanged(current: DetectionOptions, newOptions: DetectionOptions): boolean;
}