UNPKG

smarthomefans-darknet

Version:

A Node wrapper of pjreddie's open source neural network framework Darknet, using the Foreign Function Interface Library. Read: YOLOv3 in JavaScript.

11 lines (10 loc) 408 B
import { IDarknetConfig, IBufferImage, Detection, IConfig, DarknetBase } from './darknet'; export declare class Darknet extends DarknetBase { private images$; private completion$; private detection$; constructor(config: IDarknetConfig); private doAsyncDetection; private subscribeToDetections; detectAsync(image: string | IBufferImage, options?: IConfig): Promise<Detection[]>; }