Betaface is the unofficial ruby Gem for the Betaface API. You can find all needed documentation about the official API at Betaface docs
To install using Bundler grab the latest stable version:
gem 'betaface'
To manually install betaface
via Rubygems simply gem install:
gem install betaface
require 'betaface'
Betaface.key = "d45fd466-51e2-4701-8da8-04351c872236"
Betaface.secret = "171e8465-f548-401d-b63b-caf0dc28df5f"
require 'betaface'
api = Betaface::Api.new("d45fd466-51e2-4701-8da8-04351c872236","171e8465-f548-401d-b63b-caf0dc28df5f")
api = Betaface::Api.new
api.upload_image("propoints,classifiers",{url:"http://img.wennermedia.com/480-width/1444256733_tom-cruise-zoom.jpg"})
api = Betaface::Api.new
api.get_image_info("2bdcd1ad-47a6-45f8-ba74-86c765272422")
This library supports and is test for the following Ruby implementations:
There are more detailed examples in the included examples
(The MIT License.)