Skip to content

Using AI to write caption for an image (with HuggingFace, Transformer.js or Azure Cognitive Vision API)

License

Notifications You must be signed in to change notification settings

mrgoonie/ai-img-to-txt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ai-img-to-txt

Use computer vision to analyze an input image, then write captions.

Install

To install dependencies:

npm install

API KEY

To run:

  • For HuggingFace & Transformer.js:

    npm run index.js
  • For Azure Cognitive Vision API:

    npm run modules/az-image-caption.js
    

Credits

About

Using AI to write caption for an image (with HuggingFace, Transformer.js or Azure Cognitive Vision API)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published