Kairos face recognition API for Node.js
Installation
npm install kairos-api
Usage
var Kairos = ;var client = 'app_id' 'app_key'; var params = image: 'http://media.kairos.com/kairos-elizabeth.jpg' subject_id: 'subtest1' gallery_name: 'gallerytest1' selector: 'SETPOSE'; client // return Promise // result: { // status: <http status code>, // body: <data> // } // err -> array: jsonschema validate errors // or throw Error ;
For more params
pattern, see offical doc.
Functions
- client.enroll(params)
- client.recognize(params)
- client.detect(params)
- client.galleryListAll()
- client.galleryView(params)
- client.galleryRemove(params)
- client.galleryRemoveSubject(params)