@the-horizon-dev/fast-face-detection
Version:
Fast face detection package using TensorFlow.js MediaPipe models for browser and Node.js environments
20 lines (19 loc) • 500 B
TypeScript
/**
* Environment detection utilities
*/
import { Environment } from '../types/types';
/**
* Detects the current JavaScript runtime environment
*/
export declare function detectEnvironment(): Environment;
/**
* Checks if the current environment supports WebGL rendering
*/
export declare function isWebGLSupported(): boolean;
/**
* Gets information about the current environment
*/
export declare function getEnvironmentInfo(): {
environment: Environment;
webglSupported: boolean;
};