human/types/object/nanodet.d.ts

9 lines
313 B
TypeScript

/**
* NanoDet object detection module
*/
import { Item } from '../result';
import { GraphModel, Tensor } from '../tfjs/types';
import { Config } from '../config';
export declare function load(config: Config): Promise<GraphModel>;
export declare function predict(image: Tensor, config: Config): Promise<Item[]>;