FaceDetection.d.ts 447 B

123456789101112
  1. import { Box } from './Box';
  2. import { IDimensions } from './Dimensions';
  3. import { ObjectDetection } from './ObjectDetection';
  4. import { Rect } from './Rect';
  5. export interface IFaceDetecion {
  6. score: number;
  7. box: Box;
  8. }
  9. export declare class FaceDetection extends ObjectDetection implements IFaceDetecion {
  10. constructor(score: number, relativeBox: Rect, imageDims: IDimensions);
  11. forSize(width: number, height: number): FaceDetection;
  12. }