Socket
Socket
Sign inDemoInstall

face-analytics

Package Overview
Dependencies
42
Maintainers
2
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    face-analytics

A face detection cloud API for Node.js for the MATRIX OS, and MATRIX Platform.


Version published
Weekly downloads
11
Maintainers
2
Install size
4.84 MB
Created
Weekly downloads
 

Readme

Source

Face Analytics

Face detection cloud API in Node.js (e.g. Age, Gender, Emotions), generate full analytics for photographs (Popular Gender, Popular Emotion, etc...), for MATRIX OS, MATRIX Platform, and standalone deployments.

Get your FREE API Key at mashape.com

Installation

Install with npm.

npm install face-analytics

Module initialization

Initialize the module, and pass the key either by environment variable or directly.

var face = require('face-analytics').key(process.env.API_KEY);

Detect Faces

Detect faces and return analytics based on the image provided.

var img = "https://storage.googleapis.com/detection-server-tests/characters.jpg";
face.detect(img)
  .then(function(response) {
    //throw responses
    console.log(response);
  },function(error){
    //throw errors
    console.log(error);
  }
);

Keywords

FAQs

Last updated on 26 Aug 2016

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc