Skip to content
Node module for Lambda Labs Face Recognition API βeta
JavaScript
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
lib
test
.gitignore
.npmignore
README.md
config.sample.js
package.json

README.md

lambda-labs

Node module for Lambda Labs Face Recognition API βeta

Lambda Labs Api - http://api.lambdal.com/?ref=homepage Lambda Labs

Supports

  • Detecting faces in local images
  • Detecting faces on web urls.

Installation

npm install lambda-labs

Usage

Detect Faces on Images

var Detect = require('lambda-labs').Detect;
var detect = new Detect({publicKey : "YOUR_API_KEY",privateKey : "YOUR_API_KEY"});

// Detect from local image
detect.detectFaces('test.jpg',function(err,responce,ret){
    if(err) return console.log("Something failed")
    console.log(ret)
});

// Detect from web url
detect.detectFaces('http://farm9.staticflickr.com/8210/8174145303_4c0a875e0d_b.jpg',function(err,responce,ret){
    if(err) return console.log("Something failed")
    console.log(ret)
});
Something went wrong with that request. Please try again.