extractImagePatches.d.ts 231 B

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