0.1.4 • Published 4 months ago

@dragonish/compre-face-sdk v0.1.4

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

compre-face-sdk

Exadel CompreFace Rest API TypeScript SDK.

Installation

npm install @dragonish/compre-face-sdk

Usage

Face Recognition Service

import { FaceRecognitionService } from '@dragonish/compre-face-sdk';

const frs = new FaceRecognitionService('<api url>', '<api key>');

Methods

Method nameDescription
addASubject()Add a Subject
renameASubject()Rename a Subject
deleteASubject()Delete a Subject
deleteAllSubjects()Delete All Subjects
listSubjects()List Subjects
getURLOfAddAnExample()Get the full URL of "Add an Example of a Subject"
addAnExample()Add an Example of a Subject
listOfAllExamples()List of All Saved Examples of the Subject
deleteAllExamplesOfTheSubject()Delete All Examples of the Subject by Name
deleteAnExample()Delete an Example of the Subject by ID
deleteMultipleExamples()Delete Multiple Examples
DirectImageExample()Direct Download an Image example of the Subject by ID
downloadImageExample()Download an Image example of the Subject by ID
getURLOfRecognizeFacesGet the full URL of "Recognize Faces from a Given Image"
recognizeFaces()Recognize Faces from a Given Image
recognizeFacesByEmbedding()Recognize Faces from a Given Image, Embedding
getURLOfVerifyFaces()Get the full URL of "Verify Faces from a Given Image"
verifyFaces()Verify Faces from a Given Image
verifyFacesByEmbedding()Verify Faces from a Given Image, Embedding

Face Detection Service

import { FaceDetectionService } from '@dragonish/compre-face-sdk';

const fds = new FaceDetectionService('<api url>', '<api key>');

Methods

Method nameDescription
getURLOfFaceDetection()Get the full URL of "Face Detection Service"
faceDetection()Face Detection Service

Face Verification Service

import { FaceVerificationService } from '@dragonish/compre-face-sdk';

const fvs = new FaceVerificationService('<api url>', '<api key>');

Methods

Method nameDescription
getURLOfFaceVerification()Get the full URL of "Face Verification Service"
faceVerification()Face Verification Service
faceVerificationByEmbedding()Face Verification Service, Embedding

Credits

License

MIT

0.1.4

4 months ago

0.1.3

7 months ago

0.1.2

7 months ago

0.1.1

7 months ago

0.1.0

7 months ago