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

jaakrecog-verify

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jaakrecog-verify

This is a JAAK.AI Enroll© Angular Component for verify and authenticate users

  • 0.0.9
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Jaakrecog Verify©

Component developed to enroll users

jaak-it

Features

  • Get permission to access the camera
  • Video Capture modal
  • Verify Capture Component

Jaakrecog Enroll Verify© Component is an isolated component of Angular that is easy to integrate that allows you to verify the registry a user with facial recognition, which was developed by JAAK-IT.

Tech

Technologies used for the development of this library:

  • Angular
  • Scss
  • Typescript
  • Rxjs
  • Angular Material

Installation

Jaakrecog Enroll requires Node.js v10+ to run.

Install the package:

npm install jeekrecog-verify

Setup

Update Assets configuration on angular.json file. Just add this line to assets array:

      { "glob": "**/*", "input": "./node_modules/jaakrecog-verify/assets", "output": "/assets" } 

This is an example:

{
    "architect":{
        ...
        "options": {
            ...

            "assets":[
                ... ,
                { "glob": "**/*", "input": "./node_modules/jaakrecog-verify/assets", "output": "/assets" }
            ]
        }
    }
}

Import VerifyModule inside app.module.ts file and add the api path that you are goig to use (optional) the value as default is: 'https://dev-facade-1ton-http-635t26xtnq-uc.a.run.app/api/v1/one2n/enroll/'.

    VerifyModule.forRoot({
      apiUrl: 'https://dev-facade-1ton-http-635t26xtnq-uc.a.run.app/api/v1/one2n/verify/',
    }),

Usage

Use the selector inside of your html file to use the component, the input uses is a require.

<jaakrecog-verify (getResponse)="yourFunction($event)"></jaakrecog-verify>

OUTPUT To get the response of the process you have to use the output (getResponse) inside of component tag.

The response of this promise would be a class named OneToNVerify

export class OneToNVerify {
  id!: string;
  status!: boolean;
  enrolled!: boolean;
  error!: string;
  processingTime !: number;
  user!: {
    id: string;
    name?: string;
    firstSurname?: string;
    secondSurname?: string;
    email?: string;
    status: string;
  };
}

We can get an error and it will return an error of type ErrorResponse

 class ErrorResponse {
 type!: string;
 message!: string;
 eventId?: string;
 code?: string
 }

Support

Contact support@jaak-it.com for any kind of assistance.

License

MIT

** All rights reserved JAAK-IT 2021 ©**

Keywords

FAQs

Package last updated on 18 Jan 2023

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