Project

face

0.06
No commit activity in last 3 years
No release in over 3 years
Ruby wraper of SkyBiometry Face Detection and Recognition API
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 1.4.6
>= 1.6.1
 Project Readme

Note: This gem is still under development, create issues if you meet any problem when using it github.com/rociiu/face/issues

Face is a ruby library of SkyBiometry Face Detection and Recognition API.

Getting Started¶ ↑

sudo gem install face

irb
>> require 'face'
>> client = Face.get_client(api_key: 'your_api_key', api_secret: 'your_api_secret')

Detect Faces with Urls:

>> client.faces_detect(urls: ['http://farm6.static.flickr.com/5220/5431220348_fbdf80ae9.jpg'])

Get all Face attributes:

>> client.faces_detect(urls: ['http://farm6.static.flickr.com/5220/5431220348_fbdf80ae9.jpg'], attributes: 'all')

Detect Faces with Raw image data:

>> client.faces_detect(file: File.new('image.jpg', 'rb'))

More Documentation refer to www.skybiometry.com/Documentation.

Author: Roc Yu (rociiu.yu@gmail.com)