server-json/node_modules/face-api.js/build/commonjs/mtcnn/extractImagePatches.d.ts
2024-11-01 08:00:42 +00:00

3 lines
251 B
TypeScript

import * as tf from '@tensorflow/tfjs-core';
import { Box, IDimensions } from 'tfjs-image-recognition-base';
export declare function extractImagePatches(img: HTMLCanvasElement, boxes: Box[], { width, height }: IDimensions): Promise<tf.Tensor4D[]>;