This is a very basic wrapper for the Microsoft Computer Vision API.
Ruby
Latest commit bacc9fb Aug 5, 2016 @henteko Add README CLI
Permalink
Failed to load latest commit information.
bin add CLI Aug 4, 2016
example Fix interface Aug 4, 2016
lib fix Aug 4, 2016
spec add CLI Aug 4, 2016
.gitignore create example/all Aug 3, 2016
.rspec add Rspec Aug 4, 2016
.travis.yml init Aug 2, 2016
Gemfile init Aug 2, 2016
README.md Add README CLI Aug 4, 2016
Rakefile add Rspec Aug 4, 2016
microsoft_computer_vision.gemspec fix bin Aug 4, 2016

README.md

Microsoft Computer Vision API

Gem Version Build Status

This is a very basic wrapper for the Microsoft Computer Vision API.

Installation

Add this line to your application's Gemfile:

gem 'microsoft_computer_vision'

And then execute:

$ bundle

Or install it yourself as:

$ gem install microsoft_computer_vision 

Usage

CLI

$ mscv analyze /path/to/image --subscription_key your_subscription_key

Ruby

require 'microsoft_computer_vision'

client = MicrosoftComputerVision::Client.new('your_subscription_key')
options = {
  visual_features: 'Faces',
  details: 'Celebrities'
}

res = client.analyze('http://example.com/images/test.jpg', options)
puts res.body

Please see example.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/henteko/microsoft_computer_vision.

License

MIT License