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.

35 lines (34 loc) 740 B
{ "name": "ai-image-analyzer", "version": "1.0.0", "main": "dist/index.js", "types": "dist/index.d.ts", "scripts": { "build": "tsc", "start": "node dist/index.js", "test": "node test.js" }, "keywords": [ "ai", "image-analyzer", "tensorflow", "mobilenet", "coco-ssd", "object-detection", "image-classification" ], "author": "Prabu Ganesan", "license": "MIT", "description": "", "dependencies": { "@tensorflow-models/coco-ssd": "^2.2.3", "@tensorflow-models/mobilenet": "^2.1.1", "@tensorflow/tfjs": "^4.22.0", "@tensorflow/tfjs-node": "^4.22.0", "canvas": "^3.0.0" }, "devDependencies": { "@types/node": "^22.10.2", "typescript": "^5.7.2" } }