0.0
No commit activity in last 3 years
No release in over 3 years
Microsoft Oxford Face API
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Development

~> 1.12
~> 5.10.1
~> 10.0

Runtime

>= 1.8
>= 10.0
 Project Readme

oxford-face-api

Ruby gem for Microsoft Oxford Face api

Usage

require 'oxford/face/api'

KEY="YOUR_API_KEY" # from Microsoft Oxford
OxfordFaceApi.init(KEY)

f = OxfordFaceApi::Face.new

img_url = "https://raw.githubusercontent.com/tantara/oxford-face-api/master/test/example.jpg"
return_face_id = true
return_face_landmarks = false
return_face_attributes = "age,gender"

res = f.detect(img_url, return_face_id, return_face_landmarks, return_face_attributes)
puts res.body # => https://gist.github.com/tantara/5d72786bd3c6acc285a29ec44c4a8d1e

License

MIT