A .NET Wrapper for the Kairos.io Facial Recognition API written in C#
Pull request Compare This branch is even with humbywan:master.
Latest commit 11044de Jan 30, 2014 @humbywan humbywan Update README.md
Permalink
Failed to load latest commit information.
Kairos.API Added Recognize(string imageURL) method Jan 30, 2014
Kairos.SampleApp Initial commit Jan 30, 2014
References
packages Initial solution commit Jan 30, 2014
.gitattributes Initial solution commit Jan 30, 2014
.gitignore Initial solution commit Jan 30, 2014
Kairos.sln Initial solution commit Jan 30, 2014
License.md Create License.md Jan 30, 2014
README.md Update README.md Jan 30, 2014

README.md

Kairos.Net

A .NET Wrapper for the Kairos.io Facial Recognition API written in C#.

License: MIT

About Kairos.io

For more information and to register for an API key, visit http://Kairos.io.

This library allows you to interact with the http://Kairos.io API for secured cloud-based facial recognition capabilities.

Usage

The .NET library allows you to detect, enroll and recognize a face or faces from an image located on the internet.

Enroll a user

Kairos.API.KairosClient client = new Kairos.API.KairosClient();

// Set your credentials
client.ApplicationID = "your_app_id";
client.ApplicationKey = "your_app_key";

// Enroll a user
var response = client.Enroll("http://localhost/myimage.jpg", "myuserid");

Recognize a user

Kairos.API.KairosClient client = new Kairos.API.KairosClient();

// Set your credentials
client.ApplicationID = "your_app_id";
client.ApplicationKey = "your_app_key";

// Attempt user recognition
var recognizeResponse = client.Recognize("http://localhost/myimage.jpg");

// Get the recognized user ID
var userID = recognizeResponse.Images[0].Candidates.First().Key;  

Detect faces

Kairos.API.KairosClient client = new Kairos.API.KairosClient();

// Set your credentials
client.ApplicationID = "your_app_id";
client.ApplicationKey = "your_app_key";

// Detect the face(s)
var detectResponse = client.Detect("http://wellness.18signals.com/kairos.jpg");

// Get the image and information on the first recognized face
var detectedImage = detectResponse.Images[0];
var face = detectedImage.Faces[0];

Meta

Thanks to Cole Calistra and Brian Brackeen