New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

yoonik-face-api

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

yoonik-face-api

Functionalities for biometric processing (detection, verification and identification) for YooniK.Face.

  • 1.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

https://yk-website-images.s3.eu-west-1.amazonaws.com/LogoV4_TRANSPARENT.png

YooniK Face API Client SDK NODE

License Version

This repository implements an integration SDK to facilitate the consumption of the YooniK.Face API, an YooniK Services offering.

For more information please contact us.

Requirements

NODE 16 and later

Getting Started

npm install yoonik-face-api

Example

Verifies the faces similarity between two images in base 64

const apiKey = "YOUR-X-API-KEY";
const baseURL = "YOUR-API-ENDPOINT";
const { Face, ImageUtils, VerifyImagesRequest} = require('yoonik-face-api');

const client = new Face({apiKey, baseURL});
const payload = new VerifyImagesRequest();
const iu = new ImageUtils();

(async () => {
    try {
        const img1 = await iu.imagePath_base64_encode("<IMAGE_PATH>")
        payload.setFirstImage(img1);     
        
        const img2 = await iu.imagePath_base64_encode("<IMAGE_PATH>")
        payload.setSecondImage(img2);

        let result = await client.verify_images(payload);
        console.log(result);
    } catch (error) {
        console.error('Exception when calling client.verify_images: ', error);
    }
})();
 

If you're interested in using YooniK.Face API for identification purposes, please visit our examples.

Keywords

FAQs

Package last updated on 19 May 2022

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc