2021-05-25 14:58:20 +02:00
|
|
|
/**
|
|
|
|
* Image Processing module used by Human
|
|
|
|
*/
|
2021-05-23 03:54:18 +02:00
|
|
|
import { Tensor } from '../tfjs/types';
|
2021-06-05 17:54:49 +02:00
|
|
|
import { Config } from '../config';
|
|
|
|
declare type Input = Tensor | typeof Image | ImageData | ImageBitmap | HTMLImageElement | HTMLMediaElement | HTMLVideoElement | HTMLCanvasElement | OffscreenCanvas;
|
|
|
|
export declare function process(input: Input, config: Config): {
|
2021-05-23 03:54:18 +02:00
|
|
|
tensor: Tensor | null;
|
2021-03-17 23:57:00 +01:00
|
|
|
canvas: OffscreenCanvas | HTMLCanvasElement;
|
|
|
|
};
|
2021-06-05 17:54:49 +02:00
|
|
|
export {};
|