Skip to content

Latest commit

 

History

History
55 lines (32 loc) · 1.93 KB

README.md

File metadata and controls

55 lines (32 loc) · 1.93 KB

Kairos Ruby/Javascript Demo Modules

What it does

These demo apps showcase the Kairos APIs by giving the user a means to quickly get up and running with our Emotion Analysis and Facial Recognition / Detection APIs.

Running the App

The app is basically a single page application, which is viewed at index.html.

The easiest way to get started is to clone or fork the repo, and add your APP_ID and API_KEY to the app.rb file after signing up at developer.kairos.com

Install Ruby

From your command prompt, run rvm install ruby-2.3.0 or the latest version.

Install dependencies

From your command prompt, run:

  • gem install sinatra
  • gem install rest-client
  • gem install httparty

Run application

Run ruby app.rb

Point your browser to http://127.0.0.1:4567/

Detect

The Detect Demo uses Kairos Face Recognition API to detect a human face in an existing photo, or a snapshot from the user's webcam.

Documentation

Tutorial

Emotion

The Emotion Demo showcases the Kairos Emotion API by giving the user three methods for analyzing human emotions in a video stream.

Documentation

Tutorial

Recognize

The Recognize Demo uses Kairos Face Recognition API to recognize human faces from previously enrolled faces by the user.

Documentation

Tutorial

Verify

Using the Kairos Face Recognition API, the Verify Demo compares two photos, and verifies that the two photos are of the same individual.

Documentation

Tutorial