Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mediocre-captionbot

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mediocre-captionbot

Get captions for image using Microsoft's CaptionBot 🤖

  • 1.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

captionbot

Build Status

Get captions for image using Microsoft's CaptionBot 🤖

🤖 I think it's a dog in the snow.

Install

$ npm install --save captionbot

Usage

const captionbot = require('captionbot');

captionbot('http://imgur.com/B7a15F5.jpg')
    .then(caption => {
        console.log(caption);
    })

//=> 'I think it's a dog in the snow.'

API

captionbot(imageUrl)

imageUrl

Type: string

Url to the image. Must be on a public server that Microsoft's servers can download to determine the caption.

Returns a promise for the caption.

Notes

  • Requires Node 4 or newer.
  • Powered by CaptionBot, a free service provided by Microsoft.
  • If you like this, you can read more at https://www.microsoft.com/cognitive-services.
  • This node module was not created by Microsoft.
  • I would consider this module "for testing only" - I do not recommend using in a production system.
  • Microsoft: I made this because I am a fan of the technology. If there are any problems, or you want to use this package name, I'm happy to discuss.

License

MIT © Dylan Greene

Keywords

FAQs

Package last updated on 24 Jun 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc