UNPKG

ai-image-analyzer

Version:

`ai-image-analyzer` is a powerful Node.js library that leverages TensorFlow.js to classify images and detect objects using pre-trained models like MobileNet and COCO-SSD. It supports input as either a file path or an image buffer for enhanced flexibility.

3 lines (2 loc) 168 B
export declare function classifyImage(imageInput: string | Buffer): Promise<any[]>; export declare function detectObjects(imageInput: string | Buffer): Promise<any[]>;