SkillAgentSearch skills...

Faceppsdk

face++ node.js sdk

Install / Use

/learn @nicky9112/Faceppsdk
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Face++ node.js sdk.

Based on the face++ official API build.

Install

npm

    npm install faceppsdk

github

    $ git clone https://github.com/nicky9112/faceppsdk.git
    $ cd faceppsdk
    $ npm install .

Usage


    var facePP = require('faceppsdk'),
        detectParams = {
            url : 'http://faceplusplus.com/static/img/demo/1.jpg';
            mode: 'normal'
        }
        verifyParams = {
            person_id : 'person_id'
        };
    
    facePP.api_key = '<YOUR_API_KEY_HERE>';
    facePP.api_secret = '<YOUR_API_SECRET_HERE>';
    
    facePP.detection.detect(detectParams, function (err, res) {
        // to do something
        console.log(res.face[0].attribute.age);    
    });
    
    facePP.train.verify(verifyParams, function (err, res) {
        // to do something
        
    }

Face++ API overview

http://www.faceplusplus.com/api-overview/

Related Skills

View on GitHub
GitHub Stars7
CategoryDevelopment
Updated7y ago
Forks5

Languages

JavaScript

Security Score

65/100

Audited on Sep 3, 2018

No findings