human/types/blazeface/box.d.ts

18 lines
580 B
TypeScript

export declare function scaleBoxCoordinates(box: any, factor: any): {
startPoint: number[];
endPoint: number[];
};
export declare function getBoxSize(box: any): number[];
export declare function getBoxCenter(box: any): any[];
export declare function cutBoxFromImageAndResize(box: any, image: any, cropSize: any): any;
export declare function enlargeBox(box: any, factor?: number): {
startPoint: number[];
endPoint: any[];
landmarks: any;
};
export declare function squarifyBox(box: any): {
startPoint: number[];
endPoint: any[];
landmarks: any;
};