Use computer vision to analyze an input image, then write captions.
To install dependencies:
npm install
- HuggingFace Access Token, get it from: https://huggingface.co/settings/tokens
- Azure Cognitive Vision API, get it from: https://portal.azure.com/
-
For HuggingFace & Transformer.js:
npm run index.js
-
For Azure Cognitive Vision API:
npm run modules/az-image-caption.js
- @mrgoonie hi@mrgoon.info