mirror of https://github.com/vladmandic/human
12 lines
445 B
TypeScript
12 lines
445 B
TypeScript
/**
|
|
* Image Processing module used by Human
|
|
*/
|
|
import { Tensor } from '../tfjs/types';
|
|
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): {
|
|
tensor: Tensor | null;
|
|
canvas: OffscreenCanvas | HTMLCanvasElement;
|
|
};
|
|
export {};
|