No commit activity in last 3 years
No release in over 3 years
This is a very basic wrapper for the Microsoft Computer Vision API.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.10
~> 10.0
~> 3.4.0
~> 2.1.0

Runtime

~> 4.4.0
 Project Readme

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