Security News
Input Validation Vulnerabilities Dominate MITRE's 2024 CWE Top 25 List
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
enroll-jaakrecog
Advanced tools
Jaakrecog Enroll© Component is an isolated component of Angular that is easy to integrate that allows you to registry a user with facial recognition, which was developed by JAAK-IT.
Technologies used for the development of this library:
Jaakrecog Enroll requires Node.js v10+ to run.
Install the package:
npm install enroll-jaakrecog
Update Assets configuration on angular.json file. Just add this line to assets array:
{ "glob": "**/*", "input": "./node_modules/enroll-jaakrecog/assets", "output": "/assets" }
This is an example:
{
"architect":{
...
"options": {
...
"assets":[
... ,
{ "glob": "**/*", "input": "./node_modules/enroll-jaakrecog/assets", "output": "/assets" }
]
}
}
}
Import EnrollModule 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/'.
EnrollModule.forRoot({
apiUrl: 'https://dev-facade-1ton-http-635t26xtnq-uc.a.run.app/api/v1/one2n/enroll/',
}),
INPUTS
userData: Object<any>;
accessToken: string;
use userData input to pass the info to registry, for example:
userData = {
name: string,
email: string,
};
use accessToken to send request to the JAAKRECOG server
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 OneToNEnroll
class OneToNEnroll {
id!: string;
status!: boolean;
enrolled!: boolean;
message!: string;
error!: string;
processTime!: number;
}
We can get an error and it will return an error of type ErrorResponse
class ErrorResponse {
type!: string;
message!: string;
}
Use the selector inside of your html file to use the component, the input uses is a require.
<jaakrecog-enroll [accessToken]="your_TOKEN" [userData]="your_object_user" (getResponse)="yourFunction($event)"></jaakrecog-enroll>
Contact support@jaak-it.com for any kind of assistance.
MIT
** All rights reserved JAAK-IT 2021 ©**
FAQs
This is a JAAK Enroll© Angular Component
The npm package enroll-jaakrecog receives a total of 17 weekly downloads. As such, enroll-jaakrecog popularity was classified as not popular.
We found that enroll-jaakrecog demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.