image-description
v1.0.3
Published
Uses third-party API to give description to images and output as CSV
Readme
image-description
Uses third-party API to give description to images and output as CSV
Notes
- The image recognition API used is from DocsBot.ai.
- No API key is required but may face IP rate limiting.
- Delay between requests is set to 15 second to avoid rate limiting.
- The output CSV file will contain the image filename and its description.
Usage
- Install the npm package
npm install -g image-description yarn global add image-description npx image-description - Place your images in a directory (folder).
- An example command for analyzing images in the
imagesfolder and save the output description indescriptions.csv:image-description -d ./images -o descriptions.csv - The output will be saved in the specified CSV file.
Requirements
- Node.js installed on your machine.
- Images in the
imagesdirectory must be in a supported format (e.g., JPG, PNG). - Images in the
imagesdirectory must be compressed to reduce size.
License
This project is licensed under the MIT License - see the LICENSE file for details.
